Thursday, December 8, 2011

How to use xbox 360 controller on pc team fortress 2

Team Fortress 2 has it´s own built-in configuration for the XBOX 360 controller. To use  this configuration, just open the console and type exec 360controller then  press enter.

These games use special  joystick interface configurations that may  interfere with the usability of the keyboard and mouse - if you wish  to undo these configuration changes, there is a second configuration file you may  run by opening the console and typing exec undo360controller then pressing enter.

If you wish to customize  the configuration, or use one of these configurations with Team Fortress 2 , you will need  to set up your own copy in a text editor (such as Notepad) modifying the default settings underneath and save it as something singular (such as joystick.cfg), then place it in the \cfg\ folder within the game's directory, which uses the following basic  structure:

Steam\steamapps\<account name>\<game name>\<short name>\cfg\

    Windows PCs: \Steam\ is located in C:\Program Files\ by default.
    Mac OS X: /Steam/ is located in ~/Library/Application Support/ by default.

//Team Fortress 2 specific settings
tf_build_menu_controller_mode 1
tf_disguise_menu_controller_mode 1

bind "Z AXIS POS" "+attack2"  // L TRIGGER
bind "Z AXIS NEG" "+attack"  // R TRIGGER

bind "JOY1" "+jump"   // A
bind "JOY2" "+reload"   // B
bind "JOY3" "taunt"   // X
bind "JOY4" "togglescores"  // Y

bind "JOY5" "invprev"   // L SHOULDER
bind "JOY6" "invnext"   // R SHOULDER

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"

No comments:

Post a Comment