Modernize autoexec

This commit is contained in:
Isaac Shoebottom 2024-05-16 01:38:38 -03:00
parent 2cf214e772
commit cec73b0907

View File

@ -1,7 +1,7 @@
//tf2 settings // Docs
// https://developer.valvesoftware.com/wiki/List_of_Team_Fortress_2_console_commands_and_variables
//Autoheal, min viewmodels, fastswitch etc. //Autoheal, min viewmodels, fastswitch etc.
con_enable 1 con_enable 1
developer 0 developer 0
@ -11,8 +11,6 @@ viewmodel_fov_demo 75
tf_use_min_viewmodels 1 tf_use_min_viewmodels 1
bindtoggle kp_minus r_drawviewmodel
hud_medicautocallers 1 hud_medicautocallers 1
// 100 - 20.5*2 (2 small first aid kits) // 100 - 20.5*2 (2 small first aid kits)
hud_medicautocallersthreshold 59 hud_medicautocallersthreshold 59
@ -29,11 +27,15 @@ tf_dingaling_pitchmaxdmg 25
tf_remember_activeweapon 1 tf_remember_activeweapon 1
tf_remember_lastswitched 1 tf_remember_lastswitched 1
ds_enable 0 // Demo recording
ds_enable 2 // All matches are recorded
ds_kill_delay 15
ds_min_streak 2
ds_dir demos ds_dir demos
ds_notify 1 ds_notify 1
ds_sound on ds_sound 1
ds_min_streak 4 ds_screens 1
ds_min_streak 4 // Minimum killstreak to record
///--- forced graphics settings enabled ///--- forced graphics settings enabled
///--- glow outline ///--- glow outline
@ -93,90 +95,46 @@ tf_scoreboard_ping_as_text 1
// enable sprays // enable sprays
cl_spraydisable 0 cl_spraydisable 0
//net_graph 4 on tab; toggle on -
//alias +tabgraph "+showscores; net_graph 4"
//alias -tabgraph "-showscores; net_graph 0; timeleft"
alias +tabgraph "+showscores; net_graph 1"
alias -tabgraph "-showscores; net_graph 0"
//alias graphtoggle incrementvar net_graph 0 4 4
bind tab +tabgraph
//bind - graphtoggle
//filter out Error from console //filter out Error from console
con_filter_enable 1 con_filter_enable 1
con_filter_text_out "Error" con_filter_text_out "Error"
// viewmodel binds
bindtoggle kp_minus r_drawviewmodel
bindtoggle kp_multiply cl_first_person_uses_world_model
bindtoggle kp_slash tf_taunt_first_person 0 1
// tab graph
alias +tabgraph "+showscores; net_graph 1"
alias -tabgraph "-showscores; net_graph 0"
bind tab +tabgraph
//medic radar //medic radar
alias "+radar" "hud_medicautocallersthreshold 500" alias "+radar" "hud_medicautocallersthreshold 500"
alias "-radar" "hud_medicautocallersthreshold 59" alias "-radar" "hud_medicautocallersthreshold 59"
//null-cancelling movement script
alias null ""
alias +nmov_forward "-back ; +forward; alias nmov_reforward +forward"
alias +nmov_back "-forward; +back ; alias nmov_reback +back"
alias -nmov_forward "-forward; nmov_reback ; alias nmov_reforward null"
alias -nmov_back "-back ; nmov_reforward; alias nmov_reback null"
///---
alias +nmov_moveleft "-moveright; +moveleft ; alias nmov_removeleft +moveleft"
alias +nmov_moveright "-moveleft ; +moveright; alias nmov_removeright +moveright"
alias -nmov_moveleft "-moveleft ; nmov_removeright; alias nmov_removeleft null"
alias -nmov_moveright "-moveright; nmov_removeleft ; alias nmov_removeright null"
///---
alias nmov_reforward null
alias nmov_reback null
alias nmov_removeleft null
alias nmov_removeright null
///---
bind w +nmov_forward
bind s +nmov_back
bind a +nmov_moveleft
bind d +nmov_moveright
//bind to use mconfig null movement binds //bind to use mconfig null movement binds
bind w +mf bind w +mf
bind a +ml bind a +ml
bind s +mb bind s +mb
bind d +mr bind d +mr
//binds // bind for inspect and use action slot item
bind f "+f" bind f "+f"
alias +f "+inspect; +use_action_slot_item" alias +f "+inspect; +use_action_slot_item"
alias -f "-inspect; -use_action_slot_item" alias -f "-inspect; -use_action_slot_item"
// bind for binding use and calling medic
bind e "+e" bind e "+e"
alias +e "voicemenu 0 0; +use" alias +e "voicemenu 0 0; +use"
alias -e "-use" alias -e "-use"
// Disable tab to stop me from losing interest in the game // bind for showing some info
//alias +pinger "+score; net_graph 1"
//alias -pinger "-score; net_graph 0"
//
//bind tab "+pinger"
bind ralt "+score"
alias +showinfo "cl_showfps 1; net_graph 1; cl_showpos 1" alias +showinfo "cl_showfps 1; net_graph 1; cl_showpos 1"
alias -showinfo "cl_showfps 0; net_graph 0; cl_showpos 0" alias -showinfo "cl_showfps 0; net_graph 0; cl_showpos 0"
bind ralt +showinfo
bind tab "+showinfo" // killbinds
bind - "kill" bind - "kill"
bind = "explode" bind = "explode"
@ -210,16 +168,19 @@ alias none ""
//bind space +rj //bind space +rj
//bind ctrl +crouch //bind ctrl +crouch
// quick call spy
bind mouse3 "voicemenu 1 1" bind mouse3 "voicemenu 1 1"
unbind q //bind for map vote when it breaks
bind kp_end "next_map_vote 0"
bind kp_downarrow "next_map_vote 1"
bind kp_pgdn "next_map_vote 2"
//tweaks and custom settings //fix all button
///--- bind kp_ins "snd_restart;hud_reloadscheme"
//shameless promotion //mark demo for anything cool
echo "----- Thanks for using CFG.TF -----" bind q "ds_mark"
echo "----- Create your own custom config at https://cfg.tf -----"
//for scoreboard setting //for scoreboard setting
tf_scoreboard_mouse_mode 2 tf_scoreboard_mouse_mode 2
@ -236,8 +197,6 @@ sv_pure -1
sv_allow_wait_command 1 sv_allow_wait_command 1
//exec preload //exec preload
cl_showfps 0 cl_showfps 0
cl_hud_minmode 1 cl_hud_minmode 1