Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The first is that using the default file, I see an error:
[ERROR] lua/autorun/tauntmenu.lua:65: '}' expected (to close '{' at line 22) near 'add'
I commented out the 3 lines found at line 65 and that seemed to resolve it, they didn't seem to be code and were instead instructions. The next problem is that although the menu opened with C, clicking Next for next page closed the menu instead. However, at that point it cannot be reopened, an error appears in chat saying it is already open. I feel like this could be due to /* and */ not being recognised as comment handlers like -- is. I think it's reading all the pages code and breaking somewhere perhaps? I could be completely wrong of course.
FOLDER (tauntmenu/) goes inside gmod/addons/
Running this though the gmad.exe or Gmad Easy Addon Extractor gives me a file called the same name, that contains just a lua file, that then contains just tauntmenu.lua and that is it.
Are you saying I need to put that entire folder made through Gmad Easy Addon, into the /addons folder of my FTP and that's all? I don't need to do anything in ip/lua/autorun like step 9 mentions? Or do I need to have the entire file in /addons and also have the tauntmenu.lua inside /lua/autorun?
I have tried just now to only have the tauntmenu file inside /addons but that didn't work. So it looked like /addons/tauntmenu/lua/tauntmenu.lua
Extract the folder so you end up with a "tauntmenu" folder, and pop that in your FTP (on your server) gmod/addons/
and the autorun files on your server autorun/
it's not a clientside plugin, its for FTP/Server use.
I didn't edit the file at all due to using default taunts and PS2. After those attempts I did edit the file a bit and my actual taunts due to 29 (Running in the 90's) never turning off when used by a prop. Just makes the noise endlessly so I removed the taunt and dropped all the numbers after 29 by one.
2) Lauch Gmod to download the addon then quit.
3) Head over to garrysmod/addons and look for the tauntmenu.gma
4) Download the latest version of gmad (Addon Extractor.)
5) Copy the tauntmenu.gma into the gmad folder.
6) Run gmad (a folder called tauntmenu will appear)
7) Open tauntmenu.lua and edit to add your custom taunts. (Don't edit if you use default taunts)
8) If you use Pointshop 1, scroll down to line 130 to see how to replace PS2 code with PS1 code
9) upload the tauntmenu.lua to your FTP (IP/lua/autorun/)
Enjoy!
Dont put the file in Autorun... decompile the addon using gmad.exe - then move the addon folder into gmod/addons
Look for tauntmenu.gma, extract it with gma.exe and edit as you see fit.
Also, I sent a friend request without reading your profile or considering how many you must get, sorry about that!
2) yeah at the bottom of the code you will see KEY="F3" end) -- you can change this to whager you want.
3) You could create yourself a delay, or a timer use Timer.Create to generate a delay beteween sound files.
1) When I click on a sound it disappears and reappears in the next round, how do I keep it?
2) Is it possible to change the "F3" to access the menu?
3) How to avoid spamming?
Thank to you and MrBrumble
Added to workshop collection
Added to addons
Tried binding the key to V, then to C, neither worked
I suspect it is the keybind code, everything else is fine if you could possibly take a look at the Lua?
Many thanks
Mine does not award PS points for taunting, though I'm sure that bit of code could easily be added. Also check out https://wiki.garrysmod.com/page/Global/SoundDuration to automatically get the length of the taunts if the sound files are all .wav format. I do believe the sounds need to be precached in order for this to work.
Anyway, here's the link. Feel free to do as you wish with it, including use it here if you want!
https://github.com/therealist/PH_BetterTauntMenu
Okay, so if you're editing it with your own custom taunts then all you need to do are these steps.
1) If you have a workshop lua with resource.Addworkshop("ID") -- then right click this page, copy URL and paste the ID only in your lua.
2) If you've subscribed and extracted this addon with gmad all you do is put the tauntmenu.lua in your lua/autorun/server/ folder on your FTP (dedicated server)
If you're running a non-dedicated place it inside lua/autorun/
Don't forget to rate my addon 5 stars and give it a thumbs up! :)
If you need any help with it, don't hesitate to either comment here or add me on steam and I'll do my best to help.
Just an FYI:
Button and the background use RGB color code, it's currently default to blue.
If you don't like the position of it, please use the cvar command to get the position of your cursor and copy/paste that into the code in place of the current axis.