Hi.
I'm working on addon that adds about 50 sounds to wire/ normal turret stool.
The problem is that all sounds are listed like this
weaponSounds["Options"]["#AR2"] = { turret_sound= "Weapon_AR2.Single" }
I was adding mine like this
weaponSounds["Options"]["#HK21"] = { turret_sound = "weapons/HK21.wav" }
It works, but try to run away from the shooting turret and you won't hear shit even when you are standing 20 meters away from it.
When I've tried doing it like the defeault one's ( look up for the ar2 ) I had to add their entry's to the game_sounds_weapons, so I've made new one and here's my code from that file.
"HK21.Single"
{
"channel" "CHAN_WEAPON"
"volume" "0.8"
"soundlevel" "SNDLVL_GUNFIRE"
"pitch" "85,95"
"rndwave"
{
"wave" "weapons/hk21/hk21.wav"
}
}
Now I can't hear the sound at all, the directories are all correct, and still this does not work. I've did the same thing about combine gunship and helicopter sounds since they were looped, I've done new folders and stuff and they don't work, unless I give the sound directory in the turret code instead of gsm entry. But then I can't hear them when I run away from the turret.
Does anyone have any idea? I've tried precaching sounds in the code but this gave shit too.
PS. the files are all .wav, 32bit, 44100Hz.
If you wish I can send this mod on your email so you can check if the directories and stuff are fine.
Thanks in advance.
Anyone?
32bit wavs don't work because the source energy can't read them, try the format: .wav, 16bit or 8 bit, 44100Hz or 22050Hz or 11025hz. :)
It can read them since they worked when I gave a sound directory. But when I want to use it via game_sounds_weapons I can't hear them.
And why then original ar2 sound is 32 bit and 44100Hz too?
Nevermind, CapsAdmin is god.
Sorry, you need to Log In to post a reply to this thread.