Skip to content

Instantly share code, notes, and snippets.

@ncanceill
Last active August 3, 2017 11:30
Show Gist options
  • Save ncanceill/b0f416e48dc7dbd0139f to your computer and use it in GitHub Desktop.
Save ncanceill/b0f416e48dc7dbd0139f to your computer and use it in GitHub Desktop.
CS:GO config
////////////////////////
// CS:GO autoexec config
name "ST☢FF"
////////////////////////
//////////////////////
// Netcode
//
// Rate
rate "128000"
cl_updaterate "128"
cl_cmdrate "128"
// Interpolation
cl_interpolate "1"
cl_interp_ratio "1"
cl_interp "0"
// Matchmaking
mm_dedicated_search_maxping "80"
// Graph
net_graph "1"
net_graphheight "9999"
alias "+scorenet" "+showscores;net_graphheight 0"
alias "-scorenet" "-showscores;net_graphheight 9999"
//////////////////////
// Gameplay
//
// Mouse
sensitivity "1.35"
zoom_sensitivity_ratio_mouse "1.0"
m_rawinput "1"
m_customaccel "0"
m_forward "1"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "1"
m_pitch "0.022"
m_side "0.8"
m_yaw "0.022"
// Camera
cl_disablefreezecam "1"
cl_freezecampanel_position_dynamic "1"
cl_spec_mode "6"
// Equipment
alias "+qswitch" "slot3"
alias "-qswitch" "lastinv"
cl_autowepswitch "0"
closeonbuy "0"
//////////////////////
// Sound
//
// Settings
dsp_enhance_stereo "1"
dsp_slow_cpu "0"
dsp_reload
snd_legacy_surround "0"
snd_mixahead "0.05"
snd_pitchquality "1"
// Panning
snd_headphone_pan_exponent "2"
snd_headphone_pan_radial_weight "2"
snd_front_headphone_position "45"
snd_rear_headphone_position "135"
// Volume
volume "0.07"
alias "vol_lo" "volume 0.07"
alias "vol_hi" "volume 0.1"
snd_musicvolume "0.2"
snd_musicvolume_multiplier_inoverlay "1"
snd_menumusic_volume "0.4"
// Voice
alias "enablevoice" "voice_enable 1;alias togglevoice disablevoice"
alias "disablevoice" "voice_enable 0;alias togglevoice enablevoice"
enablevoice
lobby_voice_chat_enabled "0"
//////////////////////
// UI
//
// Play settings (incl. crosshair)
alias "playstyle" "exec ui_play;alias style watchstyle"
alias "watchstyle" "exec ui_watch;alias style playstyle"
playstyle
// Generic
con_enable "1"
con_filter_text_out "Player:";con_filter_text "Damage Given" // For damage display
cl_disablehtmlmotd "1"
player_nevershow_communityservermessage "1"
cl_forcepreload "1"
fps_max "120"
fps_max_menu "60"
// HUD
cl_showloadout "1"
cl_loadout_colorweaponnames "1"
hud_scaling "0.75"
hud_showtargetid "1"
cl_hud_bomb_under_radar "0"
alias "findbomb" "gameinstructor_enable 1;alias togglefindbomb nofindbomb"
alias "nofindbomb" "gameinstructor_enable 0;alias togglefindbomb findbomb"
nofindbomb
cl_hud_color "0"
cl_hud_background_alpha "0.5"
cl_hud_healthammo_style "0"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "0"
alias "velocity" "cl_showpos 1;alias togglevelocity novelocity"
alias "novelocity" "cl_showpos 0;alias togglevelocity velocity"
novelocity
// Radar
cl_color "3" // I am blue
cl_hud_radar_scale "1"
cl_radar_always_centered "0"
cl_radar_icon_scale_min "0.4"
cl_radar_scale "0.4"
alias "+radar" "cl_radar_always_centered 1;cl_radar_scale 0.9"
alias "-radar" "cl_radar_always_centered 0;cl_radar_scale 0.4"
alias "+use_radar" "+use;cl_radar_always_centered 1;cl_radar_scale 0.9"
alias "-use_radar" "-use;cl_radar_always_centered 0;cl_radar_scale 0.4"
// Inventory
cl_inventory_saved_filter "all,not_defaultequipped"
cl_inventory_saved_sort "slot"
//////////////////////
// Crosshair
// see ui_*.cfg for details
crosshair "1"
// Color
cl_crosshaircolor "5" // Custom color
cl_crosshairusealpha "1" // No default transparency
cl_crosshairalpha "255" // No transparency
alias "chgreen" "cl_crosshaircolor_r 50;cl_crosshaircolor_g 255;cl_crosshaircolor_b 100;alias chcolor chpink" // Green
alias "chpink" "cl_crosshaircolor_r 255;cl_crosshaircolor_g 100;cl_crosshaircolor_b 200;alias chcolor chgreen" // Pink
chgreen
//////////////////////
// Binds
// (OMK: On My Keyboard)
unbindall
// Interact
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "f" "+use_radar;r_cleardecals" // Radar zoom and/or use
bind "b" "buymenu"
bind "g" "drop"
bind "m" "+lookatweapon" // (OMK: ",")
bind "h" "togglefindbomb" // Toggle help messages for bomb
// UI
bind "ESCAPE" "cancelselect"
bind "=" "toggleconsole" // (OMK: "-")
bind "TAB" "+scorenet" // Scores and net graph
bind "MOUSE3" "+radar;r_cleardecals" // Radar zoom
bind "j" "chcolor" // Switch crosshair color
bind "k" "style" // Switch UI style for play/watch
// Comms
alias "mmbl" "unbind MOUSE5;alias togglemmbl nommbl"
alias "nommbl" "bind MOUSE5 +voicerecord;alias togglemmbl mmbl"
nommbl // Push-to-talk on mouse 5
bind "KP_PLUS" "togglemmbl" // Toggle Push-to-talk
bind "SEMICOLON" "togglevoice" // (OMK: "M") Mute all and cut music
bind "u" "messagemode2" // Team chat
bind "y" "messagemode" // All chat
bind "/" "ignoremsg" // (OMK: "=") Switch all/team-only/no chat
bind "KP_SLASH" "radio1"
bind "KP_MULTIPLY" "radio2"
bind "KP_MINUS" "radio3"
bind "." "ignorerad" // (OMK: ":") Toggle radio messages
// Move
bind "w" "+forward" // (OMK: "Z")
bind "a" "+moveleft" // (OMK: "Q")
bind "s" "+back"
bind "d" "+moveright"
bind "SPACE" "+jump;r_cleardecals"
alias "+creep" "+speed;vol_hi"
alias "-creep" "-speed;vol_lo"
bind "SHIFT" "+creep;r_cleardecals"
alias "+crouch" "+duck;vol_hi"
alias "-crouch" "-duck;vol_lo"
bind "CTRL" "+duck;r_cleardecals"
// Weapons
bind "1" "slot2;slot1;r_cleardecals" // Primary (or pistol)
bind "2" "slot1;slot2;r_cleardecals" // Pistol (or primary)
bind "3" "slot3;r_cleardecals" // Knife
bind "5" "slot5;r_cleardecals" // Bomb
bind "r" "+reload;r_cleardecals"
bind "q" "+qswitch" // (OMK: "A")
bind "MOUSE4" "invnextnongrenade;r_cleardecals" // Primary/pistol
bind "MWHEELUP" "slot3;slot2;slot1;r_cleardecals" // Primary or pistol
bind "MWHEELDOWN" "slot3;r_cleardecals" // Switch to knife
bind "t" "use weapon_c4;drop;slot3" // Drop bomb
// Nades
bind "4" "slot3;slot4;r_cleardecals" // Nades
bind "e" "slot3;slot7;r_cleardecals" // Flash
bind "x" "slot3;slot8;r_cleardecals" // Smoke
bind "c" "slot3;slot6;r_cleardecals" // HE
bind "v" "slot3;slot10;r_cleardecals" // Molotov
cl_spec_follow_grenade_key "0" // Left ALT
// Practice
bind "z" "noclip" // (OMK: "W") Fly
bind "i" "incrementvar sv_showimpacts 0 1 1"
bind "o" "god"
bind "p" "incrementvar sv_grenade_trajectory 0 1 1"
bind "[" "give weapon_hegrenade;give weapon_flashbang;give weapon_smokegrenade;give weapon_incgrenade;give weapon_decoy"
bind "]" "togglevelocity"
//////////////////////
// Write config
// Comment this to prevent from overwriting config
host_writeconfig
////////////////////////
// CS:GO local practice config
////////////////////////
sv_cheats "1"
sv_grenade_trajectory_time "20"
sv_grenade_trajectory_thickness "0.2"
sv_infinite_ammo "2"
ammo_grenade_limit_total "5"
ammo_grenade_limit_flashbang "1"
mp_maxmoney "50000"
mp_startmoney "50000"
mp_warmuptime "1"
mp_freezetime "1"
mp_roundtime "60"
mp_roundtime_defuse "60"
mp_roundtime_hostage "60"
mp_buy_anywhere "1"
mp_buytime "1000"
mp_autokick "0"
mp_autoteambalance "0"
mp_limitteams "0"
mp_forcerespawn "1"
mp_respawntime "1"
mp_respawn_on_death_ct "1"
mp_respawn_on_death_t "1"
mp_hostagepenalty "0"
mp_spawnprotectiontime "0"
bot_kick
mp_warmup_end
mp_restartgame "1"
////////////////////////
// CS:GO play config
////////////////////////
//////////////////////
// Sound
//
// Volume
snd_roundstart_volume "0.2"
snd_roundend_volume "0.2"
snd_tensecondwarning_volume "0"
snd_mapobjective_volume "0"
snd_deathcamera_volume "0"
//////////////////////
// UI
//
// Generic
developer "1";con_filter_enable "2" // Display damages
r_drawtracers_firstperson "0" // Bullet tracers are supposedly innacurate
// Model
cl_righthand "1"
viewmodel_fov "54"
viewmodel_offset_x "0"
viewmodel_offset_y "-1"
viewmodel_offset_z "-2"
cl_bob_lower_amt "10"
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
cl_viewmodel_shift_left_amt "0.75"
cl_viewmodel_shift_right_amt "0.5"
// HUD
cl_show_clan_in_death_notice "0"
cl_teamid_overhead_name_alpha "255"
cl_teamid_overhead_name_fadetime "0"
// Radar
cl_radar_rotate "1"
cl_radar_square_with_scoreboard "1"
//////////////////////
// Crosshair
//
crosshair "1"
// Style
cl_crosshairstyle "2" // Classic dynamic
cl_crosshairdot "0" // No dot
cl_crosshair_drawoutline "0" // No outline
// Dimensions
cl_scalecrosshair "1" // Default
cl_crosshairsize "3" // Not too big
cl_crosshairscale "0" // What does this do?
cl_fixedcrosshairgap "3" // Default
cl_crosshairgap "-2" // Very small center gap
cl_crosshairgap_useweaponvalue "0" // Do not change, I know the weapons
cl_crosshairthickness "0.7" // Not too thick, I have high res
cl_crosshair_outlinethickness "1" // No outline anyway
// Dynamic split
cl_crosshair_dynamic_maxdist_splitratio "0.35" // Only split the edges
cl_crosshair_dynamic_splitdist "2" // Large split
cl_crosshair_dynamic_splitalpha_innermod "1" // Never changed
cl_crosshair_dynamic_splitalpha_outermod "1" // but maybe I need to try?
////////////////////////
// CS:GO watch config
////////////////////////
//////////////////////
// Sound
//
// Volume
snd_roundstart_volume "0.2"
snd_roundend_volume "0.2"
snd_tensecondwarning_volume "0.2"
snd_mapobjective_volume "0.2"
snd_deathcamera_volume "0.2"
//////////////////////
// UI
//
// Generic
developer "0";con_filter_enable "0" // Do not display damages
r_drawtracers_firstperson "1" // Bullet tracers
// Model
cl_righthand "1"
viewmodel_fov "68"
viewmodel_offset_x "1"
viewmodel_offset_y "1"
viewmodel_offset_z "-1"
cl_bob_lower_amt "25"
cl_bobamt_lat "1"
cl_bobamt_vert "0.1"
cl_viewmodel_shift_left_amt "2"
cl_viewmodel_shift_right_amt "1.5"
// HUD
cl_show_clan_in_death_notice "1"
cl_teamid_overhead_name_alpha "127"
cl_teamid_overhead_name_fadetime "2"
// Radar
cl_radar_rotate "0"
cl_radar_square_with_scoreboard "0"
//////////////////////
// Crosshair
//
crosshair "1"
// Style
cl_crosshairstyle "4" // Classic static
cl_crosshairdot "1" // Draw dot
cl_crosshair_drawoutline "1" // Draw outline
// Dimensions
cl_scalecrosshair "1" // Default
cl_crosshairsize "5" // Big
cl_crosshairscale "0" // What does this do?
cl_fixedcrosshairgap "3" // Default
cl_crosshairgap "3" // Large center gap
cl_crosshairgap_useweaponvalue "0" // Do not change, I know the weapons
cl_crosshairthickness "1" // Thick
cl_crosshair_outlinethickness "1" // Minimum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment