Raised This Month: $433 Target: $400

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

Post New Thread Reply   
Thread Tools Display Modes
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
Plugin Version:
Plugin Category:
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

    • 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.

    • "Dragokas" - For the inspiration.


    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.

    1.0 (17-Mar-2020)
        - Initial release.

    • 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
    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

    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