Jump to content

Anim

From ModEnc²
Revision as of 21:36, 31 March 2025 by MarkJFox (talk | contribs) (5 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Anim
File(s): Rules(md).ini
Values: Strings (names of Animations)
Special Values: none
Default: none
Applicable to: Weapons


Specifies the animation to play as "muzzle flash" for this weapon.

Automatic List Inclusion

Animations used as values for this flag are automatically listed under the internal [Animations] array. However no harm can be done by listing them manually.

Facing-specific animations

(Doesn't apply to Red Alert.) If you specify eight comma-separated values, the game uses them to depict 8 different facings clockwise:

[M60]
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW

Note

[Warhead] ► Parasite=yes will force [Weapon] ► Anim=(list of animations) to be processed as if there are 8 directions.

  • In other words, if you do not specify 8 animations, the parasite's firing animation will only play correctly when the parasitized unit is facing a specific direction.