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

[L4D2] Automatic Healing(Health Regeneration) v4.14 Simplified【2024-03-22】


Post New Thread Reply   
 
Thread Tools Display Modes
Author
little_froy
Senior Member
Join Date: May 2021
Plugin ID:
7930
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 01-25-2022 , 21:02   [L4D2] Automatic Healing(Health Regeneration) v4.14 Simplified【2024-03-22】
    Reply With Quote #1

    Description
    • Allow survivor automatically recover their health.
    • Simplified version.

    Cvars
    PHP Code:
    // 1 = enable, 0 = disable. always fix health buffer even the healing has not start?
    // -
    // Default: "0"
    automatic_healing_always_fix "0"

    // when need healing, behind the decimal point, how many health buffer will increase to, if it lower than the value. 0.0 or lower = disable
    // -
    // Default: "0.2"
    // Maximum: "0.990000"
    automatic_healing_fix "0.2"

    // how many health buffer heal once
    // -
    // Default: "1.0"
    // Minimum: "0.100000"
    automatic_healing_health "1.0"

    // 1 = enable, 0 = disable. interrupt healing on hurt?
    // -
    // Default: "1"
    automatic_healing_interrupt_on_hurt "1"

    // max health of healing
    // -
    // Default: "30.2"
    // Minimum: "1.100000"
    automatic_healing_max "30.2"

    // repeat interval after healing start
    // -
    // Default: "1.0"
    // Minimum: "0.000000"
    automatic_healing_repeat_interval "1.0"

    // how long time need to wait after the interruption to start healing
    // -
    // Default: "5.0"
    // Minimum: "0.000000"
    automatic_healing_wait_time "5.0" 
    Note
    • health type of regeneration is health buffer(temp health). since version 2.4, you have to set "automatic_healing_max" more than a litter one decimal point of your expected integer health value(higher "pain_pills_decay_rate" means it should be higher, higher server tick rate means it could be lower). else, regenerated health can't keep.
    • if enabled "automatic_healing_always_fix", calling native "AutomaticHealing_WaitToHeal2" will only reset the wait time, but not drop health keeping with decay health buffer.

    Natives(for developers)
    Spoiler


    Related Plugins
    Change Log
    Spoiler
    Attached Files
    File Type: sp Get Plugin or Get Source (automatic_healing.sp - 22 views - 12.1 KB)
    File Type: inc automatic_healing.inc (1.6 KB, 35 views)

    Last edited by little_froy; 03-22-2024 at 03:37.
    little_froy is offline
    L4D2Noob
    AlliedModders Donor
    Join Date: Mar 2020
    Location: Moscow
    Old 01-25-2022 , 21:37   Re: [L4D2] Call of Duty-like automatic healing for survivors v1.2.1【2022-01-26】
    Reply With Quote #2

    Good job https://www.youtube.com/watch?v=I5nndlUyRx0
    __________________
    L4D2Noob is offline
    Send a message via ICQ to L4D2Noob Send a message via Skype™ to L4D2Noob
    little_froy
    Senior Member
    Join Date: May 2021
    Old 02-26-2022 , 08:57   Re: [L4D2] Automatic Healing for Survivors v1.6.5【2022-02-26】
    Reply With Quote #3

    new version of perfect
    little_froy is offline
    little_froy
    Senior Member
    Join Date: May 2021
    Old 11-24-2022 , 02:35   Re: [L4D2] Automatic Healing v1.14.0【2022-11-24】
    Reply With Quote #4

    Code:
    1.14.0 (2022-11-24:
    add new cvar to control if it will emit tip sound when heal is done.
    remove cvar "automatic_healing_keep_health_in_unhurt_conflict" since it not wokrs well in multiplay.
    little_froy is offline
    little_froy
    Senior Member
    Join Date: May 2021
    Old 12-13-2022 , 10:48   Re: [L4D2] Automatic Healing v2.0【2022-12-13】
    Reply With Quote #5

    Code:
    2.0 (2022-12-13:
    add cvar "automatic_healing_interrupt" to control which case(s) will interrupt healing.
    remove cvar "automatic_healing_harder".
    little_froy is offline
    little_froy
    Senior Member
    Join Date: May 2021
    Old 02-19-2023 , 10:25   Re: [L4D2] Automatic Healing(Health Regeneration) v1.0 Simplified【2023-02-19】
    Reply With Quote #6

    old version 5.0 no longer support.

    Last edited by little_froy; 03-22-2023 at 03:49.
    little_froy is offline
    little_froy
    Senior Member
    Join Date: May 2021
    Old 03-15-2023 , 13:00   Re: [L4D2] Automatic Healing(Health Regeneration) v2.6 Simplified【2023-03-16】
    Reply With Quote #7

    old version 2.5 Simplified no longer support.

    Last edited by little_froy; 03-22-2023 at 03:48.
    little_froy is offline
    SpannerV2
    Member
    Join Date: Jun 2019
    Old 07-14-2023 , 16:06   Re: [L4D2] Automatic Healing(Health Regeneration) v3.6 Simplified【2023-06-21】
    Reply With Quote #8

    Plugin not reading config. Plugin works as far as auto healing but it is not reading the config. i changed the value to heal up to 39 but still only heals to 30.
    SpannerV2 is offline
    little_froy
    Senior Member
    Join Date: May 2021
    Old 07-14-2023 , 19:37   Re: [L4D2] Automatic Healing(Health Regeneration) v3.6 Simplified【2023-06-21】
    Reply With Quote #9

    Quote:
    Originally Posted by SpannerV2 View Post
    Plugin not reading config. Plugin works as far as auto healing but it is not reading the config. i changed the value to heal up to 39 but still only heals to 30.
    which cvar have you changed? show them.

    Last edited by little_froy; 07-14-2023 at 19:54.
    little_froy is offline
    kochiurun119
    BANNED
    Join Date: Sep 2014
    Location: GB
    Old 10-01-2023 , 12:51   Re: [L4D2] Automatic Healing(Health Regeneration) v4.1 Simplified【Final】
    Reply With Quote #10

    perfect plugin replace recovery_l4d.smx
    kochiurun119 is offline
    Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
    Reply



    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 06:29.


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