Skip to content

Instantly share code, notes, and snippets.

@Calinou
Last active November 3, 2021 22:01
Show Gist options
  • Save Calinou/356124f841acf80259c5fdd4bea2e9f4 to your computer and use it in GitHub Desktop.
Save Calinou/356124f841acf80259c5fdd4bea2e9f4 to your computer and use it in GitHub Desktop.
My configuration file for Counter-Strike: Global Offensive
// Make the viewmodel take less space on the screen by moving it towards the bottom right corner.
viewmodel_fov 54
viewmodel_offset_x 2.5
viewmodel_offset_y -2
viewmodel_offset_z -2
// Decrease viewmodel bobbing to be less distracting.
cl_viewmodel_shift_left_amt 0.5
cl_viewmodel_shift_right_amt 0.25
cl_bob_lower_amt 5
cl_bobamt_lat 0.1
cl_bobamt_vert 0.1
viewmodel_recoil 0
// Disable dynamic lights as it is less distracting and avoids FPS drops.
// One downside is that flashbangs will no longer emit a visible light
// when exploding behind a wall.
r_dynamic 0
// Display damage lines in the top-left corner, even when the console is not open.
// Unlike the centered display, this displays the damage dealt to/received from all players,
// not just the one who killed you.
developer 1
con_filter_enable 2
con_filter_text "Damage"
con_filter_text_out "Player:"
// Null movement (allows counterstrafing without releasing the other key).
// Also clears decals every time a movement key is pressed to make players easier to see.
bind W "+mfwd; r_cleardecals"
bind S "+mback; r_cleardecals"
bind A "+mleft; r_cleardecals"
bind D "+mright; r_cleardecals"
alias checkfwd ""
alias checkback ""
alias checkleft ""
alias checkright ""
alias +mfwd "-back; +forward; alias checkfwd +forward"
alias +mback "-forward; +back; alias checkback +back"
alias +mleft "-moveright; +moveleft; alias checkleft +moveleft"
alias +mright "-moveleft; +moveright; alias checkright +moveright"
alias -mfwd "-forward; checkback; alias checkfwd"
alias -mback "-back; checkfwd; alias checkback"
alias -mleft "-moveleft; checkright; alias checkleft"
alias -mright "-moveright; checkleft; alias checkright"
// Buy kevlar vest *then* the helmet to allow buying vest only with insufficient funds.
bind enter "buy vest; buy vesthelm"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment