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-2012Initial release
Download the .smx file as the script will not be able to compile with the web-compiler.