[TTT/2] COD Zombies Perk Bottles

If you liked this item, please rate it up on Steam Workshop page.

Author: The Stig

Last revision: 21 Feb, 2024 at 08:44 UTC

File size: 4.79 MB

On Steam Workshop

Description:
Credit goes to Hagen for creating the original mod

"Perk bottle" items for Gmod TTT! These items give a passive buff on purchase, available to detectives and traitors

In this edited version, Juggernog grants +50 health and Stamin-up now works again.
You can turn on/off perks for the detective or traitor, and adjust their effects.

Many bugs and issues have been fixed, such as not receiving a perk when you try to buy one, even though you used up a credit, if something is trying to block it like the "Harpooooon!" randomat.

Each bottle now explains its effect in chat when you drink it, and there are now convars for turning a perk off/on for a role or adjusting the effects of the perks (see below).

Perk effects and convars

Detectives can buy:
Stamin-up
Increases sprint speed by 50%
ttt_staminup_speed_multiplier 1.5

Juggernog
Increases health by 50
ttt_juggernog_extra_health 50

Traitors can buy:
Double Tap
Increases fire rate by 50%
ttt_doubletap_firerate_multiplier 1.5

Speed Cola
Doubles reload speed
ttt_speedcola_speed_multiplier 2

Both can buy:
PHD Flopper
Immunity to explosions, instead of taking fall damage, you create an explosion around you!
ttt_phd_explosion_radius 256
ttt_phd_only_immune_to_own_explosion 0

Turn on and off perks for detectives/traitors

Add the text in italics to your server’s server.cfg or listenserver.cfg if you’re hosting a game from the main menu.

ttt_doubletap_detective 0
ttt_doubletap_traitor 1

ttt_juggernog_detective 1
ttt_juggernog_traitor 0

ttt_phd_detective 1
ttt_phd_traitor 1

ttt_speedcola_detective 0
ttt_speedcola_traitor 1

ttt_staminup_detective 1
ttt_staminup_traitor 0

GitHub Link

https://github.com/TheStig294/zombies_perk_bottles_v2