Garry's Mod

Garry's Mod

评价数不足
[TTT2] Hermes Boots (Passive Perk)
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
34.800 KB
2020 年 7 月 7 日 下午 12:09
2020 年 7 月 8 日 上午 3:21
4 项改动说明 ( 查看 )

订阅以下载
[TTT2] Hermes Boots (Passive Perk)

在 Zaratusa 的 1 个合集中
Zaratusa's TTT2 Server Addons
26 件物品
描述
NOTICE: This Addon only works for the TTT2 (Trouble in Terrorist Town 2) - Gamemode.
For TTT (Trouble in Terrorist Town) use this version of the Hermes Boots.


Features
The Hermes Boots are a passive item for Traitors and Detectives (configurable via ConVars), which increase the movement speed by 30% (configurable via ConVar). After you've bought the item in the shop, an icon shows up on the left hand side of your screen to indicate, that the perk is active.

Includes an individual .vmt and .vtf shop icon.



ConVars
# Should Detectives be able to buy the Hermes Boots? ttt_hermesboots_detective [0/1] (default: 1) # Should Detectives have it in their Loadout? ttt_hermesboots_detective_loadout [0/1] (default: 0) # Should Traitors be able to buy the Hermes Boots? ttt_hermesboots_traitor [0/1] (default: 1) # Should Traitors have it in their Loadout? ttt_hermesboots_traitor_loadout [0/1] (default: 0) # The speed multiplier for the Hermes Boots. ttt_hermesboots_traitor_loadout [0..n] (default: 1.3)

Note: After changing these values, except for the speed, you have to restart your map/server.

Server Infos
Add it to your server by following this guide: Workshop for Dedicated Servers[wiki.facepunch.com]
Use Automatic Workshop Download so all client automatically download the required content.

Translation
The available translation keys are "hermes_boots_name" and "hermes_boots_desc".
See the official Translation Documentation[www.troubleinterroristtown.com].

Source
The whole source code can be found on GitHub[github.com], feel free to contribute.

Thanks for reading, enjoy and have fun!