Raised This Month: $ Target: $400
 0% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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:
54 
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
 



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 17:12.


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