Team Fortress 2

Team Fortress 2

Not enough ratings
Controller Configuration with Voice Commands (xbox 360)
By kek
How to use voice commands with any controller but for the descriptions sake I will be referring to the button layout using xbox 360 buttons.
   
Award
Favorite
Favorited
Unfavorite
Create config in TF2 files
First things first, you need to make a proper cfg file. A notepad file will not work. To make this a cfg file go into your programfilesx86/ steam/ steamapps/ common / team fortress 2 / tf / cfg - copy any config file, remove contents and add your new script. Rename it whatever you want.

My premade voice command config
bind "A_BUTTON" "+jump" bind "B_BUTTON" "dropitem; voice_menu_1" bind "X_BUTTON" "+showscores; slot8" bind "Y_BUTTON" "slot5; lastdisguise" bind "L_SHOULDER" "invprev; voice_menu_3" bind "R_SHOULDER" "invnext; voice_menu_2" bind "L_TRIGGER" "+attack2" bind "R_TRIGGER" "+attack" bind "BACK" "slot7" bind "STICK1" "toggle_duck" bind "STICK2" "+reload; slot6" bind "POV_UP" "slot1" bind "POV_RIGHT" "slot2" bind "POV_DOWN" "slot3" bind "POV_LEFT" "slot4" hud_fastswitch 1

If you want to use this in game be sure to enable developer console in advanced keyboard options.
Execute 360controller config before you execute this config.

example

exec 360controller
exec whateveryounamedit_cfg
Premade config explanation
  • A jumps
  • B opens voice menu 1 and drops the intel
  • X opens the score and says a voice command
  • Y says a voice command and while playing spy will automatically select your last disguise you used by pressing Y instead of having to fiddle with menus and button presses.

  • Left Shoulder button switches your weapon and activates voice menu 3
  • Right Shoulder button switches your weapon and activates voice menu 2


  • LT and RT remain obvious

  • Back button uses a voice command

  • Stick 1 Is duck (In this config duck is set to toggle on and off instead of holding. I find this much more practical and easier)
  • Stick 2 is reload and says a voice command. (having reload on stick 2 is very useful. Never have to take your thumb off the stick to reload.)

  • DPAD remains the same, switches weapons and says voice commands

Since valve forced the start button to be bound at all times there isn't room for a change class button. You can use your keyboard or rebind one of the voice command slots that you don't care for to use.
Default Config For clean slate
This is what TF2 will originally use for the 360 controller on both PC and Xbox 360.

bind "A_BUTTON" "+jump" bind "B_BUTTON" "+reload" bind "X_BUTTON" "taunt" bind "Y_BUTTON" "+showscores" bind "L_SHOULDER" "invprev" bind "R_SHOULDER" "invnext" bind "L_TRIGGER" "+attack2" bind "R_TRIGGER" "+attack" bind "BACK" "changeclass" bind "STICK1" "+duck; -duck" bind "STICK2" "voice_menu 0 0" bind "POV_UP" "slot1" bind "POV_RIGHT" "slot2" bind "POV_DOWN" "slot3" bind "POV_LEFT" "slot4" hud_fastswitch 1


Here is an alternate config if you prefer using the joy commands instead of the xbox 360 ones
bind "JOY1" "+jump" // A bind "JOY2" "+reload" // B bind "JOY3" "+context_action" // X bind "JOY4" "togglescores" // Y bind "JOY5" "invprev" // L SHOULDER bind "JOY6" "invnext" // R SHOULDER bind "L_TRIGGER" "+attack2" bind "R_TRIGGER" "+attack" bind "JOY7" "changeclass" // BACK bind "JOY8" "pause" // START bind "JOY10" "voicemenu 0 0" // Right Stick Down bind "JOY9" "+duck" // Left Stick Down bind "POV_UP" "slot1" bind "POV_RIGHT" "slot2" bind "POV_DOWN" "slot3" bind "POV_LEFT" "slot4" hud_fastswitch 1
Make your own config
You can place the voice commands on whatever button you want. Here's an example.


bind "X_BUTTON" "+showscores; slot8"
Right now pressing X will show the score menu but also use the 8th voice command. You can put whatever you want after the ; to bind two commands at once. You can also change them to be whatever you want.

Like
bind "X_BUTTON" "+dropitem; slot5"
for instance and completely change that button's purpose.

If you wanted to add change class button back simply rebind a button with "changeclass" etc. You could possibly add a voice command on jump and switch things up however you like. Its really anything you can think of.
Extra settings you can change + my in game sensitivity settings
joy_autoaimdampenrange 1.0 //The stick range where autoaim dampening is applied. 0 = off default = 0.85 joy_autoaimdampen 1.0 //How much to scale user stick input when the gun is pointing at a valid target. default = 0.5 joy_accelscale 2.5 //default = 2.0 joy_accelmax 2.5 //default = 2.0 joy_response_move 1 joy_response_look 1

My sensitivity settings

Using the commands above these are my settings for sensitivity and it functions very similar to how I remember playing TF2 on Xbox 360. Im sure theres even more room to tweak it because of the ranges of these commands. You can play around with it and find exactly what you like.
Closing
I created this because this information was not readily available at the time I wrote this guide a few years back. Maybe now there could be places to get it however the TF2 Wiki still says you cant use voice commands with a controller on TF2 which is just flat out false.

Hopefully this helps someone. I for one have used the xbox 360 controller for very many hours since I came from the xbox version of TF2 originally. This config makes using the controller more viable since it gives you voice commands back, intel dropping and last disguise.

Be sure to execute 360controller config once before executing your new button setting config otherwise nothing will work properly.
1 Comments
Mr_Halo Jul 23, 2023 @ 8:49pm 
thank you