cruser42
12-05-2009, 09:34 PM
Hi all,
I was playing around with starting unit veterancy and some units upgraded their weapons just fine (ex: mammoth tank). Zone troopers did not upgrade to the red rail guns when the became heroic after I included GDIZoneTrooperSquad.xml in my mod.
I looked through GDIZoneTrooper.xml & GDIZoneTrooperSquad.xml and couldn't find any entries of the type
<StatusBitsUpgrade
id="ModuleTag_VeterancyUpgrade"
StatusToSet="WEAPON_UPGRADED_03"> <TriggeredBy>Upgrade_Veterancy_HEROIC</TriggeredBy>
</StatusBitsUpgrade>
which probably explains why they are not receiving their weapon upgrades.
In saved games where I had pre-existing elite zone troopers, they retain the red rail guns, and newly made elite ones do not get the red rail guns.
These two lines were added to GDIZoneTrooperSquad.xml file to raise the troopers to heroic veterancy
<xi:include href="DATA:elitegdi/Data/Includes/GDIVeterancy.xml" />
<xi:include href="DATA:elitegdi/Data/Includes/GDIVeterancyUpgrade.xml" />
they include GDIVeterancy.xml
<?xml version="1.0" encoding="us-ascii"?>
<LevelUpUpgrade
xmlns="uri:ea.com:eala:asset"
id="ModuleTag_LevelUpUpgrade1"
LevelCap="4"
DoFlash="false"
LevelsToGain="3">
<TriggeredBy>Upgrade_CallSupportUpgrade</TriggeredBy>
</LevelUpUpgrade>
and GDIVeterancyUpgrade.xml
<?xml version="1.0" encoding="us-ascii"?>
<GrantUpgradeCreate
xmlns="uri:ea.com:eala:asset"
id="ModuleTag_GrantUpgradeCreate"
UpgradeToGrant="Upgrade_CallSupportUpgrade"
/>
Does anyone know if this is a problem with the SDK or if I'm messing this up?
I was playing around with starting unit veterancy and some units upgraded their weapons just fine (ex: mammoth tank). Zone troopers did not upgrade to the red rail guns when the became heroic after I included GDIZoneTrooperSquad.xml in my mod.
I looked through GDIZoneTrooper.xml & GDIZoneTrooperSquad.xml and couldn't find any entries of the type
<StatusBitsUpgrade
id="ModuleTag_VeterancyUpgrade"
StatusToSet="WEAPON_UPGRADED_03"> <TriggeredBy>Upgrade_Veterancy_HEROIC</TriggeredBy>
</StatusBitsUpgrade>
which probably explains why they are not receiving their weapon upgrades.
In saved games where I had pre-existing elite zone troopers, they retain the red rail guns, and newly made elite ones do not get the red rail guns.
These two lines were added to GDIZoneTrooperSquad.xml file to raise the troopers to heroic veterancy
<xi:include href="DATA:elitegdi/Data/Includes/GDIVeterancy.xml" />
<xi:include href="DATA:elitegdi/Data/Includes/GDIVeterancyUpgrade.xml" />
they include GDIVeterancy.xml
<?xml version="1.0" encoding="us-ascii"?>
<LevelUpUpgrade
xmlns="uri:ea.com:eala:asset"
id="ModuleTag_LevelUpUpgrade1"
LevelCap="4"
DoFlash="false"
LevelsToGain="3">
<TriggeredBy>Upgrade_CallSupportUpgrade</TriggeredBy>
</LevelUpUpgrade>
and GDIVeterancyUpgrade.xml
<?xml version="1.0" encoding="us-ascii"?>
<GrantUpgradeCreate
xmlns="uri:ea.com:eala:asset"
id="ModuleTag_GrantUpgradeCreate"
UpgradeToGrant="Upgrade_CallSupportUpgrade"
/>
Does anyone know if this is a problem with the SDK or if I'm messing this up?