ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Explodes"

From ModEnc
Jump to: navigation, search
(See Also)
(minor rewording and links to deathweapon)
Line 16: Line 16:
  
 
=== In Tiberian Sun and Firestorm ===
 
=== In Tiberian Sun and Firestorm ===
Assuming the unit has {{tt|Explodes{{Equal}}yes}}, the unit's {{TTL|Primary}} [[weapon]] is fired at the [[cell]] that the unit occupies when it is destroyed. If the unit does not have {{tt|Primary}}= defined, {{tt|Explodes{{Equal}}yes}} will have no effect.
+
If {{TTL|Explodes|yes}} is set on a unit then, when that unit is destroyed, the unit's {{TTL|Primary}} [[weapon]] will be fired 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}}= defined in addition to {{tt|Explodes{{Equal}}yes}}, 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}}]{{TTL|TiberiumExplosionDamage}}'', though this is unconfirmed.
+
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 Red Alert 2 and Yuri's Revenge ===
 
=== In Red Alert 2 and Yuri's Revenge ===
Assuming the unit has {{tt|Explodes{{Equal}}yes}}, the unit's {{TTL|DeathWeapon}} is fired at the [[cell]] that the unit occupies when it is destroyed by a non-[[temporal]] [[warhead]]. If the unit does not have {{tt|DeathWeapon}}= defined, the unit's {{TTL|Primary}} [[weapon]] will be fired instead. If the unit does not have {{tt|Primary}}= defined, it will default to firing the weapon defined by [{{TTL|General}}]{{TTL|DeathWeapon}}=.
+
If {{TTL|Explodes|yes}} is set on a unit then, when that unit is destroyed by a non-[[Temporal]] [[warhead]], a weapon will be fired at the [[cell]] that that unit occupies when it is destroyed. See [[DeathWeapon#As_a_concept|death weapon]] for more details.
 +
<br>If {{tt|[[DeathWeapon#For_TechnoTypes|DeathWeapon]]}} is specified on the unit then that weapon will be fired.
 +
<br>If {{tt|[[DeathWeapon#For_TechnoTypes|DeathWeapon]]}} is not specified on the unit then the unit's [[Primary#Current_Primary_Weapon|current primary weapon]] will be fired instead.
 +
<br>If the unit does not have a current primary weapon, ''and'' a unit-specific {{tt|[[DeathWeapon#For_TechnoTypes|DeathWeapon]]}} has not been specified either, then the default death weapon (specified by [{{TTL|CombatDamage}}]{{arr|r}}{{tt|[[DeathWeapon#For_.5BCombatDamage.5D|DeathWeapon]]}}) will be fired instead.
  
 
== For OverlayTypes ==
 
== For OverlayTypes ==
This feature was not used in either {{Ts}} or {{Ra2}}, though the logic is still present. If an {{TTL|OverlayTypes}} object has {{tt|Explodes{{Equal}}yes}}, it will have the following effects when it is destroyed:
+
This feature was not used in either {{Ts}} or {{Ra2}}, though the logic is still present. If an {{TTL|OverlayType}} has {{TTL|Explodes|yes}} set then it will have the following effects when it is destroyed:
 
 
 
*Display the animation defined by [{{TTL|General}}]{{TTL|BarrelExplode}}=.
 
*Display the animation defined by [{{TTL|General}}]{{TTL|BarrelExplode}}=.
 
*Spawn the debris defined by [{{TTL|General}}]{{TTL|BarrelDebris}}=.
 
*Spawn the debris defined by [{{TTL|General}}]{{TTL|BarrelDebris}}=.
Line 33: Line 35:
 
== See Also ==
 
== 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]]
 +
*{{TTL|DeathWeapon}}

Revision as of 22:13, 20 April 2008

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: Explodes
File(s): Rules(md).ini
Values: boolean
Default: no
Applicable to: InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes, OverlayTypes


For Techno Types

In Tiberian Sun and Firestorm

If Template:TTL is set on a unit then, when that unit is destroyed, the unit's Template:TTL weapon will be fired 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, 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 then, when that unit is destroyed by a non-Temporal warhead, a weapon will be fired at the cell that that unit occupies when it is destroyed. See death weapon for more details.
If DeathWeapon is specified on the unit then that weapon will be fired.
If DeathWeapon is not specified on the unit then the unit's current primary weapon will be fired instead.
If the unit does not have a current primary weapon, and a unit-specific DeathWeapon has not been specified either, then the default death weapon (specified by [[[:Template:TTL]]]→DeathWeapon) will be fired instead.

For OverlayTypes

This feature was not used in either Tiberian Sun or Red Alert 2, though the logic is still present. If an Template:TTL has Template:TTL set then it will have the following effects when it is destroyed:

  • Display the animation defined by [[[:Template:TTL]]]Template:TTL=.
  • Spawn the debris defined by [[[:Template:TTL]]]Template:TTL=.
  • Spawn the particle defined by [[[:Template:TTL]]]Template:TTL=.
  • Deal damage to the cell it occupied defined by [[[:Template:TTL]]]Template:TTL=.

See Also