Jump to content

CellAnim

From ModEnc²
Revision as of 18:32, 31 January 2025 by en>DeathFish
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: CellAnim
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: Animations)
Default: none
Applicable to: OverlayTypes


Specifies the animation to display in the cell occupied by this overlay.

Bugs/Side-Effects/Unexpected Limitations

  • The animation is drawn 45 pixels below the cell. You can use YDrawOffset in the animation's art(md).ini code to visually rectify this, but it won't change the animation's "physical" location. In other words, any trailer anims, particles, etc. are still spawned from the original location.
  • If the OverlayTypes has Tiberium=yes, the animation is forced to use the unit palette instead of the animation palette, and map the colors according to the color scheme set by the Color under Tiberiums for the corresponding parts.