tf2/cfg/autoexec.cfg

108 lines
2.7 KiB
INI

unbindall
// Weapon switching
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"
// Movement
alias move_bind=wasd"bind w +mf;bind a +ml;bind s +mb;bind d +mr"
alias move_bind=esdf"bind e +mf;bind s +ml;bind d +mb;bind f +mr"
alias move_bind=zqsd"bind z +mf;bind q +ml;bind s +mb;bind d +mr"
alias move_bind=arrows"bind UPARROW +mf;bind LEFTARROW +ml;bind DOWNARROW +mb;bind RIGHTARROW +mr"
alias move_bind=asdf"bind a +mf;bind d +ml;bind s +mb;bind f +mr"
alias move_bind=vim"bind k +mf;bind h +ml;bind j +mb;bind l +mr"
alias +mf"-back;+forward;alias cf +forward"
alias +mb"-forward;+back;alias cb +back"
alias +ml"-moveright;+moveleft;alias cl +moveleft"
alias +mr"-moveleft;+moveright;alias cr +moveright"
alias -mf"-forward;cb;alias cf"
alias -mb"-back;cf;alias cb"
alias -ml"-moveleft;cr;alias cl"
alias -mr"-moveright;cl;alias cr"
alias cf
alias cb
alias cl
alias cr
move_bind=wasd
echo"Null-Canceling Movement script applied"
bind "SPACE" "+jump"
bind "CTRL" "+duck"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
alias +meleeattack "slot3; +attack"
alias -meleeattack "-attack; lastinv"
bind "MOUSE3" "+meleeattack"
// Communication
bind "7" "say"
bind "g" "say_team"
bind "MOUSE4" "+voicerecord"
bind "MOUSE5" "voicemenu 0 0"
bind "z" "voice_menu_1"
bind "x" "voice_menu_2"
bind "c" "voice_menu_3"
bind "v" "+taunt"
// Loadout binds
bind "9" "load_itempreset 0"
bind "," "load_itempreset 1"
bind "." "load_itempreset 2"
bind "0" "load_itempreset 3"
// Commented for reference
// bind "h" "+use_action_slot_item"
// bind "p" "say_party"
// bind "q" "lastinv"
// bind "r" "+reload"
// bind "'" "+moveup"
// bind "/" "+movedown"
// bind "." "changeteam"
// bind "INS" "+klook"
// bind "END" "centerview"
// bind "PGUP" "+lookup"
// bind "PGDN" "+lookdown"
// bind "PAUSE" "pause"
// bind "ALT" "+strafe"
// Misc
bind "8" "changeclass"
bind "=" "open_charinfo_direct"
bind "j" "cl_trigger_first_notification"
bind "k" "cl_decline_first_notification"
bind "b" "kill"
bindtoggle "q" "r_drawviewmodel"
// Scoreboard with net_graph
bind "tab" "+scoreboard"
alias +scoreboard "+showscores ; net_graph 1 ; cl_showfps 2"
alias -scoreboard "-showscores ; net_graph 0 ; cl_showfps 0"
// Random
// bind "n" "open_charinfo_backpack"
bind "`" "toggleconsole"
bind "ESCAPE" "cancelselect"
bind "F1" "+showroundinfo"
bind "F2" "show_quest_log"
bind "F3" "show_matchmaking"
bind "F5" "screenshot"
bind "F6" "save_replay"
bind "F7" "abuse_report_queue"
bind "F9" "vr_toggle"
bind "F10" "quit prompt"
bind "F11" "vr_reset_home_pos"
bind "F12" "replay_togglereplaytips"
// Settings
fov_desired "90"
viewmodel_fov "90"
cl_crosshair_scale 1
cl_interp 0.0152
cl_updaterate 66
cl_cmdrate 66
rate 120000