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

[TF2]Killstreak


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Plugin ID:
4068
Plugin Version:
1.8
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    236 
    Plugin Description:
    Enables a Killstreak
    Old 01-28-2014 , 16:25   [TF2]Killstreak
    Reply With Quote #1

    Description:

    This plugin allows players with the proper flag to enable a killstreak on themselves. If you aren't holding a killstreak weapon you will only get the killstreak listed on the scoreboard, but no effect on the player. Special thanks to Kredit for fixing up the plugin.

    Usage:

    Set your killstreak to the sm_killstreak_amount:
    sm_ks
    !ks
    /ks

    You can also set your own killstreak amount:
    sm_ks #
    !ks #
    /ks #

    Cvars:

    sm_ks_version - Current version of plugin.
    sm_killstreak_amount - Number of killstreaks to enable on the player when activated, default 10.

    Overrides:

    "sm_ks" set this to allow access to players, default is o, set blank to allow anyone to use.

    Changelog:

    1.0- 1/28/14
    Release

    1.1- 1/29/14
    Added cvar sm_ks_version

    1.2- 1/29/14
    Added some suggestions from Mitchell(THANKS!) including ability to turn on and off.

    1.3- 11/16/14
    Redid the whole plugin, added the ability to set your own killstreak, uses clientprefs, fixed up some bugs. The toggle works properly now.

    1.4- 11/19/14
    Fixed a small bug.

    1.5- 12/9/14
    Fixed to work with latest TF2 update changes.

    1.6- 12/11/14
    Bug Fix.

    1.7- 12/18/14
    Tiny edit in code.

    1.8- 1/3/15
    Fixed some errors.
    Attached Files
    File Type: sp Get Plugin or Get Source (killstreak.sp - 8655 views - 4.1 KB)
    __________________

    Last edited by Dr_Knuckles; 05-25-2016 at 22:34. Reason: cleaning up thread
    Dr_Knuckles is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 01-28-2014 , 17:19   Re: Killstreak
    Reply With Quote #2

    Quote:
    Originally Posted by Dr_Knuckles View Post
    I guess you could say that. I made this to add to my VIP system. I don't really care to give my VIPs mini crits etc. My VIPs mainly get cosmetic effects, I don't need them running around wrecking normal players.
    Nevermind then i thought there was already a plugin that did this.
    Mitchell is offline
    Dr_Knuckles
    AlliedModders Donor
    Join Date: Mar 2005
    Location: SW Florida
    Old 01-28-2014 , 17:20   Re: Killstreak
    Reply With Quote #3

    Quote:
    Originally Posted by Mitchell View Post
    Nevermind then i thought there was already a plugin that did this.
    There may be but I couldn't find one.
    __________________
    Dr_Knuckles is offline
    404UserNotFound
    BANNED
    Join Date: Dec 2011
    Old 01-28-2014 , 18:23   Re: Killstreak
    Reply With Quote #4

    Quote:
    Originally Posted by Dr_Knuckles View Post
    There may be but I couldn't find one.
    There isn't. This is most likely the first actual killstreak quality weapon-based plugin. That Kill Streak Tracker has nothing to do with the killstreak weapons because the plugin was released back in July 2013.
    404UserNotFound is offline
    Dr_Knuckles
    AlliedModders Donor
    Join Date: Mar 2005
    Location: SW Florida
    Old 01-28-2014 , 21:52   Re: Killstreak
    Reply With Quote #5

    The plugin is out there, ive been hearing about it from players on my servers but I couldn't find one anywhere, plus I have been seeing quite a few !kson in my unusual trade server. So, here is one for the rest of us not privy to those private coders. Hopefully I cleaned it up enough for release, never released anything for sourcemod before.
    __________________
    Dr_Knuckles is offline
    AeroAcrobat
    AlliedModders Donor
    Join Date: Apr 2011
    Location: lives in a circus
    Old 01-28-2014 , 23:29   Re: Killstreak
    Reply With Quote #6

    Quote:
    Originally Posted by Dr_Knuckles View Post
    The plugin is out there, ive been hearing about it from players on my servers but I couldn't find one anywhere, plus I have been seeing quite a few !kson in my unusual trade server. So, here is one for the rest of us not privy to those private coders. Hopefully I cleaned it up enough for release, never released anything for sourcemod before.
    Sounds like this one:
    Code:
    #pragma semicolon 1
    #include <sourcemod>
    
    public OnPluginStart()
    {
        RegConsoleCmd( "sm_kson", Cmd_Enable );
    }
    
    public Action:Cmd_Enable( client, args )
    {
        SetEntProp( client, Prop_Send, "m_iKillStreak", 100 );
        return Plugin_Handled;
    }
    __________________

    Last edited by AeroAcrobat; 01-28-2014 at 23:29.
    AeroAcrobat is offline
    Dr_Knuckles
    AlliedModders Donor
    Join Date: Mar 2005
    Location: SW Florida
    Old 01-28-2014 , 23:38   Re: Killstreak
    Reply With Quote #7

    Quote:
    Originally Posted by AeroAcrobat View Post
    Sounds like this one:
    Code:
    #pragma semicolon 1
    #include <sourcemod>
    
    public OnPluginStart()
    {
        RegConsoleCmd( "sm_kson", Cmd_Enable );
    }
    
    public Action:Cmd_Enable( client, args )
    {
        SetEntProp( client, Prop_Send, "m_iKillStreak", 100 );
        return Plugin_Handled;
    }
    Thanks for your contribution, but that isn't going to be approved.
    __________________
    Dr_Knuckles is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 01-29-2014 , 09:42   Re: Killstreak
    Reply With Quote #8

    Quote:
    Originally Posted by Dr_Knuckles View Post
    Thanks for your contribution, but that isn't going to be approved.
    That was the plugin you were speaking of, it was buried some where in the request area, yet the author never released it.
    Mitchell is offline
    Dr_Knuckles
    AlliedModders Donor
    Join Date: Mar 2005
    Location: SW Florida
    Old 01-29-2014 , 09:47   Re: Killstreak
    Reply With Quote #9

    Oh, well alright then
    __________________
    Dr_Knuckles is offline
    Happy DODs player
    AlliedModders Donor
    Join Date: Sep 2009
    Old 01-29-2014 , 09:51   Re: Killstreak
    Reply With Quote #10

    thanks,

    can it made public so that everybody can use it ingame. A overide or in a cfg file.?
    __________________
    Happy DODs player 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 19:45.


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