Hey guys, I've been having a lot of trouble getting a custom audio file to play for a source mod I'm working on. Everytime I try to trigger the audio file by shooting it gives me the error: "can't find sound file, sound file does not exist"
My sound directory is modname/sounds/weapons/firemage for the sound I'm trying to play. The sound file is a 44.1khz/16bit clip called firebolt01.wav
In game_sounds_weapons I have:
"Weapon_Firebolt.Cast"
{
"channel" "CHAN_WEAPON"
"volume" "1"
"soundlevel" "SNDLVL_GUNFIRE"
"pitch" "80, 120"
"wave" "weapons/firemage/firebolt01.wav"
}
and in the actual weapon script file I have:
SoundData
{
"single_shot" "Weapon_Firebolt.Cast"
}
Is there something I"m missing that's making it not find the sound file? The references to the sound file match, is it something with embedding with PakRat (i though that's only for maps)?
Thanks!
-Baja