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

[TF2] Caber Taunt Kill


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Plugin ID:
3088
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Get taunt kills with the Caber!
    Old 07-15-2012 , 14:38   [TF2] Caber Taunt Kill
    Reply With Quote #1

    Ever noticed how, when taunting with the Ullapool Caber, anyone in front of you while you swing the weapon should rightfully be dead? Yep, this fixes that.

    Taunt kills made with an unbroken caber will break it, deal a little more damage, and deal massive damage to other enemies in the area (and you)

    HOW TO INSTALL

    Drag and drop!

    CVARS
    • sm_cabertaunt_dist (def. 150.0) - Distance between you and the guy in front of you needs to be less than this for the taunt to connect.
    • sm_cabertaunt_explode (def. 600) - Damage done with an unbroken caber's taunt (to the guy you're directly hitting)
    • sm_cabertaunt_broken (def. 500) - Same as explode, but for when the caber has already been ker-boomed.
    • sm_cabertaunt_radiusdist (def. 150.0) - If another enemy is this close to you when you taunt kill with an unbroken caber, they'll go boom too.
    • sm_cabertaunt_radiusdmg (def. 200) - Damage done by the unbroken explosion, to enemies who you didn't directly aim at.
    • sm_cabertaunt_radiusselfdmg (def. 50) - Damage done to yourself by said explosion.
    • sm_cabertaunt_hitdelay (def. 3.8) - Delay between the taunt and the actual taunt attack.

    DEMONSTRATION
    Attached Files
    File Type: sp Get Plugin or Get Source (cabertauntkill.sp - 2761 views - 6.7 KB)
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)

    Last edited by MasterOfTheXP; 10-17-2012 at 04:12.
    MasterOfTheXP is offline
    hinehine10
    Junior Member
    Join Date: Aug 2011
    Old 07-15-2012 , 15:59   Re: [TF2] Caber Taunt Kill 1.0
    Reply With Quote #2

    Heh that's cool! Demospam approves!
    hinehine10 is offline
    otterfiend
    Junior Member
    Join Date: Sep 2011
    Old 07-15-2012 , 19:41   Re: [TF2] Caber Taunt Kill 1.0
    Reply With Quote #3

    Draganddrop.avi is gone? i am saddened
    __________________
    -Otterfiend Von Karma
    otterfiend is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 07-15-2012 , 21:00   Re: [TF2] Caber Taunt Kill 1.0
    Reply With Quote #4

    I love you.
    Drixevel is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 07-16-2012 , 09:26   Re: [TF2] Caber Taunt Kill 1.0
    Reply With Quote #5

    Yes, lets give the most overpowered weapon in the game a taunt kill! What could possibly go wrong?!
    __________________
    Not currently working on SourceMod plugin development.
    Powerlord is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 07-17-2012 , 10:04   Re: [TF2] Caber Taunt Kill 1.0
    Reply With Quote #6

    Quote:
    Originally Posted by otterfiend View Post
    Draganddrop.avi is gone? i am saddened
    Here, I revived it.
    bl4nk is offline
    MasterOfTheXP
    Veteran Member
    Join Date: Aug 2011
    Location: Cloudbank
    Old 07-17-2012 , 13:32   Re: [TF2] Caber Taunt Kill 1.0
    Reply With Quote #7

    Quote:
    Originally Posted by Powerlord View Post
    Yes, lets give the most overpowered weapon in the game a taunt kill! What could possibly go wrong?!
    Overpowered? Naw, perhaps just overused. But either way, I couldn't stand to see such a taunt, where the Demo swings the caber and hits people, not actually being an attack.
    Quote:
    Originally Posted by bl4nk View Post
    Here, I revived it.
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
    MasterOfTheXP is offline
    asherkin
    SourceMod Developer
    Join Date: Aug 2009
    Location: OnGameFrame()
    Old 08-16-2012 , 11:03   Re: [TF2] Caber Taunt Kill 1.0
    Reply With Quote #8

    Overall, the code could do with a bit of a cleanup, the style is lacking in maintainability.

    caberDmg being a global could cause issues with multiple taunt-kills at once, you should make it an array per-client.

    You should cache the lookup of mp_friendlyfire.

    PrecacheSound should be done OnMapStart.

    Code:
    	if (caberDmg == 1) SetEventString(event, "weapon_logclassname", "taunt_caber");
    	if (caberDmg == 2) SetEventString(event, "weapon_logclassname", "taunt_caber");
    Why bother checking?
    __________________
    asherkin is offline
    UsernameInvalid
    Junior Member
    Join Date: Mar 2013
    Old 03-12-2013 , 17:39   Re: [TF2] Caber Taunt Kill
    Reply With Quote #9

    Just a heads up that this is currently kind of broken. I've yet to nail down what causes it exactly, but under certain circumstances you can trigger the tauntkill while using a weapon that isn't the Caber, so long as the caber is equip in the melee slot.

    What I do know is that it has nothing to do with quickly switching from the caber to the other weapon. You can spawn holding the grenade launcher, walk up to somebody with the GL still out and pull it off.
    UsernameInvalid is offline
    MasterOfTheXP
    Veteran Member
    Join Date: Aug 2011
    Location: Cloudbank
    Old 03-12-2013 , 17:43   Re: [TF2] Caber Taunt Kill
    Reply With Quote #10

    Hmmmm....yeah. It doesn't actually check if the Caber is the currently active weapon when using the taunt command. Dunno how I missed that.

    There's also an issue if you taunt while running off a ledge, you can start taunting after that and do the taunt kill twice, because I'm too lazy to use timers properly.

    But I'll try to fix all of this tonight. For real. It is pretty broken, in those regards.
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
    MasterOfTheXP 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 03:46.


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