Garry's Mod
93 valoraciones
[TTT] Better Equipment Menu
   
Premiar
Favoritos
Favorito
Quitar
Tipo de contenido: Extensión
Tipo de extensión: Efectos
Etiqueta de extensión: Diversión
Tamaño
Publicado el
Actualizado el
8.442 KB
7 MAR 2017 a las 6:00
22 ENE 2018 a las 9:34
7 notas sobre cambios ( ver )

Suscríbete para descargar
[TTT] Better Equipment Menu

En 1 colección creada por Ping
TTT Server
103 artículos
Descripción
!! 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.
Discusiones populares Ver todo (1)
2
22 ENE 2018 a las 9:38
Suggestions/Feedback/Bugs
Ping
42 comentarios
james.stillwell23 12 ABR 2023 a las 4:09 
is this like a loud out mod
Danicchi 6 MAR 2022 a las 16:12 
Would it be hard to implement a search bar for this mod?
cs.funnyace 18 DIC 2019 a las 17:25 
Can u somehow Limit and randomise that? Like 10 random items per round?
Tim | Mineotopia 27 JUN 2019 a las 11:22 
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!
Ping  [autor] 27 JUN 2019 a las 8:30 
@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 a las 1:57 
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 ABR 2019 a las 0:21 
Oh I completely forgot I left this comment. Yeah, the random items option is part of "standard" TTT2. Thanks for the reply though :)
Ping  [autor] 10 ABR 2019 a las 8:37 
@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 ABR 2019 a las 23:37 
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 a las 8:53 
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.