Skip to content

Instantly share code, notes, and snippets.

@nickbudi
Last active August 22, 2024 05:45
Show Gist options
  • Save nickbudi/4375654 to your computer and use it in GitHub Desktop.
Save nickbudi/4375654 to your computer and use it in GitHub Desktop.
Budi's Counter-Strike: Source config

Budi's CS:S Config

This is my constantly updated CS:S autoexec config.

Put the file autoexec.cfg in ...\Steam\steamapps\*steam username*\counter-strike source\cstrike\cfg or take what you want from it and add to your autoexec config!

Launch Options

-novid -noborder -high -threads 4 -freq 144 +exec autoexec.cfg

Enter launch options at Steam > Library > Counter-Strike: Source (right-click) > Properties > Set Launch Options...

Other Settings

  • Windows Sensitivity: 6/11
  • Enhance Pointer Precision: No
  • Mouse DPI: 450
  • Mouse Polling Rate: 500hz
  • Mouse Fix: MarkC Windows 8 + 7 Mouse Acceleration Fix
  • Windows Aero: No - hl2.exe Properties > Compatibility > Disable visual themes & Disable desktop composition
  • I play at 1280x960 stretched (no black bars, full-screen scaling) to 1920x1080. I like the feel, pov, and models are slighlty bigger. Maybe it's because I'm old school but it's purely preference.
  • In-Game Audio Ouput: Headphones
// budi's CS:S config
// Updated 11/8/20
// Rates
rate "128000"
cl_cmdrate "66"
cl_updaterate "66"
cl_interp "0.015"
cl_interp_ratio "1"
cl_lagcompensation "1"
cl_pred_optimize "2"
cl_predict "1"
cl_predictweapons "1"
cl_smooth "0"
cl_smoothtime "0"
cl_wpn_sway_interp "0"
// Mouse
sensitivity "2.14"
zoom_sensitivity_ratio "1.0"
m_rawinput "1"
m_pitch "0.022"
m_filter "0"
m_customaccel "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
// Video
mat_setvideomode 1280 960 0
mat_dxlevel "95"
mat_monitorgamma "2.1"
mat_queue_mode "2" // multicore rendering
mat_vsync "0"
mat_antialias "1"
mat_forceaniso "1"
mat_hdr_level "0"
mat_disable_bloom "1"
mat_bloomscale ".20"
mat_colorcorrection "0" // depth blur
mat_texture_limit "-1"
mat_compressedtextures "1"
mat_picmip "0" // texture quality
r_3dsky "1"
r_shadows "1"
r_shadowmaxrendered "32"
r_shadowrendertotexture "1" // render shadows from players to objects
r_dynamic "1" // dynamic lighting
r_lod "-1" // model quality
r_rootlod "0" // model quality
r_decal_cullsize "5" // spray render distance
r_renderoverlayfragment "1" // map detail
fps_max "999"
cl_minmodels "1"
cl_ragdoll_physics_enable "0" // ragdolls
cl_forcepreload "1"
cl_ejectbrass "0" // bullet shells
mat_savechanges // write video settings to registry
// Audio
volume "0.55"
voice_enable "1"
voice_scale "1" // receive volume
dsp_slow_cpu "1"
snd_surround_speakers "0" // audio output
snd_musicvolume "0"
snd_legacy_surround "0" // emulated surround sound
snd_mixahead "0.05" // sound delay
// HUD
hud_showtargetid "1"
hud_fastswitch "1"
cl_righthand "1"
cl_autowepswitch "1"
cl_showpos "0"
cl_showfps "0"
net_graph "0"
net_graphproportionalfont "0" // small netgraph font
// Crosshair
cl_crosshairsize "2"
cl_crosshairthickness "0.5"
cl_crosshairspreadscale "0.3"
cl_crosshairdot "0"
cl_crosshairusealpha "1"
cl_crosshairalpha "999"
cl_dynamiccrosshair "0"
cl_legacy_crosshair_recoil "0"
cl_legacy_crosshair_scale "0"
// White crosshair
cl_crosshaircolor "5"
cl_crosshaircolor_r "255"
cl_crosshaircolor_g "255"
cl_crosshaircolor_b "255"
// Toggle crosshair
bind ins "crosshair_fuchia"
alias crosshair_fuchia "cl_crosshaircolor_r 255;cl_crosshaircolor_g 50;cl_crosshaircolor_b 255;bind ins crosshair_white"
alias crosshair_white "cl_crosshaircolor_r 255;cl_crosshaircolor_g 255;cl_crosshaircolor_b 255;bind ins crosshair_fuchia"
// Misc
con_enable "1"
cl_downloadfilter "mapsonly"
cl_autohelp "0"
cl_showhelp "0"
cl_disablefreezecam "1"
cl_disablehtmlmotd "1"
cl_autowepswitch "0" // auto weapon switch on pickup
cl_hudhint_sound "0"
cl_clanid ""
setinfo zb_wantautocashcalling 1
// Binds
unbind y
unbind u
unbind k
unbind alt
bind enter "messagemode"
bind \ "messagemode2"
bind v "+voicerecord"
bind "TAB" "+ng"
bind space "+jump"
bind t "impulse 201"
bind f10 "quit"
bind MWHEELDOWN "invnext"
bind MWHEELUP "invprev"
bind mouse3 "bhopon" // toggle scroll wheel bhop
bind mouse4 "use weapon_smokegrenade"
bind mouse5 "use weapon_flashbang"
bind del "exec autoexec"
bind - "toggle voice_scale 1 0" // toggle voice volume
bind = "toggle volume 0.55 0.08 0" // toggle game volume
bind 6 "say ;noclip;say .noclip;" // sv_cheats and ESEA
bind rshift "sm_restart; say ; say !r; surf" // kz/bhop/surf restart
bind rctrl "say ; say !whop" // zskyworld =D
bind . "say .budibudibudibudi;say .ready;say !ready" // custom ready for pugs
bind / "zb_teamcash" // zBlock cash call
// Aliases
alias "+ng" "+showscores; net_graph 1"
alias "-ng" "-showscores; net_graph 0"
alias bhopon "bind MWHEELDOWN +jump;bind MWHEELUP +jump;bind mouse3 bhopoff"
alias bhopoff "bind MWHEELDOWN invnext;bind MWHEELUP invprev;bind mouse3 bhopon"
alias "surf" "bind mouse4 +left;bind mouse5 +right;fps_max 300"
host_writeconfig // write settings to config.cfg
echo ""
echo ""
echo "autoexec.cfg executed"
echo ""
echo ""
@motorambler
Copy link

Isn't cl_interp_ratio 1 only used for LAN games, and a value of 2 is better for online gaming?

@Calinou
Copy link

Calinou commented Jun 9, 2023

Isn't cl_interp_ratio 1 only used for LAN games, and a value of 2 is better for online gaming?

If you have confidence in your own connection to the server (little to no packet loss), cl_interp_ratio 1 can be better as you'll see players peeking ~15 milliseconds sooner. However, as soon as you lose a single packet, players will start to teleport around. cl_interp_ratio 2 gives you some safety here and allows losing a single packet without causing players to visibly teleport around.

The server is aware of your cl_interp_ratio value and will modify the lag compensation to take it into account when you shoot players. This means that regardless of the value you're using, you won't need to lead shots according to your ping. (This is why you can't change cl_interp_ratio while connected to a server.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment