Ulysses

General => Off-Topic => Topic started by: ChaosWolf on August 22, 2014, 08:29:09 AM

Title: Custom Taunt Error (unique)
Post by: ChaosWolf on August 22, 2014, 08:29:09 AM

ERROR failed to load sound example123.wav sound probably missing from the disk/repository

I know what your thinking, stop... lemme explain

ive tried all variations I can think of, and placed them in autorun, gamemode, garrysmod, addons, using each variant, im tired of wracking my brain for an answer, I need help.

these are the variations of taunts ive tried.
-Sound>taunt>hunter
-sound>taunts>hunter
-sound>taunt>prop
-sound>taunts>prop
-sound>taunt

yep thought of that too, the sound is definitely in the init.lua with the rest of my taunt collection.

and yes ive treid force downloading the taunt using resource.Addfile("taunt/example123.wav") -- taunt example

Any other ideas?
Title: Re: Custom Taunt Error (unique)
Post by: Decicus on August 22, 2014, 12:57:58 PM
You need to have them resource.AddFile'd, or else they won't exist on the client and thus not play at all. Remember that resource.AddFile() (http://wiki.garrysmod.com/page/resource/AddFile) is relative to your Garry's Mod root directory, so the full path would be: "sound/taunt/example123.wav".

Lua is also case sensitive, and it seems to me you did a lowercase "F" on the resource.AddFile, so the right code would be:
Code: [Select]
resource.AddFile( "sound/taunt/example123.wav" )
Title: Re: Custom Taunt Error (unique)
Post by: ChaosWolf on August 22, 2014, 01:19:34 PM
I'm not usually one to say I told you sooo, but....

Failed to load sound "sound\taunts\wolf_howl.wav", file probably missing from disk/repository

and I've also tried
taunts\wolf
taunt\wolf
hunter\taunt(s)\wolf
prop\taunt(s)\wolf
sounds\taunt(s)\wolf
all kinds of directory's and they all match what I have force dl'd.
Title: Re: Custom Taunt Error (unique)
Post by: Decicus on August 22, 2014, 01:40:34 PM
Have you made sure the files are also on fast download? That usually causes issues if they aren't there too.
Title: Re: Custom Taunt Error (unique)
Post by: ChaosWolf on August 22, 2014, 01:54:44 PM
my lead developer suggested that, its been done.
Title: Re: Custom Taunt Error (unique)
Post by: Decicus on August 22, 2014, 02:20:09 PM
Hmm, no clue then. The only other thing I could suggest would be changing the backslashes (\) to normal slashes (/) in the directory, not sure what else could cause the issue.
Title: Re: Custom Taunt Error (unique)
Post by: ChaosWolf on August 22, 2014, 05:15:11 PM
now you see my dilemma, I have teamviewer if anyone is willing to take a look at it.