DisguiseWhenStill
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Flag: | DisguiseWhenStill |
File(s): | rules(md).ini |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Applicable to: | VehicleTypes |
For voxel vehicles with CanDisguise=yes to allow them to disguise themselves as the styles listed under [General]→DefaultMirageDisguises=List of TerrainTypes when stationary.
Notes
When both DisguiseWhenStill and PermaDisguise are present, prioritize the use of PermaDisguise.
For a vehicle, it obtains disguise graphics by attacking a TerrainType using a weapon with MakesDisguise=yes on its warhead. If the vehicle has CanDisguise=yes, it will immediately lose the disguise graphics upon movement.
However, if the vehicle possesses DisguiseWhenStill=yes, it not only starts with default disguise graphics but can also maintain the previously acquired attack-based disguise graphics after completing movement without losing them.
When unable to obtain disguise graphics through MakesDisguise=yes warheads, a unit with CanDisguise=yes can acquire graphics through two methods:
- Using DisguiseWhenStill=yes to disguise as a randomly selected terrain type from the [General]→DefaultMirageDisguises= list when stationary.
- Using PermaDisguise=yes to disguise as an infantry type based on its house's side (AlliedDisguise/SovietDisguise/ThirdDisguise).
- For vehicle types, this will use all frames of the disguise graphics as animations similar to how MakesDisguise=yes acquires tree graphics when CanDisguise=no. However, due to different sequence mechanisms, when moving:
- Tree graphics obtained via MakesDisguise=yes will play body and shadow frames from front to back.
- Infantry graphics obtained via PermaDisguise=yes will also play sequentially from front to back.
- Taking Yuri's Revenge's G.I. as an example, this manifests as first rotating counterclockwise through stand frames before transitioning to walk frames.
- For vehicle types, this will use all frames of the disguise graphics as animations similar to how MakesDisguise=yes acquires tree graphics when CanDisguise=no. However, due to different sequence mechanisms, when moving:
Bugs/Side-Effects/Unexpected Limitations
For VehicleTypes that use Shape resource files, when displaying this effect for the owner's house, they fail to properly call the disguise images, resulting in the vehicle's image disappearing for a period of time (instead of transforming into terraintypes) before reappearing. However, on screens belonging to enemy players, the disguise image is correctly displayed when stationary without causing exposure.