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

CellAnim

From ModEnc
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: 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 overlay type also 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.
    • The radar color of the overlay are no longer read from the overlay shape but the animation's shape. Therefore, the animation shape should have at least 12 frames with appropriate radar colors, each frame related to one of the 12 Tiberium growth stages. Any missing frames are replaced with black on the radar. The cell animation type itself can use any number of frames, it does not need to be restricted to 12 frames.