I want NO sound

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

Moderator: Moderators

Post Reply
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

I want NO sound

Post 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?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

?

Post by tltrude »

How did you put the new sounds in? Can you copy and past all the key/values for the door here?
Tom Trude,

Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post 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.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Post 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.
Tom Trude,

Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

oh oh yeah that.. :oops:
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post 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...
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

sounds

Post 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.
Tom Trude,

Image
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post 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.
Post Reply