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

Remapable

From ModEnc
Revision as of 08:29, 27 November 2009 by EvilRenegade (talk | contribs) (Replacing Template:TTL with Template:F.)
Jump to navigation Jump to search
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 Red Alert 2 and/or Yuri's Revenge.



If this is set to yes, then this tells the game that the unit's image file (SHP or Voxel) contains special pixels (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.

Bugs/Side-Effects/Unexpected Limitations

Remapable has no effect in either Red Alert 2 or Yuri's Revenge (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.