Garry's Mod

Garry's Mod

评价数不足
TTT Minecraft Potions
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
文件大小
发表于
更新日期
790.098 KB
2021 年 9 月 4 日 下午 12:45
9 月 3 日 上午 4:38
31 项改动说明 ( 查看 )

订阅以下载
TTT Minecraft Potions

描述
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 条留言
Bastianvvz 2023 年 12 月 10 日 上午 5:51 
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  [作者] 2023 年 12 月 9 日 下午 6:20 
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 2023 年 12 月 9 日 下午 5:14 
Where can i find the config?
Malivil  [作者] 2023 年 2 月 2 日 下午 6:11 
If you tell me how to make them infinite, I can fix that. They shouldn't do that.
Bastianvvz 2023 年 2 月 2 日 下午 6:05 
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 2023 年 1 月 10 日 上午 5:12 
I'll do that, thanks for your answer!,
that really helps me!
Malivil  [作者] 2023 年 1 月 10 日 上午 5:03 
@BastianvvZ: Each potion has an "_enabled" convar, as shown in the description above. Set those to 0 in your onfig.
Bastianvvz 2023 年 1 月 9 日 下午 6:31 
Have a quest...
How i can disable the invisibility, speed and god mode?
Chris From Hell 2022 年 10 月 16 日 下午 5:25 
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  [作者] 2022 年 10 月 16 日 上午 6:22 
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 =)