Garry's Mod

Garry's Mod

Not enough ratings
TTT Minecraft Potions
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
File Size
Posted
Updated
805.290 KB
4 Sep, 2021 @ 12:45pm
18 May, 2024 @ 7:09am
30 Change Notes ( view )

Subscribe to download
TTT Minecraft Potions

Description
A standalone version of the Minecraft potions from Superlandi's Minecraft Desert Map.

Potions
All potions can spawn on the ground among the weapons and ammo.

NOTE: Enabled and Max Ammo convars only take effect after the 2nd map load. This is because these weapons register and are spawned on the map before the config can load the first time.

Health
Heals the target (when clicking) or the user (when right-clicking).
ttt_mc_health_enabled 1 // Whether this potion should spawn in place of grenades on the ground. ttt_mc_health_max_ammo 100 // The maximum amount of ammo this potion should have. ttt_mc_health_amount 20 // The maximum amount of health to heal the player for.

Immortality
Temporarily makes the user immune to all damage when they right-click.
ttt_mc_immort_enabled 1 // Whether this potion should spawn in place of grenades on the ground. ttt_mc_immort_max_ammo 100 // The maximum amount of ammo this potion should have. ttt_mc_immort_force_active 0 // Whether to prevent users from swapping weapons while active. ttt_mc_immort_tick_rate 0.1 // The amount of time (in seconds) between each use of ammo.

Invisibility
Temporarily makes the user invisible when they right-click.
ttt_mc_invis_enabled 1 // Whether this potion should spawn in place of grenades on the ground. ttt_mc_invis_max_ammo 100 // The maximum amount of ammo this potion should have. ttt_mc_invis_tick_rate 0.1 // The amount of time (in seconds) between each use of ammo.

Poison
Kills the target over timer (when clicking) or the user instantly (when right-clicking).
ttt_mc_poison_enabled 1 // Whether this potion should spawn in place of grenades on the ground. ttt_mc_poison_max_ammo 100 // The maximum amount of ammo this potion should have. ttt_mc_poison_alt_damage 1 // Whether to use an alternate damage type to avoid poison damage overlays and effects. ttt_mc_poison_damage_tick_rate 1 // How often (in seconds) to deal damage. ttt_mc_poison_damage_per_tick 1 // How much damage to deal per tick.

Rocket
Causes the target (when clicking) or the user (when right-clicking) to jump into the air.
ttt_mc_jump_enabled 1 // Whether this potion should spawn in place of grenades on the ground. ttt_mc_jump_max_ammo 100 // The maximum amount of ammo this potion should have. ttt_mc_jump_primary_use 15 // The amount of ammo use to when using on someone else. ttt_mc_jump_secondary_use 5 // The amount of ammo use to when using on yourself.


Speed
Increases the user's movement speed (when right-clicking) or pushes the target forward (when clicking).
ttt_mc_speed_enabled 1 // Whether this potion should spawn in place of grenades on the ground. ttt_mc_speed_max_ammo 100 // The maximum amount of ammo this potion should have. ttt_mc_speed_walk_mult 3 // The multiplier to use for the player's walk speed. ttt_mc_speed_run_mult 5 // The multiplier to use for the player's run speed. ttt_mc_speed_push_cost 20 // The amount of ammo to use when pushing a target.

Special Thanks
  • Superlandi for the original version of these potions, extracted from here

Source Code
https://github.com/Malivil/TTT-Minecraft-Potions
12 Comments
Bastianvvz 10 Dec, 2023 @ 5:51am 
Hi Malivil, that happens like 1 year ago, but I remember (I think) that if you use-spam/drop the bottles u can make more more more more and more faster.
or
use-spam/drop the bottle just before to die on the next round u become faster and can repeat the process
Malivil  [author] 9 Dec, 2023 @ 6:20pm 
It doesn't have it's own config file, you just put the convars you want to change in your listenserver.cfg (for peer-to-peer servers) or server.cfg (for dedicated servers).
DarKtenzZ 9 Dec, 2023 @ 5:14pm 
Where can i find the config?
Malivil  [author] 2 Feb, 2023 @ 6:11pm 
If you tell me how to make them infinite, I can fix that. They shouldn't do that.
Bastianvvz 2 Feb, 2023 @ 6:05pm 
Un Addon muy divertido, eso si, tuve que retirar ls pociones de velocidad, invisibilidad y inmortalidad ya que los jugadores descubrieron como hacerlas infinitas 😅
Bastianvvz 10 Jan, 2023 @ 5:12am 
I'll do that, thanks for your answer!,
that really helps me!
Malivil  [author] 10 Jan, 2023 @ 5:03am 
@BastianvvZ: Each potion has an "_enabled" convar, as shown in the description above. Set those to 0 in your onfig.
Bastianvvz 9 Jan, 2023 @ 6:31pm 
Have a quest...
How i can disable the invisibility, speed and god mode?
Chris From Hell 16 Oct, 2022 @ 5:25pm 
Wow, thank you very much. I didn't expect a response so quickly. I'll definitely be using this in my TTT collection <3
Malivil  [author] 16 Oct, 2022 @ 6:22am 
I added a bunch of new convars to control the potions. I think I covered everything but let me know if there's something I missed =)