Description:
This plugin does two things:
1) Turns on survivor crawling
2) Deals extra damage to survivors while they are actively crawling.
I believe the extra damage balances out crawling a little. That way if you incap a survivor in an unreachable place, there's more of a chance that they will still die while crawling to where they can be reached.
Cvars:
sm_crawlbalance_multiplier - Multiplier for damage while actively crawling.
Default=1.3 (Min=1.0 Max=33.0)
sm_crawlbalance_version - Shows the version
Notes:
This hasn't been extensively tested, so if you notice anyone taking multiplier*damage when they are not crawling, please let me know!
If someone is holding their forward button while hanging on a ledge, the multiplier will still take effect. For some reason, the "player_ledge_hang" event is NOT only fired when a player is hanging on a ledge. Why? I have no idea. Because of that, I can't just disable the damage from when that event is fired until they are saved or they die.
If anyone knows of a reliable way to check if someone is grabbing a ledge, let me know!
If you have less than 100 health, you won't take the extra damage. This is due to the fact that Left4Dead events are very unorganized, and don't always fire correctly. That means I can't be 100% sure someone is incapped.
If anyone knows a reliable way of checking if someone is incapped, let me know!
Changelog:
Code:
1.1
- Fixed bug where non-incapped survivors would take extra damage
- Because of that fix, incapped survivors with less than 100 health will take normal damage
1.0
- Initial Release