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 client, float value);
/** * Sets the voice pitch on client * * @param client An integer. * @return */ native void SetVoicePitch(int client, float 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 client, float 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.
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" ""
}