Jump to content

ShouldUseCellDrawer: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
en>DeathFish
No edit summary
Line 3: Line 3:
|files={{Categ|art(md).ini}}
|files={{Categ|art(md).ini}}
|values={{Values|boolean}}
|values={{Values|boolean}}
|default=True
|default=yes
|types={{Categ|Animations}}
|types={{Categ|Animations}} (attached to the building)
|ts=yes
|ts=yes
|fs=yes
|fs=yes
Line 12: Line 12:
|rp=yes
|rp=yes
}}
}}
If {{f|ShouldUseCellDrawer|false|link}} is set on an animation then that animation will always use the animation palette.
If {{tt|ShouldUseCellDrawer|false}} is set on an animation then that animation will always use the animation palette.


If this flag is not disabled, the Animation will use the palette of the building on the cell it is attached to.
Therefore, if you want to use {{Ares}}' {{f|CustomPalette|xxx<nowiki>~~~</nowiki>.pal|link}} flag to specify a palette for the building animation that is independent of the building itself, you must disable this flag
== See Also ==
== See Also ==
*[[AltPalette]]
[[AltPalette]]
*https://ppmforums.com/topic-48165/anim-palette-problem
*https://ppmforums.com/topic-48165/anim-palette-problem
[[AnimPalette]]
[[TerrainPalette]]
[[Palette]]
[[CustomPalette]]

Revision as of 13:58, 10 February 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: ShouldUseCellDrawer
File(s): art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: yes
Applicable to: Animations (attached to the building)


If ShouldUseCellDrawer is set on an animation then that animation will always use the animation palette.

If this flag is not disabled, the Animation will use the palette of the building on the cell it is attached to.

Therefore, if you want to use Ares' CustomPalette=xxx~~~.pal flag to specify a palette for the building animation that is independent of the building itself, you must disable this flag

See Also

AltPalette

AnimPalette

TerrainPalette

Palette

CustomPalette