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
Nighthawk200 (talk | contribs)
Palette
 
Testid123 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Flag
{{Flag
|name={{PAGENAME}}
|name=Palette
|files={{Categ|ini=art}}
|files={{Categ|ini=art}}
|types={{Categ|Animations}}
|types={{Categ|Animations}}
|values={{values|strings}}
|values={{values|strings}}
|ra2=yes
|yr=yes
|rp=yes
|rp=yes
|rponly=yes
|rponly=yes
Line 10: Line 12:
|intversion=1.07
|intversion=1.07
}}
}}
This flag lets you use any palette with animations. Simply add the {{TTL|Palette}} tag to the animation in question. The value for this tag is the filename of the palette with the .PAL extension, e.g.
This flag lets you use any palette with animations. Simply add the {{f|Palette|link}} tag to the animation in question. The value for this tag is the filename of the palette with the .PAL extension, e.g.
<pre>Palette=MYANIN.PAL</pre>
<pre>Palette=MYANIN.PAL</pre>
You are limited to 31 characters on the filename.
You are limited to 31 characters on the filename.
Line 19: Line 21:
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.
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.


<b>Note:</b> Do not use the {{TTL|AltPalette}} tag along with this one, as {{TTL|AltPalette}} will override the function of this tag.
<b>Note:</b> Do not use the {{f|AltPalette|link}} tag along with this one, as {{f|AltPalette|link}} will override the function of this tag.
==Note==
Found this in [[Art.ini]] and [[Artmd.ini]] By specifying the value as follows.<br>
<b>Palette=City</b> (City likely comes from [[Theatres]]) which is disabled.<br>
I tried turning it on. The game crashed immediately. If your current map is not <b>City</b><br>
 
Didn't notice any difference when using it on supported maps.

Latest revision as of 15:17, 19 August 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.

Note

Found this in Art.ini and Artmd.ini By specifying the value as follows.
Palette=City (City likely comes from Theatres) which is disabled.
I tried turning it on. The game crashed immediately. If your current map is not City

Didn't notice any difference when using it on supported maps.