Raised This Month: $12 Target: $400
 3% 

[TF2] Sandwich Regeneration Scale [help]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mr_panica
Senior Member
Join Date: Jan 2017
Location: Russia, Saint-Petersburg
Old 05-06-2021 , 19:16   [TF2] Sandwich Regeneration Scale [help]
Reply With Quote #1

How can I change sandwich meter?


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?

I tried
HTML Code:
SetEntPropFloat(Weapon, Prop_Send, "m_flKnifeRegenerateDuration", 10.0);
But nothing has changed.
__________________
Sorry for my English.
Mr_panica is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-06-2021 , 22:28   Re: [TF2] Sandwich Regeneration Scale [help]
Reply With Quote #2

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
PC Gamer is offline
Mr_panica
Senior Member
Join Date: Jan 2017
Location: Russia, Saint-Petersburg
Old 05-07-2021 , 07:46   Re: [TF2] Sandwich Regeneration Scale [help]
Reply With Quote #3

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?
__________________
Sorry for my English.
Mr_panica is offline
Mr_panica
Senior Member
Join Date: Jan 2017
Location: Russia, Saint-Petersburg
Old 05-07-2021 , 12:50   Re: [TF2] Sandwich Regeneration Scale [help]
Reply With Quote #4

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)
__________________
Sorry for my English.
Mr_panica is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-07-2021 , 23:27   Re: [TF2] Sandwich Regeneration Scale [help]
Reply With Quote #5

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
PC Gamer is offline
Mr_panica
Senior Member
Join Date: Jan 2017
Location: Russia, Saint-Petersburg
Old 05-08-2021 , 13:44   Re: [TF2] Sandwich Regeneration Scale [help]
Reply With Quote #6

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)
__________________
Sorry for my English.
Mr_panica is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-08-2021 , 14:28   Re: [TF2] Sandwich Regeneration Scale [help]
Reply With Quote #7

You can use TF2Attributes to change the Spy-cicle knife regeneration time. The attribute is "melts in fire".
PC Gamer is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:31.


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