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

InfDeath

From ModEnc
Revision as of 11:27, 15 May 2008 by Vinifera7 (talk | contribs) (Cleaned up a bit)
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: InfDeath
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295. (Limited to: 0 through 10)
Default: 0
Applicable to: Warheads


Template:TTL 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 Template:TTL set, it will always use its Template:TTL sub-sequences instead.
  • If it has animations specified by Template:TTL, these will override all other death animations.

Accepted values

Value Game Availability Animation Spawning?
0 none
1 In Red Alert, twirly death (small arms); afterwards, Template:TTL sub-sequence of the killed infantry
2 In Red Alert, explosion death (high explosive); afterwards, Template:TTL sub-sequence of the killed infantry
3 In Red Alert, flying death (armor piercing); afterwards, animation specified by Template:TTL
4 In Red Alert, burn death (flames); afterwards, animation specified by Template:TTL
5 In Red Alert, electro death; afterwards, animation listed second in the [[[:Template:TTL]]] array (regardless of numeration)
6 Animation specified by Template:TTL
7 Animation specified by Template:TTL
8 Animation specified by Template:TTL
9 Animation specified by Template:TTL
10 Animation specified by Template:TTL

Spawning

These death animations can be made to spawn a player-owned InfantryType via the MakeInfantry logic:

  • Template:TTL, InfantryVirus, can be displayed in the unit palette, however remappable colors will not acquire the correct player colour.
  • Template:TTL, InfantryMutate, is hardcoded to use the unit palette and will be remapped to the correct player colour.