CloakSound
The rules-wide or per-type sound played at an object's position as it starts to hide or to reappear.
Type cloak sound
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- sound
- When omitted
- InheritedThe object plays the rules-wide CloakSound instead.
[STNK]CloakSound=CLOAKHIDE ; a sound ID registered in SOUND.INIAn object of this type plays this sound at its position as it starts to hide, in place of the rules-wide CloakSound. A cloaking field that hides an object plays this sound too.
The setting covers hiding only. The same object plays its own UncloakSound, or the rules-wide CloakSound, as it starts to reappear.
A name that matches no registered sound is ignored.
Rules-wide cloak sound
- Applies to
- global rules
- File
rules.ini- Section
[AudioVisual]- Value
- sound
- When omitted
none
[AudioVisual]CloakSound=CLOAK5 ; the shipped sound, defined in SOUND.INIThe rules-wide sound plays at an object’s position as it starts to hide and as it starts to reappear. It plays for objects of every house. That includes objects a cloaking field hides: vehicles, infantrymen and aircraft on a covered cell, and structures whose center cell the field covers.
A name that matches no registered sound is ignored; with no sound already set, nothing plays.
A type can replace it with sounds of its own: CloakSound plays as that type hides, and UncloakSound plays as it reappears.
One kind of reappearance is silent. A critically damaged vehicle, infantryman or aircraft, with health at or below ConditionRed, can abandon its cloak partway through hiding: it has a ten percent chance each frame while its fade is in the darkened band. When it abandons the cloak this way, it fades back into view without the sound.
UncloakSoundHistory
- Added0.3.0In development
Let a type set its own cloak and uncloak sounds —
aircrafttype