Skip to content

Instantly share code, notes, and snippets.

@lilgallon
Created September 11, 2019 11:52
Show Gist options
  • Save lilgallon/f0868bead8fa7f0e9a70c2a62ee81917 to your computer and use it in GitHub Desktop.
Save lilgallon/f0868bead8fa7f0e9a70c2a62ee81917 to your computer and use it in GitHub Desktop.
CSGO autoexec
echo "-- AUTOEXEC RUNNING --"
echo "Binding jumpthrow... (j)"
alias "+jumpthrow" "+jump;-attack"; alias "-jumpthrow" "-jump"; bind j "+jumpthrow"
echo "Binding crosshair max... (alt)"
alias "+crosshairmax" "cl_crosshairsize 5000; cl_crosshairgap -10; cl_crosshairthickness 0.5"
alias "-crosshairmax" "cl_crosshairsize 2; cl_crosshairgap -2; cl_crosshairthickness 0.1"
bind alt "+crosshairmax"
echo "Binding quick grenades (a/w/x/c)"
bind "a" "use weapon_flashbang"
bind "w" "use weapon_molotov; use weapon_incgrenade"
bind "x" "use weapon_smokegrenade"
bind "c" "use weapon_hegrenade"
echo "Setting up rates (high speed internet)"
rate "786432" // Your download rate to the server. Max rate: "786432"
cl_cmdrate "128" //Max number of command packets sent to server per second
cl_updaterate "128" //Number of packets per second you are requesting from the server
cl_interp "0.007813" //Sets the interpolation amount, always set this to 0
cl_interp_ratio "1" //Sets the interpolation amount (final amount is cl_interp_ratio / cl_updaterate)
cl_lagcompensation "1" //Lag compensation helps by eliminating combat latency from client side view
cl_predict "1" //Skip waiting for server feedback and simulate client side movement in real-time
cl_predictweapons "1" //Skip waiting for server feedback and perform client side prediction of weapon effects
echo "Shortcuts (d/q/r/rs)"
alias "d" "disconnect"
alias "q" "quit;exit"
alias "r" "retry"
alias "rs" "mp_restartgame 1"
echo "Damage display (F5)"
alias displaydamage "displaydamage_on"
alias displaydamage_on "con_filter_text Damage Given To; con_filter_text_out Player:; con_filter_enable 2; developer 1; playvol buttons\\\\blip1 0.5; alias displaydamage "displaydamage_off""
alias displaydamage_off "con_filter_enable 0; developer 0; playvol buttons\\\\blip2 0.5; alias displaydamage "displaydamage_on""
bind "F6" "displaydamage" //Bind to whatever you prefer (Default F6)
echo "-- AUTOEXEC DONE --"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment