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

[CS:GO] Grenade Pack 2


Post New Thread Reply   
 
Thread Tools Display Modes
Author
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Plugin ID:
3231
Plugin Version:
0.0.1.4
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Grenade Pack 2 for CS:GO - Allow players to carry more than the default allowed - VIP enabled
    Old 09-10-2012 , 14:48   [CS:GO] Grenade Pack 2
    Reply With Quote #1

    DESCRIPTION:
    Give players the ability to hold more than 3 nades. By default, CS:GO limits players to 1 of each type, with a max 3 total nades. This plugin allows you to define how many of each type you want players to be able to carry.

    - Ability to set a hard number of total grenades a player can carry, regardless of type.
    - Ability to set a hard number of total "types" of grenades a player can carry. Example, you allow up to 4 HE, 3 Flash-bang, 2 Decoy, 3 Smoke, and 2 Molotov/Incendiary however you set total types to 3... that means players can only carry up to the max of 3 types (whatever types they choose, but max 3 types).

    This plugin is VIP equipped:
    VIP players can hold more of each type of nade than regular players can, if you set it up that way in the config file. If a player has the admin flag RESERVATION "a" they will be marked as VIP for this plugin.

    *** You can override the flag needed for VIP by utilizing admin_overrides.cfg and assigning whatever flag you want to "gp2_csgo_vip"

    As of 0.0.1.6 I've added a debug feature for this plugin, see CVar list for options.

    CVars


    Change Log


    REQUIREMENTS:
    Sourcemod 1.5.0-dev+3756 or better
    SDKHooks - Version 2.2 (or better) for CS:GO

    Optional:
    Updater (if you want automatic updates)

    Credits:
    SourceMod Team
    Greyscale - for original Grenade Pack idea for CS:S

    KNOWN ISSUES:
    None that I found, report them as you see them.

    To Do List:
    + Add option where you can define a hard set limit of nades, like 4 - players (or ViPs) can have any combination of nades, limit 4 to carry. Two CVars for this, one for regulars and another for ViPs.

    INSTALLATION:
    Copy the .smx to your sourcemod/plugins folder and the phrases.txt to your sourcemod/translation folder. When you run the plugin for the first time, it will auto generate a configuration file in your cfg/sourcemod folder named "plugin.GrenadePack2_csgo.cfg" - edit that to your liking then reload the plugin (or better, change the map).

    The online compiler won't work, you have to download the .SMX file. This is due to custom include files (see .sp for what those are).

    Updated configuration file and translation file required for 0.0.1.3
    Attached Files
    File Type: txt grenadepack2_csgo.phrases.txt (4.2 KB, 1799 views)
    File Type: sp Get Plugin or Get Source (GrenadePack2_csgo.sp - 1231 views - 44.1 KB)
    File Type: smx GrenadePack2_csgo.smx (17.5 KB, 938 views)
    __________________
    View my Plugins | Donate

    Last edited by TnTSCS; 04-18-2015 at 09:35. Reason: Update from 0.0.1.4 to 0.0.1.6
    TnTSCS is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 09-10-2012 , 14:54   Re: [CS:GO] Grenade Pack 2
    Reply With Quote #2

    Reserved...
    __________________
    View my Plugins | Donate
    TnTSCS is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 09-10-2012 , 20:03   Re: [CS:GO] Grenade Pack 2
    Reply With Quote #3

    nice... so this will allow us to hold multiple grenades of each kind and if i place 0 for smoke/flash i can basically restrict them without running weapon restrict?

    will be testing this soon!!!!

    Last edited by Doc-Holiday; 09-10-2012 at 20:04.
    Doc-Holiday is offline
    ltgenkd
    AlliedModders Donor
    Join Date: Sep 2008
    Old 09-10-2012 , 21:20   Re: [CS:GO] Grenade Pack 2
    Reply With Quote #4

    Will this work with CS:GO DM?
    ltgenkd is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 09-10-2012 , 21:20   Re: [CS:GO] Grenade Pack 2
    Reply With Quote #5

    Quote:
    Originally Posted by Doc-Holiday View Post
    nice... so this will allow us to hold multiple grenades of each kind and if i place 0 for smoke/flash i can basically restrict them without running weapon restrict?

    will be testing this soon!!!!
    In theory, yes

    You can allow players (or vips) to carry 4 HEGrenades, 8 Flashbangs, 2 Decoys, 4 Incendery Grenades, 12 Smoke Grenades... or any combination you want. Players and VIPs can have different totals.


    Quote:
    Originally Posted by ltgenkd View Post
    Will this work with CS:GO DM?
    Haven't tried it on DM yet - does DM allow you to buy stuff or restrict everything to the menu?
    __________________
    View my Plugins | Donate

    Last edited by TnTSCS; 09-10-2012 at 21:21.
    TnTSCS is offline
    fightarena
    Member
    Join Date: Nov 2011
    Old 09-13-2012 , 02:33   Re: [CS:GO] Grenade Pack 2
    Reply With Quote #6

    Great ! Thanks
    __________________
    German hosting Servers !!!

    quality n1




    ]
    fightarena is offline
    wtfaatp
    Senior Member
    Join Date: Jul 2010
    Old 09-17-2012 , 22:16   Re: [CS:GO] Grenade Pack 2
    Reply With Quote #7

    Quote:
    Originally Posted by TnTSCS View Post
    To Do List:
    + Add option where you can define a hard set limit of nades, like 4 - players (or ViPs) can have any combination of nades, limit 4 to carry. Two CVars for this, one for regulars and another for ViPs.
    Any update on this? I would really like to limit how many total grenades they can carry.. This mod is awesome (BTW) THANK YOU VERY MUCH!
    __________________
    SourceMod : 1.10.0 (Official) | MetaMod : 1.10.7 (Official)
    Server : NFOservers - Windows
    wtfaatp is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 01-25-2013 , 12:30   Re: [CS:GO] Grenade Pack 2
    Reply With Quote #8

    working on finishing an update which will include this, plus a way to restrict players to a defined number of different types... player can hold 6 nades, but only 3 types.
    __________________
    View my Plugins | Donate
    TnTSCS is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 01-25-2013 , 20:04   Re: [CS:GO] Grenade Pack 2
    Reply With Quote #9

    Plugin Updated:

    NEW as of 0.0.1.3
    - Ability to set a hard number of total grenades a player can carry, regardless of type.
    - Ability to set a hard number of total "types" of grenades a player can carry. Example, you allow up to 4 HE, 3 Flash-bang, 2 Decoy, 3 Smoke, and 2 Molotov/Incendiary however you set total types to 3... that means players can only carry up to the max of 3 types (whatever types they choose, but max 3 types).
    __________________
    View my Plugins | Donate
    TnTSCS is offline
    Nussecke
    New Member
    Join Date: Nov 2010
    Old 02-03-2013 , 04:29   Re: [CS:GO] Grenade Pack 2
    Reply With Quote #10

    Note: You need these two includes for compiling the plugin:

    Colors and Updater

    Last edited by Nussecke; 02-03-2013 at 04:33.
    Nussecke 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 09:19.


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