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

CellAnim: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
Palette limitation
DeathFish (talk | contribs)
No edit summary
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 45 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.
*If the {{Categ|OverlayTypes}} has {{f|Tiberium|yes|link}}, the animation is forced to use the unit [[palette]] instead of the animation palette.

Revision as of 15:17, 31 January 2025

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 OverlayTypes has Tiberium=yes, the animation is forced to use the unit palette instead of the animation palette.