Update: This plugin will no longer be supported. It has been completely overhauled and re-written. You can find the new version here.
Based on the
Self Help plugin, this version allows self reviving without the cost of medical supplies and restores the animations for incapacitation and ledge grab revives. Special infected grabs can be escaped with the option of not killing the attackers. Bot survivors will automatically attempt to help themselves.
Installation
Place .smx files in the sourcemod/plugins directory, .txt files into the sourcemod/gamedata folder. Original documents with the .sp extension can be edited in notepad++ and stored in sourcemod/scripting for compiling.
Cvars
l4d_2_selfrevive_hint_delay "4.0", "Self revive hint delay"
l4d_2_selfrevive_delay "0.0", "Self revive delay"
l4d_2_selfrevive_delay_ledge "0.0", "Self revive delay"
l4d_2_selfrevive_delay_incap "0.0", "Self revive delay for incapacitation"
l4d_2_selfrevive_duration "3.0", "Self revive selfreviveDuration[victim]"
l4d_2_selfrevive_duration_ledge "4.5", "Self revive duration for ledge grab, setting higher than 5 will disable animation"
l4d_2_selfrevive_duration_incap "5.0", "Self revive duration for incapacitation, setting higher than 5 will disable animation"
l4d_2_selfrevive_health_ledge "40.0", "How much health you have after reviving yourself from a ledge grab."
l4d_2_selfrevive_health_incap "40.0", "How much health you have after reviving yourself from incapacitation."
l4d_2_selfrevive_ledge "1", "Self revive for ledge grabs, 0:Disable, 1:Enable"
l4d_2_selfrevive_incap "1", "Self revive for incapacitation, 0:Disable, 1:Enable"
l4d_2_selfrevive_grab "1", "Self revive for smoker grab, 0:Disable, 1:Enable"
l4d_2_selfrevive_pounce "1", "Self revive for hunter pounce, 0:Disable, 1:Enable"
l4d_2_selfrevive_ride "1", " Self revive for jockey ride, 0:Disable, 1:Enable"
l4d_2_selfrevive_pummel "1", "Self revive for charger pummel , 0:Disable, 1:Enable"
l4d_2_selfrevive_kill "0", "0: Do not kill special infected when breaking free; 1: Kill special infected when breaking free"
l4d_2_selfrevive_versus "0", "0: Disable in versus, 1: Enable in versus"
Recommended additional plugins