Raised This Month: $32 Target: $400
 8% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Plugin ID:
2788
Plugin Version:
1.1.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    15 
    Plugin Description:
    Blocks Survivors from freezing other Survivors in place with their medkit
    Old 01-26-2012 , 11:48   [L4D2] Block Healing (1.1.3 24/05-2012)
    Reply With Quote #1

    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.
    Attached Files
    File Type: smx l4d2blockhealing.smx (6.8 KB, 1277 views)
    File Type: sp Get Plugin or Get Source (l4d2blockhealing.sp - 1136 views - 14.6 KB)

    Last edited by Mr. Zero; 05-24-2012 at 10:52.
    Mr. Zero is offline
    Danny_l4d
    Senior Member
    Join Date: Feb 2010
    Old 01-26-2012 , 12:13   Re: [L4D2] Block Healing
    Reply With Quote #2

    Is it possible that this plugin can be used for l4d1 as well?
    Danny_l4d is offline
    John2022
    Junior Member
    Join Date: Mar 2011
    Location: France
    Old 01-26-2012 , 12:45   Re: [L4D2] Block Healing
    Reply With Quote #3

    looool
    Why such hate between teammates? 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.

    (PS: Are you the guy which have a french prog. site? => Le site du zéro)
    John2022 is offline
    Mr. Zero
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 01-26-2012 , 14:06   Re: [L4D2] Block Healing
    Reply With Quote #4

    Quote:
    Originally Posted by Danny_l4d View Post
    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 View Post
    looool
    Why such hate between teammates? 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 View Post
    (PS: Are you the guy which have a french prog. site? => Le site du zéro)
    Nope.

    Last edited by Mr. Zero; 01-26-2012 at 14:07.
    Mr. Zero is offline
    John2022
    Junior Member
    Join Date: Mar 2011
    Location: France
    Old 01-26-2012 , 15:57   Re: [L4D2] Block Healing
    Reply With Quote #5

    Quote:
    Originally Posted by Mr. Zero View Post
    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.
    John2022 is offline
    Skyy
    AlliedModders Donor
    Join Date: Jan 2010
    Location: Toronto, Canada
    Old 01-27-2012 , 05:28   Re: [L4D2] Block Healing
    Reply With Quote #6

    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.
    Skyy is offline
    adrianman
    Senior Member
    Join Date: Sep 2010
    Old 01-27-2012 , 11:06   Re: [L4D2] Block Healing
    Reply With Quote #7

    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

    Last edited by adrianman; 01-27-2012 at 11:07.
    adrianman is offline
    Sev
    Veteran Member
    Join Date: May 2010
    Old 01-27-2012 , 14:21   Re: [L4D2] Block Healing
    Reply With Quote #8

    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.
    Sev is offline
    Mr. Zero
    Veteran Member
    Join Date: Jun 2009
    Location: Denmark
    Old 01-27-2012 , 15:21   Re: [L4D2] Block Healing
    Reply With Quote #9

    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 View Post
    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 View Post
    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.
    Mr. Zero is offline
    Chronic1
    SourceMod Donor
    Join Date: Jun 2011
    Old 01-28-2012 , 04:47   Re: [L4D2] Block Healing
    Reply With Quote #10

    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.
    Chronic1 is offline
    Reply



    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:01.


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