CellAnim: Difference between revisions
Appearance
en>DeathFish No edit summary |
en>DeathFish No edit summary |
||
| Line 18: | Line 18: | ||
*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 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. | ||
*If the {{Categ|OverlayTypes}} has {{f|Tiberium|yes|link}}, 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, and map the colors according to the color scheme set by the {{f|Color#In_Tiberiums|link}} under {{Categ|Tiberiums}} for the corresponding parts. | ||
Revision as of 18:32, 31 January 2025
|
|
|
|
|
|
| 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.





