Skip to content

Instantly share code, notes, and snippets.

@askiiart
Last active July 18, 2024 17:30
Show Gist options
  • Save askiiart/0261aa15337f9737ff817013f52defc4 to your computer and use it in GitHub Desktop.
Save askiiart/0261aa15337f9737ff817013f52defc4 to your computer and use it in GitHub Desktop.
tf2 autoexec - put it in "$TF2_INSTALLATION/tf/cfg/"
unbindall
// hidden commands reference: https://steamcommunity.com/sharedfiles/filedetails/?id=2939721150
// and i recommend using budhud - https://github.com/rbjaxter/budhud/releases
// the most important one
bind "`" "toggleconsole"
// 1-5
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "0" "slot10"
// basic controls and stuff
bind "CTRL" "+duck"
bind "w" "+forward"
bind "a" "+moveleft"
bind "s" "+back"
bind "d" "+moveright"
bind "SPACE" "+jump"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "+attack3"
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"
bind "." "changeteam"
bind "," "changeclass"
bind "m" "open_charinfo_direct"
bind "n" "open_charinfo_backpack"
bind "f" "+inspect"
bind "g" "+taunt"
bind "h" "+use_action_slot_item"
bind "q" "lastinv"
bind "r" "+reload"
// controller controls
bind "A_BUTTON" "+jump"
bind "B_BUTTON" "+reload"
bind "X_BUTTON" "+context_action"
bind "Y_BUTTON" "togglescores"
bind "L_SHOULDER" "invprev"
bind "R_SHOULDER" "invnext"
bind "BACK" "changeclass"
bind "START" "pause"
bind "STICK1" "voicemenu 0 0"
bind "STICK2" "+duck"
// other controls
bind "TAB" "+showscores"
bind "y" "say"
bind "u" "say_team"
bind "t" "say_party"
bind "]" "+attack3"
bind "j" "cl_trigger_first_notification"
bind "k" "kill"
bind "-" "disguiseteam"
bind "=" "cl_decline_first_notification"
bind "o" "callvote"
bind "BACKSPACE" "save_replay"
bind "\" "say :3"
// voice stuff
bind "z" "voice_menu_1"
bind "x" "voice_menu_2"
bind "c" "voice_menu_3"
// MEDIC!
bind "e" "voicemenu 0 0"
// set mic to toggle, not push-to-talk
bind "v" "enablemic"
// presets
bind "F1" "load_itempreset 0"
bind "F2" "load_itempreset 1"
bind "F3" "load_itempreset 2"
bind "F4" "load_itempreset 3"
// ready in MvM
bind "F5" "player_ready_toggle"
// various stuff
tf_mm_custom_ping "160.940002"
tf_party_join_request_mode "1"
cl_showhelp "0"
tf_chargedfriends "314324003"
tf_colorblindassist "1"
cl_crosshairalpha "255"
tf_medigun_autoheal "1"
hud_medicautocallers "1"
hud_medicautocallersthreshold "60"
hud_medichealtargetmarker "1"
tf_romevision_opt_in "1"
// auto-rezoom after shooting a sniper rifle
cl_autorezoom "1"
// crosshair
cl_crosshair_red "0.000000"
cl_crosshair_green "255.000000"
cl_crosshair_blue "255.000000"
cl_crosshair_file "crosshair5"
cl_crosshair_scale "32.000000"
// disable tutorial/help/hints - not entirely done yet
tf_explanations_backpackpanel "1"
tf_explanations_charinfo_armory_panel "1"
tf_explanations_charinfopanel "1"
tf_explanations_craftingpanel "1"
tf_explanations_discardpanel "1"
tf_explanations_store "1"
tf_training_has_prompted_for_forums "1"
tf_training_has_prompted_for_loadout "1"
tf_training_has_prompted_for_offline_practice "1"
tf_training_has_prompted_for_options "1"
tf_training_has_prompted_for_training "1"
tf_find_a_match_hint_viewed "1"
tf_inspect_hint_count "11"
// viewmodel and fov settings
viewmodel_fov 54
fov_desired 90
viewmodel_fov_demo 54
tf_use_min_viewmodels 1
// fix vsh crashing
r_drawmodeldecals 0
//////////////////////////
//Sentry Quickbuild Bind//
//////////////////////////
bind "MOUSE3" "destroy 2 0; build 2 0"
//////////////////////////////////////
/////////////////////////////
//Dispenser Quickbuild Bind//
/////////////////////////////
bind "4" "destroy 0 0; build 0 0"
/////////////////////////////////
///////////////////////////////////////
//Teleporter Entrance Quickbuild Bind//
///////////////////////////////////////
bind "5" "destroy 1 0; build 1 0"
/////////////////////////////////
///////////////////////////////////
//Teleporter Exit Quickbuild Bind//
///////////////////////////////////
bind "6" "destroy 1 1; build 1 1"
/////////////////////////////////
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment