This commit is contained in:
2025-06-26 14:31:46 -03:00
parent 3098a18aed
commit 96c79da4c1
14 changed files with 350 additions and 275 deletions

View File

@ -1,22 +1,32 @@
//https://wiki.teamfortress.com/wiki/List_of_default_keys
// 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
// unbindall before re-doing bindings
unbindall
// tab graph
alias +tabgraph "+showscores; net_graph 1"
alias -tabgraph "-showscores; net_graph 0"
bind tab +tabgraph
alias "+ctap" "+duck 1; -duck 1; +jump 1"
alias "-ctap" "-jump 1"
// 1 tick ctap script
//alias "+ctap" "+duck 1; -duck 1; +jump 1"
//alias "-ctap" "-jump 1"
// 2 tick ctap script
// +attack only calls spec_next when directly bound to a key
alias +ctap_attack "+attack; spec_next"
alias -ctap_attack -attack
alias +ctap_rj "-duck; +jump; +ctap_attack"
alias -ctap_rj "-jump; -ctap_attack; bind mouse1 +ctap_attack"
alias +ctap "+duck; bind mouse1 +ctap_rj; spec_prev"
alias -ctap -duck
//medic radar
alias "+radar" "hud_medicautocallersthreshold 500"
alias "-radar" "hud_medicautocallersthreshold 59"
// crouch jump script
alias +rj "spec_mode;-duck;+cr;alias checkrj +cr"
alias -rj "-cr;checkduck;alias checkrj none"
alias +crouch "-cr;+duck;alias checkduck +duck"
@ -33,55 +43,108 @@ alias sentry "destroy 2; build 2"
// bind for showing some info
alias +showinfo "cl_showfps 1; net_graph 1; cl_showpos 1"
alias -showinfo "cl_showfps 0; net_graph 0; cl_showpos 0"
bind ralt +showinfo
// default binds
// slots
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"
// notification interaction
bind j "cl_trigger_first_notification"
bind k "cl_decline_first_notification"
// voice menu
bind z "voice_menu_1"
bind x "voice_menu_2"
bind c "voice_menu_3"
// class/team binds
bind n "+quickswitch"
bind m "open_charinfo_direct"
bind , "changeclass"
bind . "changeteam"
// interaction
bind r "+reload"
bind b "lastdisguise"
bind g "+taunt"
bind h "+context_action"
bind \ "dropitem"
bind ralt "+showinfo"
bind ` "toggleconsole"
bind enter "show_quest_log"
bind escape "cancelselect"
bind pause "pause"
//call medic
bind e "voicemenu 0 0"
bind tab "+tabgraph"
//cancel taunt
bind q "lastinv"
bind f "+inspect"
//call spy
bind h "voicemenu 1 1"
bind mouse5 "+use_action_slot_item"
bind mouse3 "+attack3"
// scroll weapons
bind mwheelup "invprev"
bind mwheeldown "invnext"
// chat binds
bind t "say"
bind y "say_team"
bind u "say_party"
bind v +voicerecord
//spray
bind p "impulse 201"
//show logs.tf logs
bind l "cl_disablehtmlmotd 0; say !log"
// killbinds
bind - "kill"
bind = "explode"
//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"
// easier bind
bind f1 "next_map_vote 0"
bind f2 "next_map_vote 1"
bind f3 "next_map_vote 2"
//fix all button
bind kp_ins "snd_restart;hud_reloadscheme"
//toggle html motd
bindtoggle kp_del cl_disablehtmlmotd
// loadouts
//bind f1 loadouts.A
//bind f2 loadouts.B
//bind f3 loadouts.C
//bind f5 loadouts.D
//bind q loadouts.resup
bind q "load_itempreset 0"
bind f5 "loadouts.A"
bind f6 "loadouts.B"
bind f7 "loadouts.C"
bind f8 "loadouts.D"
bind alt "loadouts.resup"
bind f4 player_ready_toggle
// ready toggle
bind f4 "player_ready_toggle"
//bind to use mconfig null movement binds
bind w +mf
bind a +ml
bind s +mb
bind d +mr
bind w "+mf"
bind a "+ml"
bind s "+mb"
bind d "+mr"
// movement
bind space "+jump"
bind shift "+duck"
bind ctrl "+rj"
//use hud buttons instead
//bind <key> "snd_restart;hud_reloadscheme"
//bind <key> "incrementvar r_drawviewmodel 0 1 1"
//bind <key> "incrementvar cl_first_person_uses_world_model 0 1 1"
//bind <key> "incrementvartf_use_min_viewmodel 0 1 1"
bind space +jump
bind shift +duck
//disabled as banned in rgl now for some reason
//bind ctrl +ctap
bind ctrl "voicemenu 1 1"
bindtoggle alt r_drawviewmodel
bind e "voicemenu 0 0"
bind h lastinv
bind f +inspect
bind v +use
bind l "cl_disablehtmlmotd 0; say !log"
bind mouse3 +attack3
bind mouse4 +voicerecord
bind mouse5 +use_action_slot_item
//bind ctrl "+ctap"

View File

@ -4,7 +4,8 @@
no_texture_stream
con_enable 1
con_logfile "console.log"
//Set the default confile location
//con_logfile "console.log"
developer 0
fov_desired 90
@ -73,7 +74,7 @@ sv_cheats 1
exec preloader.cfg
// Disabled due to changing con_logfile, replace with simple resup bind
// exec loadouts/init.cfg
exec loadouts/init.cfg
exec training.cfg
exec binds.cfg
// Sets hitsound settings

View File

@ -1,4 +1,8 @@
// Commands here will run before every class config
// Key for class specific binds
unbind n
// Commands here will run before every class config
// Key for class specific binds
unbind n
// rebind for classes other than soldier
bind mouse1 +attack
bind mouse2 +attack2

View File

@ -1 +1,5 @@
loadouts.soldier
loadouts.soldier
// ctap script
bind mouse2 +ctap
bind mouse1 +ctap_attack