door 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
KcAX18
Corporal
Posts: 37
Joined: Sat Jul 20, 2002 7:57 am
Location: australia
Contact:

door sounds

Post by KcAX18 »

i have made a bunker door like on m6l3a but it has the normal sound like a wooden door ,
this is what i have in my script now
$bunkerdoor1 open $player
$bunkerdoor1 playsound door_vault_roll_open

and

$bunkerdoor1 close
$bunkerdoor1 playsound door_vault_roll_close

and the sound doesnt work

plz help
ScorpioMidget
Lance Corporal
Posts: 21
Joined: Thu Jun 13, 2002 9:57 am
Location: Notts, UK
Contact:

Post by ScorpioMidget »

that's ok for sp maps but it wont work for mp.

you'll have to put this in:

$bunkerdoor1 waittill trigger
local.player = parm.other
$bunkerdoor1 open local.player
$bunkerdoor1 playsound door_vault_roll_open
ScorpioMidget
Still has a soft spot for Mohaa.
thegnat
Private
Posts: 7
Joined: Thu Aug 29, 2002 1:55 pm

Post by thegnat »

Aditionally to Scorpios answer you have to modify the ubersound.scr to make some sounds playable in MP. See TMT board for a sound tutorial.
TheStorm
Captain
Posts: 233
Joined: Mon Oct 07, 2002 7:45 am
Location: Gavle, Sweden
Contact:

Post by TheStorm »

You don't need to script or mod something to make a bunker door sound when you open it. There is an option for func_rotatingdoor where you can change the default wooden sound.

Hit the N key and add
KEY: sound_open
VALUE: door_metal_open

The default sound is global door_wood_open, I'm not sure if what I wrote above is the exact thing to write (I'm at work now). But I changed sound on all my metal doors just by changing the setting in the func_ thing. I'll look later when I get home.

Scripting and modding for sound is only needed if you want to add some other sound to the door, that's not one of the existing original doors sounds.

I know that there are sounds for wooden, metal and iron gates. Maybe there are more sounds, not sure.
TMT admin, visit www.modtheater.com
HITP Lead Mapper
Member of Electronic Arts MOHteam
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Post by tltrude »

You can also put Key "doortype" value "metal", but I think he wants the rolling sound and for that he needs to modify the ubersound.scr file.
Tom Trude,

Image
Post Reply