Garry's Mod

Garry's Mod

38 ratings
[TTT/2] COD Zombies Perk Bottles
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun
File Size
Posted
Updated
4.789 MB
29 Sep, 2020 @ 8:43pm
21 Feb, 2024 @ 1:44am
37 Change Notes ( view )

Subscribe to download
[TTT/2] COD Zombies Perk Bottles

In 2 collections by The Stig
The Stig's TTT Mod List
271 items
Pack-a-Punch Upgradeable Weapons!
194 items
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
21 Comments
Tim | Mineotopia 8 Mar, 2024 @ 2:29am 
The texture issue is fixed in TTT2 and will be released in v0.13.2. See: https://github.com/TTT-2/TTT2/pull/1468
Tim | Mineotopia 26 Feb, 2024 @ 9:25am 
To give you more context: This hook is the reason: https://github.com/TTT-2/TTT2/blob/master/gamemodes/terrortown/entities/weapons/weapon_tttbase.lua#L851-L870

I set the texture to "" as a reset. This works for most weapons. But not for those that manually apply a material. I can fix this, I just have to find a workaround.
Tim | Mineotopia 26 Feb, 2024 @ 9:24am 
TTT2 dev here: This issue is in TTT2. I know the cause, I only have to find a solution. The fix won't be in 0.13.1b, but I'm pretty sure it will be in the update thereafter
mexikoedi 26 Feb, 2024 @ 7:48am 
I also experience the missing textures issue on TTT2.
Worked fine a couple of weeks ago.
Also not sure why this is happening.
The Stig  [author] 23 Feb, 2024 @ 8:08pm 
@EntranceJew No idea what's causing that one... Maybe someone with more experience with TTT2 can get to the bottom of that. In vanilla TTT it works fine, no idea what the difference is with TTT2.
EntranceJew 23 Feb, 2024 @ 5:03pm 
for one reason or another, the textures on the bottle are missing in TTT2 if bought mid-round. i can't really see a reason why.
Tim | Mineotopia 4 Jan, 2024 @ 7:55am 
noticed it, works fine. Thanks!
The Stig  [author] 4 Jan, 2024 @ 6:26am 
The latest updates should hopefully fix that TTT2 error
Tim | Mineotopia 9 Dec, 2023 @ 5:27am 
Ah, well I didn't want to post a lengthy error message, therefore I explained the error, the ConVar appears to be nil at that point. At least when playing with TTT2. If your recent push did not fix it, I can post an error. I'd prefer GitHub or Discord though, as it is a bit annoying to post issues in the comments