View Full Version : XML Load Error After Adjusting an UnitclassAttack Value


vingrjoe
Apr 19, 2007, 09:43 PM
I have been tinkering with the Civ4UnitInfos xml, and tried giving one unit an attack bonus against another unit. I looked for instances of this from Vanilla CIV, and used the ones I found as guides. When I try to load up CIV, I get the error meesage below. I've tried giving attack bonuses versus units in the same combat category (melee, ranged, etc.) and other combat categories.

Can anyone help me out here ? Thank you in advance.

Ultraman
Apr 19, 2007, 10:18 PM
Hi mate, when I get an error message I can't figure out, I cope the whole XML and dump it in Excel. That way, I can scroll to the problem line and try to solve it from there. Hope that helps! And yes, you know I wanna figure out attack and defense mods too!

vingrjoe
Apr 20, 2007, 12:19 AM
Hey, thanks Ultraman.

I feel foolish, it turns out I left a / at the end of the UnitClassAttackMods first line. Which caused my error message. :blush: