Garry's Mod

Garry's Mod

33 ratings
[TTT2] Juggernaut Suit (Passive Perk)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Tags: Fun, Realism
File Size
Posted
Updated
17.621 KB
7 Jul, 2020 @ 6:52pm
8 Jul, 2020 @ 10:21am
4 Change Notes ( view )

Subscribe to download
[TTT2] Juggernaut Suit (Passive Perk)

In 1 collection by Zaratusa
Zaratusa's TTT2 Server Addons
26 items
Description
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 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.

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!