User manual
APPENDIX L: SOUND TABLE NOTES
f4sndtbl.txt Description
The sound table consists of a tab (or whitespace) delimited table. Care must be taken to not have
blank lines, especially at the end of the file.
Lines that begin with a "#" are considered comments, and ignored by the parser. Note that the
line must not contain anything (like spaces) in front of the "#".
The format of the data in is.
Column 1:
WAV Filename - the filename is relative to the Sound directory.
Column 2:
Unused (exists purely due to historical reasons)
Column 3:
Unused (exists purely due to historical reasons)
Column 4:
MaxFeet - The maximum distance, in feet, that a sound can be heard, beyond this distance, the
sound will not be played at all. At MaxFeet, the volume of the sound will be attenuated to
MinVol***
Column 5:
MinFeet - The distance from the listener, in feet, at which the sound BEGINS to attenuate. At and
within MinFeet, the sound is attenuated to MaxVol***
Column 6:
Vol@MinFeet - This is the maximum volume the sounds will be played. It is handled differently
depending on whether or not the sound is an external type. For NON-external sounds - this is the
volume the sound will be played. For external sounds - this is the volume the sound will heard at,
or within, MinFeet above.
Column 7:
Vol@MaxFeet - This is volume at MaxFeet, it only effects external sounds.
Column 8:
Flags - The flags data consists of characters that describe the attributes of the sound.
¿ 0 (zero) - Use this if you have no flags set.
¿ (only 1 of the following 4 per sound)
166










