All
sounds used in the game must be in wav format. All sounds that
are used in the game must be predefined in the gamesounds.csv
file and then referenced in the other files by the name. The gamesounds.csv
file defines those sounds that are used in game, the mainsounds.csv
file defines those sounds that are used in the pre game menus.
Note:
There must be one sound with the name of click. This is
the default sound for button clicks. This sound can be over ridden
in the appropriate file, but there must exist this default in
case there is no specific sound defined for a particular button.
Column |
Explanation |
A:
Name |
The name of the sound. This name is used in
all of the other csv files that need access to the sound. |
B:
File |
This is the name of the wav file that must exist
in the Sounds folder. This will attach the name to
this file. |
C:
Min Dist |
This is the minimum distance in yards away from
the sound that the max volume of the sound will be heard.
The sound is played at the highest volume at the minimum distance
all the way to the actual location. |
D:
Max Dist |
This is the maximum distance away from the location of
the sound that you will hear the sound. The sound is lowered
in volume from the min to max dist.
0 - Min Dist yards : highest volume
Min Dist - Max Dist yards: sound is gradually lowered to
0.
Greater than Max Dist yards : no sound is heard
|
E:
Loop |
This is a 0 or a 1 defining whether the sounds
loops or not. Looping sounds are used for all ambient sounds
and most state sounds (Marching, Standing, Shooting). Non
looping sounds are used for the button clicks and explosions. |
F:
Vol |
This is the volume to play the sound.
The volume is defined as a number between -10000 and 0. With
0 being the highest possible volume of the sound and -10000
being absolutely silent. No sounds are amplified, a value
of 0 just plays at the normal volume of the wav file. |