Behavior = SpecialAbility ModuleTag_TNT01 SpecialPowerTemplate = SpecialAbilityTankHunterTNTAttack UpdateModuleStartsAttack = Yes InitiateSound = TankHunterVoiceTNT End Behavior = SpecialAbilityUpdate ModuleTag_TNT02 SpecialPowerTemplate = SpecialAbilityTankHunterTNTAttack StartAbilityRange = 5.0 PreparationTime = 0 SpecialObject = TNTStickyBomb MaxSpecialObjects = 8 SpecialObjectsPersistWhenOwnerDies = Yes ;Charges are removed instantly when owner dies (nobody can detonate). SpecialObjectsPersistent = Yes ;Charges are persistent till lifetime expires or owner detonates them. UniqueSpecialObjectTargets = Yes ;This prevents multiple charges placed on the same object. FleeRangeAfterCompletion = 100.0 ;Runs away after finishing ability End And the CommandSet code: CommandSet Demo_GLAInfantryTunnelDefenderCommandSet 1 = Command_ChinaInfantryTankHunterTNTAttack 11 = Command_AttackMove 13 = Command_Guard 14 = Command_Stop End CommandSet Demo_GLAInfantryTunnelDefenderCommandSetUpgrade 1 = Command_ChinaInfantryTankHunterTNTAttack 2 = Demo_Command_TertiarySuicide 11 = Command_AttackMove 13 = Command_Guard 14 = Command_Stop End
The C&C Labs Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. More Details Close