ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Suicide"

From ModEnc
Jump to: navigation, search
(added info about AreaFire + Suicide bug for infantry)
Line 11: Line 11:
 
===Notes===
 
===Notes===
 
* An object that is destroyed by firing a weapon with "Suicide=yes" will not leave any survivors (see [[Crewed]]).
 
* An object that is destroyed by firing a weapon with "Suicide=yes" will not leave any survivors (see [[Crewed]]).
 +
* A weapon with "Suicide=yes" should not have {{f|AreaFire|yes|link}} set, or infantry units won't be able to fire it without deploying.

Revision as of 14:01, 14 May 2013

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: Suicide
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: No
Applicable to: Weapons


Causes the unit firing this weapon to die immediately instead of actually invoking the normal effects of the weapon. Additional logic is activated by also setting Explodes=yes. Used on the Demo Truck and Crazy Ivan/Terrorist IFVs. If such a weapon is fired by an AircraftType, it will cause an Internal Error (EIP 00417D05). If the weapon is fired as DeathWeapon, it does not cause problems with AircraftTypes.

Notes

  • An object that is destroyed by firing a weapon with "Suicide=yes" will not leave any survivors (see Crewed).
  • A weapon with "Suicide=yes" should not have AreaFire=yes set, or infantry units won't be able to fire it without deploying.