Last active
November 12, 2023 13:35
-
-
Save Peksa/2b19ed612d0de53ae31e4017e73d7e46 to your computer and use it in GitHub Desktop.
CS2 autoexec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear | |
// Crosshair | |
//cl_crosshair_drawoutline "1" | |
//cl_crosshair_dynamic_maxdist_splitratio "0" | |
//cl_crosshair_dynamic_splitalpha_innermod "1" | |
//cl_crosshair_dynamic_splitalpha_outermod "0.3" | |
//cl_crosshair_dynamic_splitdist "2.5" | |
//cl_crosshair_outlinethickness "0.5" | |
//cl_crosshairalpha "1000" | |
//cl_crosshaircolor "5" // custom color, defined below | |
//cl_crosshaircolor_b "0" | |
//cl_crosshaircolor_g "255" | |
//cl_crosshaircolor_r "0" | |
//cl_crosshairdot "0" | |
//cl_crosshairgap "-3" | |
//cl_crosshairgap_useweaponvalue "0" | |
//cl_crosshairscale "1.3" | |
//cl_crosshairsize "2" | |
//cl_crosshairstyle "4" | |
//cl_crosshairthickness "0.5" | |
//cl_crosshairusealpha "1" | |
//cl_fixedcrosshairgap "-4.5" | |
// Viewmodel | |
viewmodel_presetpos "0" // otherwise preset will reset viewmodel on each launch of game | |
viewmodel_fov "60" | |
viewmodel_offset_x "1" | |
viewmodel_offset_y "2" | |
viewmodel_offset_z "-2" | |
// Audio | |
snd_mute_losefocus "1" // mute game when alt-tabbed | |
snd_menumusic_volume "0" | |
// Video | |
r_fullscreen_gamma 1.6 | |
csgo_monitorgamma 1.6 | |
fps_max "0" | |
fps_max_ui "165" | |
fps_max_tools "165" | |
cq_netgraph_problem_show_auto true | |
cq_netgraph 1 | |
// Rates and Interpolation | |
cl_updaterate "128" | |
cl_interp "0.0" | |
cl_interp_ratio "1" | |
cl_lagcompensation true | |
rate "786432" | |
// Mouse commands | |
sensitivity "0.4" | |
m_yaw "0.022" | |
zoom_sensitivity_ratio_mouse "1.0" | |
// Game | |
cl_autohelp true | |
cl_use_opens_buy_menu false | |
// HUD | |
hud_showtargetid true | |
hud_scaling "1.15" | |
cl_hud_color "0" | |
safezoney 1 | |
safezonex 1 | |
cl_hud_radar_scale "1.3" | |
cl_radar_always_centered true | |
cl_radar_rotate true | |
cl_radar_scale "0.40" | |
cl_radar_icon_scale_min "0.4" | |
cl_showloadout true // always show loadout (easy to check what grenades you have) | |
cl_crosshair_sniper_width 1 // use 2 for wider lines in scoped mode | |
cl_teamid_overhead_colors_show true | |
// Binds | |
// Hold E for futher zoomed out radar, also switch auto to weapon picked up with E. | |
alias "+radar" "+use; cl_radar_always_centered 0; cl_radar_scale 0.25" | |
alias "-radar" "-use; cl_radar_always_centered 1; cl_radar_scale 0.40" | |
bind "e" "+radar" | |
bind "mwheeldown" "+jump" // jump on scroll | |
bind "mouse5" "+voicerecord" | |
bind "mouse4" "r_cleardecals" | |
bind "4" "slot6" // he | |
bind "f" "slot7" // flash | |
bind "v" "slot10" // incgrenade, molotov | |
bind "c" "slot8" // smoke | |
bind "z" "slot9" // decoy | |
bind "x" "slot12" // health etc | |
bind "t" "+lookatweapon" // instead of F | |
bind "o" "radio1" | |
bind "p" "radio2" | |
bind "]" "radio3" // swedish Å | |
unbind "f1" | |
unbind "f2" | |
unbind "f3" | |
unbind "f4" | |
unbind "f5" | |
unbind "f6" | |
unbind "f7" | |
unbind "f8" | |
// Buys | |
bind "uparrow" "buy hegrenade" | |
bind "leftarrow" "buy smokegrenade" | |
bind "downarrow" "buy flashbang" | |
bind "rightarrow" "buy molotov; buy incendiary" | |
bind "del" "buy defuser" | |
bind "end" "buy decoy" | |
bind "pgdn" "buy vest" | |
bind "pgup" "buy vesthelm" | |
unbind "i" // don't want to toggle loadout, always show it | |
unbind "mwheelup" | |
// Misc | |
mm_dedicated_search_maxping "25" | |
ui_steam_overlay_notification_position "topleft" | |
player_nevershow_communityservermessage "1" | |
cl_spec_mode "4" | |
cl_join_advertise "2" // allow friends to join community servers | |
cl_dm_buyrandomweapons false // don't have random weapons on by default in deathmatch | |
voice_scale "1.0" // good to have in cfg, dont forget off | |
host_writeconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment