AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Taunt Speed Modifier v.2.2 (Updated: April 5, 2017) (https://forums.alliedmods.net/showthread.php?t=222266)

Chaosxk 07-31-2013 18:37

[TF2] Taunt Speed Modifier v.2.2 (Updated: April 5, 2017)
 
[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

Mr. Man 08-01-2013 02:33

Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
 
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?

Chaosxk 08-01-2013 15:34

Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
 
Quote:

Originally Posted by Mr. Man (Post 2003335)
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.

captaindeterprimary 08-01-2013 17:02

Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
 
Cool will totally try this out.

xDeRpYx 08-10-2013 22:10

Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
 
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?:bacon!:

Chaosxk 08-10-2013 23:52

Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
 
Quote:

Originally Posted by xDeRpYx (Post 2010344)
Getting that when loading the plugin resulting it not to work. I've installed tf2attributes..so whatdo?:bacon!:


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

FlaminSarge 08-11-2013 01:11

Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
 
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.

Chaosxk 08-11-2013 02:10

Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
 
Added it anyways if this plugin gets approved in the future.

StayOx 10-12-2013 03:41

Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
 
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


Pelipoika 10-12-2013 04:21

Re: [TF2] Taunt Speed Modifier - [1.0.0] - [7/31/13]
 
Quote:

Originally Posted by StayOx (Post 2047907)
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.


All times are GMT -4. The time now is 18:34.

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