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

MakesDisguise

From ModEnc
Revision as of 19:22, 10 September 2021 by YaminoSelyc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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: MakesDisguise
File(s): Rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Applicable to: Warheads


This should only be set to 'yes' and determines that the warhead actually uses the game's 'convert class' CLSID to convert the image of the user of this warhead into that of the target. The logic will only work correctly with targets that are SHP based (due to the way the code is written), and converts the object from any palette into the theater specific 'unit' palette.

It is worth mentioning that, if a spy disguise himself as a infantry who using its own palette, the game will using the theater specific 'unit' palette to draw SHP. That usually results in a glitched image. You probably should use special ArmorType(Ares Only) to filter them out.