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

Suicide: Difference between revisions

From ModEnc
Jump to navigation Jump to search
m Whose idea was having the categories case sensitive... ?
Testid123 (talk | contribs)
mNo edit summary
 
(21 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{flag|name=Suicide|files=rules(md).ini|values=Boolean(yes/no)|special=None|default=No|types=Weapons|games=RA2, YR}}
{{flag
If set, <tt>Suicide=</tt>yes causes the unit firing this weapon to die immediately after firing. Which, if [[Explodes]]=yes is set, causes the unit to fire its [[DeathWeapon]]= or, failing that, its [[Primary]]= at itself. It is only used on the Demo Truck and the IFV (special case, see [[Gunner]]=).
|values={{values|Boolean}}
|files={{Categ|ini=ai}}, {{Categ|maps}}
|types={{Categ|TeamTypes}}, {{Categ|Weapon|Weapons}}
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
|ares=yes}}


==== See also: ====
==In [[TeamTypes]]==
*[[Gunner]]=
*[[DeathWeapon]]=
*[[Explodes]]=


[[Category:General_Editing_Information]]
{{f|Suicide}} entry in TeamTypes pertains to response to an attack. Depending on the script action being executed, its effect differs. It can be set to yes/no. Check {{f|Aggressive|link}} for details.
[[Category:INI_Flags]]
 
[[Category:Weapon Flags]]
==In [[Weapons]] ({{ra2}} and {{yr}})==
[[Category:rules(md).ini Flags]]
 
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 {{f|Explodes|yes|link}}. Used on the Demo Truck and Crazy Ivan/Terrorist IFVs. If such a weapon is fired by an [[AircraftTypes|AircraftType]], it will cause an Internal Error (EIP 00417D05). If the weapon is fired as {{f|DeathWeapon|link}}, it does not cause problems with AircraftTypes.
 
===Notes===
* An object that is destroyed by firing a weapon with {{f|Suicide|yes}} will not leave any survivors (see {{f|Crewed|link}}).
*<b>Suicide</b> uses the same warhead as any warhead in the tag section. [[C4Warhead]].

Latest revision as of 04:03, 21 September 2024

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): ai(md).ini, maps
Values: Boolean values: yes or no, true or false, 1 or 0
Applicable to: TeamTypes, Weapons


In TeamTypes

Suicide entry in TeamTypes pertains to response to an attack. Depending on the script action being executed, its effect differs. It can be set to yes/no. Check Aggressive for details.

In Weapons (Red Alert 2 and Yuri's Revenge)

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).
  • Suicide uses the same warhead as any warhead in the tag section. C4Warhead.