Hi,
Is there any way to override the upgrade set for a unit without modifying the original unit file?
For example, let's say the original unit has this:
<UnitClassUpgrades>
<UnitClassUpgrade>
<UnitClassUpgradeType>UNITCLASS_WHATEVER</UnitClassUpgradeType>
<bUnitClassUpgrade>1</bUnitClassUpgrade>
</UnitClassUpgrade>
</UnitClassUpgrades>
I can obviously stop the upgrade by removing this from the original file or changing the boolean to zero, but I want to know if there is a way to change it in a modular loaded file that alters the unit's properties. If I add the following to my file it does not seem stop the upgrade although all other changed properties are working:
<UnitClassUpgrades>
<UnitClassUpgrade>
<UnitClassUpgradeType>UNITCLASS_WHATEVER</UnitClassUpgradeType>
<bUnitClassUpgrade>0</bUnitClassUpgrade>
</UnitClassUpgrade>
</UnitClassUpgrades>
So does anyone know of a way to override the upgrade?
Is there any way to override the upgrade set for a unit without modifying the original unit file?
For example, let's say the original unit has this:
<UnitClassUpgrades>
<UnitClassUpgrade>
<UnitClassUpgradeType>UNITCLASS_WHATEVER</UnitClassUpgradeType>
<bUnitClassUpgrade>1</bUnitClassUpgrade>
</UnitClassUpgrade>
</UnitClassUpgrades>
I can obviously stop the upgrade by removing this from the original file or changing the boolean to zero, but I want to know if there is a way to change it in a modular loaded file that alters the unit's properties. If I add the following to my file it does not seem stop the upgrade although all other changed properties are working:
<UnitClassUpgrades>
<UnitClassUpgrade>
<UnitClassUpgradeType>UNITCLASS_WHATEVER</UnitClassUpgradeType>
<bUnitClassUpgrade>0</bUnitClassUpgrade>
</UnitClassUpgrade>
</UnitClassUpgrades>
So does anyone know of a way to override the upgrade?