Author Topic: Custom Taunt Error (unique)  (Read 3129 times)

0 Members and 1 Guest are viewing this topic.

Offline ChaosWolf

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 2
  • "The Exiled One's" Server Owner
Custom Taunt Error (unique)
« 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?
"Someone once told me, scripting lua is like trying to build a rocket ship, once your finished with it and think your done, you start it up only to realize you had just built it upside down." ~Programmer

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Custom Taunt Error (unique)
« Reply #1 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() 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" )
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline ChaosWolf

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 2
  • "The Exiled One's" Server Owner
Re: Custom Taunt Error (unique)
« Reply #2 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.
« Last Edit: August 22, 2014, 01:39:03 PM by chaoswolf »
"Someone once told me, scripting lua is like trying to build a rocket ship, once your finished with it and think your done, you start it up only to realize you had just built it upside down." ~Programmer

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Custom Taunt Error (unique)
« Reply #3 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.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline ChaosWolf

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 2
  • "The Exiled One's" Server Owner
Re: Custom Taunt Error (unique)
« Reply #4 on: August 22, 2014, 01:54:44 PM »
my lead developer suggested that, its been done.
"Someone once told me, scripting lua is like trying to build a rocket ship, once your finished with it and think your done, you start it up only to realize you had just built it upside down." ~Programmer

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Custom Taunt Error (unique)
« Reply #5 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.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline ChaosWolf

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 2
  • "The Exiled One's" Server Owner
Re: Custom Taunt Error (unique)
« Reply #6 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.
"Someone once told me, scripting lua is like trying to build a rocket ship, once your finished with it and think your done, you start it up only to realize you had just built it upside down." ~Programmer