Suicide: Difference between revisions
Appearance
No edit summary |
formatter |
||
| 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 | |types={{Categ|TeamTypes}} | ||
|ts=yes | |ts=yes | ||
|fs=yes | |fs=yes | ||
| Line 12: | Line 12: | ||
{{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. | {{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. | ||
== | {{flag | ||
|values={{values|Boolean}} | |||
|files={{Categ|ini=rules}} | |||
|types={{Categ|Weapon|Weapons}} | |||
|ts=yes | |||
|fs=yes | |||
|hp=yes | |||
|ra2=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].}} | {{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 | ==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). If the weapon is fired as {{f|DeathWeapon|link}}, it does not cause problems with AircraftTypes. | 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. | ||
Revision as of 08:45, 15 June 2025
|
|
|
|
|
|
| Flag: | Suicide |
| File(s): | ai(md).ini, maps |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Applicable to: | TeamTypes |
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.
|
|
|
|
|
|
| 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 (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.
Bugs/Side-Effects/Unexpected Limitations
- 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.





