Description
Resets the healing progress bar when the healer distance exceeds the maximum allowed. (96, defined by the
player_use_radius cvar)
Exploit often done in the finale chapter of L4D2 Parish (c5m5_bridge) by griefers, which don't let their survivor teammates climb the ladders, causing them to fall and get stuck for a while, until the progress bar is cancelled or completed.
Also fixes a bug where it is possible to keep healing a teammate even after the target is punched by a Tank and goes beyond the healing radius.
Steps to Reproduce
Spoiler
L4D2:
c5m5_bridge map / L4D1:
l4d_hospital05_rooftop map:
- Get a First Aid Kit.
- Start healing a survivor with health not fully fulfilled while it is climbing the ladder.
- The target will fall.
- The target will be immobilized.
- The healing bar will keep running unless you cancel or complete the action.
Tank punch bug:
- Get a First Aid Kit.
- Start healing a survivor that will be punched by a Tank.
- Check if the survivor goes very far from your position.
- The target will be immobilized.
- The healing bar will keep running unless you cancel or complete the action.
Cvars
A configuration file named "
l4d_healing_dist_fix.cfg" will automatically be created for you upon the first run in the "
\cfg\sourcemod\" folder.
PHP Code:
// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_healing_dist_fix_enable "1"
Admin Commands
- sm_print_cvars_l4d_healing_dist_fix => Print the plugin related cvars and their respective values to the console. (z flag required)
Change Log
Notes
- The radius check still isn't 100% accurate according to the game core logic, because it does several checks, but is better than vanilla behavior. (search for: CBasePlayer::FindUseEntity())
Thank you!
- HarryPotter - for reporting the Tank punch + keep healing bug.
- KadabraZz - for reporting the same bug in L4D1.
Related Plugins
Post Reply
- Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.
Installation
- Put the "l4d_healing_dist_fix.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.