This plugin for Left 4 Dead allows you to set a "Deadly pounce distance". If someone got pounced from this distance (or longer one) victim will die immediately (for hunter broke their weak human bones
) Also added bonus dmg if hunter is burning. IMPORTANT: THis will only add dmg when you tearing apart victim after pounce. Usual claw attacks wont be modified.
Config
It will create cfg file named l4d_brutal_hunter_mod.cfg in your left4dead\cfg\sourcemod folder.
CVARS
// "Survivors will never get up after being pounced from this distance."
// -
// Default: "1000"
l4d_hunter_fatal_distance "1000"
// "Should we apply bonus damage to incapped survivors? Set 0 to turn off, 1 to turn on."
// -
// Default: "0"
l4d_hunter_bonusdmg_applytoincapped "0"
// "Bonus damage to hardhp and incapped hp."
// -
// Default: "1"
l4d_hunter_bonusdmg_hardhp "1"
// "Bonus damage to temp. hp."
// -
// Default: "1.0"
l4d_hunter_bonusdmg_temphp "1.0"
l4d_bh_mod_version Plugin Version
Notes on mechanic
Tried using this with damage key from player_hurt event, but the problem is once they are incapacitated - player hurt event doesnt fire for pounce damage and thus, deadly pounce impossible if you incapping target on pouncing. EDIT: Used n0limits code for distance checking, now working PRECISELY.
You can try different values, test it with bots, and set optimal value.
Be careful, setting this too low will make survivors cry and rage quit
Anyway the
most skillfull hunter should be rewarded somehow, shouldn't he?
Credits
Everyone on the alliedmods.net.
Valve for great game.
n0limit for his Pounce Announce plugin, from which i took code for precise distance calculation (Great plugin btw, be sure to grab it too, will be even nicer with deadly strike
).
Theme97 for good advice.
Things to do
Add gamemode checks (we don't want bonus dmg part for coop, since its already present in coop)
Changelog
18.08.2009
/ initial release
/changed distance checking code
20.08.2009/1.1 Added bonus damage for burning hunters, works nice for me, need to add cvars though.
21.08.2009/1.2 Changed timer disable mechanism , shouldnt produce invalud timer handle errors now.
21.08.2009/1.3 Added cvar to control if bonus dmg should be applied to incapped survivors.
21.08.2009/1.4 Added cvars to control bonus dmg value for diffrent hp types (temp hp and usual/incapped hp), added all cvars to topic.
22.08.2009/1.5 Hopefully fixed errors spamming from invalid timers, added message how much bonus damage was done.
23.08.2009/1.5.1 Added some colors to bonus dmg messages and fixed typo in text.
26.08.2009/1.5.2 Message of bonus dmg done should now display correct values. (Didnt tested it myself though).
12.09.2009/ Changed version CVAR to be more short.