no sounds

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
LtNeil
Sergeant
Posts: 54
Joined: Sun Nov 14, 2004 8:46 pm
Location: southend on sea
Contact:

no sounds

Post by LtNeil »

hello there,
I want a door ive made to open with a different sound to the default one.I pressed n and then the sound button and selected a sound from the breakthrough sound file of a train(just to see if it worked)so i had this-

classname
func_door

noise
sound/vehicle/veh_train_m6l3a_stop.wav

i compiled the map(an obj)but i still had the default wooden door sound why is this?
My candle burns at both ends it will not last the night but oh my foes and oh my friends it gives a lovely light.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

door sounds

Post by tltrude »

Try adding these key values to the door (Key N).

sound_open_start (sound alias name from ubersound.scr)
sound_open_end snd_step_paper
sound_close_start (sound alias name from ubersound.scr)
sound_close_end snd_step_paper

The "snd_step_paper" alias is a null wave sound (no sound) to hide the normal wood door sounds. The sound alias name you choose has to work for the game type your map is--or you will need a workaround.
Tom Trude,

Image
Post Reply