AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Block Healing (1.1.3 24/05-2012) (https://forums.alliedmods.net/showthread.php?t=177013)

Mr. Zero 01-26-2012 11:48

[L4D2] Block Healing (1.1.3 24/05-2012)
 
2 Attachment(s)
Block Healing

About:
A requested plugin by John2022. Allows teammates to block healing from another fellow survivor.

Prevent early heals or medkit trolls locking people in place. Upon receiving healing, survivor can press their jump button and block the healing. The healing survivor will be unable to use their medkit again for another 5 seconds.

If the receiving survivor were on a ladder, the healing survivor will be unable to use their medkit for another 15 seconds. A known "griefer" method is to heal survivors on a ladder, causing the survivor fall down the ladder unable to progress beyond that point.

Incapacitated Survivors can also press jump to break free from a revive if they do not wish to get revived.

Description:
Blocks Survivors from freezing other Survivors in place with their medkit

Cvars:
Code:

l4d2_blockhealing_time 5.0 // How long the healing Survivor is prohibit from taking out their medkit after the receiving Survivor breaks free of the heal. 0 to disable prohibition

l4d2_blockhealing_time_ladder 15.0 // How long the healing Survivor is prohibit from taking out their medkit after trying to heal a fellow Survivor on a ladder. 0 to disable prohibition

l4d2_blockhealing_time_use 5.0 // How long the reviving Survivor is prohibit from using their use button after the incapacitated Survivor breaks free of the reviving. 0 to disable Survivors being able to break free of a revive


Commands:
healoverride_access - Use this with admin override config file to give admins the ability to always heal & revive players even if they are trying to break free.

Known Problems / Things to Notice:
  • L4DStocks is required if you wish to compile a version yourself. You can get it here.

Changelog:
Code:

Version 1.1.3 - 24-05-2012
+ Added a small delay at the beginning of a heal where subject can not break a heal to avoid accidental jumping.
+ Added override access, allowing admins to always heal & revive players even if they are trying to break it.
~ Fixed bots being able to break a revive.
~ Fixed ladder detection not working correctly.

Version 1.1.2 - 02/02-2012
~ Fixed accidental include of SDKHooks.

Version 1.1.1 - 02/02-2012
+ Added auto execute config to allow adjustments of plugin cvars more easily.

Version 1.1.0 - 29/01-2012
+ Allowed Survivors to break free of a revive by press jump
+ Added l4d2_blockhealing_time cvar to allow custom prohibit medkit time
+ Added l4d2_blockhealing_time_ladder cvar to allow custom prohibit medkit time
+ Added l4d2_blockhealing_time_use cvar to allow custom prohibit medkit time
- Removed SDKHooks dependency

Version 1.0.0 - 26/01-2012
Initial release

Download the .smx file as the script will not be able to compile with the web-compiler.

Danny_l4d 01-26-2012 12:13

Re: [L4D2] Block Healing
 
Is it possible that this plugin can be used for l4d1 as well?

John2022 01-26-2012 12:45

Re: [L4D2] Block Healing
 
looool :mrgreen:
Why such hate between teammates?:avast: Why penalise healer with 5sec. of unusable medkit?
I hope there's a little config file to tweak this plugin in the futur.

Thanks a lot Mr. Zero. I'll try it when I go back home.
You 've been really fast to answer.
You gain your weight in chocolate. :wink:

(PS: Are you the guy which have a french prog. site? => Le site du zéro)

Mr. Zero 01-26-2012 14:06

Re: [L4D2] Block Healing
 
Quote:

Originally Posted by Danny_l4d (Post 1638767)
Is it possible that this plugin can be used for l4d1 as well?

It would require a rewrite since it uses the L4D2 Use Actions which does not exists in L4D1.

Quote:

Originally Posted by John2022 (Post 1638778)
looool :mrgreen:
Why such hate between teammates?:avast: Why penalise healer with 5sec. of unusable medkit?
I hope there's a little config file to tweak this plugin in the futur.

Because what stops the healer from drawing out the medkit and do the same thing again?
Otherwise the healer could keep them in place even if the receiver breaks the healing.

Quote:

Originally Posted by John2022 (Post 1638778)
(PS: Are you the guy which have a french prog. site? => Le site du zéro)

Nope.

John2022 01-26-2012 15:57

Re: [L4D2] Block Healing
 
Quote:

Originally Posted by Mr. Zero (Post 1638832)
Because what stops the healer from drawing out the medkit and do the same thing again?
Otherwise the healer could keep them in place even if the receiver breaks the healing.

It's right.:)

But... Don't you think FIVE F*****G seconds are not too long?
What do you think of 2 or 3 sec instead?
If a player plan to heal himslef or someone else near him, 5 seconds could make the difference.

Skyy 01-27-2012 05:28

Re: [L4D2] Block Healing
 
If you make it less than five seconds, the time frame between "Attempt Heal -> Player Blocks Heal" may be up to 2 or 3 seconds, depending on when they block the heal, which would allow a griefer to continually spam it. When you place a 5 second window, it at least gives the player an opportunity to get away. Anything less than 5 seconds really nullifies the usefulness.

Another thing you could do is simply allow players to use medpacks while moving. However, that really nullifies the negating value of using a medpack in the first place.

adrianman 01-27-2012 11:06

Re: [L4D2] Block Healing
 
john weren't you the one to ask for this kind of plugin? stop bragging so much and learn how to appreciate people's work

Sev 01-27-2012 14:21

Re: [L4D2] Block Healing
 
Maybe John is an actual griefer who made the thread for the lulz.

Bottom line.

Don't heal someone unless you're actually going to heal them instead of grief them. Then you won't have to worry about not being able to use a medkit you're going to use to grief someone for lulz.

Zero's plugin is a great idea.

Mr. Zero 01-27-2012 15:21

Re: [L4D2] Block Healing
 
Turns out OnWeaponUse triggers for the survivor being healed not for the healer. So the "no medkit" punishment is currently not working. Will fix shortly.

Quote:

Originally Posted by adrianman (Post 1639220)
john weren't you the one to ask for this kind of plugin? stop bragging so much and learn how to appreciate people's work

Quote:

Originally Posted by Sev (Post 1639339)
Maybe John is an actual griefer who made the thread for the lulz.

Bottom line.

Don't heal someone unless you're actually going to heal them instead of grief them. Then you won't have to worry about not being able to use a medkit you're going to use to grief someone for lulz.

Zero's plugin is a great idea.

Now now, no need to be rude. I will add a cvar for it in the next version so he can disabled the timeout if he want so.

Chronic1 01-28-2012 04:47

Re: [L4D2] Block Healing
 
Any chance of a plugin that can block people from picking you up? Like say you are down and want to stay down. You hold the E button and even when people try to pick you up, they cannot.

This would be a big help for my tank rush server. Sometimes you just dont want to be picked up because there are too many tanks around.


All times are GMT -4. The time now is 12:26.

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