Garry's Mod
Оценок: 312
[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)