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

Explosion

From ModEnc
Revision as of 18:44, 22 February 2008 by Nighthawk200 (talk | contribs) (Pages merged. Added DCoder's info. Please remove the old pages if this rewrite is acceptable.)
Jump to navigation Jump to search
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: Explosion
File(s): rules(md).ini
Values: Crate Parameters; Animations
Applicable to: Powerups, VehicleTypes, AircraftTypes, BuildingTypes



There are 2 uses of this flag.

In the Crate Powerups section ([Powerups])

Here, the flag is used to control the effect of an Explosion crate. This crate type is unused in the game by default.

The fourth parameter is the amount of damage inflicted. This uses the warhead defined in C4Warhead so by editing that you can customize this crate power up.

On TechnoTypes

Specifies the list of explosion animations to use when this object is destroyed.
There are usually 5 in the list separated by commas, and the game displays them randomly at single-cell offsets from the center of the object.
Each of the animations should be listed in the [Animations] list and have their own entry defined in art(md).ini. Where a 6th animation is present on BuildingTypes it appears to be a structure-specific explosion (this is only used on power plants in Red Alert 2).
This does not work on InfantryTypes.