question on custom sounds Created 19 years ago2004-09-21 15:31:32 UTC by Playbus Playbus

Created 19 years ago2004-09-21 15:31:32 UTC by Playbus Playbus

Posted 19 years ago2004-09-21 15:31:32 UTC Post #60979
I have a custom sound I'm having trouble putting into my new CS map as a looping environmental sound.

I have the .WAV file recorded, it's got the necessary cue points, and it's 11Khz, 8-bit mono - which I believe should be OK for use in CS.

I've created an ambient generic entity in my map, and put the filename of the WAV file in it's properties. However, nothing at all plays in the level.

I thought I was putting the WAV file in the wrong place, but I have tried all the obvious places such as the cstrike and cstrike/sound directories, none of them work.

Can anyone tell me where I'm going wrong?
Posted 19 years ago2004-09-21 15:41:16 UTC Post #60986
Check all the flags of the ambient_generic.
None, besides one sound radius flag, should be on.
Maybe the volume is too low.
Any dynamic setting? Might also be the cause.
Also look at the .wav file again. Maybe the cue points got lost, or something else is wrong.
Large .wav files should be streamed during the game.
Put a '*' infront of the filename into the 'WAV name' field to enable streaming.
Then start HL/CS with -console +developer 2 and look for error messages related to the sound.
If all that doesn't work, you can still upload the map and the sound to the problems vault.
Posted 19 years ago2004-09-21 16:26:55 UTC Post #60995
I believe 22050 works and might be right?

Thanks for the streaming tip, haz!.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-09-21 16:30:11 UTC Post #60997
11025 hZ is the maks for HL
Posted 19 years ago2004-09-21 17:54:17 UTC Post #61023
Well, it doesnt look at all, it simply ignores the sound.
Posted 19 years ago2004-09-21 17:54:52 UTC Post #61024
Allthough, a sound put in MODDIR/sound with the path of /nameny.wav might actually work. Dunno though.
Posted 19 years ago2004-09-21 17:59:30 UTC Post #61025
So there has to be a path in the ambient_generic properties?

So I should put "cstrike/sound/nameofwav.wav" in there?
Posted 19 years ago2004-09-22 01:13:22 UTC Post #61068
You can try I guess. I always though it was just '/sound/nameofwav.wav'. Try both and see what happens.
AJ AJGlorious Overlord
Posted 19 years ago2004-09-22 02:54:10 UTC Post #61096
Not cstrike/, just sound/blah.wav.
Seventh-Monkey Seventh-MonkeyPretty nifty
You must be logged in to post a response.