ambient file size restrictions? Created 17 years ago2007-11-17 06:43:32 UTC by klobb klobb

Created 17 years ago2007-11-17 06:43:32 UTC by klobb klobb

Posted 17 years ago2007-11-17 06:43:32 UTC Post #238677
ive been trying to get a full song to play on a custom map for counterstrike. the song is about 4 min long and is 1253kb. i converted it to 8bit mono and 11025khz using dbpowerAMP music converter. i have tags set as follows:
play everywhere
loud/large area
volume 10
i have tried sounds/ambience/kratos.wav and sounds/kratos.wav placing the .wav in both directories to weed out a directory problem. i think the file is either the wrong format, or too long? at any rate i do not get an error message. the song just doesnt play. any ideas?
Posted 17 years ago2007-11-17 07:55:07 UTC Post #238678
First of all, why the hell you making the sound such a shit quality? Half-life can Handel a 16bit mono 22050hkz sound. Also, according to the info you have given me, the correct pathname is ambience/kratos.wav. The "sounds" bit is not needed. Also, if you are triggering the sound, than you need tick the start silent flag.
Posted 17 years ago2007-11-17 08:45:28 UTC Post #238687
You also need to remove the cue points since it is a custom sound.

This can be done easily using Goldwave. Google it
Madcow MadcowSpy zappin my udder
Posted 17 years ago2007-11-17 12:31:05 UTC Post #238700
You also need to remove the cue points since it is a custom sound.
Remove them? If he wants a sound to loop properly he needs cue points.

First of all, I think both of your paths are wrong, if the sound is in "...cstrike/sound/ambience/kratos.wav" then the filepath in the ambience_generic should say: ambience/kratos.wav

Anyway, according to this site, the maximum allowed length of a wav is 3 minutes.
Posted 17 years ago2007-11-17 17:27:28 UTC Post #238710
thanks the filepath change fixed it.
Posted 17 years ago2007-11-22 07:44:39 UTC Post #238992
Only watching the post and ......
Half-life can Handel a 16bit mono 22050hkz sound
Well , I don't know if you succesfuly played a 16 bit sound in-game. I had tried and they didn't work. I put all my custom sounds in the following format : 44100 khz 8bit mono . And the sounds are working perfectly.
Striker StrikerI forgot to check the oil pressure
Posted 17 years ago2007-11-25 03:03:31 UTC Post #239136
madcow thanks for recommending goldwave it works great.
You must be logged in to post a response.