View Single Post
Author Message
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 12-29-2014 , 13:48   [TF2] Taunt Time Limit 0x06 (Last updated 8/4/2017 | 5:43PM CDT)
Reply With Quote #1

[TF2] Taunt Time Limit
Before you give a suggestion, read the TODO list. It's probably already there.

Description:
  • Forces players to stop special taunts (such as conga) after 5 seconds.

    They cannot special taunt again until 15 seconds have passed from when they started taunting.

    This was made for some friends of mine, so extra functionality will come whenever I feel like it.

Convars: tf/cfg/sourcemod/tauntlimiter.cfg
  • cv_taunt_timelimit [Default: "5.0"] - After this many seconds, special taunt will be forcibly stopped.
  • cv_taunt_blocktime [Default: "15.0"] - After initiating special taunt, cannot special taunt again for this many seconds.
Installation:
  • Get Plugin & Drag n' Drop to tf/addons/sourcemod/plugins/
Changelist:
Quote:
0x06 (8/4/2017 | 5:43PM)

* Updated plugin to work for ALL equippable taunts.
* Plugin will catch any new taunts that are added to the game.
* Changed method for blocking special taunts.
* Generalized the naming scheme of the plugin.

0x03 (3/28/2015 | 5:24AM)

* Added convar for how long after starting conga to stop it.
* Added convar for how long after starting conga to continue blocking reusing it.
* Added version cvar.

0x02 (12/30/2014 | 1:24PM)

* Simplified the code a lot.
* Probably fixed the cases that allowed people to bypass this block.
* Must wait 15 seconds again before congaing again.

0x01 (12/29/2014 | 12:37PM)

* Initial release!
TODO: (As I get to it)
Spoiler

Credits:
  • Most of this is rswallen's code that was posted in another discussion.
  • No I really did almost nothing.
  • Friagram for reminding me Valve updated taunt stuff.
Want support?
  • Post questions and...
    Post a question on my steam profile if you have questions not related to this plugin.
Wanna support me?
  • Post suggestions (read the TODO list first) and...
    Join TF2Data and play on our servers! ;p
    (See siggy for links!)
GitHub Link:
https://github.com/Chdata/TF2-Taunt-Time-Limit
Attached Files
File Type: sp Get Plugin or Get Source (tauntlimiter.sp - 972 views - 5.2 KB)
__________________

Last edited by Chdata; 08-04-2017 at 19:13.
Chdata is offline