I want NO sound
Moderator: Moderators
-
Krane
- Lieutenant General
- Posts: 782
- Joined: Sat May 31, 2003 4:18 pm
- Location: California, USA
- Contact:
I want NO sound
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?
?
How did you put the new sounds in? Can you copy and past all the key/values for the door here?
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.
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.
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.
"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.
-
Krane
- Lieutenant General
- Posts: 782
- Joined: Sat May 31, 2003 4:18 pm
- Location: California, USA
- Contact:
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...
//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
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.
-
Krane
- Lieutenant General
- Posts: 782
- Joined: Sat May 31, 2003 4:18 pm
- Location: California, USA
- Contact:
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.
$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.
