Compiling:Surface sounds

From Custom Map Makers Wiki
Revision as of 13:37, 19 August 2011 by John (talk | contribs) (Adding the surface sounds to your map)
Jump to: navigation, search

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 ...

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.

Adding the surface sounds to your map

To add the surface sounds to your map, the command is very similar to that used to extract the initial surface list.

-si
Roadworks.png This page is work in progress!