Difference between revisions of "Compiling:Surface sounds"
(→Working sounds) |
|||
Line 7: | Line 7: | ||
For mac ... | For mac ... | ||
+ | ==Create a surfaces file== | ||
First of all you'll need to create a basic surfaces file, to do this run bsp-redone with the following | First of all you'll need to create a basic surfaces file, to do this run bsp-redone with the following | ||
Line 21: | Line 22: | ||
textures/YOURMAPNAME/grass/grass2 = none | textures/YOURMAPNAME/grass/grass2 = none | ||
+ | ==Edit the surfaces file== | ||
You should edit this file and change all of the none values to be one of the following... | You should edit this file and change all of the none values to be one of the following... | ||
Line 66: | Line 68: | ||
These play the default or none sound when the player moves over them. It's worth noting that the grass sound is a good substitute for rug. | These play the default or none sound when the player moves over them. It's worth noting that the grass sound is a good substitute for rug. | ||
+ | |||
+ | ==Adding the surface sounds to your map== | ||
[[Category:Compiling]] | [[Category:Compiling]] |
Revision as of 13:36, 19 August 2011
Surface sounds are sounds which can be added to the items in your map.
In order to add surface sounds you'll need a utility called bsp-redone -
For linux You can download it here: [bsp-redone for Linux] For windows ... For mac ...
Contents
Create a surfaces file
First of all you'll need to create a basic surfaces file, to do this run bsp-redone with the following
bsp-redone -se bsp_file [surface_file] for example bsp-redone -se YOURMAPNAME.bsp YOURMAPNAME.surfaces
This will create a file containing something like ..
textures/YOURMAPNAME/structure/dirtybrickstain = none textures/YOURMAPNAME/structure/dirtybrick = none textures/YOURMAPNAME/decals/cokeycola = none textures/YOURMAPNAME/decals/downwith = none textures/YOURMAPNAME/grass/grass2 = none
Edit the surfaces file
You should edit this file and change all of the none values to be one of the following...
none tin aluminum iron titanium steel copper brass cement rock gravel pavement brick clay grass dirt mud snow ice sand ceramictile linoleum rug plaster plastic cardboard hardwood softwood plank glass water stucco
Please note: Not all surfaces sounds have a unique sound, most of the metal sounds share the same sound.
Missing sounds
- ice - missing
- rug - missing
- sand - missing
- water - missing
These play the default or none sound when the player moves over them. It's worth noting that the grass sound is a good substitute for rug.