Explosion: Difference between revisions
Added new info. |
mNo edit summary |
||
Line 76: | Line 76: | ||
}} | }} | ||
Here, the flag is used to control the effect of an exploding bonus [[crate]]. It takes a comma-separated list of three parameters that determine the probability, animation, and damage dealt by the explosion, in that order. {{ra2}} and {{yr}} | Here, the flag is used to control the effect of an exploding bonus [[crate]]. It takes a comma-separated list of three parameters that determine the probability, animation, and damage dealt by the explosion, in that order. {{ra2}} and {{yr}} have a fourth parameter which controls whether this type of crate can spawn on water. | ||
See [[Powerups]] for more information. |
Revision as of 17:47, 27 February 2020
There are two uses for this flag in rules(md).ini. What those two cases are depends on the game.
On Warheads
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Flag: | Explosion |
File(s): | rules(md).ini |
Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. (Limited to: 0–6) |
Default: | 0 |
Applicable to: | Warheads |
Warning: | There are 2 numbered subpages of this page. These pages should all be merged into this page. |
Defines which set of pre-determined explosion animations to use when a warhead of this type impacts. The values are explained below:
Value | Description |
---|---|
0 | No animation |
1 | A single bullet impact |
2 | Multiple bullet impacts |
3 | Fire, napalm |
4 | Armor-piercing rounds |
5 | High explosives |
6 | Nuclear explosion |
On TechnoTypes
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Flag: | Explosion |
File(s): | rules(md).ini |
Values: | Comma-separated list of strings. (Limited to: Animations) |
Applicable to: | VehicleTypes, AircraftTypes, BuildingTypes |
Warning: | There are 2 numbered subpages of this page. These pages should all be merged into this page. |
Specifies the list of explosion animations to use when this object is destroyed. The game randomly displays one of them, or in the case of buildings, one on each cell that the building occupies.
This does not work on InfantryTypes.
In Powerups
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Flag: | Explosion |
File(s): | rules(md).ini |
Values: | Comma-separated list of strings. |
Applicable to: | Powerups |
Warning: | There are 2 numbered subpages of this page. These pages should all be merged into this page. |
Here, the flag is used to control the effect of an exploding bonus crate. It takes a comma-separated list of three parameters that determine the probability, animation, and damage dealt by the explosion, in that order. Red Alert 2 and Yuri's Revenge have a fourth parameter which controls whether this type of crate can spawn on water.
See Powerups for more information.