• 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.

Which xml for upgrading units pls?

KHSOLO

Warlord
Joined
Oct 31, 2005
Messages
148
I wanna change my xml files so i can upgrade cavalry to maybe tanks

Pls let me know which xml file i can find this cause i have been looking unsuccesfully

Ty in advance
 
Hello,

There's a couple of places this needs to be done.

You'll need to update the <GoodyHutUpgradeUnitClass> and <Unit_ClassUpgrades> information.

I think it'd be something along the lines of (how's that for a disclaimer)

Spoiler :

<Units>
<GoodyHutUpgradeUnitClass>UNITCLASS_TANK</GoodyHutUpgradeUnitClass>

and

<Unit_ClassUpgrades>
<Row>
<UnitType>UNIT_CAVALRY</UnitType>
<UnitClassType>UNITCLASS_TANK</UnitClassType>
</Row>
</Unit_ClassUpgrades>



This is found in the CIV5Units.xml file, I think.
 
Hello,

There's a couple of places this needs to be done.

You'll need to update the <GoodyHutUpgradeUnitClass> and <Unit_ClassUpgrades> information.

I think it'd be something along the lines of (how's that for a disclaimer)

Spoiler :

<Units>
<GoodyHutUpgradeUnitClass>UNITCLASS_TANK</GoodyHutUpgradeUnitClass>

and

<Unit_ClassUpgrades>
<Row>
<UnitType>UNIT_CAVALRY</UnitType>
<UnitClassType>UNITCLASS_TANK</UnitClassType>
</Row>
</Unit_ClassUpgrades>



This is found in the CIV5Units.xml file, I think.

Worked wonderfully ty !!

No longer my cavalry went to waste :)
 
Back
Top Bottom