Skip to content

Instantly share code, notes, and snippets.

@dohnutt
Last active November 5, 2023 21:21
Show Gist options
  • Save dohnutt/3644783937c0de7b4a5677fd644b69a1 to your computer and use it in GitHub Desktop.
Save dohnutt/3644783937c0de7b4a5677fd644b69a1 to your computer and use it in GitHub Desktop.
dohnutt's CSGO config

dohnutt's CS:GO config

Put autoexec.cfg and video.txt in ...\Steam\userdata\{your steam user ID}\730\local\cfg

Launch options

-console -novid -tickrate 128 -freq 144 +fps_max 250 -nojoy +exec autoexec.cfg

See my CS2 config >
See my Quake Live config >

// dohnutt's autoexec
// updated 2023-09-01
// performance
cl_interp 0
cl_interp_ratio 1
cl_cmdrate 128
cl_updaterate 128
rate 128000
cl_disablehtmlmotd 1
cl_downloadfilter "nosounds"
fps_max 400
mm_dedicated_search_maxping 100 // don't queue into servers with over 100 ping
cl_lagcompensation 1
cl_predictweapons 1
cl_resend 6
r_dynamic 0
r_eyegloss 0
r_eyemove 0
r_eyeshift_x 0
r_eyeshift_y 0
r_eyeshift_z 0
r_eyesize 0
muzzleflash_light 0
mat_queue_mode 2
// sensitivity
sensitivity 2.177891
// mouse
m_rawinput 1
m_customaccel 0
m_mouseaccel1 0
m_mouseaccel2 0
m_mousespeed 0 // 1 is default and enables Windows mouse accel
m_yaw 0.022 // default
// binds
unbind "`"
bind "f11" toggleconsole // change console key
bind "`" +voicerecord // push to talk
bind "t" player_ping
bind "l" "say_team Fistbumps"
cl_autowepswitch 0 // don't switch to weapon automatically on pickup
// clear decals around map
bind "w" "+forward; r_cleardecals;"
bind "a" "+moveleft; r_cleardecals;"
bind "s" "+back; r_cleardecals;"
bind "d" "+moveright; r_cleardecals;"
// scroll wheel jump
bind "mwheeldown" +jump;
// prevent scroll wheel jump while shooting
alias +shootNotJump "+attack; unbind mwheeldown; unbind mwheelup"
alias -shootNotJump "-attack; bind mwheeldown +jump; bind mwheelup +jump"
bind mouse1 +shootNotJump
// zxcv grenade binds
bind "z" "use weapon_flashbang"
bind "x" "use weapon_smokegrenade"
bind "c" "use weapon_hegrenade"
bind "v" "use weapon_molotov;use weapon_incgrenade"
bind "f" "+use"
bind "g" "drop"
bind "h" "use weapon_knife; use weapon_c4; drop; slot1" // drop bomb
bind "j" "slot12" // healthshot
bind "k" "buymenu"
bind "y" "messagemode"
bind "u" "messagemode2"
bind "CTRL" +duck
bind "ALT" +speed
// jumpthrow bind
alias +jumpthrow "+jump;-attack"
alias -jumpthrow "-jump"
bind "capslock" "+jumpthrow"
// quick knife switch
alias +knife slot3
alias -knife lastinv
bind "q" +knife
bind "mouse3" +lookatweapon
// buy binds
bind "UPARROW" "buy m4a4; buy ak47;"
bind "LEFTARROW" "buy vest"
bind "RIGHTARROW" "buy vesthelm"
bind "DOWNARROW" "buy defuser"
// buy binds in separate cfg
// based on budi's: https://gist.github.com/nickbudi/3916475
// exec buybinds.cfg
// viewmodel and bobbing
viewmodel_presetpos 3 // 1 = default, 3 = classic
cl_viewmodel_shift_left_amt 0.5
cl_viewmodel_shift_right_amt 0.25
viewmodel_recoil 0 // reduce gun riding up during recoil
// bobbing
cl_bob_lower_amt "5"
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
cl_bobcycle "2" // prefer 2 but 0.98 is enforced by ESEA/ESL
// crosshair
cl_crosshairdot 0
cl_crosshairgap -2.5
cl_crosshairsize 3
cl_crosshairstyle 4
cl_crosshairthickness 1
cl_fixedcrosshairgap 3
cl_crosshair_drawoutline 0
// crosshair colours
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshaircolor_r "0"
cl_crosshaircolor_g "255"
cl_crosshaircolor_b "0"
// nade crosshair
bind "n" nadetoggleon
alias "nadetoggleon" "cl_crosshairgap -3.5; cl_crosshairsize 1000; bind n nadetoggleoff"
alias "nadetoggleoff" "cl_crosshairgap -2.5; cl_crosshairsize 3; bind n nadetoggleon"
// hud
cl_showfps 1
cl_hud_playercount_pos 1 // move to bottom
cl_hud_healthammo_style 1 // hide health bars
// hide your own tracers
r_drawtracers_firstperson 0
// radar size
cl_radar_scale 0.5 // 0.3 = minimum recommended
cl_hud_radar_scale 1.3 // largest possible
cl_radar_icon_scale_min 0.6 // default, ranges from 0.4 to 1
cl_radar_always_centered 0
cl_radar_rotate 1
cl_radar_square_with_scoreboard 1
// radar zoom in
bind "\" +radarzoom;
alias +radarzoom "cl_radar_scale 0.9";
alias -radarzoom "cl_radar_scale 0.5"
// netgraph
net_graph 0
net_graphpos 2 // 1 = left, 2 = center, 3 = right
net_graphproportionalfont 1 // 0 = small font, 1 = normal font
net_graphheight 50
// only show netgraph when tab/scoreboard is held
bind "TAB" +ng
alias +ng "+showscores; net_graph 1"
alias -ng "-showscores; net_graph 0"
// noclip
bind "p" "sv_cheats 1; noclip"
// very important voice commands
bind "semicolon" radio2
bind "'" radio1
bind "o" "getout"
// FPS bug
bind "F7" "logaddress_add 1; say if you are having lag issues, type this in console: logaddress_add 1"
// yooo
host_writeconfig
echo "Loaded dohnutt's autoexec! Nice."
"config"
{
"setauto.csm_quality_level" "3"
"setting.mat_software_aa_strength" "1"
"VendorID" "4318"
"DeviceID" "9348"
"setting.fullscreen" "0"
"setting.nowindowborder" "1"
"setting.aspectratiomode" "1"
"setting.mat_vsync" "0"
"setting.mat_triplebuffered" "0"
"setting.mat_monitorgamma" "2.200000"
"setting.mat_queue_mode" "-1"
"setting.mat_motion_blur_enabled" "0"
"setauto.gpu_mem_level" "2"
"setauto.gpu_level" "3"
"setauto.mat_antialias" "8"
"setauto.mat_aaquality" "0"
"setauto.mat_forceaniso" "1"
"setauto.cpu_level" "2"
"setting.videoconfig_version" "1"
"setting.mem_level" "2"
"setting.defaultres" "1920"
"setting.defaultresheight" "1080"
"setting.r_player_visibility_mode" "1"
"setauto.mat_enable_uber_shaders" "1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment