Garry's Mod

Garry's Mod

96 个评价
[TTT] Better Equipment Menu
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐
文件大小
发表于
更新日期
8.442 KB
2017 年 3 月 7 日 上午 6:00
2018 年 1 月 22 日 上午 9:34
7 项改动说明 ( 查看 )

订阅以下载
[TTT] Better Equipment Menu

在 Ping 的 1 个合集中
TTT Server
94 件物品
描述
!! 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.
热门讨论 查看全部(1)
2
2018 年 1 月 22 日 上午 9:38
Suggestions/Feedback/Bugs
Ping
42 条留言
james.stillwell23 2023 年 4 月 12 日 上午 4:09 
is this like a loud out mod
Danicchi 2022 年 3 月 6 日 下午 4:12 
Would it be hard to implement a search bar for this mod?
cs.funnyace 2019 年 12 月 18 日 下午 5:25 
Can u somehow Limit and randomise that? Like 10 random items per round?
Tim | Mineotopia 2019 年 6 月 27 日 上午 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  [作者] 2019 年 6 月 27 日 上午 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 2019 年 6 月 27 日 上午 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 2019 年 4 月 11 日 上午 12: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  [作者] 2019 年 4 月 10 日 上午 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 2019 年 4 月 9 日 下午 11: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 2019 年 2 月 18 日 上午 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.