thecrazyscot
Spiffy
- Joined
- Dec 27, 2012
- Messages
- 2,460
As I've been fiddling about manually modding stuff, I realized that there's a good portion of the modding workflow which can be automated via scripts.
SCRIPTS
ModArt_Generator (exe, py script)
Automatically generate your Mod.Art file! No more painstakingly placing each artdef and blp in its proper place!
Input: valid Modbuddy project path with an existing Mod.Art file (eg: C:\Users\thecrazyscotsman\Documents\Firaxis ModBuddy\Civilization VI\TCS City States\TCS City States)
Output: Scans the project folder for ArtDefs and XLPs and places them correctly within a complete Mod.Art file. Saves a backup copy of the original Mod.Art within the project as well
CityName_Generator (py script)
Input: .txt file with a single city name per line
Output: Complete sql database entries and xml text entries for every included city name
CityState_Generator (exe)
Quickly create (almost) all the necessary code for any number of city-states in seconds!
Input: .txt file with a complete entry per line (see the post below for entry requirements)
Output: 5 files (CityStates_Database.sql, CityStates_Text.sql, CityStates_Icons.xml, Civilizations.artdef, and Cultures.artdef) - all you now need to do is go in and "fill in the blanks" by inputting Modifiers, Requirements, .dds file names, etc. Everything else is automatically created
Civilization_ArtDef_Generator (exe)
Input: Follow prompts in popup window
Output: Civilizations.artdef and Cultures.artdef for a single CivilizationType entry
- Some are available as exe
- If the file is a py script, Python (2.7+) must be installed to use them
- Run the exe or script by simply double-clicking on it
- All inputs are given via a pop-up window
SCRIPTS
ModArt_Generator (exe, py script)
Automatically generate your Mod.Art file! No more painstakingly placing each artdef and blp in its proper place!
Input: valid Modbuddy project path with an existing Mod.Art file (eg: C:\Users\thecrazyscotsman\Documents\Firaxis ModBuddy\Civilization VI\TCS City States\TCS City States)
Output: Scans the project folder for ArtDefs and XLPs and places them correctly within a complete Mod.Art file. Saves a backup copy of the original Mod.Art within the project as well
CityName_Generator (py script)
Input: .txt file with a single city name per line
Output: Complete sql database entries and xml text entries for every included city name
CityState_Generator (exe)
Quickly create (almost) all the necessary code for any number of city-states in seconds!
Input: .txt file with a complete entry per line (see the post below for entry requirements)
Output: 5 files (CityStates_Database.sql, CityStates_Text.sql, CityStates_Icons.xml, Civilizations.artdef, and Cultures.artdef) - all you now need to do is go in and "fill in the blanks" by inputting Modifiers, Requirements, .dds file names, etc. Everything else is automatically created
Civilization_ArtDef_Generator (exe)
Input: Follow prompts in popup window
Output: Civilizations.artdef and Cultures.artdef for a single CivilizationType entry
Last edited: