Garry's Mod

Garry's Mod

32 个评价
Simple volume control
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑, 快乐
文件大小
发表于
更新日期
302.735 KB
2021 年 6 月 10 日 下午 3:45
2021 年 6 月 11 日 上午 9:59
2 项改动说明 ( 查看 )

订阅以下载
Simple volume control

在 Sony 的 1 个合集中
SkrubsTTT Workshop Content 2023
24 件物品
描述
What is this?
As of the June 2021 gmod update you can now adjust the volume of ingame voice chat on a per-player basis.
Unfortunately unless your custom tab menu supports this new feature, or you're using the default sandbox scoreboard, there is no way to access it. So I created this simple UI that provides an audio slider for all connected players so you can mess with their volume all you want.

How do I use it?
Type '/volume' or '/vol' in chat and it should pop up.
If you want to bind it to a key you can with the console command 'voice_volume_settings'.

FAQ:
Does muting someone mute them for everyone?
No, any volume adjustments you make are clientside only.

Are volume adjustments permanent?
No, any changes to someone's mic volume are for that session only.

How do I bind the menu to a key?
Open the console and type the following, where <key> is whatever the button you want to press to open the menu:
bind <key> voice_volume_settings

Nobody knows how to use this!
I didn't include any kind of adverts or chat messages because they're annoying and might not fit for your server.
If you want to include one then I would suggest using something like ULX's chat notifications to let people know to type '/volume' to use the menu.

I've found a bug!
Please create a discussion or leave a comment with any errors and how to reproduce the issue and I'll try to sort it.
12 条留言
Nexxu 6 月 30 日 下午 1:56 
only ttt?
Storm 2024 年 7 月 5 日 下午 3:59 
Yeah @Sony, I was specifically thinking about it for TTT. Everyone has their audio set up to the best they can, but I've found that putting everyone's mics on the same dB is far better for my ears. That being said, I wouldn't have minded if I had to do this once every time I boot up Gmod, but as it is, it's pretty much just like using the sliders in-game right now, although I could imagine it's less of a pain in the ass. The current menu is kind of buggy.

I appreciate it nonetheless, bro. Have a good one.
Sony  [作者] 2024 年 7 月 3 日 下午 3:53 
@Storm - The volume adjustments should only persist until you leave the multiplayer game, or the server changes map.

I had sandbox-type servers in mind while making this, so map resets weren't really an issue, but I can see how it might get annoying for something like TTT.
Storm 2024 年 7 月 3 日 下午 3:08 
I need this in my life, but I got a question. When you say the changes arent permanent and only work for that session... do you mean session as in every time I launch Gmod? Every time I join a server? or every time the server changes maps?
Pyth0n11 2024 年 4 月 12 日 下午 4:14 
Thanks you for your work and yeah sadly gmod have a lak of options for modders. There is a big amount of hooks but it's never enough :)
Sony  [作者] 2024 年 2 月 3 日 上午 10:36 
@Callsign_Ewok - I did try to make an addon that allowed for independent volume control of all sounds, but unfortunately due to some missing hooks if a sound is triggered from the server then the client has no way to influence it through lua. :crying_yeti:
Callsign_Ewok 2024 年 2 月 3 日 上午 5:25 
I wish we had a volume mixer mod that would allow me to independently control the volumes of different effects in game. Like keep my gunshots nice and loud but reduce the elephant loud footsteps; balance out the audio via adjusting different tabs for the game.
hansmeru 2022 年 9 月 11 日 下午 1:04 
Or like only a convar that enables it to set it permanent.
hansmeru 2022 年 9 月 11 日 下午 1:03 
Good addon, but I suggest you coding it permanent, using PData or something.
d33r 2021 年 8 月 11 日 上午 3:41 
you are a god