Raised This Month: $32 Target: $400
 8% 

[CS:GO] Drop Random Health Pack


Post New Thread Reply   
 
Thread Tools Display Modes
Author
darkranger
Senior Member
Join Date: Apr 2006
Location: dod_hinterland
Plugin ID:
3174
Plugin Version:
2.8
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    [CS:GO] Drop Random Health Pack
    Old 08-18-2012 , 15:56   [CS:GO] Drop Random Health Pack
    Reply With Quote #1

    Description:
    THIS PLUGIN DROPS RANDOM OR EVERY "X" DEATHS A HEALTH PACKAGE AFTER A PLAYER DIES.
    You can select 1 out of 6 available Props. (0=chianti bottle; 1=chicken; 2=Life Ring; 3=Mushroom_Small; 4=Mushroom_Large; 5=HL2 Medkit; 6=CS_Gift )

    I use this on my ArmsRace (GunGame progressive Mode) Server and is only tested there!

    UPDATED 30.01.2013: Version 2.8

    Changelog:
    Spoiler

    CVars:
    will be autogenerated after 1st plugin start in the cfg folder!
    CVARLIST:
    Spoiler


    Requirements:
    SDK HOOKS

    Notes:
    thanks to Feuersturm for helping!

    Servers running plugin:
    Game-Monitor
    GameTracker

    Notes2:
    it uses SDKHOOKS. so it will not compile on the forum!
    Attached Files
    File Type: zip csgo_drop_random_health_2.8.zip (991.0 KB, 3235 views)
    File Type: smx csgo_drop_random_healthpack_2.8.smx (10.3 KB, 1067 views)
    File Type: sp Get Plugin or Get Source (csgo_drop_random_healthpack_2.8.sp - 1040 views - 15.2 KB)
    File Type: zip translations.zip (1.1 KB, 954 views)

    Last edited by darkranger; 06-06-2013 at 03:26. Reason: New Version
    darkranger is offline
    GameGuardG
    Junior Member
    Join Date: Aug 2012
    Old 08-24-2012 , 14:05   Re: [CS:GO]Drop Random Health Pack
    Reply With Quote #2

    doesnt work for me.
    To load it needs SDK and SDK is not supported for CS:GO
    correct?
    GameGuardG is offline
    darkranger
    Senior Member
    Join Date: Apr 2006
    Location: dod_hinterland
    Old 08-24-2012 , 14:28   Re: [CS:GO]Drop Random Health Pack
    Reply With Quote #3

    it is working

    use latest sdkhook from here: http://users.alliedmods.net/~psychon.../sdkhooks/2.2/

    greetz
    darkranger is offline
    karil
    SourceMod Donor
    Join Date: Jan 2010
    Old 08-24-2012 , 15:26   Re: [CS:GO]Drop Random Health Pack
    Reply With Quote #4

    Very interesting plugin! Congratz.
    karil is offline
    FR0NTLINE
    AlliedModders Donor
    Join Date: Apr 2006
    Location: Riverside Cali
    Old 08-26-2012 , 13:28   Re: [CS:GO]Drop Random Health Pack
    Reply With Quote #5

    Yeah this is cool So say the person's health was 60 before you killed them they could drop a 60 health pack?
    __________________
    FR0NTLINE is offline
    Send a message via AIM to FR0NTLINE Send a message via MSN to FR0NTLINE Send a message via Yahoo to FR0NTLINE
    ltgenkd
    AlliedModders Donor
    Join Date: Sep 2008
    Old 08-26-2012 , 13:37   Re: [CS:GO]Drop Random Health Pack
    Reply With Quote #6

    See the config file in csgo\cfg\cso_drop_random_health\csgo_drop_ran dom_health.cfg.

    //<#> = amount of HP to add to a player picking up a Healthpackage
    //-
    // Default: "80"
    // Minimum: "25.000000"
    // Maximum: "300.000000"
    csgo_drop_health_amount "80" <------ Set what you want here.
    ltgenkd is offline
    darkranger
    Senior Member
    Join Date: Apr 2006
    Location: dod_hinterland
    Old 08-26-2012 , 14:55   Re: [CS:GO]Drop Random Health Pack
    Reply With Quote #7

    Quote:
    Originally Posted by FR0NTLINE View Post
    Yeah this is cool So say the person's health was 60 before you killed them they could drop a 60 health pack?
    i know what you mean.
    but the plugin drops a healthpack NOT depending on the opponents health.
    it always has the amount you set in the config!!
    darkranger is offline
    tpunkt
    Junior Member
    Join Date: Mar 2012
    Old 08-26-2012 , 15:13   Re: [CS:GO]Drop Random Health Pack
    Reply With Quote #8

    Request:
    Maybe a max. limit for getting hp through picking up kits would be nice e.g. so that no player will get over xxx hp.

    and well done ... good works +1

    Last edited by tpunkt; 08-26-2012 at 15:14.
    tpunkt is offline
    darkranger
    Senior Member
    Join Date: Apr 2006
    Location: dod_hinterland
    Old 08-27-2012 , 12:16   Re: [CS:GO]Drop Random Health Pack
    Reply With Quote #9

    Quote:
    Originally Posted by tpunkt View Post
    Request:
    Maybe a max. limit for getting hp through picking up kits would be nice e.g. so that no player will get over xxx hp.

    and well done ... good works +1
    OK. Please try the attached one. and tell me if its functional. i will then put it on first post.
    new Cvars:
    Code:
    "csgo_drop_health_maximum", "150", "max. Amount of Health a player can have to pickup a Healthpackage"
    "csgo_drop_health_maximum_var", "0", "what happens when max. Health is reached: 0 = delete Healthpackage , 1 = Healthpackage will dropped from next dead player
    Attached Files
    File Type: zip csgo_drop_random_healthpack_1.9.zip (10.0 KB, 385 views)
    darkranger is offline
    tpunkt
    Junior Member
    Join Date: Mar 2012
    Old 08-27-2012 , 16:05   Re: [CS:GO]Drop Random Health Pack
    Reply With Quote #10

    It works fine on my testsystem. If the players has less than 150hp I can pick up the pack, if the player has more than 150hp I can't pick up the pack.

    Much thx to you !!!
    tpunkt 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 03:59.


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