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

CSS Deathmatch Bonus HP/Nades v1.3beta


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Timiditas
Senior Member
Join Date: Apr 2009
Plugin ID:
1155
Plugin Version:
1.3beta
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    21 
    Plugin Description:
    Gives new Nade/Smoke/Flash and HP for kills
    Old 09-12-2009 , 09:37   CSS Deathmatch Bonus HP/Nades v1.3beta
    Reply With Quote #1

    Plugin automatically creates and executes config file in
    cstrike/cfg/sourcemod/dm_bonus.cfg

    dm_bonus_enable - default 1 - Enable/Disable plugin
    dm_bonus_nademode - default 0 - 0 = replenish used nades only, 1 = always give nade (useful in conjunction with SM plugin 'Grenade Pack')
    dm_bonus_healthmode - default 100 - Replenish health up to this amount, 0 = No maximum, always gives bonus health
    dm_bonus_health - default 15 - Amount of HP to give for every kill, 0 = disable
    dm_bonus_health_headshot - default 15 - Amount of HP to give for headshot, 0 = disable
    dm_bonus_needed_HE - default 2 - Kills needed to receive hegrenade, 0 = disable
    dm_bonus_needed_flash - default 5 - Kills needed to receive flashbang, 0 = disable
    dm_bonus_needed_smoke - default 1 - Kills needed to receive smokegrenade, 0 = disable

    Should work on any server, but was designed specifically with CSS: DM and 'Grenade Pack' in mind.
    Without Grenade Pack, you should leave 'nademode' on 0, otherwise additional nades given will just drop to the ground when your nade slot is full. Really nasty with default settings and DM running without Grenade Pack; the whole map is full of smoke grenades.

    v1.1
    fixed:
    L 10/18/2009 - 011:11: [SM] Native "GetClientTeam" reported: Client index 0 is invalid
    v1.2
    dm_bonus_health_headshot - default 15 - Amount of HP to give for headshot, 0 = disable
    v1.3beta
    dm_bonus_health_knife - default 30 - Amount of HP to give for knifekill, 0 = disable
    dm_bonus_FFA - default 1 - Free for all mode. Set to zero if teamkills should not give bonuses
    Hopefully fixed plugin ignoring cvar dm_bonus_enable
    Attached Files
    File Type: sp Get Plugin or Get Source (CSSDM_bonus.sp - 6197 views - 6.7 KB)
    File Type: sp Get Plugin or Get Source (CSSDM_bonus_beta.sp - 1788 views - 7.5 KB)
    __________________


    Last edited by Timiditas; 03-07-2015 at 12:43.
    Timiditas is offline
    berni
    SourceMod Plugin Approver
    Join Date: May 2007
    Location: Austria
    Old 09-12-2009 , 16:41   Re: CSS Deathmatch Bonus HP/Nades
    Reply With Quote #2

    Code:
    url = "ht"
    ?
    __________________
    Why reinvent the wheel ? Download smlib with over 350 useful functions.

    When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
    powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
    berni is offline
    niask
    BANNED
    Join Date: Oct 2008
    Location: Kaluga, Russia
    Old 12-13-2009 , 16:06   Re: CSS Deathmatch Bonus HP/Nades v1.1
    Reply With Quote #3

    Nice plugin. It would be great if you add something like dm_bonus_health_headshot: amount of health a player gets for a headshot-kill.
    niask is offline
    Send a message via ICQ to niask
    Timiditas
    Senior Member
    Join Date: Apr 2009
    Old 06-23-2010 , 09:19   Re: CSS Deathmatch Bonus HP/Nades v1.2
    Reply With Quote #4

    dm_bonus_health_headshot - default 15 - Amount of HP to give for headshot, 0 = disable

    added as requested
    __________________

    Timiditas is offline
    WhiteKnight
    New Member
    Join Date: Oct 2010
    Location: Michigan, United States
    Old 10-23-2010 , 18:09   Re: CSS Deathmatch Bonus HP/Nades v1.2
    Reply With Quote #5

    I just wanted to suggest a few more features.

    * Allow for a separate amount of health to be given for knife kills, as you did for headshots.
    * Allow for giving ammo/armor per kill, in addition to health and nades.

    Already PM'd you about it but I figured others might want to hear about it.

    Great plugin, by the way. Makes deathmatch a lot more interesting.
    WhiteKnight is offline
    Send a message via AIM to WhiteKnight Send a message via MSN to WhiteKnight Send a message via Yahoo to WhiteKnight Send a message via Skype™ to WhiteKnight
    rautamiekka
    Veteran Member
    Join Date: Jan 2009
    Location: Finland
    Old 10-24-2010 , 06:07   Re: CSS Deathmatch Bonus HP/Nades v1.2
    Reply With Quote #6

    There's typo in the first post: 'recieve' should be "receive".
    __________________
    Links to posts I received Karma from:
    Big thanks to all who gave Karma
    rautamiekka is offline
    Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka
    Tricksous
    Junior Member
    Join Date: May 2011
    Old 05-10-2011 , 13:20   Re: CSS Deathmatch Bonus HP/Nades v1.2
    Reply With Quote #7

    Someone can explain to me how to install this plugin please ?

    I created the file dm_bonus.cfg in my cstrike/cfg/sourcemod/ folder and paste all the things I posted here, and this does not work.

    Please someone can have the amiability to give me an answer ?
    Tricksous is offline
    einwad
    Member
    Join Date: Mar 2011
    Location: Romania (Brazil)
    Old 05-10-2011 , 13:43   Re: CSS Deathmatch Bonus HP/Nades v1.2
    Reply With Quote #8

    CSSDM_bonus.smx >>> Plugins folder
    CSSDM_bonus.sp >>> Scripting folder

    When you run the plugin, a dm_bonus.cfg will be automatically created and placed in cfg/sourcemod. You can use mine:

    Code:
    // This file was auto-generated by SourceMod (v1.4.0-dev)
    // ConVars for plugin "CSSDM_bonus.smx"
    
    
    // Enable/Disable plugin
    // -
    // Default: "1"
    dm_bonus_enable "1"
    
    // Amount of HP to give for every kill, 0 = disable
    // -
    // Default: "15"
    dm_bonus_health "15"
    
    // Amount of HP to give for headshot, 0 = disable
    // -
    // Default: "15"
    dm_bonus_health_headshot "20"
    
    // Replenish health up to this amount, 0 = No maximum, always gives bonus health
    // -
    // Default: "100"
    dm_bonus_healthmode "100"
    
    // 0 = replenish used nades only, 1 = always give nade (useful in conjunction with SM plugin 'Grenade Pack')
    // -
    // Default: "0"
    dm_bonus_nademode "0"
    
    // Kills needed to recieve hegrenade, 0 = disable
    // -
    // Default: "2"
    dm_bonus_needed_HE "0"
    
    // Kills needed to recieve flashbang, 0 = disable
    // -
    // Default: "5"
    dm_bonus_needed_flash "0"
    
    // Kills needed to recieve smokegrenade, 0 = disable
    // -
    // Default: "1"
    dm_bonus_needed_smoke "0"
    Or delete your cfg and let sourcemod auto-generate one on your next restart/mapchange.
    __________________
    Mors tua, vita mea.

    einwad is offline
    Send a message via Skype™ to einwad
    Tricksous
    Junior Member
    Join Date: May 2011
    Old 05-10-2011 , 14:00   Re: CSS Deathmatch Bonus HP/Nades v1.2
    Reply With Quote #9

    Great ! It work !

    Thank you guy !
    Tricksous is offline
    modtopwn
    New Member
    Join Date: Jul 2011
    Old 07-06-2011 , 17:04   Re: CSS Deathmatch Bonus HP/Nades v1.2
    Reply With Quote #10

    This plug in is one of the better things I have seen on here thus far. I might have to consider adding it to the plugin archive I am working on. What would you guys think of a password protected cloud server full of all kinds of plugins, etc for different platforms and applications? Also, do you guys have any cloud service recommendations? What do you think about http://www.rackspace.com?

    Last edited by modtopwn; 07-13-2011 at 15:06.
    modtopwn 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 11:14.


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