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

[CS:GO] Knife Upgrade 2.5.7 (Saves Knife Selection) **Updated 06-02-2015**


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author
klexen
Senior Member
Join Date: Sep 2013
Plugin ID:
4262
Plugin Version:
2.5.7
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Player can type !knife to choose a custom knife skin. Player's knife choice is remembered for future connections.
    Unapprover:
    Reason for Unapproving:
    https://www.mail-archive.com/[email protected]/msg11235.html
    Old 07-01-2014 , 23:48   [CS:GO] Knife Upgrade 2.5.7 (Saves Knife Selection) **Updated 06-02-2015**
    #1

    Description:
    -Player can type !knife for the "Knife Menu" or !knifename to choose a custom knife skin.
    -Player's knife choice is remembered for future connections.

    Thanks:
    This plugin was inspired by Dkmuniz and Franc1sco

    Supported Custom Knife Skins / Chat Triggers:

    Notes:
    -The custom knife skins only work for players who have the default knives equipped in their inventory.
    -You can restrict access to certain flags only using "sm_knifeupgrade" in overrides.
    -Supports Automatic Update using Updater.
    -Requires Updater to Compile.
    -Requires modified version of colors.inc to compile as well.

    Changelog:
    Spoiler


    3 Examples of an admin_override.cfg (addons/sourcemod/config/admin_overrides.cfg)
    Spoiler


    Config / Cvars: (cfg/sourcemod/sm_knifeupgrade.cfg)
    Spoiler


    IMPORTANT NOTES:
    Code:
    IF YOU ARE RUNNING THIS PLUGIN:
    
    "Deathmatch Goes Advanced" by h3bus
    
    Make sure in Addons/Sourcemod/Config/Deathmatch.ini you have:
    
    "dm_weapons_allow_3rd_party" "1"
    
    If you don't have this set to 1, there is a good chance your server will experience random crashes. 
    Code:
    This plugin is not compatible with the CS:GO built-in deathmatch mode. (+game_type 1 +game_mode 2)
    
    Players must have the default T/CT knife equipped in order to receive a knife skin from this plugin.
    Installation:
    Put knifeupgrade.phrases.txt in addons/sourcemod/translations
    Put sm_knifeupgrade.smx in addons/sourcemod/plugins

    Screenshots:
    Spoiler
    Attached Files
    File Type: cfg sm_knifeupgrade.cfg (2.8 KB, 24759 views)
    File Type: zip smknifeupgrade-2.5.7.zip (34.3 KB, 40013 views)
    __________________



    Last edited by klexen; 06-02-2015 at 06:58. Reason: Update to 2.5.7 (See Changelog)
    klexen is offline
    boombee
    SourceMod Donor
    Join Date: Nov 2013
    Old 07-02-2014 , 01:27   Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
    #2

    will give it a test when I wake up

    EDIT:

    Quote:
    Coming Soon:
    Add knife selection shortcuts to bypass menu. For example:!m9 !huntsman !karambit would equip and save the knife.
    OMG! Please

    Last edited by boombee; 07-02-2014 at 01:28.
    boombee is offline
    klexen
    Senior Member
    Join Date: Sep 2013
    Old 07-02-2014 , 03:51   Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
    #3

    Quote:
    Originally Posted by boombee View Post
    will give it a test when I wake up

    EDIT:



    OMG! Please
    Done.
    __________________


    klexen is offline
    krispx
    Senior Member
    Join Date: Jul 2010
    Old 07-02-2014 , 04:43   Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
    #4

    Hi, jus report this:

    Code:
    L 07/02/2014 - 10:34:53: [SM] Native "GetPlayerWeaponSlot" reported: Client 11 is not in game
    L 07/02/2014 - 10:34:53: [SM] Displaying call stack trace for plugin "sm_knifeupgrade.smx":
    L 07/02/2014 - 10:34:53: [SM]   [0]  Line 157, /home/forums/content/files/2/3/8/4/7/5/135137.attach::Equipknife()
    L 07/02/2014 - 10:34:53: [SM]   [1]  Line 152, /home/forums/content/files/2/3/8/4/7/5/135137.attach::OnSpawn()
    krispx is offline
    klexen
    Senior Member
    Join Date: Sep 2013
    Old 07-02-2014 , 04:59   Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
    #5

    Quote:
    Originally Posted by krispx View Post
    Hi, jus report this:

    Code:
    L 07/02/2014 - 10:34:53: [SM] Native "GetPlayerWeaponSlot" reported: Client 11 is not in game
    L 07/02/2014 - 10:34:53: [SM] Displaying call stack trace for plugin "sm_knifeupgrade.smx":
    L 07/02/2014 - 10:34:53: [SM]   [0]  Line 157, /home/forums/content/files/2/3/8/4/7/5/135137.attach::Equipknife()
    L 07/02/2014 - 10:34:53: [SM]   [1]  Line 152, /home/forums/content/files/2/3/8/4/7/5/135137.attach::OnSpawn()
    Sorry about that. The problem should be fixed now.
    __________________


    klexen is offline
    Ejziponken
    AlliedModders Donor
    Join Date: Apr 2008
    Old 07-02-2014 , 06:53   Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
    #6

    Maybe add a join text that tells how to use the plugin.
    Or make the menu pop when you enter the server.

    Last edited by Ejziponken; 07-02-2014 at 06:53.
    Ejziponken is offline
    primofernando
    Member
    Join Date: Jun 2014
    Old 07-02-2014 , 07:44   Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
    #7

    Does this plugin block the spawn of a knife if the map don't have knife?

    Like some mg that are not to meant to kill.

    If doesn't have can you add it?

    Last edited by primofernando; 07-02-2014 at 08:10.
    primofernando is offline
    boombee
    SourceMod Donor
    Join Date: Nov 2013
    Old 07-02-2014 , 11:14   Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
    #8

    Quote:
    Originally Posted by primofernando View Post
    Does this plugin block the spawn of a knife if the map don't have knife?

    Like some mg that are not to meant to kill.

    If doesn't have can you add it?
    If you disable to not kill, it'll apply on all maps. Better make a GOD mod map by map or on those maps you can give people extra hp and allow healing.
    boombee is offline
    primofernando
    Member
    Join Date: Jun 2014
    Old 07-02-2014 , 13:45   Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
    #9

    Quote:
    Originally Posted by boombee View Post
    If you disable to not kill, it'll apply on all maps. Better make a GOD mod map by map or on those maps you can give people extra hp and allow healing.
    Good news,

    I tested it on server and it only spawn knife if you have one so the maps that don't have knife the knife doesn't spawn
    primofernando is offline
    boombee
    SourceMod Donor
    Join Date: Nov 2013
    Old 07-02-2014 , 14:14   Re: [CS:GO] Custom Knife Skin (Saves Knife Selection)
    #10

    Quote:
    Originally Posted by primofernando View Post
    Good news,

    I tested it on server and it only spawn knife if you have one so the maps that don't have knife the knife doesn't spawn
    Oh I forgot about this .

    OP: Maybe add a cvar to give knives at spawn? Would be good for maps/servers that usually dont give knife at spawn.
    boombee is offline
    Closed Thread


    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 05:40.


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