TF2 Set Speed
Description: Set the speed of the target(s)
Cvars(default valuses shown):
sm_setspeed_version "1.4.0"
sm_setspeed_chat "1" - Enable/Disable(1/0) chat of speed changes
sm_setspeed_log "1" - Enable/Disable(1/0) logging of speed changes
Commands:
sm_setspeed "target" "speed 0-520"
- Default Slay Flag
sm_resetspeed "target"
- Default Slay Flag
sm_unsetspeed "target"
- Same as sm_resetspeed
Examples:
sm_setspeed Thetarget 300
sm_setspeed @me 350
sm_setspeed @!me 100
sm_setspeed @bots 10
sm_setspeed @all 520
sm_setspeed @blue 333
sm_setspeed @red 99.99999
Class Base Speed Reference:
Scout - 400
Soldier - 240
Pyro - 300
Demoman - 280
Heavy - 230
Engineer - 300
Medic - 320
Sniper - 300
Spy - 300
Changelog:
Code:
Version 1.0.0 - November 29, 2010
* Initial Release
Version 1.1.0 - December 7, 2010
* Bug fix for mapchange
Version 1.2.0 - February 12, 2011
* Coding change for bug fixes
Version 1.3.0 - November 2, 2011
* Complete plugin rewrite - More stability and optimization + newer TF2 Natives
* Uses AskPluginLoad2 instead of a custom forward to check the game
* Uses OnGameFrame instead of a bunch of repeating timers
* Checks for charge condition so as not to interfere with Demoman charging
* Upped max speed to account for TF2's new 450 limit
Version 1.3.1 - June 28, 2012
*Upped max speed to account for TF2's new 520 limit.
Version 1.4.0 - June 28, 2014 //Exactly 2 years; not planned believe it or not
*Huge Code Overhaul
*Changed from OnGameFrame to SDKHooks_OnPreThink
*Changed how sm_resetspeed removes speed so that it now instant rather than on weapon change
*Added alt command sm_unsetspeed which functions the same as sm_resetspeed
*File name changed from TF2 Set Speed to SetSpeed !Note: Make sure you remove old name one!)