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

Difference between revisions of "Remapable"

From ModEnc
Jump to: navigation, search
m (Replacing Template:TTL with Template:F.)
 
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
|rp=yes
+
|yr=yes
|ra2obsolete=yes
+
|tsobsolete=yes
 
}}
 
}}
If this is set to yes, then this tells the game that the unit's image file (SHP or Voxel) contains special pixels ({{co|red|red}} by default) 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.
 
 
{{Bugs}}
 
{{f|Remapable|link}} has no effect in either {{Ra2}} or {{Yr}} (as demonstrated by its inclusion in the Tesla Coil's art entry). It is always treated as if it is set to "yes". This is most likely just a simplification of logic; if something doesn't use remapping, it just won't use the remap colors.
 

Latest revision as of 15: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

Cc cnrdelete-all.pngLogic 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.