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

AnimList

From ModEnc
Jump to: navigation, 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: AnimList
File(s): rulesmd.ini
Values: Comma-separated list of strings. (Limited to: Animation IDs)
Applicable to: Warheads


Lists the animations that are displayed at the point of impact of the warhead. These are listed in order of increasing raw damage delivered by the projectile, so typically the explosions get bigger in relation to the amount of damage caused.

AnimList can accept any number1 of animations. The game will pick which one to show through the damage delivered by the projectile. This is usually the weapon's Damage multiplied by the Firepower multiplier of the owner house, and any firepower upgrades the firing unit might have. The animation is acquired by dividing this delivered damage by 252 and truncating the result.

For example, up to 24 damage, the first animation in the list will be played. From 25 to 49 damage, the second animation. From 50 to 74 damage, third animation in the list will be played, and so on. When the damage value exceeds the available animation slots in the list, then the last animation in the list is played.

However, there are some special cases where this zero-based index logic is ignored:

In addition, if the warhead has Conventional=yes set, and the projectile hits water, the animations defined by the [AudioVisual]SplashList= statement are used instead.

Notes

1 Subject to the maximum string limit of 127 characters

2 This only pays attention to the projectile's delivered damage, not inflicted damage. That means Verses, ProneDamage and other target-dependant flags are ignored. In addition, this will ignore the damage increase produced by the support beams of the Prism Tower.