Garry's Mod

Garry's Mod

311 次評價
[TTT] Juggernaut Suit (Passive Perk)
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Tags: Fun, Realism
檔案大小
發佈於
更新時間
39.410 KB
2016 年 3 月 24 日 下午 5:51
2020 年 7 月 19 日 下午 4:26
30 項更新註記 (檢視)

訂閱以下載
[TTT] Juggernaut Suit (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 Juggernaut Suit.


Features
The Juggernaut Suit is a passive item for Detectives (configurable via ConVars), which decreases multiple damage types read below, as well as decreasing your movement speed by 25% (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. Your playermodel will as well changed to a much more heavy one.



ConVars
# Should Detectives be able to buy the Juggernaut Suit? ttt_juggernautsuit_detective [0/1] (default: 1) # Should Detectives have it in their Loadout? ttt_juggernautsuit_detective_loadout [0/1] (default: 0) # Should Traitors be able to buy the Juggernaut Suit? ttt_juggernautsuit_traitor [0/1] (default: 0) # Should Traitors have it in their Loadout? ttt_juggernautsuit_traitor_loadout [0/1] (default: 0) # The player model for the Juggernaut Suit. ttt_juggernautsuit_model (default: "models/player/urban.mdl")

Note: After changing these values you have to restart your map/server.

Damage modifiers
# The explosion damage multiplier for the Juggernaut Suit. ttt_juggernautsuit_damage_explosion [0..n] (default: 0.2) # The maximum explosion damage inflicting the Juggernaut Suit. ttt_juggernautsuit_maxdamage_explosion [0..n] (default: 50) # The fire damage multiplier for the Juggernaut Suit. ttt_juggernautsuit_damage_fire [0..n] (default: 0.35) # The maximum fire damage inflicting the Juggernaut Suit. ttt_juggernautsuit_maxdamage_fire [0..n] (default: 5) # The bullet damage multiplier for the Juggernaut Suit. ttt_juggernautsuit_damage_bullet [0..n] (default: 0.8) # The shock damage multiplier for the Juggernaut Suit. ttt_juggernautsuit_damage_shock [0..n] (default: 0.6) # The radiation damage multiplier for the Juggernaut Suit. ttt_juggernautsuit_damage_radiation [0..n] (default: 0.6) # The crowbar damage multiplier for the Juggernaut Suit. ttt_juggernautsuit_damage_crowbar [0..n] (default: 0.8) # The slash damage multiplier for the Juggernaut Suit. ttt_juggernautsuit_damage_slash [0..n] (default: 0.75) # The fall damage multiplier for the Juggernaut Suit. ttt_juggernautsuit_damage_fall [0..n] (default: 1.2) # The drowning damage multiplier for the Juggernaut Suit. ttt_juggernautsuit_damage_drown [0..n] (default: 1.2) # The speed malus for the Juggernaut Suit. ttt_juggernautsuit_speed [0..n] (default: 0.8)

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_juggernaut_suit because it is missing Type and Base keys!"

Translation
The available translation keys are "juggernaut_suit_name" and "juggernaut_suit_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!
11 則留言
Tejas 2023 年 7 月 12 日 上午 9:19 
where is the file located? inside the addons folder?
Playmond 2021 年 9 月 6 日 下午 5:31 
it protects your head?
$k00pz❤Gryph0n⁴²⁰ 2021 年 4 月 2 日 下午 6:17 
It was a true pain in the ass trying to edit this, because it wouldnt work even restarting the server and aplying the changes in console
G-STX69 2020 年 7 月 28 日 下午 2:05 
can you make this in sandbox? pls!!!
Roadkill223 2020 年 7 月 8 日 下午 9:15 
If it helps I have the Bruh Bunker addon installed, but that's the only other passive item
Roadkill223 2020 年 7 月 8 日 下午 9:14 
So I have the addon installed for my server, but whenever someone tries to buy it I get "Player _ tried to buy the item not buyable for his class: 32" although it is only enabled for the detective to buy. Any suggestions for fixing this?
Zaratusa  [作者] 2020 年 6 月 30 日 下午 1:21 
I finally had some time to fix it!
The_Gaming_Loyalist 2019 年 8 月 16 日 上午 2:51 
the Juggernaut is from mw2
fskin 2018 年 10 月 4 日 上午 9:57 
It doesn't impact speed anymore...
Nikey 2018 年 9 月 14 日 下午 12:27 
doesnt work (cause you dont get the attributes)