These are scripts I've been using for awhile already. It's good for every class so I just keep it in my autoexec.cfg file with my voice re-binds and stuff.
By default, there is no autoexec file. The location to where to make the file is:
C:\Program Files\SteamApps\<account_name>\team fortress 2\tf\cfg\
or on 64 bit systems:
C:\Program Files (x86)\SteamApps\<account_name>\team fortress 2\tf\cfg\
Make a new txt file and name it autoexec.cfg
MAKE SURE it has NO .txt at the end of the name. If so, rename it, highlight the .txt and replace it with .cfg it will NOT work if it's not a .cfg file. Windows might say something about changing its type, choose yes.
Script starts below:
// Null-cancelling movement script
// Prevents you from slowing when pressing two opposing directions, so you always move at top speed.
// Good on every class.
bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright
alias +mfwd "-back;+forward;alias checkfwd +forward"
alias +mback "-forward;+back;alias checkback +back"
alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
alias +mright "-moveleft;+moveright;alias checkright +moveright"
alias -mfwd "-forward;checkback;alias checkfwd none"
alias -mback "-back;checkfwd;alias checkback none"
alias -mleft "-moveleft;checkright;alias checkleft none"
alias -mright "-moveright;checkleft;alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""
I also use a toggle scoreboard script so I don't have to hold the button down to look at the scoreboard.
Script Starts below:
//Toggle Scoreboard
//Change "tab" in the line below to what you want to toggle the scoreboard.
bind "tab" "togglescore"
alias togglescore togglescoreon
alias "togglescoreon" "+showscores; alias togglescore togglescoreoff"
alias "togglescoreoff" "-showscores; alias togglescore togglescoreon"
These next scripts are voice rebinds and I recommend you only add them if you know how to change the bindings as well as the aliases on the binding lines in this next script. If you don't, don't use it or it will replace some binds you might use, or it will get very confusing trying to get it to work.
Script Starts Below:
//Voice Commands
//Do not change these lines below
//
alias "v_medic" "voicemenu 0 0"
alias "v_thanks" "voicemenu 0 1"
alias "v_gogogo" "voicemenu 0 2"
alias "v_moveup" "voicemenu 0 3"
alias "v_goleft" "voicemenu 0 4"
alias "v_goright" "voicemenu 0 5"
alias "v_yes" "voicemenu 0 6"
alias "v_no" "voicemenu 0 7"
//
//These lines too.
//
alias "v_incoming" "voicemenu 1 0"
alias "v_cloakedspy" "voicemenu 1 1"
alias "v_sentryahead" "voicemenu 1 2"
alias "v_teleporterhere" "voicemenu 1 3"
alias "v_dispenserhere" "voicemenu 1 4"
alias "v_sentryhere" "voicemenu 1 5"
alias "v_activateuber" "voicemenu 1 6"
alias "v_uberready" "voicemenu 1 7"
//
//Don't change these either.
//
alias "v_help" "voicemenu 2 0"
alias "v_battlecry" "voicemenu 2 1"
alias "v_cheers" "voicemenu 2 2"
alias "v_jeers" "voicemenu 2 3"
alias "v_positive" "voicemenu 2 4"
alias "v_negative" "voicemenu 2 5"
alias "v_niceshot" "voicemenu 2 6"
alias "v_goodjob" "voicemenu 2 7"
//
//Ok these below you can change :3
//
bind "mouse4" "v_cloakedspy"
bind "mouse5" "v_gogogo"
bind "KP_PGDN" "v_no"
bind "KP_LEFTARROW" "v_goleft"
bind "KP_5" "v_gogogo"
bind "KP_RIGHTARROW" "v_goright"
bind "KP_HOME" "v_help"
bind "KP_UPARROW" "v_cloakedspy"
bind "KP_PGUP" "v_thanks"
bind "KP_INS" "v_activateuber"
bind "KP_MINUS" "v_incoming"
bind "KP_PLUS" "v_uberready"
I added the script as an attachment to this post with just the toggle scoreboard and movement script on it if you don't want to make it yourself, you'll still have to move it to the location of your tf2 cfg folder. So add the voice binds script ONLY if you know how to edit it to use it yourself. MAKE SURE to change the file name to autoexec.cfg REPLACE the .txt with .cfg
Anyone having any questions about this, or if they want to know the class scripts I use and stuff, feel free to ask me over steam or send me a PM over the forums.
By default, there is no autoexec file. The location to where to make the file is:
C:\Program Files\SteamApps\<account_name>\team fortress 2\tf\cfg\
or on 64 bit systems:
C:\Program Files (x86)\SteamApps\<account_name>\team fortress 2\tf\cfg\
Make a new txt file and name it autoexec.cfg
MAKE SURE it has NO .txt at the end of the name. If so, rename it, highlight the .txt and replace it with .cfg it will NOT work if it's not a .cfg file. Windows might say something about changing its type, choose yes.
Script starts below:
// Null-cancelling movement script
// Prevents you from slowing when pressing two opposing directions, so you always move at top speed.
// Good on every class.
bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright
alias +mfwd "-back;+forward;alias checkfwd +forward"
alias +mback "-forward;+back;alias checkback +back"
alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
alias +mright "-moveleft;+moveright;alias checkright +moveright"
alias -mfwd "-forward;checkback;alias checkfwd none"
alias -mback "-back;checkfwd;alias checkback none"
alias -mleft "-moveleft;checkright;alias checkleft none"
alias -mright "-moveright;checkleft;alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""
I also use a toggle scoreboard script so I don't have to hold the button down to look at the scoreboard.
Script Starts below:
//Toggle Scoreboard
//Change "tab" in the line below to what you want to toggle the scoreboard.
bind "tab" "togglescore"
alias togglescore togglescoreon
alias "togglescoreon" "+showscores; alias togglescore togglescoreoff"
alias "togglescoreoff" "-showscores; alias togglescore togglescoreon"
These next scripts are voice rebinds and I recommend you only add them if you know how to change the bindings as well as the aliases on the binding lines in this next script. If you don't, don't use it or it will replace some binds you might use, or it will get very confusing trying to get it to work.
Script Starts Below:
//Voice Commands
//Do not change these lines below
//
alias "v_medic" "voicemenu 0 0"
alias "v_thanks" "voicemenu 0 1"
alias "v_gogogo" "voicemenu 0 2"
alias "v_moveup" "voicemenu 0 3"
alias "v_goleft" "voicemenu 0 4"
alias "v_goright" "voicemenu 0 5"
alias "v_yes" "voicemenu 0 6"
alias "v_no" "voicemenu 0 7"
//
//These lines too.
//
alias "v_incoming" "voicemenu 1 0"
alias "v_cloakedspy" "voicemenu 1 1"
alias "v_sentryahead" "voicemenu 1 2"
alias "v_teleporterhere" "voicemenu 1 3"
alias "v_dispenserhere" "voicemenu 1 4"
alias "v_sentryhere" "voicemenu 1 5"
alias "v_activateuber" "voicemenu 1 6"
alias "v_uberready" "voicemenu 1 7"
//
//Don't change these either.
//
alias "v_help" "voicemenu 2 0"
alias "v_battlecry" "voicemenu 2 1"
alias "v_cheers" "voicemenu 2 2"
alias "v_jeers" "voicemenu 2 3"
alias "v_positive" "voicemenu 2 4"
alias "v_negative" "voicemenu 2 5"
alias "v_niceshot" "voicemenu 2 6"
alias "v_goodjob" "voicemenu 2 7"
//
//Ok these below you can change :3
//
bind "mouse4" "v_cloakedspy"
bind "mouse5" "v_gogogo"
bind "KP_PGDN" "v_no"
bind "KP_LEFTARROW" "v_goleft"
bind "KP_5" "v_gogogo"
bind "KP_RIGHTARROW" "v_goright"
bind "KP_HOME" "v_help"
bind "KP_UPARROW" "v_cloakedspy"
bind "KP_PGUP" "v_thanks"
bind "KP_INS" "v_activateuber"
bind "KP_MINUS" "v_incoming"
bind "KP_PLUS" "v_uberready"
I added the script as an attachment to this post with just the toggle scoreboard and movement script on it if you don't want to make it yourself, you'll still have to move it to the location of your tf2 cfg folder. So add the voice binds script ONLY if you know how to edit it to use it yourself. MAKE SURE to change the file name to autoexec.cfg REPLACE the .txt with .cfg
Anyone having any questions about this, or if they want to know the class scripts I use and stuff, feel free to ask me over steam or send me a PM over the forums.






