skip to content
baston.dev
texts

autoexec.cfg

c++ · Nov 12, 2026 · 231 lines

raw
autoexec.cfg7 kb
// CS2 autoexec by baston// =============================================================================// RESET AND BASICS// =============================================================================unbindall // Removes all old binds to avoid conflictscon_enable "1" // Enables the consoleadsp_debug "0"key_bind_version "5"// =============================================================================// MOVEMENT AND BASIC ACTIONS// =============================================================================bind "w" "+forward"bind "s" "+back"bind "a" "+left"bind "d" "+right"bind "shift" "+sprint" // Walk (in CS2 +sprint is the walk key)bind "CTRL" "+duck"bind "SPACE" "+jump"bind "MWHEELUP" "+jump"bind "MWHEELDOWN" "+jump"bind "e" "+use"bind "g" "drop"bind "q" "lastinv"bind "r" "+reload"bind "f" "+lookatweapon"bind "b" "buymenu"bind "m" "teammenu"// Extra movement binds (for baston.tools)bind "j" "+sprint" // Second walk keybind "o" "+jump" // Jumps while heldbind "p" "-jump" // Releases the jump (for a manual jumpthrow with O)// =============================================================================// MOUSE AND AIM (INPUT)// =============================================================================bind "MOUSE1" "+attack"bind "MOUSE2" "+attack2"bind "mouse3" "switchhands" // Moves the gun to the other handbind "mouse_x" "yaw"bind "mouse_y" "pitch"// Alternative attack binds (for baston.tools)bind "k" "+attack"bind "i" "+attack2"// Sensitivity and inputsensitivity "1.6"m_pitch "0.022"m_yaw "0.022"cl_mouselook "1"cl_sniper_delay_unscope "0"cl_sniper_show_inaccuracy "0"sk_autoaim_mode "1"// =============================================================================// WEAPON AND ITEM SLOTS// =============================================================================bind "1" "slot1"bind "2" "slot2"bind "3" "slot3"bind "4" "slot4"bind "5" "slot5"bind "6" "slot6"bind "7" "slot7"bind "8" "slot8"bind "9" "slot9"bind "0" "slot10"bind "x" "slot12"bind "t" "+voicerecord" // Push to talk// Loadout bindsbind "l" "buy ak47;buy m4a1_silencer;buy m4a1;slot1" // Buys your team's rifle (AK-47 or M4) and switches to it (for baston.tools)// =============================================================================// BUY BINDS (KEYPAD)// =============================================================================bind "KP_0" "buy ssg08"bind "KP_1" "buy famas;buy galilar"bind "KP_2" "buy awp"bind "KP_3" "buy ak47;buy m4a1"bind "KP_4" "buy nova"bind "KP_5" "buy deagle;buy revolver"bind "KP_6" "buy p250"bind "KP_7" "buy molotov;buy incgrenade"bind "KP_8" "buy flashbang"bind "KP_9" "buy hegrenade"bind "KP_DIVIDE" "buy scar20;buy g3sg1"bind "KP_MULTIPLY" "buy decoy"bind "KP_MINUS" "buy taser 34"bind "KP_PLUS" "buy smokegrenade"bind "KP_ENTER" "buy vesthelm;buy vest"bind "KP_DEL" "buy defuser"// Buy optionscl_buywheel_nonumberpurchasing "0"cl_dm_buyrandomweapons "0"cl_use_opens_buy_menu "1"// =============================================================================// VIEWMODEL (WEAPON POSITION)// =============================================================================viewmodel_presetpos "0"viewmodel_fov "68"viewmodel_offset_x "2.5"viewmodel_offset_y "2"viewmodel_offset_z "-2"cl_prefer_lefthanded "0"// =============================================================================// CROSSHAIR// =============================================================================cl_crosshairstyle 4cl_crosshair_thickness 2cl_crosshair_drawoutline 1cl_crosshaircolor_r 255cl_crosshaircolor_g 255cl_crosshaircolor_b 255cl_crosshaircolor_a 255cl_crosshair_length 7cl_crosshair_gap 5cl_crosshairdot 0cl_crosshair_t 0cl_crosshairoutline_r 0cl_crosshairoutline_g 0cl_crosshairoutline_b 0cl_crosshairoutline_a 255// Extrascl_crosshair_recoil 0cl_ironsight_dot_scale 1cl_ironsight_usecrosshaircolor 0// =============================================================================// HUD, RADAR AND INTERFACE// =============================================================================hud_scaling "0.8"hud_showtargetid "1"cl_hud_color "0"cl_showloadout "1"cl_teamid_overhead_mode "2"cl_teammate_colors_show "1"cl_hud_radar_scale "1"cl_radar_always_centered "1"cl_radar_icon_scale_min "0.6"cl_radar_rotate "1"cl_radar_scale "0.5"cl_radar_square_with_scoreboard "0"safezonex "1.0"safezoney "1.0"// Telemetry (FPS and ping in the corner), all hiddencl_hud_telemetry_frametime_show "0"cl_hud_telemetry_ping_show "0"cl_hud_telemetry_net_misdelivery_show "0"cl_hide_avatar_images "0"cl_sanitize_player_names "0"cl_weapon_selection_rarity_color "1" // Weapon selection shows skin rarity colorsr_show_build_info "false"// Scoreboardbind "TAB" "+showscores"cl_scoreboard_mouse_enable_binding "+attack2"cl_scoreboard_survivors_always_on "0"// Chat and communicationbind "u" "messagemode2" // Team chatbind "y" "messagemode" // All chatbind "z" "radio"bind "v" "+spray_menu"//bind "DEL" "mute"bind "`" "toggleconsole"bind "ESCAPE" "cancelselect"bind "PAUSE" "pause"//bind "f8" "disconnect" // Quick disconnectcl_mute_all_but_friends_and_party "0"cl_mute_enemy_team "0"cl_player_ping_mute "0"// =============================================================================// AUDIO// =============================================================================volume ".05"snd_deathcamera_volume "0.0"snd_duckerattacktime "0.5"snd_duckerreleasetime "2.5"snd_duckerthreshold "0.15"snd_ducktovolume "0.55"snd_hrtf_distance_behind "100"snd_mapobjective_volume "0.12"snd_menumusic_volume "0.000000"snd_mixahead "0.02"snd_mute_losefocus "0"snd_mute_mvp_music_live_players "0"snd_mvp_volume "0.11"snd_roundend_volume "0.2"snd_roundstart_volume "0.06"snd_tensecondwarning_volume "0.35"// =============================================================================// NETWORK AND PERFORMANCE// =============================================================================rate "786432.000000"cl_interp "0.015625"cl_interp_ratio "1"net_allow_multicast "1"mm_dedicated_search_maxping "30"fps_max "999"fps_max_ui "120"engine_low_latency_sleep_after_client_tick "1"engine_no_focus_sleep "0"r_fullscreen_gamma "2.7"// System and debugcl_timeout "30"demo_flush "0"r_drawtracers_firstperson "1"r_player_visibility_mode "1"trusted_launch "1"vprof_offiv_offcl_autohelp "0"gameinstructor_enable "0"// Joystick offjoystick "0"joy_advanced "0"joy_display_input "0"joy_response_move "1"