Jump to content

CloakingStages

From ModEnc²
Revision as of 06:18, 16 February 2025 by en>Testid123
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: Current value of CloakingStages
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