Page 1 of 1

I want NO sound

Posted: Tue Aug 19, 2003 2:13 am
by Krane
Okay, I've put some "custom" sounds (modified sounds) in a door. It works. But the default door sound still plays together w/ my sound (you know, doortype wood or metal). How can I get rid of this sound?

?

Posted: Tue Aug 19, 2003 2:36 am
by tltrude
How did you put the new sounds in? Can you copy and past all the key/values for the door here?

Posted: Tue Aug 19, 2003 2:36 am
by Alcoholic
dont use the normal test prefix, or whatever prefix you use for your average sounds. you'll have to soundcache everything manually.

edit: the sound alias for opening doors would have to be changed. im not sure if this is right, but im guessing you can type a new "doortype", and make a new custom sound, that somehow references to the new doortype value.

Posted: Tue Aug 19, 2003 2:55 am
by tltrude
I think he used "key: noise" and that wont stop the other sounds.

"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_locked( String sound_locked ) Sets the sound to use when the door is locked.
"sound_open_end" ( String sound_open_end ) Sets the sound to use when the door stops open.
"sound_open_start" ( String sound_open_start ) Sets the sound to use when the door starts to open.

Posted: Tue Aug 19, 2003 3:09 am
by Alcoholic
oh oh yeah that.. :oops:

Posted: Tue Aug 19, 2003 3:48 am
by Krane
I'm using lines in my script for these sounds:

//Cache the sounds
local.master = spawn ScriptMaster
local.master aliascache window_open sound/mechanics/DoorJeepOpen_01.wav soundparms 1.0 0.0 1.0 0.0 200 500 auto loaded maps "dm/romestreets"
local.master aliascache window_close sound/mechanics/DoorWoodClose_01.wav soundparms 1.0 0.0 1.0 0.0 200 500 auto loaded maps "dm/romestreets"
local.master remove

//Now the alias
$mydoor sound_open_start window_open
$mydoor sound_close_start window_close


Again, it's working fine but the door is playing these AND the default sound too.

I only want MY sounds...

sounds

Posted: Tue Aug 19, 2003 1:26 pm
by tltrude
You have only made two sounds and the door has four sounds (not counting locked). Create new aliases for the other two and use Null.wav, or just find a sound that is already null.

Posted: Tue Aug 19, 2003 3:22 pm
by Krane
Thanks, it works. I'm using "snd_step_paper", it's an alias in Ubersound that is null.wav and preloads for dm maps. So the complete lines:

$mydoor sound_open_start window_open
$mydoor sound_close_start window_close
$mydoor sound_open_end snd_step_paper
$mydoor sound_close_end snd_step_paper

Thanks again.