CloakingSpeed
The number of game frames an object spends on each stage of its cloaking fade.
Specification
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- integer
- When omitted
7
A vehicle, infantryman or aircraft advances one CloakingStages stage every CloakingSpeed frames while it fades out or back in. A lower value makes it disappear and reappear faster. The four states shows what each stage looks like and where each fade ends.
[MYTANK] ; a UnitType registered in [VehicleTypes]CloakingSpeed=2 ; with the stock 9 stages: hidden after about 10 frames, visible again after about 16A structure does not use this value. It fades through fifteen fixed translucency levels, one per frame.
See also —
CloakingStages, cloaking