Jump to content

CloakingStages: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
en>Testid123
mNo edit summary
Line 4: Line 4:
|types={{Categ|General}}
|types={{Categ|General}}
|values={{values|unsigned integers}}
|values={{values|unsigned integers}}
|default=Current value of [[CloakingStages]]
|default=1
|special= -1
|special= -1
|ts=yes
|ts=yes

Revision as of 06:19, 16 February 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: CloakingStages
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Special Values: -1
Default: 1
Applicable to: General


When an object cloaks/decloaks (or, in case of submarine units in Red Alert 2, submerges/emerges), it turns invisible/visible in steps of increasing/decreasing translucency. This flag determines the number of those steps.
Higher number of stages means slower overall cloaking, adjusted further by CloakingSpeed for objects with inherent stealth ability.

Special Values

This will give the following effects:
InfantryTypes
-Disables the Cloakable=yes tag (even if enabled)

VehicleTypes
-Disables the Cloakable=yes tag (even if enabled)
-No shadows until damaged or attacked, then reverts to shadowless (except for Hover and Flying types, which display normal shadows when attacked or damaged)

AircraftTypes
-Disables the Cloakable=yes tag (even if enabled)
-No shadows until damaged or attacked
File:CloakingStages=-1.gif
CloakingStages=-1

See Also