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

[L4D & L4D2] Health Recovery And Loot System


Post New Thread Reply   
 
Thread Tools Display Modes
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
1724
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    You can kill SI to recover HP, and the dead SI will drop item.
    Old 06-11-2010 , 13:00   [L4D & L4D2] Health Recovery And Loot System
    Reply With Quote #1

    This plugin is design for very hard server.
    When special infected be killed, the victim drops something and the attacker 's health recovers.
    the amount of Health recovery is based on class of infected, weapon, killing distance, whether headshot and parameters in cfg.


    Very Important ConVars:
    "l4d_kill_addhp_mult", "0.15", "health recover factor"

    ConVars:

    "l4d_loot_enabled", "1", "0: disable loot from boss, 1: enable"
    "l4d_loot_boss_show_msg", "1", "0:disable print loot message in HintBox, 1:disable "

    "l4d_loot_hunter", "4.0", "loot of hunter %[0-100]"
    "l4d_loot_smoker", "5.0", "loot of smoker %[0-100]"
    "l4d_loot_boomer", "5.0", "loot of Boomer %[0-100]"
    "l4d_loot_spitter", "4.0", "loot of spitter %[0-100]"
    "l4d_loot_jockey", "4.0", "loot of jockey %[0-100]"
    "l4d_loot_charger", "4.0", "loot of charger %[0-100]"
    "l4d_loot_tank", "70", "loot of tank %[0-100]"
    "l4d_loot_witch", "60", "loot of witch %[0-100]"

    "l4d_loot_hunter_num", "1", "loot count of hunter "
    "l4d_loot_smoker_num", "1", "loot count of smoker "
    "l4d_loot_boomer_num", "1", "loot count of Boomer "
    "l4d_loot_spitter_num", "1", "loot count of spitter "
    "l4d_loot_jockey_num", "1", "loot count of jockey "
    "l4d_loot_charger_num", "1", "loot count of charger "
    "l4d_loot_tank_num", "4", "loot count of tank "
    "l4d_loot_witch_num", "3", "loot count of witch "

    "l4d_loot_headshot", "3.0", "loot factor with headshot"
    "l4d_loot_headshotno", "1.0", "loot factor without headshot"

    "l4d_loot_killtank_reward", "60", "probability of reward for kill tank %[0-100]"
    "l4d_loot_killwitch_reward", "50", "probability of reward for kill witch %[0-100]"
    "l4d_kill_addhp_tank", "50", "health recover for kill tank"
    "l4d_kill_addhp_witch", "50", "health recover for kill witch"

    "l4d_loot_weapon", "25.0", "probability of loot guns %"
    "l4d_loot_weapon_melee", "25.0", "probability of loot melee weapon %"
    "l4d_loot_health", "15.0", "probability of loot Medical supplies %"
    "l4d_loot_item", "35.0", "probability of loot items %"

    "l4d_kill_addhp_enabled", "1", "0: disable health recover, 1:eanble"
    "l4d_kill_addhp_mult", "0.15", "health recover factor"
    "l4d_kill_addhp_lt50_mult", "3.0", "health recover factor when health < 50"
    "l4d_kill_addhp_healthlimit", "200.0", "health limit"

    "l4d_kill_show_msg", "3", "print kill messge 1:in chat?: int hintbox, 3:all, 0:disable"


    "l4d_kill_addhp_noheadshot_mult", "1.0", "health recover multiple without headshot "
    "l4d_kill_addhp_headshot_mult", "3.0", "health recover multiple with headshot "

    "l4d_kill_addhp_weapon_pistol_1", "8.0", "health recover factor of pistol killing"
    "l4d_kill_addhp_weapon_msg_1", "4.0", "health recover factor of smg"
    "l4d_kill_addhp_weapon_rifle_1", "3.0", "health recover factor of rifle killing"
    "l4d_kill_addhp_weapon_sniper_1", "4.0", "health recover factor of sniper killing"
    "l4d_kill_addhp_weapon_shotgun_1", "2.0", "health recover factor of shotgun killing"
    "l4d_kill_addhp_weapon_melee", "30.0", "health recover factor of melee killing"
    "l4d_kill_addhp_weapon_other", "1.0", "health recover factor of ohter weapon killing"

    "l4d_kill_addhp_weapon_pistol_2", "30.0", "health recover factor of long range pistol killing"
    "l4d_kill_addhp_weapon_msg_2", "16.0", "health recover factor of long range smg killing"
    "l4d_kill_addhp_weapon_rifle_2", "13.0", "health recover factor of long range rifle killing"
    "l4d_kill_addhp_weapon_sniper_2", "12.0", "health recover factor of long range sniper killing"
    "l4d_kill_addhp_weapon_shotgun_2", "20.0", "health recover factor of long range shotgun killing"

    "l4d_kill_addhp_distance", "1200.0", "long range"

    "l4d_kill_addhp_hunter_1", "1.0", "health recover factor for hunter killing"
    "l4d_kill_addhp_smoker_1", "1.0", "health recover factor for smoker killing"
    "l4d_kill_addhp_boomer_1", "1.0", "health recover factor for boomer killing"
    "l4d_kill_addhp_spitter_1", "1.0", "health recover factor for spitter killing"
    "l4d_kill_addhp_jockey_1", "1.0", "health recover factor for jockey killing"
    "l4d_kill_addhp_charger_1", "1.0", "health recover factor for charger killing"

    "l4d_kill_addhp_hunter_2", "5.0", "health recover factor for long range hunter killing"
    "l4d_kill_addhp_smoker_2", "3.0", "health recover factor for long range smoker killing"
    "l4d_kill_addhp_boomer_2", "2.0", "health recover factor for long range boomer killing"
    "l4d_kill_addhp_spitter_2", "3.0", "health recover factor for long range spitter killing"
    "l4d_kill_addhp_jockey_2", "3.0", "health recover factor for long range jockey killing"
    "l4d_kill_addhp_charger_2", "4.0", "health recover factor for long range charger killing"
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_kill_drops_en.sp - 4185 views - 27.3 KB)

    Last edited by panxiaohai; 10-30-2011 at 08:53.
    panxiaohai is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-14-2010 , 13:49   Re: [L4D & L4D2] Health Recovery And Loot System
    Reply With Quote #2

    Did not anyone ever try it?
    panxiaohai is offline
    proz96
    Junior Member
    Join Date: Apr 2010
    Old 06-14-2010 , 14:08   Re: [L4D & L4D2] Health Recovery And Loot System
    Reply With Quote #3

    Is this like life stealing ?? If it is I am gonna put it inside my Hardcore Server ( Co-Op ) 4 Survivor vs 6 Infected [ With fast response and respawn ]
    proz96 is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-14-2010 , 23:55   Re: [L4D & L4D2] Health Recovery And Loot System
    Reply With Quote #4

    Quote:
    Originally Posted by proz96 View Post
    Is this like life stealing ?? If it is I am gonna put it inside my Hardcore Server ( Co-Op ) 4 Survivor vs 6 Infected [ With fast response and respawn ]
    Yes , it is, it suit fo very hard server.
    panxiaohai is offline
    panda82
    Member
    Join Date: Aug 2007
    Old 06-18-2010 , 19:11   Re: [L4D & L4D2] Health Recovery And Loot System
    Reply With Quote #5

    explain please what thios cvar is doing: l4d_loot_witch_num ? I dont understand some of them
    panda82 is offline
    panda82
    Member
    Join Date: Aug 2007
    Old 06-18-2010 , 19:51   Re: [L4D & L4D2] Health Recovery And Loot System
    Reply With Quote #6

    Ànother question. I have l4d_loot_killtank_reward 0 but I died and droped a autoshotgun... Why?
    panda82 is offline
    panda82
    Member
    Join Date: Aug 2007
    Old 06-19-2010 , 14:08   Re: [L4D & L4D2] Health Recovery And Loot System
    Reply With Quote #7

    How can I get rid of hint box messages? I deleted them from the .sp but a little empty hint box messege keep apearing when a survivor dies. Sometime with a special character like c.
    panda82 is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-21-2010 , 02:10   Re: [L4D & L4D2] Health Recovery And Loot System
    Reply With Quote #8

    Quote:
    Originally Posted by panda82 View Post
    explain please what thios cvar is doing: l4d_loot_witch_num ? I dont understand some of them
    If you killed a witch you have l4d_loot_witch/100.0 change to rob her.
    l4d_loot_witch_num indicate how many items you can rob.
    panxiaohai is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 06-21-2010 , 02:14   Re: [L4D & L4D2] Health Recovery And Loot System
    Reply With Quote #9

    Quote:
    Originally Posted by panda82 View Post
    Ànother question. I have l4d_loot_killtank_reward 0 but I died and droped a autoshotgun... Why?
    l4d_loot_killtank_reward indicate the chance of rewards for tank killer.
    l4d_loot_tank indicate the chance of drop something when tank die.
    l4d_loot_tank_num indicate how many items drop when tank die.
    panxiaohai is offline
    iicecube
    Junior Member
    Join Date: Oct 2009
    Old 08-09-2010 , 13:18   Re: [L4D & L4D2] Health Recovery And Loot System
    Reply With Quote #10

    Hmm i wonder the HP recovery ratio 1.0 heal how many of use hp? (health recover factor)

    izzit 1.0 is = to 10 hp?
    iicecube is offline
    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 16:56.


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