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

MakesDisguise: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values={{Values|bool|}}
|default=?
|types={{Categ|Warheads}}
|ra2=yes
|yr=yes
}}
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.
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.

Revision as of 18:22, 10 September 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: MakesDisguise
File(s): Rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: ?
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.