Suicide: Difference between revisions
No edit summary |
Rain-Islet (talk | contribs) m [bot] Batch update {{Bugs}} templates. |
||
| (34 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{flag | {{flag | ||
|values={{values|Boolean}} | |values={{values|Boolean}} | ||
| | |files={{Categ|ini=ai}}, {{Categ|maps}} | ||
|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}} | |types={{Categ|Weapon|Weapons}} | ||
|ts=yes | |||
|fs=yes | |||
|hp=yes | |||
|ra2=yes | |ra2=yes | ||
|yr=yes | |yr=yes | ||
| | |ares=yes}} | ||
==In {{ts}}== | |||
{{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 {{ra2}}== | |||
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. | |||
==Notes== | |||
An object that is destroyed by firing a weapon with {{f|Suicide|yes}} will not leave any survivors even if {{f|Crewed|yes|link}}. | |||
{{tt|Suicide}} uses the warhead defined by {{f|C4Warhead|link}} under [CombatDamage]. | |||
== | =={{Bugs}}== | ||
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
|
|
|
|
|
|
| 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.
|
|
|
|
|
|
| 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
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.





