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

Difference between revisions of "Explosion"

From ModEnc
Jump to: navigation, search
 
(Pages merged. Added DCoder's info. Please remove the old pages if this rewrite is acceptable.)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
OBSOLETE - Fire an explosion
+
|name={{PAGENAME}}
 +
|files=rules(md).ini
 +
|values=Crate Parameters; Animations
 +
|types=[[Powerups]], [[VehicleTypes]], [[AircraftTypes]], [[BuildingTypes]]
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}<br />
 +
 
 +
There are 2 uses of this flag.
 +
 
 +
__TOC__
 +
 
 +
== In the Crate Powerups section ([[Powerups|[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. <br>
 +
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. <br>
 +
Each of the animations should be listed in the [[Animations|[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).<br>
 +
This does not work on InfantryTypes.

Revision as of 19:44, 22 February 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: 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.