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

[TF2] Targeted Crits


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Spazman0
Member
Join Date: Jul 2008
Plugin ID:
1187
Plugin Version:
0.1
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    81 
    Plugin Description:
    Change a single target's critical chance.
    Old 09-27-2009 , 23:39   [TF2] Targeted Crits
    Reply With Quote #1

    Targeted Crits - By Spazman0.

    I've had this sitting around for ages, but didn't release it as I didn't really think it fit in with any of my other plugins. Decided to release it, as AFAIK there isn't one out there.

    Admin command:

    sm_crits *target* *0.00-1.00* - Sets a target's crit chance. 0 returns it to normal. It is a decimal e.g. 0.5 is 50% chance.
    Attached Files
    File Type: sp Get Plugin or Get Source (TargetCrits.sp - 6046 views - 3.4 KB)
    Spazman0 is offline
    noodleboy347
    AlliedModders Donor
    Join Date: Mar 2009
    Old 09-28-2009 , 01:12   Re: [TF2] Targeted Crits
    Reply With Quote #2

    Thank you so much for this.

    Could you add the crit boost effects for if it's set to 1? Like First Blood and the Kritzkrieg- the glowing weapon effect?
    noodleboy347 is offline
    DeJaDeW
    SourceMod Donor
    Join Date: Jul 2009
    Location: California
    Old 09-30-2009 , 10:28   Re: [TF2] Targeted Crits
    Reply With Quote #3

    Thanks! it works fine.
    DeJaDeW is offline
    TheSpyHunter
    Senior Member
    Join Date: Jul 2009
    Old 10-01-2009 , 20:01   Re: [TF2] Targeted Crits
    Reply With Quote #4

    Thanks dude, great stuff!
    __________________
    TheSpyHunter is offline
    Ginxeng
    Senior Member
    Join Date: Nov 2009
    Location: Timber Doodle
    Old 11-02-2009 , 23:28   Re: [TF2] Targeted Crits
    Reply With Quote #5

    I got this and it works great but I have a question. Is there something I can do so that it wont annouce who is getting crits?
    Ginxeng is offline
    Send a message via AIM to Ginxeng Send a message via MSN to Ginxeng Send a message via Skype™ to Ginxeng
    noodleboy347
    AlliedModders Donor
    Join Date: Mar 2009
    Old 11-02-2009 , 23:44   Re: [TF2] Targeted Crits
    Reply With Quote #6

    Quote:
    Originally Posted by Ginxeng View Post
    I got this and it works great but I have a question. Is there something I can do so that it wont annouce who is getting crits?
    Remove this:

    PHP Code:
        ShowActivity2(client"[SM] ""Toggled crits chance on target '%s'"target_name); 
    noodleboy347 is offline
    Ginxeng
    Senior Member
    Join Date: Nov 2009
    Location: Timber Doodle
    Old 11-03-2009 , 02:00   Re: [TF2] Targeted Crits
    Reply With Quote #7

    Thanks, that worked.
    Ginxeng is offline
    Send a message via AIM to Ginxeng Send a message via MSN to Ginxeng Send a message via Skype™ to Ginxeng
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-03-2009 , 03:04   Re: [TF2] Targeted Crits
    Reply With Quote #8

    Quote:
    Originally Posted by noodleboy347 View Post
    Remove this:

    PHP Code:
        ShowActivity2(client"[SM] ""Toggled crits chance on target '%s'"target_name); 
    Correct me if I'm wrong, but that only prints to the admin toggling the crits doesn't it?
    __________________
    DarthNinja is offline
    Ginxeng
    Senior Member
    Join Date: Nov 2009
    Location: Timber Doodle
    Old 11-03-2009 , 04:50   Re: [TF2] Targeted Crits
    Reply With Quote #9

    No it would annouce so everyone would see it.
    Ginxeng is offline
    Send a message via AIM to Ginxeng Send a message via MSN to Ginxeng Send a message via Skype™ to Ginxeng
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 11-03-2009 , 06:04   Re: [TF2] Targeted Crits
    Reply With Quote #10

    Quote:
    Originally Posted by Ginxeng View Post
    No it would annouce so everyone would see it.
    Yea, your right, I was thinking of "PrintToChat"
    __________________
    DarthNinja 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 15:57.


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