Garry's Mod

Garry's Mod

312 rating
[TTT] Juggernaut Suit (Passive Perk)
   
Penghargaan
Favorit
Difavoritkan
Batalkan favorit
Content Type: Addon
Addon Tags: Fun, Realism
Ukuran File
Diposting
Diperbarui
39.410 KB
24 Mar 2016 @ 5:51pm
19 Jul 2020 @ 4:26pm
30 Catatan Perubahan ( lihat )

Berlangganan untuk mengunduh
[TTT] Juggernaut Suit (Passive Perk)

Dalam koleksi 1 dari Zaratusa
Zaratusa's TTT Server Addons
Item 12
Deskripsi
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 ♥♥♥♥♥♥♥♥ 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 Komentar
Tejas 12 Jul 2023 @ 9:19am 
where is the file located? inside the addons folder?
Playmond 6 Sep 2021 @ 5:31pm 
it protects your head?
$k00pz❤Gryph0n⁴²⁰ 2 Apr 2021 @ 6:17pm 
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 28 Jul 2020 @ 2:05pm 
can you make this in sandbox? pls!!!
Roadkill223 8 Jul 2020 @ 9:15pm 
If it helps I have the Bruh Bunker addon installed, but that's the only other passive item
Roadkill223 8 Jul 2020 @ 9:14pm 
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  [pembuat] 30 Jun 2020 @ 1:21pm 
I finally had some time to fix it!
The_Gaming_Loyalist 16 Agu 2019 @ 2:51am 
the Juggernaut is from mw2
fskin 4 Okt 2018 @ 9:57am 
It doesn't impact speed anymore...
Nikey 14 Sep 2018 @ 12:27pm 
doesnt work (cause you dont get the attributes)