Garry's Mod

Garry's Mod

Prophunters
Adding taunts is not bloody working
So, I followed the tutorial, did everything as asked and the taunt does not appear on the taunt list no matter what.

Here's a few pics to show what I did.

http://puu.sh/9P1Jd/0342c2a2ee.png
http://puu.sh/9P1L4/17232fd07e.png
http://puu.sh/9P1M6/6681b0b52b.png

Tell me, how can all this be possibly not working?
< >
Showing 1-15 of 22 comments
Mechanical Mind  [developer] 29 Jun, 2014 @ 5:53am 
Don't start the file name with "sound/"
Dont use backslashes \ replace all backslashes \ with forward slashes /
Make sure you end with the file extension ".wav" or ".mp3"
If its an mp3 make sure to specify the duration after the category (in seconds) e.g. {"talk"}, 130)
Alright so,
I did the stuff and I realised most of the other people with custom taunts working
ARE USING THE BLOODY DEDICATED SERVER
I use my own darn GMod to host servers.

Here's how it looks like right now

addTaunt("Hashtag", {
"taunts/props/DravenSkin03.UltimateEffort3D.mp3"
}, "props", nil, {"Sound Pack"}, 2)

For gods sake please take me out of this hell
Iceman_F1 29 Jun, 2014 @ 10:44am 
If you get the zip file from here - https://github.com/mechanicalmind/prophunters - and put that in the steam folder on your computer

Steam\steamapps\common\GarrysMod\garrysmod\gamemodes\prophunters

that should let you load things. Then, in

Steam\steamapps\common\GarrysMod\garrysmod\gamemodes\prophunters\gamemode\taunts

make your own <name>.lua and insert the addTaunt code. The sounds are located in the following area

Steam\steamapps\common\GarrysMod\garrysmod\sound\prophunters\taunts

My code looks like this

addTaunt("D3", {
"prophunters/taunts/d3_legendary_sound.mp3"
}, "both", nil, {"misc", "Iceman_F1"}, 2)

and I am able to play it in game. I have yet to test if others can hear it but it's a step in the right direction for me.
THANK YOU
I HAVE ACOMPLISHED CODING THANKS TO FELLOW CODERS
YEEEEEEEEEEEEEEEEEEEEEEEEEE
Iron_Alpha10 14 Jul, 2014 @ 6:21pm 
Hi i wanted to ask if someone can make a .lua code for ALL the taunts i have here in these 2 screenshots for taunting in prophunters. (There all .wav and i want them for the client gmod not server)

http://pbrd.co/1mc7E1W
http://pbrd.co/1mc7QhJ
Last edited by Iron_Alpha10; 14 Jul, 2014 @ 6:25pm
Iceman_F1 14 Jul, 2014 @ 7:53pm 
Iron_alpha, I doubt anyone is going to do the work for you and make you the files you can easily do yourself.

Although I run my own server, I have tested on my client to see if it can host it and run custom taunts and it works. Since, as you said in a different discussion, you know how to rename a file, I'm pretty sure you can follow the instructions I laid out above.

If you extracted everything properly, in the folder you will create your own lua file, there is a text file called "how-to-add-new-taunts" that will explain everything else you need to know.

Subscribing to workshop files is as-is with no further customization. If you want to customize things, you have to be calm and willing to mess around with it yourself from time to time to tweak it just right. Getting angry at others who are just trying to help isn't the right way to go about it.
Mechanical Mind  [developer] 14 Jul, 2014 @ 9:32pm 
Iron_alpha10, There is a tutorial here
https://github.com/mechanicalmind/prophunters/blob/master/gamemode/taunts/how-to-add-new-taunts.txt
I've recently improved it so it should be easy enough to follow. If you have any questions reply here.
Iron_Alpha10 15 Jul, 2014 @ 11:05am 
still does not work -__-
Mechanical Mind  [developer] 15 Jul, 2014 @ 11:07pm 
Post a picture of where your sound files are located, a picture of where your .lua file is and a picture of the lua file.
Iron_Alpha10 16 Jul, 2014 @ 12:32pm 
Where my .lua is located
http://pbrd.co/1ysrtKW
Where my sound files are located
http://pbrd.co/1ysry1a
Mechanical Mind  [developer] 16 Jul, 2014 @ 10:22pm 
Remove the space from the name of the lua file, if that doesn't help post the contents of the lua file.
Iceman_F1 17 Jul, 2014 @ 9:06am 
There's no close bracket and an extra comma.

You have

addTaunt("90s", {
"prophunters/90s.wav"
}, "props", "both", {"Old Taunts"}, <-- comma not needed

and should look like

addTaunt("D3", {
"prophunters/taunts/d3_legendary_sound.mp3"
}, "both", nil, {"misc", "Iceman_F1"}, 2) <-- Need this close bracket
Last edited by Iceman_F1; 17 Jul, 2014 @ 9:08am
Iron_Alpha10 17 Jul, 2014 @ 9:50am 
that really did'nt really do anything but it keeps creating the "Something is creating script errors" in the console
Mechanical Mind  [developer] 18 Jul, 2014 @ 12:29am 
Post the new file contents and any errors from your console.
< >
Showing 1-15 of 22 comments
Per page: 1530 50