Garry's Mod
Оцінок: 311
[TTT] Juggernaut Suit (Passive Perk)
   
Нагородити
До улюбленого
В улюблених
Прибрати
Content Type: Addon
Addon Tags: Fun, Realism
Розмір файлу
Додано
Оновлено
39.410 KB
24 берез. 2016 о 17:51
19 лип. 2020 о 16:26
Змін 30 ( перегляд )

Підпишіться, аби завантажити
[TTT] Juggernaut Suit (Passive Perk)

В колекціях (1) автора Zaratusa
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 12 лип. 2023 о 9:19 
where is the file located? inside the addons folder?
Playmond 6 верес. 2021 о 17:31 
it protects your head?
$k00pz❤Gryph0n⁴²⁰ 2 квіт. 2021 о 18: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 28 лип. 2020 о 14:05 
can you make this in sandbox? pls!!!
Roadkill223 8 лип. 2020 о 21:15 
If it helps I have the Bruh Bunker addon installed, but that's the only other passive item
Roadkill223 8 лип. 2020 о 21: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  [автор] 30 черв. 2020 о 13:21 
I finally had some time to fix it!
The_Gaming_Loyalist 16 серп. 2019 о 2:51 
the Juggernaut is from mw2
fskin 4 жовт. 2018 о 9:57 
It doesn't impact speed anymore...
Nikey 14 верес. 2018 о 12:27 
doesnt work (cause you dont get the attributes)