Difference between revisions of "Explodes"
(complete rewrite woo!) |
Nighthawk200 (talk | contribs) m (Template updated) |
||
Line 3: | Line 3: | ||
|files={{Categ|Rules(md).ini}} | |files={{Categ|Rules(md).ini}} | ||
|values=boolean | |values=boolean | ||
− | |||
|default=no | |default=no | ||
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}, {{Categ|OverlayTypes}} | |types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}, {{Categ|OverlayTypes}} | ||
− | | | + | |ts=yes |
+ | |fs=yes | ||
+ | |ets=yes | ||
+ | |ra2=yes | ||
+ | |yr=yes | ||
+ | |rp=yes | ||
}} | }} | ||
Revision as of 12:51, 10 March 2007
Flag: | Explodes |
File(s): | Rules(md).ini |
Values: | boolean |
Default: | no |
Applicable to: | InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes, OverlayTypes |
Contents
For Techno Types
In Tiberian Sun and Firestorm
Assuming the unit has Explodes=yes, the unit's Template:TTL weapon is fired at the cell that the unit occupies when it is destroyed. If the unit does not have Primary= defined, Explodes=yes will have no effect.
In a special case, if the unit has Template:TTL= defined in addition to Explodes=yes, 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, though this is unconfirmed.
In Red Alert 2 and Yuri's Revenge
Assuming the unit has Explodes=yes, the unit's Template:TTL is fired at the cell that the unit occupies when it is destroyed by a non-temporal warhead. If the unit does not have DeathWeapon= defined, the unit's Template:TTL weapon will be fired instead. If the unit does not have Primary= defined, it will default to firing the weapon defined by [[[:Template:TTL]]]Template:TTL=.
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 object has Explodes=yes, 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=.