Garry's Mod

Garry's Mod

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

Subscribe to download
[TTT] Better Equipment Menu

In 1 collection by Bein-Mann
TTT Server
103 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
22 Jan, 2018 @ 9:38am
Suggestions/Feedback/Bugs
Bein-Mann
42 Comments
james.stillwell23 12 Apr, 2023 @ 4:09am 
is this like a loud out mod
Danicchi 6 Mar, 2022 @ 4:12pm 
Would it be hard to implement a search bar for this mod?
cs.funnyace 18 Dec, 2019 @ 5:25pm 
Can u somehow Limit and randomise that? Like 10 random items per round?
Tim | Mineotopia 27 Jun, 2019 @ 11:22am 
Oh. My bad, I thought the dev from our team that created it said that he had done it by himself. I might have misunderstood that!
Bein-Mann  [author] 27 Jun, 2019 @ 8:30am 
@Tim I know you added a lot of stuff but you can't deny that you used my code as a base. Just compare yours [github.com] with mine [github.com]. Even the comments I added are the same, not to mention all the ConVars containing "bem" (short for Better Equipment Menu) :p
I don't have a problem with you using this, but at least be fair and admit it :)
Tim | Mineotopia 27 Jun, 2019 @ 1:57am 
The version that we use in TTT2 isn't based on your addon though. It's completely made by us. The random shop is also a part of TTT2 :)
[LOSZ] Simonky16 11 Apr, 2019 @ 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 :)
Bein-Mann  [author] 10 Apr, 2019 @ 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.
MooseinaSweater 9 Apr, 2019 @ 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.
[LOSZ] Simonky16 18 Feb, 2019 @ 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.