Last active
February 8, 2023 15:25
-
-
Save eai04191/ddcddd2baf2f72d5aa62 to your computer and use it in GitHub Desktop.
eai04191's Custom Config for Left 4 Dead 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "| Loading eai04191's Custom Config for Left 4 Dead 2" | |
// INITIALIZE | |
// Lerp settings | |
rate 30000 | |
cl_updaterate 101 | |
cl_cmdrate 60 | |
cl_lagcompensation 1 | |
cl_predictweapons "1" | |
cl_interp_ratio 1.0 | |
cl_interp 0.044 | |
// Mouse settings | |
sensitivity 2.5 | |
m_rawinput 0 | |
m_mouseaccel1 0 | |
m_mouseaccel2 0 | |
m_mousespeed 0 | |
m_forward 1 | |
m_filter 1 | |
m_filter2 1 | |
crosshair 1 | |
// FOV settings | |
cl_viewmodelfovsurvivor 40 | |
// ALL load(?) | |
cl_forcepreload "1" | |
// Stereo | |
dsp_enhance_stereo "1" | |
// net graph | |
net_graph "0" | |
// KEY BIND | |
// Unbind all keys | |
unbindall | |
// Bind Function keys. | |
// Bind F1,F2 to Vote. | |
bind "F1" "Vote Yes" | |
bind "F2" "Vote No" | |
bind "F3" "" | |
bind "F4" "" | |
bind "F5" "" | |
bind "F6" "" | |
bind "F7" "" | |
bind "F8" "" | |
// Bind F9 to Reload config. | |
bind "F9" "exec eai04191.cfg" | |
// Bind F10 to open console. | |
bind "F10" "toggleconsole" | |
// Bind F11 to kick all BOTs. | |
bind "F11" "kick bill; kick francis; kick louis; kick zoey; kick coach; kick ellis; kick nick; kick rochelle;" | |
// Not used for use in snap screenshot hotkey of steam overlay. | |
bind "F12" "" | |
// Bind 1-5 to slot1-slot5 | |
bind "1" "slot1" | |
bind "2" "slot2" | |
bind "3" "slot3" | |
bind "4" "slot4" | |
bind "5" "slot5" | |
// Bind W,A,S,D to Move | |
bind "w" "+forward" | |
bind "a" "+moveleft" | |
bind "s" "+back" | |
bind "d" "+moveright" | |
// // Bind Space to Duck jump | |
// alias +juck "+jump; wait; +duck" | |
// alias -juck "-jump; wait; -duck" | |
// bind "SPACE" "+juck" | |
// Bind Space to Jump | |
bind "SPACE" "+jump" | |
// Bind Shift to Walk | |
bind "SHIFT" "+speed" | |
// Bind Ctrl to Duck | |
bind "CTRL" "+duck" | |
// // Bind R to Reload (invisible)" | |
// bind "r" "+reload; cl_viewmodelfovsurvivor 180; wait 200; cl_viewmodelfovsurvivor 60″ | |
// bind "r" "+reload;" | |
// Bind R to Reload" | |
bind "r" "+reload;" | |
// Bind E to Use | |
bind "e" "+use" | |
// Bind T to Spray | |
bind "t" "impulse 201" | |
// Bind F to Toggle flash light | |
bind "f" "impulse 100" | |
// Bind H to Show server's MOTD | |
bind "h" "motd" | |
// Bind TAB to Show scores with sander | |
alias +showexec "+showscores; exec sander.cfg" | |
alias -showexec "-showscores" | |
bind "TAB" +showexec | |
//bind "TAB" "+showscores" | |
// Bind M to Choose team | |
bind "m" "chooseteam" | |
// Bind U to Team chat | |
bind "u" "messagemode2" | |
// Bind Y to All chat | |
bind "y" "messagemode" | |
// Bind Z,X to radio chat | |
bind "z" "+mouse_menu Orders" | |
bind "x" "+mouse_menu QA" | |
// Bind C to Voice caht | |
bind "c" "+voicerecord" | |
// Bind Q to Pipe bomb, molotov | |
bind "q" "slot3" | |
// Bind mouse keys | |
bind "MOUSE1" "+attack" | |
bind "MOUSE2" "+attack2" | |
bind "MOUSE3" "+zoom" | |
// Bind mouse4 to MedKit | |
bind "MOUSE4" "slot5" | |
// Bind mouse5 to Pill | |
bind "MOUSE5" "slot4" | |
// Bind Mouse wheel to Main , Melee | |
bind "MWHEELUP" "slot1" | |
bind "MWHEELDOWN" "slot2" | |
// Bind Backspace to AFK | |
bind "BACKSPACE" "go_away_from_keyboard" | |
// SCRIPT | |
// Countdown | |
alias "countdown_rdy" "say_team countdown start; wait 170; say_team 5; wait 155; say_team 4; wait 155; say_team 3; wait 155; say_team 2; wait 155; say_team 1; wait 155; say_team GO" | |
bind "\" "countdown_rdy" | |
// Molotov feint | |
alias "molotov_feint" "slot3; +attack; wait 266; -attack; lastinv;" | |
bind "G" "molotov_feint" | |
// Sander | |
exec sander.cfg | |
//HUD_toggle | |
alias HUD_toggle show_HUD | |
alias show_HUD "hidehud 0; alias HUD_toggle hide_HUD" | |
alias hide_HUD "hidehud 4; alias HUD_toggle show_HUD" | |
//viewmodel_toggle | |
alias viewmodel_toggle show_viewmodel | |
alias show_viewmodel "r_drawviewmodel 1; alias viewmodel_toggle hide_viewmodel" | |
alias hide_viewmodel "r_drawviewmodel 0; alias viewmodel_toggle show_viewmodel" | |
echo "| Well done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment