Sound Created 17 years ago2007-03-25 14:41:59 UTC by Kman8675 Kman8675

Created 17 years ago2007-03-25 14:41:59 UTC by Kman8675 Kman8675

Posted 17 years ago2007-03-25 14:41:59 UTC Post #217039
I looked up tutorials on sounds they seem to be a bit confusing, does anybody know how to make a button the triggers a sound when you press it?
Posted 17 years ago2007-03-25 14:57:49 UTC Post #217042
Easy, u need 2 entities.

Func_button and Ambient_generic.

The func_button will be.. the button - and the ambient_generic will be the entity wich makes a sound play.

Give the ambient_gereric a name like "sound01".
Then right click on the func_button, choose properties and look up the lable "target".
Set target to "sound01".

Done.

But you might wanna check the flags on the ambient_gereric so that it doesn't automaticly play on spawn or something.
Madcow MadcowSpy zappin my udder
Posted 17 years ago2007-03-25 15:08:53 UTC Post #217043
And you must enter a wav in the WAV property field of the ambient_generic. Without one specified, the game willeither crash, or nothing happends when you use the button.

Example:

ambience/siren.wav
Posted 17 years ago2007-03-25 15:20:15 UTC Post #217045
ok thanks guys I got it but when i press it again it loops the sound back I want it to shut off. Anybody know how? Also anybody know of a good program to convert sound?

edit: I figured out how to do it but anybody know a good program to convert sounds for HL? Or how to convert using dBpowerAMP music converter?
Posted 17 years ago2007-03-25 15:38:55 UTC Post #217048
dBpoweramp... No, not specifically that program, but it needs to be 11025 hz, 8 bit, and mono. I think you can actually get away with using a slightly higher quality than this for simple ambient sounds, but for speech where you need the lips to move along with the sound, this is the required format.

Oh, and I use Goldwave, but you have to cough pay cough for that.
Posted 17 years ago2007-03-25 20:45:16 UTC Post #217064
Nasty cough you have there. I notice that it seems to get worse when you mention paying for software. :nuts:
monster_urby monster_urbyGoldsourcerer
Posted 17 years ago2007-03-26 03:07:19 UTC Post #217088
I would recommend Goldwave, thats what I use.
Posted 17 years ago2007-03-26 06:45:05 UTC Post #217090
Since when did you need to pay for Goldwave? I've used it way past the evaluation and it still works fine. The only thing in the way is the window where it keeps buggin you to buy it. :D
Posted 17 years ago2007-03-26 06:48:01 UTC Post #217091
usually cough means:
USE A KEYGEN MORON
Penguinboy PenguinboyHaha, I died again!
Posted 17 years ago2007-03-26 07:04:28 UTC Post #217093
I'm gonna sit in a corner now..... :cry:
You must be logged in to post a response.