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

[TF2] Taunt Rate Limiter


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Plugin ID:
3676
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Prevents players from spamming taunts, and crashing the server :/
    Old 06-03-2013 , 10:06   [TF2] Taunt Rate Limiter
    Reply With Quote #1

    Allows you to block taunts based on time
    Allows you to block action taunts

    CVARs:
    ftauntlimit_version: version number, for tracking (don't change) - lol
    sm_taunt_flags: (0) - Flag bits for filter
    sm_taunt_primary: (0) - Taunt delay after normal taunts (0 for no delay, negative to block all)
    sm_taunt_action: (-1) - Taunt delay after action slot items (0 for no delay, negative to block all)

    *Filter Flags (you add them up, and use that value for the flags cvar):
    - this works by excluding players based on teams:

    Ignore Red Primary Taunts: 1
    Ignore Blue Primary Taunts: 2
    Ignore Red Action Taunts: 4
    Ignore Blue Action Taunts: 8

    If for example you want to block all taunts, but allow blue to use primary only, you'd set:
    sm_taunt_primary -1 (to block all primary taunts)
    sm_taunt_action -1 (to block all action taunts)
    sm_taunt_flags 2 (to ignore blue players from checks and allow them to taunt)

    Code:
    2013-6-3 (v1.0)
    * Initial Release
    
    2013-6-4 (v1.1)
    * Removed redundant code
    
    2014-6-20 (v1.2)
    * Added option to block action taunts
    * Removed old code that no longer worked for taunts
    
    2014-6-23 (v1.3)
    * Fixed a bug where filter flags were getting clamped at 8 :|
    Installation:
    - Put SMX in plugins directory
    Attached Files
    File Type: sp Get Plugin or Get Source (tauntfix.sp - 1058 views - 5.2 KB)
    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.

    Last edited by friagram; 06-24-2014 at 02:08. Reason: Updated
    friagram is offline
     



    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 13:45.


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