I edited the nod cloning special power to make units, vehicles and defensive structures act as exact copies of their original counterparts. Almost everything works except the nod fanatic. When they use their suicide ability to explode on a building, they just blip out of existence and do no damage. Where as almost every other unit functions properly.
I edited this section of the NodFanatic.xml file. Here I added the additional weapon line for the cloned bomb.
<WeaponSetUpdate
id="720F4A50">
<WeaponSlotHardpoint
ID="1"
InterleavedStyle="INTERLEAVE_FIRST_AVAILABLE"
WeaponChoiceCriteria="PREFER_MOST_DAMAGE"
AllowInterleavedFiring="False">
<Weapon
Ordering="PRIMARY_WEAPON"
Template="NODFanaticBomb"
Upgrade=""
ObjectStatus=""
IsPlayerUpgradePermanent="False" />
<Weapon
Ordering="PRIMARY_WEAPON"
Template="NODFanaticBombCloned"
Upgrade=""
ObjectStatus="CLONED"
IsPlayerUpgradePermanent="False" />
I then opened up the weapontemplate.xml file and copied the existing entry for NodFanaticBomb and changed the name to NodFanaticBombCloned
I also edited the AttributeModifier.xml file to include this:
<AttributeModifier
id="AttributeModifier_Cloned"
Category="NONE"
Duration="0s"
MetaDuration="0"
StartFX=""
EndFX=""
ModelConditionsSet=""
ModelConditionsClear=""
ObjectStatusToSet=""
StackingLimit="1"
ReplaceInCategoryIfLongest="False"
IgnoreIfAnticategoryActive="False">
<Modifier
Type="HEALTH_MULT"
Value="300%" />
<Modifier
Type="DAMAGE_ADD"
Value="300%" />
<Modifier
Type="DAMAGE_MULT"
Value="150%" />
<Modifier
Type="VISION"
Value="130%" />
<Modifier
Type="SHROUD_CLEARING"
Value="130%" />
</AttributeModifier>
Any ideas?