View Full Version : Unit Upgrade Cost - is it in XML?


Sergeant Hulka
Jan 01, 2006, 07:38 AM
I've looked but haven't been able to find anything in the XML that controls the cost of upgrading a unit (say, from warrior to axeman). Ideally, I'd like to have the ability to either change it globally, or with specific buildings (i.e, city with a barracks makes an upgrade 20% cheaper; West Point adds another 20% discount ...). Anyone know how to do this, or is it a Python-only thing?

thanks in advance ...

The Great Apple
Jan 01, 2006, 07:52 AM
It's in GlobalDefines.xml. Lines 881-888.