Garry's Mod

Garry's Mod

131 个评价
[TTT] Hermes Boots (Passive Perk)
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
35.213 KB
2016 年 3 月 22 日 上午 10:22
2020 年 7 月 11 日 上午 2:15
27 项改动说明 ( 查看 )

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

在 Zaratusa 的 1 个合集中
Zaratusa's TTT Server Addons
12 件物品
描述
NOTICE: This Addon only works for the TTT (Trouble in Terrorist Town) - Gamemode.
For TTT2 (Trouble in Terrorist Town 2) 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.

Note: You may encounter the following console message, which can be ignored: "Refusing to load ttt_hermes_boots because it is missing Type and Base keys!"

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!
热门讨论 查看全部(1)
0
2018 年 3 月 28 日 上午 4:28
Keybind
Snower Fliffer
20 条留言
Rykyuby 2024 年 7 月 19 日 上午 9:16 
could you make this an addon for Sandbox
Zach 2021 年 1 月 13 日 下午 7:40 
either it gives it to me for free or i am unable to buy it no matter the configuration of the convars any idea?
|UGA|PatPeter 2020 年 10 月 21 日 下午 5:12 
Is there a fix for this?

[[TTT] Hermes Boots (Passive Perk)] gamemodes/terrortown/entities/entities/ttt_hermes_boots/shared.lua:22: attempt to index a nil v
alue
1. unknown - gamemodes/terrortown/entities/entities/ttt_hermes_boots/shared.lua:22
2. include - [C]:-1
3. unknown - gamemodes/terrortown/entities/entities/ttt_hermes_boots/init.lua:9
Zaratusa  [作者] 2020 年 6 月 30 日 下午 6:51 
Yep, I've forgot to rename the TTT2 version, which caused the errors.
-=PYPA=- Sgnolbo 2020 年 6 月 30 日 下午 6:34 
It now works with TTT2, but TTT has lots of console errors.
Zaratusa  [作者] 2020 年 6 月 30 日 下午 1:21 
I finally had some time to fix it!
LebenWieStrongForce 2020 年 5 月 8 日 上午 1:05 
Still broken :steamsad:
-=PYPA=- Sgnolbo 2018 年 11 月 22 日 下午 6:59 
Yeah, broken for me as well :(
fskin 2018 年 9 月 19 日 下午 1:15 
Broken atmo
MikeOnTheMic 2018 年 8 月 2 日 上午 3:18 
Doesn't work atm :(