How do you add different sounds?
Posted: Sat Dec 31, 2005 1:12 am
I used made func_door elevator and it has the sound of a regular door opening and closing. How can I change the sound and how can I add in custom sounds? Thanks.
MoHAA Mapping
http://map.moh-central.net/forum/
To make a custom sound u need to have a .scr file for your map and add some lines, here is a tutorial: http://dynamic.gamespy.com/%7Emap/mohaa/t.php?id=11tltrude wrote:----------------------------------
"doortype" ( String door_type ) Sets the defaults for this door
Door_type values: "wood" (default) "metal"
"sound_close_end( String sound_close )Sets the sound to use when the door closes.
"sound_close_start( String sound_close ) Sets the sound to use when the door closes.
"sound_open_end" ( String sound_open_end ) Sets the sound to use when the door stops to opens.
"sound_open_start" ( String sound_open_start ) Sets the sound to use when the door starts to opens.
---------------------------------------
"String sound_close" would be the sound's alias name from the ubersound.scr file.
Here is an example from mohaa's ubersound file.
aliascache door_wood_close_move1 sound/mechanics/DoorWoodClose_02.wav soundparms 0.9 0.2 0.8 0.2 160 1600 item loaded maps "m1 m2 m3l2 m3l3 m4 m5 m6 dm moh obj train"
So it would be:
Key: sound_close_end
value: door_wood_close_move1