Does anyone know how to add a new unit tag in the xml files that will be recognized by the game? For instance, if you want to add a new unit ability and want to be able to specify whether each unit has it or not.
What are the steps to implement this?
Dale was able to do this in his combat mod:
... But I don't know where to start. I already have programmed my c++ code for the new ability, but need to figure out how to connect it to the xml files.
Thanks.
What are the steps to implement this?
Dale was able to do this in his combat mod:
Originally posted by Dale
All components can be easily turned off or on in a single XML file which can be edited in any text editor.
....
A number of new XML tags have been added to certain files, please merge carefully into your own Mods.
Code:// Dale - DCM: DalesCombatMod specific code (not related to any component) // Dale - AB: Airbombing missions // Dale - BE: Battle Effects // Dale - CC: Civ Customiser // Dale - RB: Ranged Bombard // Dale - CCH: Civ Changer // Dale - SA: CASA, Opportunity Fire, Active Defense // Dale - ARB: Archer Bombard // Dale - NB: Nuke Bomber
... But I don't know where to start. I already have programmed my c++ code for the new ability, but need to figure out how to connect it to the xml files.
Thanks.