Explodes: Difference between revisions
m Removing outdated categ usage, touching up (TODO: revise OverlayTypes section) |
m Fixing minor wording and style problems. |
||
Line 1: | Line 1: | ||
{{Flag | {{Flag | ||
|name=Explodes | |||
|files={{Categ|ini=rules}} | |||
|values={{Values|boolean}} | |values={{Values|boolean}} | ||
|default= | |default=false | ||
|types={{Categ|Technoes}} | |types={{Categ|Technoes}}; {{Categ|OverlayTypes}} | ||
|ts=yes | |ts=yes | ||
|fs=yes | |fs=yes | ||
Line 11: | Line 13: | ||
}} | }} | ||
== For | == For TechnoTypes == | ||
=== In Tiberian Sun and Firestorm === | === In Tiberian Sun and Firestorm === | ||
If {{TTL|Explodes|yes}} is set on a unit | If {{TTL|Explodes|yes}} is set on a unit, its {{TTL|Primary}} [[weapon]] will be fired once at the [[cell]] that the unit occupies when it is destroyed. If the unit does not have {{TTL|Primary}} set then {{TTL|Explodes|yes}} will have no effect. | ||
In a special case, if the unit has {{TTL|Storage}} set, as well as {{TTL|Explodes|yes}} set, then it will cause an explosion when destroyed with damage proportional to the amount of [[Tiberium]] contained inside. A theoretical formula is ''amount of [[bail]]s stored * [{{TTL|CombatDamage}}]{{arr|r}}{{TTL|TiberiumExplosionDamage}}'', although this is unconfirmed. | In a special case, if the unit has {{TTL|Storage}} set to a positive [[Help:Values#Integers|integer]], as well as {{TTL|Explodes|yes}} set, then it will cause an explosion when destroyed with damage proportional to the amount of [[Tiberium]] contained inside. A theoretical formula is ''amount of [[bail]]s stored * [{{TTL|CombatDamage}}]{{arr|r}}{{TTL|TiberiumExplosionDamage}}'', although this is unconfirmed. | ||
=== In Red Alert 2 and Yuri's Revenge === | === In Red Alert 2 and Yuri's Revenge === | ||
If {{TTL|Explodes|yes}} is set on a unit | If {{TTL|Explodes|yes}} is set on a unit, a certain weapon will be fired at the [[cell]] that the unit occupies when it is destroyed by a [[warhead]] with {{TTL|Temporal|no}}: | ||
# If {{tt|[[DeathWeapon#For_TechnoTypes|DeathWeapon]]}} is specified on the unit then that weapon will be fired. | |||
# If {{tt|DeathWeapon}} is not specified on the unit then the its [[Primary#Current_Primary_Weapon|current primary weapon]] will be fired instead. | |||
# If the unit has neither a {{tt|DeathWeapon}} nor a current primary weapon, the default [[DeathWeapon#As_a_concept|death weapon]] specified by {{sl|CombatDamage}}{{arr}}{{tt|[[DeathWeapon#For_.5BCombatDamage.5D|DeathWeapon]]}} will be fired instead. | |||
== For OverlayTypes == | == For OverlayTypes == | ||
This feature was | This feature was neither used in {{Ts}} nor {{Ra2}}, though the logic is still present. If an [[OverlayType]] has {{TTL|Explodes|yes}} set, then it will have the following effects when it is destroyed: | ||
*Display the animation | * Display the [[animation]] specified by {{sl|General|BarrelExplode}}. | ||
*Spawn the debris | * Spawn the [[debris]] specified by {{sl|General|BarrelDebris}}. | ||
*Spawn the particle | * Spawn the [[particle]] specified by {{sl|General|BarrelParticle}}. | ||
*Deal damage to the cell it occupied | * Deal damage to the [[cell]] it occupied specified by {{sl|CombatDamage|AmmoCrateDamage}}. | ||
== See | == See also == | ||
*[[Recreating Tiberium Damage in Yuri%27s Revenge#Explosive Tiberium|Explosive Tiberium in RA2]] | * [[Recreating Tiberium Damage in Yuri%27s Revenge#Explosive Tiberium|Explosive Tiberium in RA2]] | ||
Revision as of 16:46, 5 June 2008
Flag: | Explodes |
File(s): | rules(md).ini |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Default: | false |
Applicable to: | TechnoTypes:
AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes; OverlayTypes |
For TechnoTypes
In Tiberian Sun and Firestorm
If Template:TTL is set on a unit, its Template:TTL weapon will be fired once at the cell that the unit occupies when it is destroyed. If the unit does not have Template:TTL set then Template:TTL will have no effect.
In a special case, if the unit has Template:TTL set to a positive integer, as well as Template:TTL set, then it will cause an explosion when destroyed with damage proportional to the amount of Tiberium contained inside. A theoretical formula is amount of bails stored * [[[:Template:TTL]]]→Template:TTL, although this is unconfirmed.
In Red Alert 2 and Yuri's Revenge
If Template:TTL is set on a unit, a certain weapon will be fired at the cell that the unit occupies when it is destroyed by a warhead with Template:TTL:
- If DeathWeapon is specified on the unit then that weapon will be fired.
- If DeathWeapon is not specified on the unit then the its current primary weapon will be fired instead.
- If the unit has neither a DeathWeapon nor a current primary weapon, the default death weapon specified by [CombatDamage]→DeathWeapon will be fired instead.
For OverlayTypes
This feature was neither used in Tiberian Sun nor Red Alert 2, though the logic is still present. If an OverlayType has Template:TTL set, then it will have the following effects when it is destroyed:
- Display the animation specified by [General]→BarrelExplode=.
- Spawn the debris specified by [General]→BarrelDebris=.
- Spawn the particle specified by [General]→BarrelParticle=.
- Deal damage to the cell it occupied specified by [CombatDamage]→AmmoCrateDamage=.