Custom sounds

Avatar
penapappa
186 Posts
Posted May 21, 2009

Hi, what I need to do to use custom sounds and music in my maps? How high Hz, WAV or MP3, where to put and do I need to edit soundscripts?

Thank you

  • Tuoppi
Advertisement
Registered users don’t see ads! Register now!
Avatar
pestchamber
614 Posts
Posted May 21, 2009
Replied 1 hour later
For my custom GLaDOS voices i do nothing but get a WAV file, throw it in sound folder and put the path in an ambient_generic. That's all i do, And it seems to work for me :razz:

EDIT:
No i don't put the path like i just said, i put the type in the ambient_generic to "raw" and search for a part of my soundfile.

Avatar
penapappa
186 Posts
Posted May 21, 2009
Replied 2 hours later
it doesnt appear on list on me :confused:
Avatar
HMW
806 Posts
Posted May 21, 2009
Replied 2 hours later
You need to put custom sounds in a subdirectory called "sound" (not "sounds"!!) in your Portal directory. (along with "maps", "materials" etc.)
You may need to restart Hammer before it will show up in the sound browser.
Avatar
pestchamber
614 Posts
Posted May 21, 2009
Replied 25 minutes later
img
Avatar
penapappa
186 Posts
Posted May 21, 2009
Replied 48 minutes later
Strange now it works when I changed it to 16 bit sound. But thanks for tutorial :biggrin: The chamber is now 95% ready!
Avatar
penapappa
186 Posts
Posted May 21, 2009
Replied 10 minutes later
but now I got invalid sample rate error and crash!
Avatar
pestchamber
614 Posts
Posted May 21, 2009
Replied 5 minutes later

penapappa wrote:
but now I got invalid sample rate error and crash!

I had that before. Made me give up many maps cause i didn't know how to fix it, i think i asked here before, and i was answered but i couldn't get it working or something. I don't really remember, all i know is, i was too lazy to fix all the sounds if i could get it working :/

Avatar
mazk1985
135 Posts
Posted May 21, 2009
Replied 3 hours later
You can just press refresh sounds while in hammer after putting in new files. That works fine for me.

I think 22,050 Hz @ 16 bit or 44,100 Hz at 16 @ bit should both work fine as well

Avatar
p0rtalplayer
1,366 Posts
Posted May 21, 2009
Replied 2 hours later
I think it has to be mono too...not completely sure.
Avatar
HMW
806 Posts
Posted May 21, 2009
Replied 1 hour later

p0rtalplayer wrote:
I think it has to be mono too...not completely sure.

That's correct.
The sound is coming from one point in the map, so making it stereo is pointless.

Avatar
penapappa
186 Posts
Posted May 22, 2009
Replied 21 hours later
thank you very much I got it work with those settings :smile: Now Minipuzzles 3 Have custom music too :cool:
Advertisement
Registered users don’t see ads! Register now!
Avatar
pestchamber
614 Posts
Posted May 22, 2009
Replied 1 hour later

penapappa wrote:
thank you very much I got it work with those settings :smile: Now Minipuzzles 3 Have custom music too :cool:

Sounds great! Can't wait for the map!