MAIN
home
modding home
ARITCLES
basic scenario creation
uniform modding overview
the order of things
variables reference
commands reference
map layout
INI FILES
cwbr.ini
level.ini
MAP CSV LAYOUT
map_name.csv
SCENARIO CSV LAYOUT
units.csv
events.csv
objectives.csv
MAIN CSV LAYOUT
artyammo.csv
effects.csv
formation.csv
gamescreens.csv
gamesounds.csv
levels.csv
mainscreens.csv
mainsounds.csv
names.csv
openobjs.csv
openplay.csv
sprites.csv
tables.csv
toolbar.csv
tooltext.csv
unitcommon.csv
units.csv
unitsprite.csv
weapons.csv
mainsounds.csv

All sounds used in the game must be in wav format. All sounds that are used in the main menus must be predefined in the mainsounds.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.