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

Palette (INI flag): Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
m Crimsonum moved page Palette to Palette (INI flag): Disambiguation
Crimsonum (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{Flag
{{Flag
|name={{PAGENAME}}
|name=Palette
|files={{Categ|ini=art}}
|files={{Categ|ini=art}}
|types={{Categ|Animations}}
|types={{Categ|Animations}}

Revision as of 19:26, 6 April 2024

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: Palette
File(s): art(md).ini
Values: Strings: Normal text.
Applicable to: Animations

This flag is part of the RockPatch.



Template:RockPatchFlag This flag lets you use any palette with animations. Simply add the Palette tag to the animation in question. The value for this tag is the filename of the palette with the .PAL extension, e.g.

Palette=MYANIN.PAL

You are limited to 31 characters on the filename. If the above tag was added to an animation, it would then be drawn using 'myanim.pal' rather than the default palette.

Removing the .PAL file extension causes the theater to be appended to the filename ingame. Going with the previous example, using:

Palette=MYANIM

then the game will try to load 'myanimtem.pal' on temperate maps; 'myanimsno.pal' on arctic maps; 'myanimdes.pal' on desert maps; 'myanimurb.pal' on urban maps; 'myanimlun.pal' on lunar maps; and 'myanimubn.pal' on new urban maps. The actual 'myanim.pal' file would not be used at all.

Note: Do not use the AltPalette tag along with this one, as AltPalette will override the function of this tag.