Garry's Mod

Garry's Mod

224 arvostelua
TTT Better Equipment menu / Shop
 
Arvostele  
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Type: Tool, Addon
Tiedostokoko
Julkaistu
Päivitetty
0.013 MB
11.8.2017 kello 10.43
4.2. kello 8.25
30 muutosilmoitusta ( näytä )

Tilaa ladataksesi
TTT Better Equipment menu / Shop

Lisätty peliin
Peruuta tilaus
1 kokoelmassa, tekijä Fresh Garry
Fresh Garrys TTT Server Addons
285 luomusta
Kuvaus
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!
Suositut keskustelut Näytä kaikki (1)
9
14.1.2018 kello 3.35
TÄRKEÄ: ttt_Totem inkompatibel
TheSoulrester
< >
114 kommenttia
D1.ax 10.3. kello 13.00 
achso okay, vielen dank
Fresh Garry  [tekijä] 10.3. kello 0.36 
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 9.3. kello 18.18 
geht anscheinend nicht mehr in ttt2, würde dein EQ menu gern lieber benutzen
Fresh Garry  [tekijä] 23.2. kello 13.37 
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 » 23.2. kello 11.55 
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  [tekijä] 3.2. kello 22.08 
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 3.2. kello 10.57 
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  [tekijä] 31.1. kello 11.29 
schaue ich mir demnächst an! Danke fürs reporten!
Schn1ek3 31.1. kello 8.39 
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  [tekijä] 24.1. kello 22.37 
It is possible that it was fixed with the 2.5 or a later update. Thank you for your feedback!