// CS2 autoexec - converted from CS:GO config // Location: Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/autoexec.cfg // Launch option: +exec autoexec clear con_enable "1" //Enables Console gameinstructor_enable "0" //Removes in-game instructions cl_disablehtmlmotd "1" //Removes "Message of the day" page when joining a server cl_prefer_lefthanded "false" //Right-handed viewmodel (replaces cl_righthand 0 -> set "true" for left hand) echo 1 bind 1 slot1 //primary bind 2 slot2 //secondary bind 3 slot3 //melee bind 5 slot5 //bomb bind 4 slot6 //HE grenade bind x slot7 //flash bind c slot8 //smoke bind 6 slot9 //decoy bind z slot10 //molotov/incendiary bind q lastinv //quickswitch bind mwheeldown +jump bind mwheelup +jump bind "v" "+voicerecord" //You can communicate with the V key instead of K bind "f3" "buy flashbang; buy smokegrenade; buy molotov; buy hegrenade" //Buy grenades bind "f" "+lookatweapon" //Inspect your weapon with F bind "k" "say !r" //Used together with CKSurf plugin for Bhop, Surf & Kz bind "leftarrow" "+left" //Turn left with arrow key bind "rightarrow" "+right" //Turn right with arrow key bind "n" "noclip" //Needs sv_cheats 1 on your own server unbind "i" bind mouse5 switchhands //Swap viewmodel hand (CS2 default key is H) echo 2 cl_crosshairalpha 200 cl_crosshaircolor 1 cl_crosshairdot 0 cl_crosshairgap -2 cl_crosshairsize 2 cl_crosshairstyle 4 cl_crosshairusealpha 1 cl_crosshairthickness 0.5 cl_crosshair_sniper_width 1 cl_crosshair_drawoutline 0 echo 3 hud_scaling "0.95" //Scales hud elements hud_showtargetid "1" //Enables display of target names, important cl_hud_color "7" //HUD color (check the in-game picker, CS2 color list differs from CS:GO) cl_showloadout "1" //So it doesnt fade out the weapon slots cl_teamid_overhead_mode "3" //Always show teammate pips + name + equipment overhead safezonex "1" //Screen width percentage for the hud safezoney "1" //Screen height percentage for the hud echo 4 cl_teammate_colors_show 2 //Show letters in radar cl_hud_radar_scale "1" //Radar size, not too big and not too small cl_radar_scale "0.4" //Radar map scale size, 0.4 works on all maps cl_radar_always_centered "0" //Centers map instead of player cl_radar_icon_scale_min "1" //Minimum player icon scale echo 5 // Raw input is always on in CS2 and the Windows accel cvars are gone zoom_sensitivity_ratio "0.818933027098955175" //Renamed from zoom_sensitivity_ratio_mouse echo 6 viewmodel_offset_x "1" viewmodel_offset_y "2" viewmodel_offset_z "-2" viewmodel_fov "68" echo 7 // cl_bob* and cl_viewmodel_shift* were removed in CS2 echo 8 rate "786432" //CS2 default/max, there is no reason to lower it // cl_cmdrate / cl_updaterate / cl_interp* / cl_lagcompensation / cl_predict* are gone (sub-tick) echo 9 // net_graph replacement (0 = never, 1 = only when bad, 2 = always) cl_showfps "1" cl_hud_telemetry_frametime_show "2" cl_hud_telemetry_ping_show "2" cl_hud_telemetry_net_misdelivery_show "2" echo 10 fps_max "0" //Uncapped (the CS:GO loading-time issue does not apply in CS2) fps_max_ui "245" //Replaces fps_max_menu r_drawtracers_firstperson "0" //Remove first person tracers // Brightness: use Settings > Video > Brightness (mat_monitorgamma is gone) echo 11 snd_voipvolume "0.4" //Replaces voice_scale echo 12 cl_use_opens_buy_menu "0" //Disables E from opening buy-menu cl_autowepswitch 0 //Disable auto-weapon switch mm_dedicated_search_maxping "80" //Maxping Search in Matchmaking echo 13 alias "d" "disconnect" alias "q" "quit" alias "r" "retry" alias "rs" "mp_restartgame 1" echo 14 host_writeconfig echo "autoexec loaded"