talchas
Prince
- Joined
- Jan 3, 2006
- Messages
- 428
This is a MS excel file that can be adapted to edit just about any Civ4 xml file. Currently it has the ability to edit units and promotions. Each unit/promotion is one column, and each property is a row. You can both import and export data to and from the xml files.
Before exporting, change cell B1 in whichever sheet you are editing to point to where you want to save the xml file. If you import an xml file, the script will automatically change this to wherever you imported the file from.
You can use the buttons on the left to show and hide groups of items.
When you open the file, excel will probably ask you whether to enable or disable macros. If you disable macros you won't be able to import or export data.
Thanks to Kael for giving me the idea to write this, and the makers of homeworld 2 for giving me the idea to make it based on a series of commands.
EDIT:
Added sheets for unitclasses and techs. Fixed the problem with the civilopedia in the promotion sheet, it is now disabled by default.
Before exporting, change cell B1 in whichever sheet you are editing to point to where you want to save the xml file. If you import an xml file, the script will automatically change this to wherever you imported the file from.
You can use the buttons on the left to show and hide groups of items.
When you open the file, excel will probably ask you whether to enable or disable macros. If you disable macros you won't be able to import or export data.
Thanks to Kael for giving me the idea to write this, and the makers of homeworld 2 for giving me the idea to make it based on a series of commands.
EDIT:
Added sheets for unitclasses and techs. Fixed the problem with the civilopedia in the promotion sheet, it is now disabled by default.