Last active
March 6, 2025 11:24
-
-
Save kus/704fdc7abb0663c155d6d89aa2e1e697 to your computer and use it in GitHub Desktop.
Kus' CS2 autoexec.cfg with buy script, launch options, rates, grenade crosshair switcher etc
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
// Place in C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\autoexec.cfg | |
// To get your existing binds type "host_writeconfig" in console and find your config at C:\Program Files (x86)\Steam\userdata\<steamID3>\730\remote\cs2_user_keys.vcfg and cs2_user_convars.vcfg | |
// Launch options | |
// -noforcemaccel -noforcemparms -noforcemspd -novid -tickrate 128 -high -nojoy +exec autoexec | |
// Loadout | |
// CT | |
// Pistol: USP-S, CZ75, Five-Seven, Deagle, R8 | |
// Mid-tier: MP9, XM, P90, Mag-7, Negev | |
// Rifles: Famas, M4A1-S, AWP, M4A4, SCAR-20 | |
// T | |
// Pistol: Glock, P250, Rek9, Deagle, R8 | |
// Mid-tier: MP7, XM, P90, Mac-10, Negev | |
// Rifles: Galil, AK, AWP, Scout, G3SG1 | |
// Buy script | |
// Sets up numpad to buy the first 3 items from each tier across 1-9 | |
bind "kp_1" "buy secondary1" | |
bind "kp_2" "buy secondary2" | |
bind "kp_3" "buy secondary3" | |
bind "kp_4" "buy midtier0" | |
bind "kp_5" "buy midtier1" | |
bind "kp_6" "buy midtier2" | |
bind "kp_7" "buy rifle0" | |
bind "kp_8" "buy rifle1" | |
bind "kp_9" "buy rifle2" | |
bind "kp_divide" "buy hegrenade" | |
bind "kp_multiply" "buy flashbang" | |
bind "kp_minus" "buy smokegrenade" | |
bind "kp_plus" "buy molotov;buy incgrenade" | |
bind "kp_enter" "buy vesthelm;buy vest" | |
bind "kp_0" "buy defuser" | |
bind "kp_del" "buy decoy" | |
// Nade crosshair | |
// Normal | |
alias "xhair_res" "cl_crosshairsize 1" | |
// Throw | |
alias "xhair_big" "cl_crosshairsize 255" | |
// Weapon selection | |
bind "1" "slot1; xhair_res; css_1" // Primary | |
bind "2" "slot2; xhair_res; css_2" // Secondary | |
bind "3" "slot3; xhair_res; css_3" // Knife / Zeus x27 | |
bind "4" "slot4; xhair_big; css_4" // Cycle Grenades | |
bind "5" "slot5; xhair_res; css_5" // Bomb | |
bind "6" "slot6; xhair_big; css_6" // HE Grenade | |
bind "7" "slot7; xhair_big; css_7" // Flashbang | |
bind "8" "slot8; xhair_big; css_8" // Smoke Grenade | |
bind "9" "slot9; xhair_big; css_9" // Decoy Grenade | |
bind "0" "slot10; xhair_big; css_0" // Molotov Cocktail | |
bind "-" "slot11; xhair_res" // Zeus x27 | |
bind "k" "slot12; xhair_res" // Medi-Shot in Danger Zone | |
bind "ALT" "slot3; xhair_res" // Knife | |
bind "MOUSE4" "slot2; xhair_res" // Pistol | |
// Movement | |
bind "leftarrow" "+turnleft" | |
bind "rightarrow" "+turnright" | |
bind "uparrow" "+forward" | |
bind "downarrow" "+back" | |
bind "enter" "+attack" | |
bind "w" "+forward" | |
bind "s" "+back" | |
bind "a" "+left" | |
bind "d" "+right" | |
bind "q" "+sprint" | |
bind "MOUSE1" "+attack" // Primary attack | |
bind "SPACE" "+attack2" // Secondary attack | |
bind "MOUSE2" "+jump" // Jump | |
bind "SHIFT" "+duck" // Crouch | |
bind "MWHEELUP" "+jump" // Jump | |
bind "MWHEELDOWN" "+jump" // Jump | |
option_duck_method "0" // Hold for crouch | |
option_speed_method "1" // Toggle for walk | |
// Misc controls | |
bind "MOUSE3" "player_ping" // Ping for Danger Zone | |
bind "MOUSE5" "+use" // Use | |
bind "b" "buymenu" // Buy menu | |
bind "e" "+spray_menu" // Spray | |
bind "f" "slot8; xhair_big" // Smoke grenade | |
bind "g" "+lookatweapon" // Look at weapon | |
bind "m" "teammenu" // Choose team | |
bind "n" "noclip" // No clip | |
bind "r" "+reload" // Reload | |
bind "CTRL" "drop" // Drop weapon | |
bind "y" "messagemode" // Say | |
bind "u" "messagemode2" // Say team | |
bind "TAB" "+showscores" // Score board | |
bind "`" "toggleconsole" // Console | |
bind "," "incrementvar volume 0.1 1 0.9" // Volume | |
bind "." "toggle cl_radar_scale 0.3 1" // Toggle radar zoom | |
bindtoggle "/" "voice_enable" // Toggle voice chat | |
bind "ESCAPE" "cancelselect" // Cancel | |
bind "F1" "callvote" // Vote | |
bind "F5" "jpeg" // Screenshot | |
bind "i" "demoui" // Demo controls | |
bind "v" "+voicerecord" // Voice | |
cl_buywheel_donate_key "0" // CTRL to drop gun in buy menu | |
// Radio | |
bind "c" "cheer" // Cheer | |
bind "z" "negative" // Negative | |
bind "x" "roger" // Roger | |
bind "t" "+radialradio" | |
bind "h" "+radialradio2" | |
// bind "j" "+radialradio3" | |
bind "[" "radio" | |
bind "]" "radio1" | |
bind "\" "radio2" | |
// Settings | |
con_enable "1" // Enable developer console | |
cl_clanid "7934098" // Current clan ID for name decoration | |
cl_color "0" // Preferred teammate color | |
mm_dedicated_search_maxping "50" // Max ping for game search [Min = 50, Max = 350] | |
cl_dm_buyrandomweapons "0" // Buy Random Weapons in Deathmatch "1", Disabled = "0" | |
cl_hide_avatar_images "0" // Hide Player Avatar Images Enabled = "1", Disabled = "0" | |
cl_parachute_autodeploy "1" // DangerZone Parachute Autodeploy Enabled = "1", Disabled = "0" | |
cl_sanitize_player_names "0" | |
cl_debounce_zoom "0" | |
cl_sniper_auto_rezoom "1" | |
cl_silencer_mode "0" | |
cl_use_opens_buy_menu "1" | |
// Mouse | |
cl_mouselook "1" | |
bind "MOUSE_Y" "!pitch" // Invert mouse | |
bind "MOUSE_X" "yaw" | |
m_pitch "-0.022000" // Mouse pitch factor | |
mouse_inverty "1" // Invert mouse | |
m_yaw "0.022" // Mouse yaw factor | |
sensitivity "4" // Sensitivity | |
zoom_sensitivity_ratio "1" | |
// Rates | |
rate "786432" // ( def. "196608" ) Max bytes/sec the host can receive data | |
cl_lagcompensation "1" // ( def. "1" ) Perform server side lag compensation of weapon firing events | |
cl_predict "1" // Skip waiting for server feedback and simulate client side movement in real-time | |
cl_predictweapons "1" // ( def. "1" ) Perform client side prediction of weapon effects | |
cl_resend "3" // ( def. "2" ) min. 1.500000 max. 20.000000 - Delay in seconds before the client will resend the "connect" attempt | |
cl_timeout "30" // ( def. "30" ) min. 4.000000 max. 30.000000 - After this many seconds without receiving a packet from the server, the client will disconnect itself | |
// Radar | |
cl_hud_radar_scale "1.3" // ( def. "1" ) min. 0.800000 max. 1.300000 - Scale the physical radar | |
cl_radar_always_centered "0" // ( def. "1" ) Allows you to be on edge of map and see maximum distance | |
cl_radar_icon_scale_min "0.7" // ( def. "0.6" ) min. 0.400000 max. 1.250000 - Scale the map icons | |
cl_radar_rotate "1" // ( def. "1" ) Rotate the rader so north is always where you are facing | |
cl_radar_scale "0.3" // ( def. "0.7" ) min. 0.250000 max. 1.000000 - Scale the map inside the radar | |
cl_radar_square_with_scoreboard "1" // ( def. "1" ) Full map radar when scoreboard is open | |
// Crosshair | |
// http://clutchround.com/csgo-crosshair-settings/ | |
crosshair "1" // ( def. "1" ) Show crosshair | |
cl_crosshairsize "1" // ( def. "5" ) | |
cl_crosshairgap "-1" // ( def. "1" ) | |
cl_crosshaircolor "1" // ( def. "1" ) Set crosshair color as defined in game_options.consoles.txt | |
cl_crosshairthickness "1" // ( def. "0.5" ) | |
cl_crosshairstyle "4" // ( def. "2" ) 0 = Default, 1 = Default Static, 2 = Classic (accurate recoil/spread feedback), 3 = Classic Dynamic, 4 = Classic Static, 5 = Classic 1.6/CS:S Style | |
cl_crosshairalpha "255" // ( def. "200" ) min. 0.000000 max. 255.000000 - Transparency of your crosshair 255 = solid | |
cl_crosshairdot "0" // ( def. "1" ) Crosshair dot | |
cl_crosshair_drawoutline "0" // ( def. "1" ) Draws a black outline around the crosshair for better visibility | |
cl_crosshair_sniper_width "1" // ( def. "1" ) If >1 sniper scope cross lines gain extra width (1 for single-pixel hairline) | |
cl_show_observer_crosshair "2" // ( def. "1" ) 0 = None, 1 = Friends & Party, 2 = All | |
// Audio | |
volume "1" // Volume | |
snd_mixahead "0.05" // Reduces the sound delay to 50ms | |
cl_mute_all_but_friends_and_party "0" // Mute everyone but Steam friends and your current party | |
cl_mute_enemy_team "0" // Mute enemy voice | |
snd_mvp_volume "0.1" // MVP sound | |
snd_deathcamera_volume "0" // Death camera | |
snd_mapobjective_volume "0" // Bomb/Hostage | |
snd_menumusic_volume "0" // Main menu | |
snd_roundend_volume "1" // Round end | |
snd_roundstart_volume "0" // Round start | |
snd_tensecondwarning_volume "0" // Ten second warning | |
snd_voipvolume "0.2" // Volume of other players | |
snd_mute_losefocus "0" // Play sound in desktop | |
cl_player_ping_mute "0" // Mute ping sound | |
sv_voiceenable "1" | |
snd_roundend_volume "0" | |
snd_mute_mvp_music_live_players "1" | |
snd_headphone_eq "1" // Crisp | |
snd_steamaudio_enable_perspective_correction "0" | |
// HUD | |
cl_autohelp "0" // Disable help | |
gameinstructor_enable "0" // Disable game hints | |
cl_showfps "0" | |
cl_showloadout "1" // Always shows the players inventory on the right side of the screen | |
cl_showpos "0" | |
cl_teammate_colors_show "1" | |
hud_scaling "1" // HUD scale | |
safezonex "1" | |
// safezonex "0.7441" // HUD horizontal offset (2560/3440) HUD cuts off at 16:9 as I have 21:9 monitor | |
safezoney "1" // HUD vertical offset | |
hud_showtargetid "1" // Show target name | |
ui_steam_overlay_notification_position "bottomright" | |
cl_teamid_overhead_mode "3" // Always show team behind walls with equipment | |
cl_use_opens_buy_menu "0" // Disable button E from opening buy-menu (Useful when picking up weapons in spawn) | |
spec_replay_autostart "0" // Disable "Auto-start Killer Replay" when available | |
cl_hud_color "2" // Bright white hud | |
hud_scaling "1.1" // Hud scale | |
cl_crosshair_friendly_warning "0" // Friendly fire warning on rectile | |
// View model (weapon) | |
viewmodel_fov "68" // ( def. "54" ) FOV | |
viewmodel_offset_x "2.5" // ( def. "0.0" ) Offset x | |
viewmodel_offset_y "0" // ( def. "0.0" ) Offset y | |
viewmodel_offset_z "-1.5" // ( def. "0.0" ) Offset z | |
viewmodel_presetpos "3" // ( def. "1" ) Preset - 1:"Desktop", 2:"Couch", 3:"Classic" | |
viewmodel_offset_randomize "0" | |
// Disable predictions | |
cl_predict_body_shot_fx "0" | |
cl_predict_head_shot_fx "0" | |
cl_predict_kill_ragdolls "0" | |
// Security | |
// Stop people crashing you in-game from spamming lobby invites | |
cl_invites_only_friends "1" | |
cl_invites_only_mainmenu "1" | |
cl_join_advertise "2" // Let friends join your community servers | |
// Alias | |
alias "prac" "sv_grenade_trajectory_prac_pipreview 1; sv_grenade_trajectory_prac_trailtime 4; sv_showimpacts 1; mp_buy_anywhere 1; mp_freezetime 0; mp_ignore_round_win_conditions 1; mp_buytime 99999; mp_startmoney 60000; mp_maxmoney 60000; ammo_grenade_limit_total 6; mp_warmup_pausetimer 1; mp_warmup_start; sv_cheats 1; cl_showpos 1; sv_infinite_ammo 2; mp_timelimit 60; mp_roundtime 60; mp_roundtime_defuse 60; mp_roundtime_hostage 60; bot_kick; mp_restartgame 1; say Practice Enabled!" | |
alias "d" "disconnect" | |
alias "q" "quit" | |
alias "exit" "quit" | |
// Sayings | |
alias sayings "echo Sayings:; echo - situated_every_corner; echo - flex_away;" | |
alias "situated_every_corner" "say we are situated on every corner, dont even try" | |
alias "flex_away" "say Anyway, flex away boys. It doesn’t change the fact that I played with you after 6 months off and top fragged by a huge margin" | |
echo "Kus' CS2 config v1.0 loaded" | |
// Persist | |
host_writeconfig |
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
"video.cfg" | |
{ | |
"setting.defaultres" "1920" | |
"setting.defaultresheight" "1080" | |
"setting.refreshrate_numerator" "240" | |
"setting.refreshrate_denominator" "1" | |
"setting.fullscreen" "1" | |
"setting.mat_vsync" "0" | |
"Version" "15" | |
"VendorID" "4318" | |
"DeviceID" "8708" | |
"setting.cpu_level" "3" | |
"setting.gpu_mem_level" "3" | |
"setting.gpu_level" "3" | |
"setting.knowndevice" "0" | |
"setting.nowindowborder" "1" | |
"setting.fullscreen_min_on_focus_loss" "1" | |
"setting.high_dpi" "0" | |
"setting.coop_fullscreen" "0" | |
"setting.videocfg_shadow_quality" "0" | |
"setting.videocfg_texture_detail" "0" | |
"setting.videocfg_ao_detail" "0" | |
"setting.videocfg_particle_detail" "0" | |
"setting.videocfg_fsr_detail" "0" | |
"setting.videocfg_hdr_detail" "-1" | |
"setting.r_texturefilteringquality" "0" | |
"setting.r_low_latency" "2" | |
"setting.r_csgo_cmaa_enable" "0" | |
"AutoConfig" "2" | |
"setting.msaa_samples" "4" | |
"setting.shaderquality" "1" | |
"setting.videocfg_dynamic_shadows" "1" | |
"setting.aspectratiomode" "1" | |
"setting.monitor_index" "0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment