How do you add different sounds?
Moderator: Moderators
How do you add different sounds?
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.
Well the answer is still in that thread,
Use the sound aliasnames u made in the script to add them as values for the entity in radiant. Use these keys for you func_door:
sound_close_end
sound_close_start
sound_open_end
sound_open_start
(description see above)
for the values you use your sound alias names.
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
Use the sound aliasnames u made in the script to add them as values for the entity in radiant. Use these keys for you func_door:
sound_close_end
sound_close_start
sound_open_end
sound_open_start
(description see above)
for the values you use your sound alias names.