View Full Version : Little compiler for CIV4UnitInfo.xml


ElGrillo
Jun 03, 2007, 11:40 PM
I passed a couple of days making a tool to edit the civ4unitinfo.xml to solve the annoying scroll up/down everytime I add new UU.
I know there are better stuff available but I had some fun trying one by myself. So far no crashes or corruptions but still testing. Only few entries are missing because haven't seen them used.
The working is at least a 3 mouse click operation:
-Select a default unitclass to show the original entries.
-Edit the values which are grouped by kind (Definition, Combat, PreReqs...)
-GET XML button to have the UU output in xml format ready to be pasted inside the civ4unitinfo.

Here is the file in case someone would have a look inside and some screenshots. Soon I'd like to do the same for the UB and mainly for the leaderheads which are really massive. :sad:

Shqype
Jun 06, 2007, 11:26 AM
Dude, this is very cool! It will (at the very least) help novice modders that are interested in changing/adding units to the game. It sure can save time.

The only downside is that if you have new units, they are not accounted for here, and if you have different technologies or new XML tags, they aren't accounted for either.

Still, a good job! :)

ElGrillo
Jun 07, 2007, 12:04 PM
Thanks for the testing Shqype. Well, so far it is a very starting version, to see if it may interest out there.
At the moment it can create new unitclasses or units starting from a custom base. For a future version I already found a path to load directly from the game folders the techs/units entries. Of course in case of new tags the program should be anycase 'revised' to fit them but I'm not so informed about deep modding.

mgbx4
Oct 08, 2007, 11:59 PM
does anyone know how to make bombers,fighters,artillery, naval ships with lethal unit bombarment i mean that they can bombard a unit and kill it, not only damge them till some point example:

jetfighter on aircraft bombard destroyer sinkin them

ClassicThunder
Oct 09, 2007, 10:32 AM
Set the iCollateralDamageLimit tag to 100.