Garry's Mod

Garry's Mod

50 ratings
[TTT] Better Equipment Menu
 
Rate  
Favorite
Favorited
Unfavorite
Type: Effects, Addon
Tags: Fun
File Size
Posted
Updated
0.008 MB
Mar 7, 2017 @ 6:00am
Jan 22, 2018 @ 9:34am
7 Change Notes ( view )

Subscribe to download
[TTT] Better Equipment Menu

Subscribed
Unsubscribe
In 1 collection by McFlurry ® Snickers
TTT Server
110 items
Description
!! IMPORTANT !!
Due to a change in the original traitor shop, this only works with a gmod server version newer than Oct. 2017!
------------------------------------------------------------------------------------------------------------------------------
If you still want to use the old server version, you have to manually download the old cl_equip.lua file from the Github Repo[github.com] or by clicking here[raw.githubusercontent.com]
------------------------------------------------------------------------------------------------------------------------------

This is a small addon which aims to make the Detective-/Traitor-Equipment Shop easier to use while having a lot of weapons/items on your server.

Features:
- set number of items per row/column and item size via ConVar
- set items as favorites to show them at the top of the list
- show/hide item markes (custom-, slot-, favorite-marker)
- settings tab in f1 menu for changing mentioned ConVars
- simple/big icons instead of long texts for avaialability
- set global layout via serverside ConVars so everyone sees the same (for serveradmins)

ClientConVars:
- ttt_bem_cols (def. 4): Set number of columns
- ttt_bem_rows (def. 5): Set number of rows
- ttt_bem_size (def. 64): Set item size
- ttt_bem_marker_custom (def. 1): Show custom item markers
- ttt_bem_marker_slot (def. 1): Show slot markers
- ttt_bem_marker_fav (def. 1): Show favorite item markers

Serverside ConVars:
- ttt_bem_allow_change (def. 1): Allow clients to change the layout

The following values only are used when the above is set to false (0)
- ttt_bem_sv_cols (def. 4): Set number of columns (serverwide)
- ttt_bem_sv_rows (def. 5): Set number of rows (serverwide)
- ttt_bem_sv_size (def. 64): Set item size (serverwide)

Please report any bugs and give feedback in the corresponding Thread!

The code can be found here[github.com]

The HUD used in the screenshots is the Octogonal HUD by Exho.
Popular Discussions View All (1)
2
Jan 22, 2018 @ 9:38am
Suggestions/Feedback/Bugs
McFlurry ® Snickers
< >
36 Comments
Simonky16 Apr 11 @ 12:21am 
Oh I completely forgot I left this comment. Yeah, the random items option is part of "standard" TTT2. Thanks for the reply though :)
McFlurry ® Snickers  [author] Apr 10 @ 8:37am 
@Simonky16 I'm probably a little late so I guess you figured it out already :p The mod Dhalu uses for this videos is actually TTT 2 . Alf used my mod and incorporated it into his mod along with some changes/additions I guess (havent played it so I don't know everything about it. Tbh I just discovered TTT2 after reading your comment and had no idea anyone was using this for their project :D). I don't know if random items are part of TTT2 or if they were developed especially for his LP.

@CockinaSweater As the authors of More roles for TTT mention in their description, you don't need my mod if you use theirs since it already ships with my equipment menu included.
CockinaSweater Apr 9 @ 11:37pm 
Just so everyone knows this addon will clash with the 'More roles for TTT' addon and will cause the traitor/detective equipment to come up as a grey box with nothing clickable. I haven't figured out how to fix this issue because removing one or both the mods still leaves me with this problem.
Simonky16 Feb 18 @ 8:53am 
Hi! I've recently seen a modified version of your addon featured in this video (german) . Do you know how to modify the addon to only show random items, as can be seen in the video? Maybe you're even the mysterious person who created the modified addon? :D

I've been looking for an addon with that exact same functionality for my private server for ages. If you have any clue on how to achieve this, please help me out.
McFlurry ® Snickers  [author] Feb 4 @ 10:00pm 
@XaXa nope, you need this on your client :)
XáXá Feb 4 @ 7:47pm 
this is server side only?
McFlurry ® Snickers  [author] Oct 14, 2018 @ 1:08am 
@Rooker I don't know what you mean. You can add weapons and items through mods. Not sure if that's what you're asking though.
Mathewson1G Oct 5, 2018 @ 7:21am 
is there a way I can change what is in the menu on my server?
McFlurry ® Snickers  [author] Jul 15, 2018 @ 2:53am 
@Codename I know I'm a little late, but this could be an issue with an old server version and a newer version of this addon. You could manually replace the cl_equip.lua file with this version [raw.githubusercontent.com]. Even though using the newest server and client version is recommended.

Not sure if this helps or if you still have this issue but I thought I can at least tell you :)
Codename CJR May 20, 2018 @ 1:15am 
@Boysnatch Thanks for this, I remade my server from scratch without the addon to ensure its removal but some of my players still had issues so I've let them know to remove that file from their personal addon folders. It's a shame because I really liked the addon.

I still have the old server which I haven't deleted yet, If I get time I'll try recreate the error and put up an error log something here to help as I'd love to be able to include it and know it'd work :)