Skip to content

Instantly share code, notes, and snippets.

@blakerohde
Last active June 6, 2021 13:44
Show Gist options
  • Save blakerohde/ec55ac3710b540adac2eda8f3924a3fa to your computer and use it in GitHub Desktop.
Save blakerohde/ec55ac3710b540adac2eda8f3924a3fa to your computer and use it in GitHub Desktop.
Team Fortress 2 autoexec.cfg
// Source: https://gist.github.com/blakerohde/ec55ac3710b540adac2eda8f3924a3fa
// Launch options (Steam > Library > Team Fortress 2 > Properties > Set Launch Options...): -windowed -noborder
// Script-based (C:\SteamLibrary\steamapps\common\Team Fortress 2\tf\cfg\autoexec.cfg):
// Unbind unused keys:
unbind MWHEELUP
unbind MWHEELDOWN
unbind I
// Spam Noise Maker Action:
bind SPACE "+jump; +use_action_slot_item"
bind "w" "+forward; +use_action_slot_item"
bind "s" "+back; +use_action_slot_item"
bind "a" "+moveleft; +use_action_slot_item"
bind "d" "+moveright; +use_action_slot_item"
bind "q" "lastinv; +use_action_slot_item"
bind MOUSE1 "+attack; +use_action_slot_item"
bind MOUSE2 "+attack2; +use_action_slot_item"
// Spy Disguise (source: https://gaming.stackexchange.com/a/330014)
//bind "kp_end" "disguise 1 -1" //Scout
//bind "kp_downarrow" "disguise 3 -1" //Soldier
//bind "kp_pgdn" "disguise 7 -1" //Pyro
//bind "kp_leftarrow" "disguise 4 -1" //Demoman
//bind "kp_5" "disguise 6 -1" //Heavy
//bind "kp_rightarrow" "disguise 9 -1" //Engineer
//bind "kp_home" "disguise 5 -1" //Medic
//bind "kp_uparrow" "disguise 2 -1" //Sniper
//bind "kp_pgup" "disguise 8 -1" //Spy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment