SND Files General
SND files contain sound information for COG entities. That is, all enemies, lifts, doors, weapons etc.
The file simply consists of a list of definitions corresponding to particular actions.
Examples:
enterwater splash1.wav 0x0 1.0 5.0 lwalkmetal PtclDroidWalk01.WAV 0x0 0.3 1.8 0.7 fire1 RailChargeFire01.wav 0x0 1.0 4.0 |
First there is the action class, followed by the WAV file to play. The following parameters are as follows:
playflags | Hex value defining attributes for sound |
minRadius | Minimum distance from the source from which sound is audible |
maxRadius | Maximum distance from the source from which sound is audible |
maxVolume | Maximum volume of sound (range from 0.0 to 1.0) - optional |