Garry's Mod

Garry's Mod

评价数不足
Customizable Toolgun Sound
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐
文件大小
发表于
更新日期
3.840 KB
2024 年 4 月 28 日 上午 10:28
2024 年 4 月 29 日 上午 7:22
3 项改动说明 ( 查看 )

订阅以下载
Customizable Toolgun Sound

描述
Per-player Toolgun Sound

This addon lets every player choose their own toolgun fire sound. Simple as that.

Console Commands

  • custom_toolgun_sound - The sound path for the sound you want.
  • custom_toolgun_sound_length - (Server command) Max length for toolgun sounds.

Criteria
The sound path must not be longer than 100 characters.
The sound filetype must be .wav, .mp3 or .ogg
The sound length must be less than the max length dictated by the server.
20 条留言
8eHg  [作者] 2024 年 9 月 30 日 上午 1:39 
Nope, it directly replaces the sound path in the toolgun's (specifically your spawned instance of the toolgun) code.
Ready the Rabbit 2024 年 9 月 30 日 上午 1:36 
Does it affect the airboat gun sound too?
Virgiliu314 2024 年 4 月 30 日 上午 4:41 
ah ok
8eHg  [作者] 2024 年 4 月 30 日 上午 1:16 
Was a local server though, not P2P.
Virgiliu314 2024 年 4 月 30 日 上午 12:43 
Just tried that and it didn't work, maybe it only works properly on peer-to-peer game sessions?
Virgiliu314 2024 年 4 月 30 日 上午 12:41 
Ok let me try respawning and see if the change is made
8eHg  [作者] 2024 年 4 月 30 日 上午 12:27 
I tested it on a local server with 2 instances of GMod running at the same time. It should work. The only quirk I found is the player has to respawn for the sound change to broadcast to everyone else.
Virgiliu314 2024 年 4 月 30 日 上午 12:12 
Just tested it on server, sorry for late reply. It didn't change the sound when i ran the commands
Virgiliu314 2024 年 4 月 29 日 上午 7:48 
Right, i will try it
8eHg  [作者] 2024 年 4 月 29 日 上午 7:23 
@Viirgiliu314 I've fixed the issue on my end. Please try it again on your server.