Raised This Month: $433 Target: $400
 108% 

[L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.0) [17-Mar-2020]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6987
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixes survivor_max_incapacitated_count cvar increased values reverting black and white screen. Also some extra options.
    Old 03-16-2020 , 20:05   [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.0) [17-Mar-2020]
    Reply With Quote #1

    Features:
    • Provides more options for both games, such as when the screen should turn black and white and how many revives are allowed.
    • Options to control when the heartbeat sound plays and when survivors should start vocalizing that they're about to die.
    • This fixes L4D1 players going from black and white on the 2nd revive to normal color after subsequent revives when increasing the survivor_max_incapacitated_count cvar value.
    • The bug is described here by Dragokas.
    • This plugins cvar l4d_heartbeat_revives overwrites the games survivor_max_incapacitated_count cvar, so set your desired value in this plugins cvar config.
    • Cvar default values of "2" is what the game uses by default.



    Thanks:
    • "Dragokas" - For the inspiration.



    CVars:

    Saved to l4d_heartbeat.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // 0=Plugin off, 1=Plugin on.
    l4d_heartbeat_allow "1"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d_heartbeat_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d_heartbeat_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d_heartbeat_modes_tog "0"

    // How many revives are allowed before a player is killed (wrapper to survivor_max_incapacitated_count cvar).
    l4d_heartbeat_revives "2"

    // How many revives until the black and white screen overlay starts.
    l4d_heartbeat_screen "2"

    // How many revives until the heartbeat sound starts playing.
    l4d_heartbeat_sound "2"

    // How many revives until the player starts vocalizing that they're about to die.
    l4d_heartbeat_vocalize "2"

    // Heartbeat plugin version.
    l4d_heartbeat_version 


    Changes:
    Code:
    1.0 (17-Mar-2020)
        - Initial release.

    Installation:
    • Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_heartbeat.sp - 82 views - 12.8 KB)
    __________________

    Last edited by Silvers; 03-16-2020 at 22:24.
    Silvers is offline
    Explait
    Junior Member
    Join Date: Oct 2019
    Old 03-17-2020 , 10:13   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.0) [17-Mar-2020]
    Reply With Quote #2

    Pretty good plugin!
    Explait is offline
    Reply


    Thread Tools
    Display Modes

    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 12:27.


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