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

[L4D2] Black and White on Defib v1.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Crimson_Fox
Senior Member
Join Date: Mar 2009
Plugin ID:
1321
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    Defibed survivors are brought back to life with no incaps remaining.
    Old 12-10-2009 , 05:27   [L4D2] Black and White on Defib v1.0
    Reply With Quote #1

    While defibrillators are a nice addition to L4D2, I feel they are overpowered. This is really apparent in a versus match because not only will it revive a dead player, but they can be incaped 2 more times before they will die again. Because of this you get situations where a team mate that is out of incaps will be intentionally killed so they can revived with full incaps.

    This plugin looks to correct this by allowing an admin to set a defibed player's remaining incaps as well as how much health they receive when revived.

    Cvars:

    l4d2_bwdefib - Disables the plugin if set to 0.
    l4d2_bwdefib_incaps - Number of remaining incaps with which a defibed survivor is brought back. Default 0
    l4d2_bwdefib_health - Amount of health with which a defibed survivor is brought back. Default 1.
    l4d2_bwdefib_temphealth - Amount of temporary health with which a defibed survivor is brought back. Default 30.

    Changelog:
    1.0
    -Added cvar to specify how many incaps remaining a player has when defibed.
    -Added config file.
    -Renamed cvars to match naming convention.
    -Plug-in now checks for l4d2 when loading.
    0.3.1
    -Minor code tweak.
    0.3
    -Added temp health cvar.
    -Changed default health to match revive health (30 temp health).
    Thanks to TheDanner for the help on setting temp health.
    0.2
    -Added health cvar.
    0.1
    -Initial release.

    To Do:
    Still need to find a way to turn on the heartbeat sound.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_BWDefib.sp - 5149 views - 2.6 KB)

    Last edited by Crimson_Fox; 03-19-2010 at 18:48.
    Crimson_Fox 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 03:56.


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