Raised This Month: $51 Target: $400
 12% 

[L4D2] AutoHelp


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
chinagreenelvis
Senior Member
Join Date: Dec 2009
Plugin ID:
2618
Plugin Version:
1.2.1
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Survivors help themselves from incapacitation, ledge grabs, and special infected attacks.
    Old 10-25-2011 , 04:53   [L4D2] AutoHelp
    Reply With Quote #1

    This is a complete overhaul of the Self Revive plugin. It causes grabbed and incapacitated survivors to automatically help themselves after an optional period of time has passed. Special infected attacks will be broken and downed players will get up off the ground or pull themselves up from ledges. Unlike Self Revive, AutoHelp does not require the player to press any buttons.

    AutoHelp respects the cvar survivor_max_incapacitated_count, the default of which is 2. You can raise this number to increase the amount of times survivors can be incapped before they suffer death.

    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
    autohelp_bots "1", "Allow AutoHelp for survivor bots? 0:No, 1:Yes"
    autohelp_incap "1", "Allow AutoHelp for incapacitation? 0:No, 1:Yes"
    autohelp_incap_delay "3", "AutoHelp delay for incapacitation"
    autohelp_incap_duration "5", "AutoHelp duration for incapacitation (setting higher than 5 will disable animation)"
    autohelp_incap_health "30", "Health buffer after AutoHelp from incapacitation"
    autohelp_ledge "1", "Allow AutoHelp for ledge grabs? 0:No, 1:Yes"
    autohelp_ledge_delay "3", "AutoHelp delay for ledge grabs"
    autohelp_ledge_duration "4", "AutoHelp duration for ledge grabs (setting lower than 4 will cause animation issues, higher than 5 will disable the animation)"
    autohelp_specials "1", "Allow AutoHelp for special infected holds?, 0:No, 1:Yes"
    autohelp_specials_delay "3", "AutoHelp delay for special infected holds"
    autohelp_specials_duration "5", "AutoHelp duration for special infected holds"
    autohelp_specials_smoker_drag "10", "Maximum time a survivor can be dragged before AutoHelp kicks in"

    Recommended additional plugins
    • No Death Check Until Dead: Prevents mission loss until all survivors are completely dead
    • Less Than 4 Dead: Allows dynamic changes to the number of survivors from 1 to 4 based on settings and how many players are connected

    To do list
    • Add toggle for various game modes (Versus, Survival, etc.)

    Known issues
    • The health buffer (red life bar) after AutoHelp from incapacitation does not always match the value set in autohelp_incap_health. I'm not sure why, but the amount restored seems to depend on the way in which a person is incapped.

    Update history
    • 1.2.2 - Fixed to prevent stack trace log errors
    • 1.2.1 - Code cleanup
    • 1.2 - Fix: AutoHelp failing to kick in when survivors stuck during tongue drag, added convar autohelp_specials_smoker_drag
    • 1.1.1 - Fix: AutoHelp from ledge grabs not always working
    • 1.1 - Fix: Melee weapons lost on AutoHelp from incap
    • 1.0 - Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (cge_l4d2_autohelp.sp - 11599 views - 25.3 KB)
    File Type: txt cge_l4d2_autohelp.txt (536 Bytes, 6031 views)

    Last edited by chinagreenelvis; 12-19-2013 at 00:32.
    chinagreenelvis is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 14:35.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode