Jump to content

Suicide: Difference between revisions

From ModEnc²
en>Crimsonum
en>Crimsonum
m Reverted edits by Crimsonum (talk) to last revision by E1 Elite
Line 1: Line 1:
{{flag
{{flag
|values={{values|Boolean}}
|values={{values|Boolean}}
|files={{Categ|ini=ai}}, {{Categ|maps}}
|default=No
|types={{Categ|TeamTypes}}, {{Categ|Weapon|Weapons}}
|types={{Categ|Weapon|Weapons}}
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|ares=yes}}
|rp=yes}}


==In [[TeamTypes]]==
==In Rules(md).ini==


{{f|Suicide}} entry in TeamTypes pertains to response to an attack. Depending on the team mission being executed, its effect differs. It can be set to yes/no. Check {{f|Aggressive|link}} for details.
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 AircraftType, it will cause an Internal Error (EIP 00417D05). If the weapon is fired as DeathWeapon, it does not cause problems with AircraftTypes.


==In [[Weapons]] ({{ra2}} and {{yr}})==
===Notes===
* An object that is destroyed by firing a weapon with "Suicide=yes" will not leave any survivors (see [[Crewed]]).


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.
==In [[TeamTypes]]==


===Notes===
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.
* An object that is destroyed by firing a weapon with {{f|Suicide|yes}} will not leave any survivors (see {{f|Crewed|link}}).

Revision as of 11:35, 7 June 2023

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Suicide
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: No
Applicable to: Weapons


In Rules(md).ini

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).

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.