Skip to content

PropulsionSoundEffect

The sounds a levitating unit's thrust may play.

Specification
Applies to
levitation controls
File
rules.ini
Section
[LEVITATION]
Value
list of sounds
When omitted
(empty)

One entry is picked at random from the list and played at full volume, with no attenuation for how far the unit stands from the view, on every fourth thrust rather than every one. The count that decides which thrust is the fourth is shared by every levitating unit in the match, so a map crowded with them plays the sound as often overall but rarely for any one unit.

rules.ini
[LEVITATION]
PropulsionSoundEffect=MYFLOAT1,MYFLOAT2 ; sound IDs registered in SOUND.INI

An entry naming a sound the game does not know is dropped as the list is read rather than kept as a silent slot, and an empty list is checked for, so leaving the key unwritten costs the thrust its sound and nothing else. The whole line is read into a 128-character buffer before it is split on commas, so a longer list is truncated there and the name the cut falls inside is dropped along with everything past it.

Drag covers which objects read this section and the [General] section a file must carry for any of it to be read at all.