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

Remapable: Difference between revisions

From ModEnc
Jump to navigation Jump to search
m Completed
Crimsonum (talk | contribs)
No edit summary
 
(7 intermediate revisions by 5 users not shown)
Line 3: Line 3:
|values={{values|boolean}}
|values={{values|boolean}}
|default=no
|default=no
|games
|ts=yes
|ts=yes
|fs=yes
|fs=yes
|ets=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
|tsobsolete=yes
|xgamer=yes
}}
}}
If this is set to yes, then this tells the game that the unit’s image file (SHP or Voxel) contains special red pixels that may be automatically recolored to the color of the owner of the unit. These special pixels are located in the unittem.pal, the unitsno.pal, and the uniturb.pal. These pixels are index 16 to 31.
Presumably, this flag was intended to control whether or not this [[TechnoType]]'s image has pixels that should be remapped according to the [[House|owner's]] [[color]]. However, in all the games that it's present, the flag is entirely redundant: it is only read, no logic is tied to it. If the object uses the unit* [[PAL|palette]] and remappable colors are present in the object's art (color indexes 16–31), then those colors are always remapped.

Latest revision as of 13:04, 8 April 2021

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: Remapable
File(s): Art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no

Logic related to Remapable, as a whole or in part, is obsolete in Tiberian Sun, Red Alert 2 and/or Yuri's Revenge.



Presumably, this flag was intended to control whether or not this TechnoType's image has pixels that should be remapped according to the owner's color. However, in all the games that it's present, the flag is entirely redundant: it is only read, no logic is tied to it. If the object uses the unit* palette and remappable colors are present in the object's art (color indexes 16–31), then those colors are always remapped.