AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   [TF2] Sandwich Regeneration Scale [help] (https://forums.alliedmods.net/showthread.php?t=332351)

Mr_panica 05-06-2021 19:16

[TF2] Sandwich Regeneration Scale [help]
 
How can I change sandwich meter?
https://media.discordapp.net/attachm...72/unknown.png

I tried
HTML Code:

SetEntPropFloat (Weapon, Prop_Send, "m_flEffectBarRegenTime", GetGameTime ());
It works for everything except the sandwich)

Also, how can I change the icicle meter?
To make the weapon inactive?
https://media.discordapp.net/attachm...10/unknown.png
I tried
HTML Code:

SetEntPropFloat(Weapon, Prop_Send, "m_flKnifeRegenerateDuration", 10.0);
But nothing has changed.

PC Gamer 05-06-2021 22:28

Re: [TF2] Sandwich Regeneration Scale [help]
 
You can use TF2Attributes to change the Sandvich regeneration time. The attribute is "effect bar recharge rate increased". Set it to something like 0.1

Mr_panica 05-07-2021 07:46

Re: [TF2] Sandwich Regeneration Scale [help]
 
It's bullshit.
It does not work.
But I have set the attribute "item_meter_resupply_denied" for a sandwich.
This does what I need.

But with the icicle, this does not work.
Any more ideas?

Mr_panica 05-07-2021 12:50

Re: [TF2] Sandwich Regeneration Scale [help]
 
I'll explain better...
I am making a plugin that can change the class or update the player's loadout and save % health and ammo, and then apply that after player regeneration.

Some functions of the players need to be limited, for example, The Sandman's balls.
Because player can endlessly throw them after changing loadout.

And I seem to have limited everything except the spy icicle, so I need it)

PC Gamer 05-07-2021 23:27

Re: [TF2] Sandwich Regeneration Scale [help]
 
Why don't you just remove the weapon? Or... replace it with a different one? Or... prevent them from equipping it in the first place? Example: https://forums.alliedmods.net/showpo...80&postcount=7

Mr_panica 05-08-2021 13:44

Re: [TF2] Sandwich Regeneration Scale [help]
 
Because this is not right.
I don’t want to restrict an entire weapon for such little things.

It is a pity that there is no solution.
But this is not very critical.
I set the cooldown to 3 seconds, so I can't cheat too much)

PC Gamer 05-08-2021 14:28

Re: [TF2] Sandwich Regeneration Scale [help]
 
You can use TF2Attributes to change the Spy-cicle knife regeneration time. The attribute is "melts in fire".


All times are GMT -4. The time now is 17:05.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.