AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Taunt Blocker Extended (06.03.2019) (https://forums.alliedmods.net/showthread.php?t=285343)

luki1412 07-18-2016 11:50

[TF2] Taunt Blocker Extended (06.03.2019)
 
3 Attachment(s)
http://i.imgur.com/SMYEj3t.jpg

Description:
This plugin blocks taunts, taunt items or taunt damage, based on team or admin flags.

Cvars:
PHP Code:

sm_tbe_version //version cvar - do not edit
sm_tbe_enabled 1 //enable disable this plugin
sm_tbe_allowtaunts 1 //0-block taunts for everyone, 
//1-allow taunts for everyone, 
//2-allow taunts for red, 
//3-allow taunts for blu, 
//4-allow taunts for admins
sm_tbe_allowtauntdamagetoplayers 0 //0-block tauntdamage for everyone, 
//1-allow everyone to do damage with taunts, 
//2-allow red to do damage with taunts, 
//3-allow blue to do damage with taunts, 
//4-allow admins to do damage with taunts
sm_tbe_allowtauntdamagetobuildings 0 //0-block tauntdamage for everyone, 
//1-allow everyone to do damage with taunts, 
//2-allow red to do damage with taunts, 
//3-allow blue to do damage with taunts, 
//4-allow admins to do damage with taunts
sm_tbe_allowtauntitems 1 //blocks taunts based on taunt items. sm_tbe_allowtaunts blocks taunts before this, so make sure you set it correctly.
//0-block specified taunt items for everyone, 
//1-allow everyone to do taunts, 
//2-allow red to use specified taunt items, 
//3-allow blue to use specified taunt items, 
//4-allow admins to use specified taunt items
sm_tbe_allowtauntitemstimer 0 // Timer for taunt items. Players will be forced to stop taunting when this runs out. 0 = no timer, instant stop. The smallest possible interval is 0.1 seconds.
sm_tbe_adminflag "b" //admin flag needed to be able to taunt(do damage with taunts) if sm_tbe_allowtauntdamage, sm_tbe_allowtauntitems or sm_tbe_allowtaunts are equal to 4 

Commands:
sm_tbe_reloadtauntitems - reloads the ini file. Requires ADMFLAG_GENERIC admin flag.

Installation:


Credits:
Chdata - for his conga blocking plugin - https://forums.alliedmods.net/showthread.php?p=2241567
TonyBaretta - for the conga blocking idea

Changelog:

kelvin31 08-04-2016 00:41

Re: [TF2] Taunt Blocker Extended (28.07.2016)
 
can you add taunt timer ?
e.g. limit conga time to 30 sec

luki1412 08-04-2016 06:42

Re: [TF2] Taunt Blocker Extended (28.07.2016)
 
Quote:

Originally Posted by kelvin31 (Post 2442116)
can you add taunt timer ?
e.g. limit conga time to 30 sec

I dont think its possible to check what taunt is player actually doing. Would have to stop any taunt after 30s.

TonyBaretta 08-05-2016 03:54

Re: [TF2] Taunt Blocker Extended (28.07.2016)
 
yes you can https://forums.alliedmods.net/showthread.php?p=2241567 ,Chdata made this 2 years ago , block all the taunts is really annoing and btw it's a simple block command :|

Edit : just for info Valve Fixed that bug about client owerflow

- Fixed a client crash related to the animation system
- Fixed a bug where players in looping taunts could sometimes cause other clients to drop from the server

luki1412 08-05-2016 06:06

Re: [TF2] Taunt Blocker Extended (28.07.2016)
 
Quote:

Originally Posted by TonyBaretta (Post 2442420)
yes you can https://forums.alliedmods.net/showthread.php?p=2241567 ,Chdata made this 2 years ago , block all the taunts is really annoing and btw it's a simple block command :|

Edit : just for info Valve Fixed that bug about client owerflow

- Fixed a client crash related to the animation system
- Fixed a bug where players in looping taunts could sometimes cause other clients to drop from the server

Yes but you have to start taunting in order for this to work, but ok I'll add it. Thanks.

luki1412 08-08-2016 16:42

Re: [TF2] Taunt Blocker Extended (28.07.2016)
 
Updated, added taunt blocker based on item indexes.

lugui 02-08-2019 08:43

Re: [TF2] Taunt Blocker Extended (27.12.2017)
 
TauntBlockerExtended.sp
D:\Downloads\TauntBlockerExtended.sp(146) : error 017: undefined symbol "TF_CUSTOM_TAUNTATK_GASBLAST"
D:\Downloads\TauntBlockerExtended.sp(162) : error 017: undefined symbol "TF_CUSTOM_TAUNTATK_GASBLAST"
D:\Downloads\TauntBlockerExtended.sp(175) : error 017: undefined symbol "TF_CUSTOM_TAUNTATK_GASBLAST"
D:\Downloads\TauntBlockerExtended.sp(193) : error 017: undefined symbol "TF_CUSTOM_TAUNTATK_GASBLAST"
Done

lugui 02-08-2019 09:16

Re: [TF2] Taunt Blocker Extended (27.12.2017)
 
I removed the TF_CUSTOM_TAUNTATK_GASBLAST and compilled.
I tested it with: sm_tbe_allowtauntdamage 0 and it allows damage to buildings

lugui 02-08-2019 09:20

Re: [TF2] Taunt Blocker Extended (27.12.2017)
 
Is there a way to blobk the default taunts (double G press)?

Mitchell 02-08-2019 10:52

Re: [TF2] Taunt Blocker Extended (27.12.2017)
 
Quote:

Originally Posted by lugui (Post 2638685)
Is there a way to blobk the default taunts (double G press)?

Pretty sure double g is "taunt 0"


All times are GMT -4. The time now is 03:08.

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