Jump to content

Suicide: Difference between revisions

From ModEnc²
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(16 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|values={{values|Boolean}}
|values={{values|Boolean}}
|files={{Categ|ini=ai}}, {{Categ|maps}}
|files={{Categ|ini=ai}}, {{Categ|maps}}
|types={{Categ|TeamTypes}}, {{Categ|Weapon|Weapons}}
|types={{Categ|TeamTypes}}
|ts=yes
|fs=yes
|hp=yes
|ra2=yes
|yr=yes
}}
{{f|Suicide|yes}} in a TeamType influences the 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.
 
 
{{flag
|values={{values|Boolean}}
|files={{Categ|ini=rules}}
|types={{Categ|Weapon|Weapons}}
|ts=yes
|ts=yes
|fs=yes
|fs=yes
Line 9: Line 22:
|yr=yes
|yr=yes
|ares=yes}}
|ares=yes}}
==In [[TeamTypes]]==
==In {{ts}}==
{{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.
{{HorizontalBar|[[Image:Cc_documentinfo.png‎|24px]] This flag got backported from YR into [[Vinifera Engine Extension|Vinifera]]. For more information, check out the official [https://vinifera.readthedocs.io/en/latest/New-Features-and-Enhancements.html#suicide Vinifera documentation].}}


==In [[Weapons]] ({{ts}} and {{fs}})==
==In {{ra2}}==
{{i}}Tiberian Sun and Firestorm doesn't support suicide 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 {{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|Internal Error]]. If the weapon is fired as {{f|DeathWeapon|link}}, it does not cause problems with AircraftTypes.
<br>
This flag got backported from YR into [[Vinifera|Vinifera]]. For more information, check out the official [https://vinifera.readthedocs.io/en/latest/New-Features-and-Enhancements.html#suicide Vinifera documentation].


==In [[Weapons]] ({{ra2}} and {{yr}})==
==Notes==
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.
An object that is destroyed by firing a weapon with {{f|Suicide|yes}} will not leave any survivors even if {{f|Crewed|yes|link}}.


===Notes===
{{tt|Suicide}} uses the warhead defined by {{f|C4Warhead|link}} under [CombatDamage].
* 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]].


{{Bugs}}
=={{Bugs}}==
*If the weapon is used through [[OccupyWeapon]],[[EliteOccupyWeapon]] will make [[buildingTypes]] will be destroyed instead,[[InfantryTypes]] located inside all buildings. Will not take damage from this weapon.
If the weapon is used through [[OccupyWeapon]] or [[EliteOccupyWeapon]] (YR), the garrisoned [[BuildingTypes|building]] will be destroyed instead, along with all [[InfantryTypes|infantry]] located inside.

Latest revision as of 17:55, 2 July 2025

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


Suicide=yes in a TeamType influences the 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.


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
Applicable to: Weapons


In Tiberian Sun

This flag got backported from YR into Vinifera. For more information, check out the official Vinifera documentation.

In Red Alert 2

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. 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 even if Crewed=yes.

Suicide uses the warhead defined by C4Warhead under [CombatDamage].

Bugs/Side-Effects/Unexpected Limitations

If the weapon is used through OccupyWeapon or EliteOccupyWeapon (YR), the garrisoned building will be destroyed instead, along with all infantry located inside.