View Full Version : Unit Info XML List


jedakiah
Nov 03, 2005, 02:10 PM
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.

Commander Bello
Nov 05, 2005, 02:40 PM
Thanks for your efforts :-)

jedakiah
Nov 05, 2005, 03:08 PM
LOL, well I know I'm doing it the primitve way but I'm yet to find a better one :D.

jbfballrb
Nov 05, 2005, 06:48 PM
you could do find WARRIOR, couldnt you?

Weasel Op
Nov 05, 2005, 08:17 PM
There's actually an easier way to do this. Search for "Warrior", then "<combat>" ;)

jedakiah
Nov 07, 2005, 01:00 PM
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.

gakkun
Nov 13, 2005, 12:08 AM
Useful list but ironic that I took half a minute to find the unit on your list. :D

boneys26
Dec 04, 2005, 09:47 AM
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:

Exel
Dec 11, 2005, 03:13 AM
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.