Unit Info XML List

jedakiah

Chieftain
Joined
Nov 2, 2005
Messages
5
This is a numbered list of all the units within the CIV4UNITINFOS.XML file. It is categorized top to bottom just like the units in the XML file.

Uses: say you want to modify a units specifications. For demonstration purposes we'll use the warrior, and you want to give him 4 combat. Instead of srolling through 14,000 lines of code you open the XML file, go to find and type "<combat>". Than you look at the list I created, the Warrior is number 18 from the top, so you go back to the XML and press the Find Next 18 times and you'll chance upon the warriors combat rating.

This file probably won't help anyone who has a good XML program. But it sure helps me. I use a tree-view XML editor and it still help significantly.
 

Attachments

Thanks for your efforts :-)
 
LOL, well I know I'm doing it the primitve way but I'm yet to find a better one :D.
 
Aye you could do that, but my problem is I was planning on modifying every unit's move stats. So that would take way longer, since I would have to scroll up a long ways to find out what unit I was modifying. I guess I should have explained that in my introduction though...

And if you know a better way than this, please be obliged to tell me.
 
Useful list but ironic that I took half a minute to find the unit on your list. :D
 
I changed the flight distance for the bomber to 50 it was ok the first 2x i could see almost half a huge map on recon....lol but the 3rd time i got a CDT:mad:
 
Personally I haven't had much problems with this, even though I use WordPad for XML editing. Just search for the unit I want by its unit type, say "<type>UNIT_WARRIOR" for warrior, and then go down from there. But I'll save it on my HD anyway, just in case it comes handy. ;)

So thanks for the effort.
 
Back
Top Bottom