Skip to content

Instantly share code, notes, and snippets.

@mrjohannchang
Last active January 6, 2026 20:42
Show Gist options
  • Select an option

  • Save mrjohannchang/633f315b51a6d800cadb23e8d1ce8ddf to your computer and use it in GitHub Desktop.

Select an option

Save mrjohannchang/633f315b51a6d800cadb23e8d1ce8ddf to your computer and use it in GitHub Desktop.
Counter-Strike 2 Config

Counter-Strike 2 Config

In Developer Console:

Config

  • Set mouse sensitivity to 1.25:

    sensitivity 1.25
    
  • Set radar HUD scale to 1.3:

    cl_hud_radar_scale 1.300000
    
  • Set radar map zoom to 0.3:

    cl_radar_scale 0.300000
    
  • Show all grenade reticle with 0 delay:

    cl_grenadecrosshair_keepusercrosshair false
    cl_grenadecrosshair_flash true
    cl_grenadecrosshair_explosive true
    cl_grenadecrosshair_fire true
    cl_grenadecrosshair_smoke true
    cl_grenadecrosshair_decoy true
    cl_grenadecrosshairdelay_flash 0
    cl_grenadecrosshairdelay_explosive 0
    cl_grenadecrosshairdelay_fire 0
    cl_grenadecrosshairdelay_smoke 0
    cl_grenadecrosshairdelay_decoy 0
    
  • Always show frame time and FPS / ping / network problems:

    cl_hud_telemetry_frametime_show 2
    cl_hud_telemetry_ping_show 2
    cl_hud_telemetry_net_misdelivery_show 2
    
  • Show detailed network problems when there is any:

    cl_hud_telemetry_net_detailed 1
    cl_hud_telemetry_net_quality_graph_show 1
    
  • Set other player voice volume to 141%:

    snd_voipvolume 2
    
  • Set max acceptable matchmaking ping to 90 ms:

    mm_dedicated_search_maxping 90
    
  • Viewmodel optimizations (optional):

    viewmodel_offset_x -0.5  // default 1
    viewmodel_offset_y 1  // default 1
    viewmodel_offset_z -2  // default -1
    viewmodel_fov 68  // default 60
    
  • Always show inventory

    cl_showloadout true
    

Keybindings

  • Rebind mouse wheel from weapon switching to map zooming in and out:

    unbind mwheelup
    unbind mwheeldown
    bind mwheelup "cl_radar_scale 1"
    bind mwheeldown "cl_radar_scale 0.3"
    
  • Unbind ` form toggling the developer console, and rebind it to k:

    unbind `
    bind k "toggleconsole"
    
  • Unbind f from inspecting weapon:

    unbind f
    
  • Bind j for inspecting weapon:

    bind j "+lookatweapon"
    
  • Unbind 4 from cycling grenades:

    unbind 4
    
  • Bind 4 for HE grenade:

    bind 4 "slot6"
    
  • Bind f for flashbang:

    bind f "slot7"
    
  • Bind t for smoke grenade:

    bind t "slot8"
    
  • Bind v for Molotov cocktail / Incendiary grenade:

    bind v "slot10"
    
  • Bind z for decoy grenade:

    bind z "slot9"
    
  • Bind ` to enable no clip mode:

    bind ` "sv_cheats true; noclip"
    
  • Bind l to re-throw last grenade:

    bind l "sv_cheats true; sv_rethrow_last_grenade"
    
  • Aliases and binds to bind follow_recoil to only activate when holding mouse2

    cl_crosshair_recoil "false"
    alias "+follow_recoil" "+attack2; cl_crosshair_recoil true"
    alias "-follow_recoil" "-attack2; cl_crosshair_recoil false; spec_prev"
    bind "mouse1" "+attack"    // Key for shoot/attack
    bind "mouse2" "+follow_recoil"    // Key for scope/secondary attack, and follow recoil activation
    
  • Change behavior of mouse2 to normal when viewing scoreboard

    alias "+scoreboard_fix" "+showscores; bind mouse2 +attack2"
    alias "-scoreboard_fix" "-showscores; bind mouse2 +follow_recoil; cl_showloadout true"
    bind "TAB" "+scoreboard_fix"    // Key for showing scoreboard (Default is TAB)
    

Oneliner

sensitivity 1.25; cl_hud_radar_scale 1.300000; cl_radar_scale 0.300000; cl_grenadecrosshair_keepusercrosshair false; cl_grenadecrosshair_flash true; cl_grenadecrosshair_explosive true; cl_grenadecrosshair_fire true; cl_grenadecrosshair_smoke true; cl_grenadecrosshair_decoy true; cl_grenadecrosshairdelay_flash 0; cl_grenadecrosshairdelay_explosive 0; cl_grenadecrosshairdelay_fire 0; cl_grenadecrosshairdelay_smoke 0; cl_grenadecrosshairdelay_decoy 0; cl_hud_telemetry_frametime_show 2; cl_hud_telemetry_ping_show 2; cl_hud_telemetry_net_misdelivery_show 2; cl_hud_telemetry_net_detailed 1; cl_hud_telemetry_net_quality_graph_show 1; snd_voipvolume 2; mm_dedicated_search_maxping 90; cl_showloadout true; unbind mwheelup; unbind mwheeldown; bind mwheelup "cl_radar_scale 1"; bind mwheeldown "cl_radar_scale 0.3"; unbind `; bind k "toggleconsole"; unbind f; bind j "+lookatweapon"; unbind 4; bind 4 "slot6"; bind f "slot7"; bind t "slot8"; bind v "slot10"; bind z "slot9"; bind ` "sv_cheats true; noclip"; bind l "sv_cheats true; sv_rethrow_last_grenade"; alias "+follow_recoil" "+attack2; cl_crosshair_recoil true"; alias "-follow_recoil" "-attack2; cl_crosshair_recoil false; spec_prev"; bind "mouse1" "+attack"; bind "mouse2" "+follow_recoil"; alias "+scoreboard_fix" "+showscores; bind mouse2 +attack2"; alias "-scoreboard_fix" "-showscores; bind mouse2 +follow_recoil; cl_showloadout true"; bind "TAB" "+scoreboard_fix";

Crosshair

暗色準星 (細長)

CSGO-kVSVT-JyvAc-vK9Q7-7HBrx-DOQNN

暗色準星 (大)

CSGO-j3ehP-OLxnC-kALtk-m47jM-pwzpH
@mrjohannchang
Copy link
Author

mrjohannchang commented Oct 30, 2025

mp_warmuptime 99999
mp_buytime 99999
sv_infinite_ammo 1
mp_warmuptime 99999; mp_buytime 99999; sv_infinite_ammo 1

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