How do you add different sounds?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Classic
Corporal
Posts: 39
Joined: Thu Dec 08, 2005 8:24 pm
Location: Some where in GA
Contact:

How do you add different sounds?

Post by Classic »

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.
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post by At0miC »

Classic
Corporal
Posts: 39
Joined: Thu Dec 08, 2005 8:24 pm
Location: Some where in GA
Contact:

Post by Classic »

Thanks but that realy didn't help. It told me how to make the elevator sound like a metal door. But I wan't to know if you can add in custom sounds and if I can add sounds not door types to the my func_door elevator.
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post by At0miC »

Well the answer is still in that thread,
tltrude 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
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=11

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.
Classic
Corporal
Posts: 39
Joined: Thu Dec 08, 2005 8:24 pm
Location: Some where in GA
Contact:

Post by Classic »

Oh okay thanks.
Post Reply