how can i fix this sound Created 19 years ago2004-09-26 07:06:08 UTC by SniperZero SniperZero

Created 19 years ago2004-09-26 07:06:08 UTC by SniperZero SniperZero

Posted 19 years ago2004-09-26 07:06:08 UTC Post #62131
hey all again,

I have a problem with the sound im trying to make it i pull the lever (button) and the sound activates then the leaver goes back when the sound ends

heres what i have tried
making the button target the sound with sound set on certain flags to what i read of a site on the info on it
using my sound i made it doesn't play
using a sound already made it plays then doesn't stop playing

i then found a prefab that had a hair drier with sound it works fine so i copyed the stuff on that and i edited the names to match but then it just doesn't play at all can someone give me a little example or tell me which objects i need.

Also what is the settings needed for the sound files to work with half life and whats a good free program to use for making the sound files

Thanks
Matt
Posted 19 years ago2004-09-26 08:49:59 UTC Post #62141
Goldwave is a great program, espicially for converting audio files to the correct format. As for your problem, I'd suggest making sure your files are the correct format. As for the format, you'll have to wait till someone posts em, cos I can't remember them off the top of my head.
AJ AJGlorious Overlord
Posted 19 years ago2004-09-26 08:59:09 UTC Post #62147
you can set the time before a door returns, so use a door as teh lever, have it trigger a multi_manager which triggers the sound and the purpose of the lever.
and just play around till you have the timing right.

all sounds have to be in .wav format, and they have to be "somehwere" in mod name/mod directory/sounds
it could be in a folder called yourmap_sound, or whatever.
but the path must match the one in hammer, browse to teh sound as opposed to typing it in.

make sure the sound has it's flags set to Start Silent so that it can be triggered by the multi.
Posted 19 years ago2004-09-26 09:00:17 UTC Post #62148
by mod name etc i mean eg: halflife/valve/sounds or counterstrike/cstrike/sounds
Posted 19 years ago2004-09-26 20:02:51 UTC Post #62232
ok thanks i'll try that does anyone know the corrent format for the wav files

Matt
Posted 19 years ago2004-09-26 21:22:57 UTC Post #62255
Sound files must be 22 040 Hz, 8bit and mono
Info 'borrowed' from this VERC tutorial.
AJ AJGlorious Overlord
Posted 19 years ago2004-09-27 12:43:26 UTC Post #62429
another case solved by teh mighty TWHL!
Posted 19 years ago2004-09-27 17:58:59 UTC Post #62494
yes indeed people are on all the time u get answers quickly :)

mabey we should get liek a forum for scripters (i mean plugins amx,am etc) and have a section on that

Matt
Posted 19 years ago2004-09-27 18:16:43 UTC Post #62497
No thanks, since this isn't a server maintance forum :
Posted 19 years ago2004-09-27 18:23:29 UTC Post #62499
:( o well mabey i shoudl start my own forum up on it hmm but i need to find some good amx people do u know any one

Matt
Posted 19 years ago2004-09-28 10:02:47 UTC Post #62680
[DDHLP]dizzydevil
Posted 19 years ago2004-09-28 10:18:25 UTC Post #62686
Head over to teh amx website.
I can also help but be prepared for sporadic advice as I am currently in over my head with over things.

I have experience with managing and setting up, but no amx coding experience.
You must be logged in to post a response.