Posted 23 February 2009 - 10:23 PM
CODE
<?xml version="1.0" encoding="us-ascii" ?>
- <ArmorUpgrade xmlns="uri:ea.com:eala:asset" id="ModuleTag_InfusedCompositeArmorUpgrade" Permanent="true" ArmorSetFlag="PLAYER_UPGRADE_3">
<TriggeredBy>Upgrade_GDICompositeArmor</TriggeredBy>
<TriggeredBy>Upgrade_TiberiumInfusion</TriggeredBy>
</ArmorUpgrade> The above code does not work. The idea is to experiment with cross faction upgrades. In this case if a nod militant squad get both the Tiberium infusion and the composite armor upgrades, they are suppossed to get a new unique armor.
The new armor template is done and referenced in a similar style to how the tiberium infused armor is referenced.
The nod squad
can get the composite armor or tiberium infusion upgrade on its own. Has you can see from the above code, the armor set flag is unique (composite armor by itself is set to "PLAYER_UPGRADE_2").
Is the reason that the above code does not work because 2 "TriggeredBy" elements are not allowed?
If thats the case can I please have some pointers on how to get this unique armor to require that the player already has both tiberium infusion and composite armor?