InfDeath

From ModEnc

Jump to: navigation, search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm Extended Tiberian Sun Red Alert 2 Yuri's Revenge RockPatch Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: InfDeath
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967296. (Limited to: 0 through 10)
Default: 0
Applicable to: Warheads


InfDeath is used on a Warhead to specify the animation to play when an InfantryType is killed by it.

There are two exceptions:

  • If the killed InfantryType has NotHuman=yes set, it will always use DieX sub-sequences instead.
  • If it has animations specified by DeathAnims, these will override all other death animations.

[edit] Accepted values

Value Game Availability Animation Spawning?
0 Image:Game_ra_yes.png Image:Game_ts_yes.png Image:Game_ra2_yes.png Image:Game_yr_yes.png none Image:Cc cancel.png
1 Image:Game_ra_yes.png Image:Game_ts_yes.png Image:Game_ra2_yes.png Image:Game_yr_yes.png In Red Alert, twirly death (small arms); afterwards, Die1 sub-sequence of the killed infantry Image:Cc cancel.png
2 Image:Game_ra_yes.png Image:Game_ts_yes.png Image:Game_ra2_yes.png Image:Game_yr_yes.png In Red Alert, explosion death (high explosive); afterwards, Die2 sub-sequence of the killed infantry Image:Cc cancel.png
3 Image:Game_ra_yes.png Image:Game_ts_yes.png Image:Game_ra2_yes.png Image:Game_yr_yes.png In Red Alert, flying death (armor piercing); afterwards, animation specified by InfantryExplode Image:Cc apply.png Neutral
4 Image:Game_ra_yes.png Image:Game_ts_yes.png Image:Game_ra2_yes.png Image:Game_yr_yes.png In Red Alert, burn death (flames); afterwards, animation specified by FlamingInfantry Image:Cc apply.png Neutral
5 Image:Game_ra_yes.png Image:Game_ts_yes.png Image:Game_ra2_yes.png Image:Game_yr_yes.png In Red Alert, electro death; afterwards, animation listed second in the [Animations] array (regardless of numeration) Image:Cc apply.png Neutral
6 Image:Game_ra2_yes.png Image:Game_yr_yes.png Animation specified by InfantryHeadPop Image:Cc apply.png Neutral
7 Image:Game_ra2_yes.png Image:Game_yr_yes.png Animation specified by InfantryNuked Image:Cc apply.png Neutral
8 Image:Game_yr_yes.png Animation specified by InfantryVirus Image:Cc apply.png Player
9 Image:Game_yr_yes.png Animation specified by InfantryMutate Image:Cc apply.png Player
10 Image:Game_yr_yes.png Animation specified by InfantryBrute Image:Cc apply.png Neutral

[edit] Spawning

In Yuri's Revenge, these death animations can be made to spawn a player-owned InfantryType via the MakeInfantry logic:

  • InfDeath=8, InfantryVirus, can be displayed in the unit palette if AltPalette=yes, however remappable colors will not acquire the correct player colour.
  • InfDeath=9, InfantryMutate, is hardcoded to use the unit palette and will be remapped to the correct player colour.
All other InfDeath animations, besides those that are part of an infantry Sequence, can be made to spawn a neutral-owned InfantryType. These can be displayed in the unit palette if AltPalette=yes, however remappable colors will not acquire the correct player colour.
Personal tools