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

DisguiseWhenStill

From ModEnc
Revision as of 17:58, 23 July 2011 by NCoder (talk | contribs)
Jump to: navigation, search

Can be set to 'yes' or 'no' and determines if this object with CanDisguise=yes set only disguises when it is not moving rather than a permanent disguise.

Infantry

Vehicles

Note that, contrary to an intuitive reading of the flag's name, this does not actually cause vehicles in question to loose their disguise when changing position - any vehicle with CanDisguise=yes will loose its disguise when moving. What DisguiseWhenStill actually does to vehicles is cause them to adopt the default Mirage Tank behaviour of assuming a disguise without having to obtain it first by firing on a terrain object with a weapon with MakesDisguise=yes on the warhead. While it is possible for such a vehicle to adopt a different disguise via such a weapon if it is given one, it will, right from the War Factory, by default disguise as one of the terrain objects listed in DefaultMirageDisguise, without having to adopt a disguise first. If a vehicle is given {{Tt|[[CanDisguise}}, but {{Tt|[[DisguiseWhenStill}} is omitted or set to 'no', it will not possess any disguise unless it also has a weapon with CanDisguise=yes on the warhead, and uses it on a terrain object.

Notes

  • Interaction with the PermaDisguise flag needs to be investigated.

See also