Jump to content

CloakingStages: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
m 5 revisions imported
 
(No difference)

Latest revision as of 21:39, 31 March 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