Garry's Mod

Garry's Mod

217 ratings
TTT Better Equipment menu / Shop
 
Rate  
Favorite
Favorited
Unfavorite
Type: Tool, Addon
File Size
Posted
Updated
0.013 MB
Aug 11, 2017 @ 10:43am
Feb 4 @ 8:25am
30 Change Notes ( view )

Subscribe to download
TTT Better Equipment menu / Shop

Subscribed
Unsubscribe
In 1 collection by Fresh Garry
Fresh Garrys TTT Server Addons
285 items
Description
This is a Better Equipment menu / Shop Addon for TTT.

Features:
- Settings in the Settings Tab (F1)
- Searchfunction
- Sort items by name, slot and default
- Autobuy to buy a set of items by pressing a key
- Automatic autobuy at the beginning of every round
- Filter (Favorit and Autobuy)
- New favoritemarker and autobuymarker in the itemlist
- Tooltips nearly everywhere
- Configurable iconsize
- Configurable rows and colums in iconlist
- Closing the menu by pressing the key to open it (Def: C) again (Configurable)
- Configurable Colors with transperency
- Configurable markers in the iconlist
- fixed description function (ALPHA may not work 100% correct)
- Shows visual slot of items when they block a slot (BETA may not work 100% correct)
- Compatibility with TTT Vote + Totem ( http://steamcommunity.com/sharedfiles/filedetails/?id=828347015 ) (ALPHA Works only if you install first this addon and then TTT Vote + Totem. To be shure that it works just reinstall both addons in the correct order.)
- Compatibility with TTT2 by Alf ( https://steamcommunity.com/workshop/filedetails/?id=1357745995 )(ALPHA may not work 100% correct)


Usage:
The usage of the menu should be self explanatory exapt the usage of the autobuy. To use the autobuy script type "bind [your key] autobuy" in the console to bind the key you want to use for buying automatic and add or remove items to the autobuy list in the equipment menu.

ConVars:
ttt_bettermenu_fixeddesc | Enables or disables the fixed description button and function. Def: 1
ttt_bettermenu_defaultorder | The default order of the menu. (1 = Default, 2 = Name, 3 = Slot) Def: 1
ttt_bettermenu_closebypressc | Closes the menu when your pressing C and its open. Def: 1
ttt_bettermenu_iconsize | The items icon size in the menu. (16-1024) Def: 64
ttt_bettermenu_rows | The rows filled with items in the menu. (1-100) Def: 5
ttt_bettermenu_colums | The colums filled with items in the menu. (1-100) Def: 3
ttt_bettermenu_custommarker | Enables or disables the custommarker in the menu. Def: 1
ttt_bettermenu_favoritemarker | Enables or disables the Favoritemarker in the menu. Def: 1
ttt_bettermenu_slotmarker | Enables or disables the slotmarker in the menu. Def: 1
ttt_bettermenu_autobuymarker | Enables or disables the autobuymarker in the menu. Def: 1
ttt_bettermenu_autobuy_roundbegin | Enables or disables if autobuy should be runed on the beginning of every round. Def: 0
ttt_bettermenu_autobuymessage | Enables or disables the autobuy messages in the chat. Def:1
ttt_fgaddons_textmessage | Enables or disables the message in the chat. Def:1
ttt_bettermenu_TTT2_desc_item_info | Enables or disables the advanced TTT2 Item Info. Def: 0

Color ConVars (I recommend using the settings in F1 menu):
ttt_bettermenu_colors_window | The color of the EQMenu window (r g b a or nil). Def:nil
ttt_bettermenu_colors_tab | The color of the tabs in EQMenu (r g b a or nil). Def:nil
ttt_bettermenu_colors_box | The color of the boxes in EQMenu (r g b). Def:r90 g90 b95
ttt_bettermenu_colors_text_title | The text color of the type in EQMenu (r g b). Def:r255 g255 b255
ttt_bettermenu_colors_text_type | The text color of the type in EQMenu (r g b a). Def:r255 g255 b255 a255
ttt_bettermenu_colors_text_description | The text color of the type in EQMenu (r g b). Def:r255 g255 b255
ttt_bettermenu_colors_text_filter | The text color in a box which shows the filter in EQMenu (r g b a). Def:r255 g255 b255 a255
ttt_bettermenu_colors_text_good | The good text color in EQMenu (r g b a). Def:r0 g200 b0 a255
ttt_bettermenu_colors_text_bad | The bad text color in EQMenu (r g b a). Def:r220 g60 b60 a255
ttt_bettermenu_colors_text_slotcap | The text color on the slotcap in EQMenu (r g b a). Def:r255 g255 b255 a255
ttt_bettermenu_colors_item_outline | The outline color of the selected item in EQMenu (r g b a). Def:r255 g200 b0 a255
ttt_bettermenu_colors_item_darkened | The color which is subtracted from the icon if you cant by it in EQMenu (r g b a). Def:r255 g255 b255 a80

Credits:
The original code belongs to the Trouble in Terrorist Town Gamemode i just have edited it.
Some little parts of this addon belong to Gamefreak ( http://steamcommunity.com/id/realgamefreak ). I used them to make this addon compatible with TTT Vote + Totem.
Credits by Alf (helping me with the compatibility)
I will remove this addon if I will be asked to.

Known Bugs:
- the compatibility with TTT Vote + Totem may not work (for tipps look at the discussion)

Feel free to report bugs!
Popular Discussions View All (1)
9
Jan 14, 2018 @ 3:35am
PINNED: ttt_Totem inkompatibel
TheSoulrester
< >
114 Comments
D1.ax Mar 10 @ 1:00pm 
achso okay, vielen dank
Fresh Garry  [author] Mar 10 @ 12:36am 
Ich schaue mir das noch einmal an wenn ich Zeit habe und sich in TTT2 am Shop nichts mehr ändert. Es hat sich so viel geändert, dass ich sonst alle 2 Tage Updates hätte machen müssen und dafür fehlt mir leider die Zeit.
D1.ax Mar 9 @ 6:18pm 
geht anscheinend nicht mehr in ttt2, würde dein EQ menu gern lieber benutzen
Fresh Garry  [author] Feb 23 @ 1:37pm 
Thank you for your feedback and for reporting this bug. When I find the time for fixing that bug the add-on will be updated!
SeT » Feb 23 @ 11:55am 
Awesome script. One little issue, in ttt vanilla, when you first enter your server, or you are in spectator team, and press C, you get:

[ERROR] addons/better_equip/gamemodes/terrortown/gamemode/cl_equip.lua:982: attempt to call method 'IsActiveShopper' (a nil value)
1. unknown - addons/better_equipo/gamemodes/terrortown/gamemode/cl_equip.lua:982
2. unknown - lua/includes/modules/concommand.lua:54
Fresh Garry  [author] Feb 3 @ 10:08pm 
Keine Ahnung. Eigentlich sollte das add-on kompatibel sein, würde aber lange nicht mehr getestet. Es muss aber eigentlich funktionieren wenn es deinstalliert ist. Ansonsten ist vielleicht doch ein anderes add-on schuld.
Dopeteddy Feb 3 @ 10:57am 
Als ich den Mod auf den Server gezogen habe, ging TTT Vote/Totem nichtmehr. Jetzt hab ich den Mod wieder rausgenommen, aber die Klassen sind immer noch komplett verbuggt. Woran kann das liegen und wie behebt man das Problem?
Fresh Garry  [author] Jan 31 @ 11:29am 
schaue ich mir demnächst an! Danke fürs reporten!
Schn1ek3 Jan 31 @ 8:39am 
Ich habe einen Fehler wenn ich nach Name sortieren will.

[ERROR] addons/server addons/gamemodes/terrortown/gamemode/cl_equip.lua:532: attempt to index local 'NewEquip' (a boolean value)
1. Sortate - addons/server addons/gamemodes/terrortown/gamemode/cl_equip.lua:532
2. dlistwriting - addons/server addons/gamemodes/terrortown/gamemode/cl_equip.lua:1100
3. DoClick - addons/server addons/gamemodes/terrortown/gamemode/cl_equip.lua:1378
4. unknown - lua/vgui/dlabel.lua:232
Fresh Garry  [author] Jan 24 @ 10:37pm 
It is possible that it was fixed with the 2.5 or a later update. Thank you for your feedback!