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

Difference between revisions of "AnimList"

From ModEnc
Jump to: navigation, search
m (Some markup fixes)
m
Line 12: Line 12:
 
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. If the warhead has {{f|Conventional|yes|link}} set, the animations defined by the {{sl|AudioVisual|SplashList}} statement are used instead, which follow the same logic.
 
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. If the warhead has {{f|Conventional|yes|link}} set, the animations defined by the {{sl|AudioVisual|SplashList}} statement are used instead, which follow the same logic.
  
This can accept an unlimited number of animations. The game will pick which one to show through the damage delivered by the projectile. This is usually the weapon's {{f|Damage|link}} multiplied by the {{f|Firepower|link}} multiplier of the owner house, and any firepower upgrades the firing unit might have. The final anim is acquired by dividing this delivered damage by 25{{fnl|1}} and rounding down to the nearest whole number. However, there are some special cases where this zero-based index logic is ignored. If the warhead has {{f|EMEffect|yes|link}}, then it will pick an animation at random. If the warhead has the same ID as the one defined in {{sl|General|LightningWarhead}}, then the animation will be the one defined in {{sl|General|WeatherConBoltExplosion}} regardless.
+
This can accept an unlimited number of animations (subject to limitation of the number of characters per flag). The game will pick which one to show through the damage delivered by the projectile. This is usually the weapon's {{f|Damage|link}} multiplied by the {{f|Firepower|link}} multiplier of the owner house, and any firepower upgrades the firing unit might have. The final anim is acquired by dividing this delivered damage by 25{{fnl|1}} and rounding down to the nearest whole number. Like upto 24 damage, 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. If the warhead has {{f|EMEffect|yes|link}}, then it will pick an animation at random. If the warhead has the same ID as the one defined in {{sl|General|LightningWarhead}}, then the animation will be the one defined in {{sl|General|WeatherConBoltExplosion}} regardless.
  
 
== Notes ==
 
== Notes ==
  
 
{{fn|1|This only pays attention to the projectile's ''delivered'' damage, not ''inflicted'' damage. That means {{f|Verses}}, {{f|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.}}
 
{{fn|1|This only pays attention to the projectile's ''delivered'' damage, not ''inflicted'' damage. That means {{f|Verses}}, {{f|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.}}

Revision as of 13:44, 8 March 2019

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. If the warhead has Conventional=yes set, the animations defined by the [AudioVisual]SplashList= statement are used instead, which follow the same logic.

This can accept an unlimited number of animations (subject to limitation of the number of characters per flag). 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 final anim is acquired by dividing this delivered damage by 251 and rounding down to the nearest whole number. Like upto 24 damage, 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. If the warhead has EMEffect=yes, then it will pick an animation at random. If the warhead has the same ID as the one defined in [General]LightningWarhead=, then the animation will be the one defined in [General]WeatherConBoltExplosion= regardless.

Notes

1 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.