Jump to content

CellAnim: Difference between revisions

From ModEnc²
en>Crimsonum
Un-DeeZire'd. Also, CellAnim does not affect the animation drawing by itself.
en>Crimsonum
Palette limitation
Line 17: Line 17:
{{bugs}}
{{bugs}}


The animation is drawn some 50 pixels below the cell. You can use {{f|YDrawOffset|link}} in the animation's {{ini|art}} code to visually rectify this, but it won't change the animation's "physical" location. In other words, any [[TrailerAnim|trailer]] anims, [[SpawnsParticle|particles]], etc. are still spawned from the original location.
*The animation is drawn some 50 pixels below the cell. You can use {{f|YDrawOffset|link}} in the animation's {{ini|art}} code to visually rectify this, but it won't change the animation's "physical" location. In other words, any [[TrailerAnim|trailer]] anims, [[SpawnsParticle|particles]], etc. are still spawned from the original location.
*The animation is forced to use the unit [[palette]] instead of the animation palette.

Revision as of 22:49, 30 January 2025

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 some 50 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.
  • The animation is forced to use the unit palette instead of the animation palette.