Raised This Month: $7 Target: $400
 1% 

[TF2] Taunt Speed Modifier v.2.2 (Updated: April 5, 2017)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Plugin ID:
3804
Plugin Version:
2.2
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
116 
Plugin Description:
Changes the taunt animation/kill speed of a player.
Old 07-31-2013 , 18:37   [TF2] Taunt Speed Modifier v.2.2 (Updated: April 5, 2017)
Reply With Quote #1

[TF2] Taunt Speed Modifier v.2.2


Description:
Quote:
Changes the taunt animation/kill speeds
Dependency:
Quote:
Convars:
Quote:
  • sm_tauntspeed_enabled - [1/0] - Enables/Disables Taunt Speed Modifier
  • sm_tauntspeed_flag - Enable taunt speed on players with the given flag [0 - OFF, 1 - PUBLIC, FLAG (https://wiki.alliedmods.net/Adding_A...rceMod)#Levels)]
  • sm_tauntspeed_speed - The speed of taunt if player has the flag given in sm_tauntspeed_flag
  • sm_tauntspeed_attack - Allow taunt attack timing to be changed with the taunt speed
  • sm_tauntspeed_voice - Allow voice pitch to be changed with taunt speed
Commands:
Quote:
Both commands admin generic, use admin overrides to override https://wiki.alliedmods.net/Overridi...ess_(Sourcemod)
  • sm_tauntspeed <target> <float:value> - Enables Taunt Speed on players (E.g sm_tauntspeed @all 2.0)
  • sm_tauntspeedme - Enable Taunt Speed on yourself (A menu is displayed)
Installation:
Quote:
  • Place tauntspeed.smx to addons/sourcemod/plugins/
  • Place tauntspeed_menu.cfg to addons/sourcemod/configs/
  • Place tauntspeed_exclude.cfg to addons/sourcemod/configs/
  • Place tf2.tauntspeed to addons/sourcemod/gamedata
  • Place taunt.cfg to cfg/sourcemod/
Natives:
PHP Code:
/**
 * Sets the taunt gesture speed on client
 *
 * @param client    An integer.
 * @param value        A float.
 * @return
 */
native void SetGestureSpeed(int clientfloat value);

/**
 * Sets the voice pitch on client
 *
 * @param client     An integer.
 * @return
 */
native void SetVoicePitch(int clientfloat value);

/**
 * Sets the taunt attack speed on client
 * Should be used on the TF2_OnConditionAdded forward
 *
 * @param client     An integer.
 * @return
 */
native void SetTauntAttackSpeed(int clientfloat value);

/**
 * Removes the taunt gesture speed on client
 *
 * @param client     An integer.
 * @return
 */
native void RemoveGestureSpeed(int client);

/**
 * Removes the voice pitch on client
 *
 * @param client     An integer.
 * @return
 */
native void RemoveVoicePitch(int client); 
Configuration Menu:
Quote:
  • Under sourcemod/config/tauntspeed_menu.cfg you can configure the menu settings.
Code:
"Taunt Speed"
{
	//1.0 is normal speed
	"Very Slow"
	{
		"Speed"			"0.2"
	}
	"Slow"
	{
		"Speed"			"0.5"
	}
	"Regular"
	{
		"Speed"			"1.0"
	}
	"Fast"
	{
		"Speed"			"1.5"
	}
	"Very Fast"
	{
		"Speed"			"2.0"
	}
	"WTF"
	{
		"Speed"			"5.0"
	}
}
Configuration Exclusion:
Quote:
  • Under sourcemod/config/tauntspeed_exclude.cfg you can block taunt speeds on certain weapon index or action taunts.
Code:
"Taunt Speed Exclude"
{
	//Weapon Index can be found here: https://wiki.alliedmods.net/Team_Fortress_2_Item_Definition_Indexes
	//Each index must be seperated by a ;
	//For example: "5;7;867;342;64"
	"Weapon Index"  ""

	//Taunt Index can be found in the original post thread of this plugin
	//Each index must be seperated by a ;
	//For example: "5;7;867;342;64"
	"Taunt Index" ""
}
Taunt Index:
Quote:
Code:
High Five Taunt - 167
Replay Taunt - 438
Laugh Taunt - 463
Meet the Medic Heroic Taunt - 477
Shred Alert Taunt - 1015
Square Dance Taunt - 1106
Flippin' Awesome Taunt - 1107
Buy A Life Taunt - 1108
Results Are In Taunt 1109
RPS Taunt - 1110
Skullcracker Taunt - 1111
Party Trick Taunt - 1112
Fresh Brewed Victory Taunt - 1113
Spent Well Spirits Taunt - 1114
Rancho Relaxo Taunt - 1115
I See You Taunt - 1116
Battin' a Thousand Taunt - 1117
Conga Taunt - 1118
Deep Fried Desire Taunt - 1119
Oblooterated Taunt - 1120
The Kazotsky Kick - 1157
Pool Party Taunt - 30570
The Boston Breakdance Taunt - 30572
The Killer Solo Taunt - 30609
Most Wanted Taunt - 30614
The Proletariat Posedown Taunt - 30616
The Box Trot Taunt - 30615
The Kazotsky Kick Taunt - 1157
The Burstchester Taunt - 30621
Requiem Taunt - 30673
Zooming Broom Taunt - 30672
Mannrobics Taunt - 1162
Bad Pipes Taunt - 30671
Bucking Bronco Taunt - 30618
Disco Fever Taunt - 30762
Balloonibouncer Taunt - 30763
The Fubar Fanfare Taunt - 30761
The Carlton Taunt - 1168
The Victory Lap Taunt - 1172
The Second Rate Sorcery Taunt - 30816
The Table Tantrum taunt - 1174
The Scotsmann's Stagger Taunt - 30840
The Didgeridrongo Taunt - 30839
Credit:
Quote:
Pelipoika - For helping me figure out how to change the speed of taunt kills
Version:
Quote:
v.2.2 -
  • Small update to natives/registering natives
v.2.1 -
  • Taunt Speed/Voice removed properly on plugin unloaded
  • Removed SetTauntSpeed/RemoveTauntSpeed natives
  • Added SetGestureSpeed/SetVoicePitch/SetTauntAttackSpeed/RemoveGestureSpeed/RemoveVoicePitch natives
  • Added convar sm_tauntspeed_attack to set whether or not to change the attack time of taunts
  • Added convar sm_tauntspeed_voice to set whether or not to change the voice pitch of taunts
  • Fixed issue with taunt duration on very slow getting cut too early/very fast getting stuck after taunting
v.2.0 - Rewritten
  • Special taunts/taunt kills can now properly change with the animation (see the new video)
  • Voice pitch will now change depending on how fast/slow your taunt is
  • You can now disable taunt speeds on certain weapon taunts or action taunts under tauntspeed_exclude.cfg
  • taunt_speed.cfg renamed to tauntspeed_menu.cfg
  • Convars renamed, please see O.P
  • Added natives that other plugins can call
  • Plugin requires gamedata file
v.1.0 - Released
Download
Source
__________________

Last edited by Chaosxk; 04-23-2017 at 17:12.
Chaosxk is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 08-01-2013 , 02:33   Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
Reply With Quote #2

This may be the most amusing thing since I installed player re-sizing. Also, is it possible to put people in constant slow motion instead of only when they taunt or attack?

Last edited by Mr. Man; 08-01-2013 at 02:39.
Mr. Man is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 08-01-2013 , 15:34   Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
Reply With Quote #3

Quote:
Originally Posted by Mr. Man View Post
This may be the most amusing thing since I installed player re-sizing. Also, is it possible to put people in constant slow motion instead of only when they taunt or attack?

Don't think so since all this plugin does is add attribute #201 to player. Unless Valve adds a new attribute that does that.
__________________

Last edited by Chaosxk; 08-01-2013 at 15:35.
Chaosxk is offline
captaindeterprimary
AlliedModders Donor
Join Date: Sep 2012
Old 08-01-2013 , 17:02   Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
Reply With Quote #4

Cool will totally try this out.
__________________
Last edited by ; Today at 08:20 AM. Reason: Get rid of s
captaindeterprimary is offline
xDeRpYx
Member
Join Date: May 2012
Location: New York
Old 08-10-2013 , 22:10   Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
Reply With Quote #5

Code:
[SM] Loaded plugin tauntspeed.smx successfully.
L 08/10/2013 - 21:06:05: [SM] Native "TF2Attrib_SetByName" reported: Plugin owning this native is currently paused.
L 08/10/2013 - 21:06:05: [SM] Displaying call stack trace for plugin "tauntspeed.smx":
L 08/10/2013 - 21:06:05: [SM]   [0]  Line 274, tauntspeed.sp::AddAttribute()
L 08/10/2013 - 21:06:05: [SM]   [1]  Line 85, tauntspeed.sp::OnConfigsExecuted()
Getting that when loading the plugin resulting it not to work. I've installed tf2attributes..so whatdo?
xDeRpYx is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 08-10-2013 , 23:52   Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
Reply With Quote #6

Quote:
Originally Posted by xDeRpYx View Post
Getting that when loading the plugin resulting it not to work. I've installed tf2attributes..so whatdo?

Read the instructions,
Install TF2Attributes
and read his instructions on how to properly install it.
__________________

Last edited by Chaosxk; 08-10-2013 at 23:52.
Chaosxk is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 08-11-2013 , 01:11   Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
Reply With Quote #7

Chaosxk, you should add TF2Att to the "Dependencies" section when you're editing the main post.
It's next to where you put the version cvar in, and TF2Att is ID 3560.

EDIT: I just noticed that new plugins don't have that show up once the post is saved, only approved ones do. I guess that makes my reminder moot.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 08-11-2013 at 01:34.
FlaminSarge is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 08-11-2013 , 02:10   Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
Reply With Quote #8

Added it anyways if this plugin gets approved in the future.
__________________

Last edited by Chaosxk; 08-11-2013 at 02:10.
Chaosxk is offline
StayOx
SourceMod Donor
Join Date: Jun 2012
Location: Gliese 581g
Old 10-12-2013 , 03:41   Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
Reply With Quote #9

after the last update for tf2 yesterday, the plugin stopped working.

PHP Code:
L 10/11/2013 10:36:54: [SMDisplaying call stack trace for plugin "tauntspeed.smx":
L 10/11/2013 10:36:54: [SM]   [0]  Line 280tauntspeed.sp::RemoveAttribute()
L 10/11/2013 10:36:54: [SM]   [1]  Line 156tauntspeed.sp::OnClientDisconnect()
L 10/11/2013 10:37:12: [SMNative "TF2Attrib_RemoveByName" reportedPlugin owning this native is currently paused.
L 10/11/2013 10:37:12: [SMDisplaying call stack trace for plugin "tauntspeed.smx":
L 10/11/2013 10:37:12: [SM]   [0]  Line 280tauntspeed.sp::RemoveAttribute()
L 10/11/2013 10:37:12: [SM]   [1]  Line 156tauntspeed.sp::OnClientDisconnect()
L 10/11/2013 10:47:22: [SMNative "TF2Attrib_RemoveByName" reportedPlugin owning this native is currently paused.
L 10/11/2013 10:47:22: [SMDisplaying call stack trace for plugin "tauntspeed.smx":
L 10/11/2013 10:47:22: [SM]   [0]  Line 280tauntspeed.sp::RemoveAttribute()
L 10/11/2013 10:47:22: [SM]   [1]  Line 156tauntspeed.sp::OnClientDisconnect()
L 10/11/2013 10:57:35: [SMNative "TF2Attrib_RemoveByName" reportedPlugin owning this native is currently paused
StayOx is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 10-12-2013 , 04:21   Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
Reply With Quote #10

Quote:
Originally Posted by StayOx View Post
after the last update for tf2 yesterday, the plugin stopped working.

PHP Code:
L 10/11/2013 10:36:54: [SMDisplaying call stack trace for plugin "tauntspeed.smx":
L 10/11/2013 10:36:54: [SM]   [0]  Line 280tauntspeed.sp::RemoveAttribute()
L 10/11/2013 10:36:54: [SM]   [1]  Line 156tauntspeed.sp::OnClientDisconnect()
L 10/11/2013 10:37:12: [SMNative "TF2Attrib_RemoveByName" reportedPlugin owning this native is currently paused.
L 10/11/2013 10:37:12: [SMDisplaying call stack trace for plugin "tauntspeed.smx":
L 10/11/2013 10:37:12: [SM]   [0]  Line 280tauntspeed.sp::RemoveAttribute()
L 10/11/2013 10:37:12: [SM]   [1]  Line 156tauntspeed.sp::OnClientDisconnect()
L 10/11/2013 10:47:22: [SMNative "TF2Attrib_RemoveByName" reportedPlugin owning this native is currently paused.
L 10/11/2013 10:47:22: [SMDisplaying call stack trace for plugin "tauntspeed.smx":
L 10/11/2013 10:47:22: [SM]   [0]  Line 280tauntspeed.sp::RemoveAttribute()
L 10/11/2013 10:47:22: [SM]   [1]  Line 156tauntspeed.sp::OnClientDisconnect()
L 10/11/2013 10:57:35: [SMNative "TF2Attrib_RemoveByName" reportedPlugin owning this native is currently paused
No the plugin works fine, your tf2attributes plugin is not working.
Pelipoika 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 23:38.


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