• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.

Please help remove XP reset upon upgrade

Pomphis

Warlord
Joined
Sep 22, 2010
Messages
294
Location
Berlin, Germany
As mentioned before, I am slowly playing around with HitM. One feature I do not like is that unit XPs are set back to a maximum of 10 when upgraded. So a) I must spend all XPs before upgrading and b) I may lose several XPs. For example when I upgrade a 16 XP unit I can only spend 10, and 6 are lost, or I have to wait until the unit got to 17.

Does anybody know how to remove that feature ?
 
In the folder Assets/XML there is a file GlobalDefines.XML and there may be one called GlobalDefinesAlt.XML.

In there there should be code
Code:
    <Define>
        <DefineName>MAX_EXPERIENCE_AFTER_UPGRADE</DefineName>
        <iDefineIntVal>xx</iDefineIntVal>
    </Define>
the xx is the value the exp is set down to when you upgrade a unit. This is normal behaviour. The idea is that the upgraded unit has all new tactics, strategy, weapons and armour so only a little of what it had is useful now.

This is normal Civ IV behaviour. (I think changing the value to -1 will make it so that your unit does not loose any exp, but it breaks the game in my opinion).
 
Back
Top Bottom