ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
MakesDisguise: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
|name={{PAGENAME}} | |||
|files={{Categ|Rules(md).ini}} | |||
|values={{Values|bool|}} | |||
|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. | |||
==Nots== | |||
1.not cause any damage. | |||
2.Disable the [[Particle]] tag. | |||
3.Disable tags [[ShrapnelWeapon]] |
Latest revision as of 16:56, 4 August 2024
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.
Nots
1.not cause any damage.
2.Disable the Particle tag. 3.Disable tags ShrapnelWeapon