Skip to content

Instantly share code, notes, and snippets.

@jarulsamy
Last active December 25, 2019 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jarulsamy/e0ac1185a1dba6efbb95d3532b260445 to your computer and use it in GitHub Desktop.
Save jarulsamy/e0ac1185a1dba6efbb95d3532b260445 to your computer and use it in GitHub Desktop.
Custom Auto Exec for CSGO
// Joshua Arulsamy
// CS:GO config
// Updated 11/29/2019
// Crosshair
cl_crosshaircolor 3
cl_fixedcrosshairgap -2.5
cl_crosshairstyle 1
hud_showtargetid 1
// Repositions the gunmodel to mimic CSS more closely.
viewmodel_presetpos "3"
viewmodel_fov "68"
viewmodel_offset_x "2.5"
viewmodel_offset_y "1"
viewmodel_offset_z "-1.500000"
// Removes the shifting of the arm when crouching down.
cl_viewmodel_shift_left_amt "0"
cl_viewmodel_shift_right_amt "0"
m_mousespeed 0
m_mouseaccel 0
// Rates
rate "786432" // max rate, lower if having network issues
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0.0"
cl_interp_ratio "1"
cl_interpolate "1"
cl_lagcompensation "1"
net_client_steamdatagram_enable_override "1" // SDR beta
// Mouse
sensitivity "2.30"
zoom_sensitivity_ratio_mouse "1.0"
m_rawinput "1"
m_pitch "0.022"
m_customaccel "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "0"
// Video
mat_monitorgamma "1.0"
mat_queue_mode "-1" // auto detect multi-core rendering
fps_max_menu "145"
r_dynamic "0"
r_drawtracers_firstperson "1"
engine_no_focus_sleep "0" // default 50
fps_max 0
cl_showfps 1
// Audio
voice_enable "1"
voice_scale "0.65" // receive volume
voice_mixer_volume "1" // mic volume
windows_speaker_config "1" // headphone audio output
snd_mixahead "0.05"
snd_musicvolume "0"
snd_headphone_pan_exponent "2"
snd_headphone_pan_radial_weight "2"
snd_legacy_surround "0"
snd_pitchquality "1"
dsp_enhance_stereo "0"
// HUD
hud_scaling "0.9"
cl_color 4
cl_radar_scale "0.5"
cl_radar_rotate "1"
closeonbuy "1"
cl_forcepreload "1"
cl_showhelp 0
cl_lagcompensation "1"
cl_predictweapons "1"
cl_resend "6"
cl_timeout "9999999"
r_dynamic "0"
r_eyegloss "0"
r_eyemove "0"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
muzzleflash_light "0"
sys_antialiasing "0"
sys_aspectratio "-1"
sys_refldetail "0"
mat_queue_mode 2
// Misc
con_enable "1"
developer "0" // print console to screen
con_filter_enable "2"
con_filter_text "Damage "
ui_steam_overlay_notification_position "bottomright"
player_nevershow_communityservermessage "1"
mm_dedicated_search_maxping "60" // max ping for matchmaking games
mm_dedicated_force_servers ""
mm_csgo_community_search_players_min "8"
gameinstructor_enable "0"
option_duck_method "0"
option_speed_method "0"
cl_forcepreload "1"
cl_downloadfilter "nosound" // mapsonly pls volvo
cl_join_advertise "2" // let friends join your game
cl_disablehtmlmotd "0"
cl_autohelp "0"
cl_showhelp "0"
cl_disablefreezecam "1"
spec_replay_autostart "0"
cl_dm_buyrandomweapons "0"
cl_teammate_colors_show "1"
cl_autowepswitch "0" // auto weapon switch on pickup
cl_use_opens_buy_menu "0" // `e` opening buy menu
cl_scoreboard_mouse_enable_binding "showmouse" // press `t` to enable mouse on the scoreboard
closeonbuy "0"
hud_takesshots "0" // scoreboard screenshot at end of match
cl_clanid "4HEAD" // rip afterlife
password ""
// Binds
unbind alt
unbind f1
unbind f3
unbind f4
// bind x "radio2"
bind x "+voicerecord"
bind q "lastinv"
bind w "+forward"
bind a "+moveleft"
bind s "+back"
bind d "+moveright"
bind z "radio1"
bind c "radio3"
bind e "+use"
bind r "+reload"
bind t "use weapon_molotov;use weapon_incgrenade;showmouse" // molotov + mouse on scoreboard
bind f "+lookatweapon"
bind g "drop"
bind b "buymenu;impulse 101" // $$$
bind h "+spray_menu;bot_place" // places bot
bind j "sm_admin;say ;say .nades"
bind n "+jumpthrow" // its back!
bind / "say ;say .dbserver; say .players" // bitcoins
bind tab "+ngscore"
bind shift "+speed; r_cleardecals"
bind ctrl "+duck; r_cleardecals"
bind space "+jump"
bind del "exec autoexec"
bind ins "warmup" // bot warmup
bind f2 "rebuy"
bind 1 "slot1"
bind 2 "slot2"
bind 3 "slot3"
bind 4 "slot4"
bind 5 "slot5"
bind 6 "say ;noclip;say .noclip;debug" // noclip + debug mode
bind 0 "toggle voice_enable"
bind [ "incrementvar cl_radar_scale 0 1 -.05" // decrease radar scale
bind ] "incrementvar cl_radar_scale 0 1 +.05" // increase radar scale
bind MWHEELDOWN "invnext"
bind MWHEELUP "invprev"
bind mouse1 "+attack"
bind mouse2 "+attack2"
bind mouse3 "bhopon" // toggle scroll wheel bhop
bind mouse4 "use weapon_smokegrenade"
bind mouse5 "use weapon_flashbang"
// Aliases
alias "showmouse" // for mouse on scoreboard
alias "+ngscore" "+showscores;net_graph 1"
alias "-ngscore" "-showscores;net_graph 0"
alias bhopon "bind MWHEELDOWN +jump;bind MWHEELUP +jump;bind mouse3 bhopoff"
alias bhopoff "bind MWHEELDOWN invnext;bind MWHEELUP invprev;bind mouse3 bhopon"
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
alias "savepos" "writeip;con_logfile cfg/banned_ip.cfg;getpos_exact;con_logfile ."
alias "loadpos" "exec banned_ip"
alias "surf" "bind mouse4 +left;bind mouse5 +right;fps_max 300"
alias "dangerzone" "bind mouse4 slot12"
// practice modes
alias "debug" "sv_cheats 1;impulse 101;sv_showimpacts 1;sv_showimpacts_penetration 1;sv_showbullethits 1;sv_infinite_ammo 2;ammo_grenade_limit_total 6;sv_grenade_trajectory 1;sv_grenade_trajectory_thickness 0.5;mp_freezetime 0;mp_roundtime_defuse 60;mp_buytime 9999;mp_buy_anywhere 1;mp_teammates_are_enemies 1;mp_solid_teammates 1;bot_stop 1;mp_warmup_end;mp_restartgame 1"
// bot warmup mode - join t side, mp_swapteams and mp_free_armor as needed
alias "warmup" "sv_cheats 1;mp_warmup_start;mp_warmuptime 300;mp_warmup_pausetimer 1;mp_freezetime 0;mp_autoteambalance 0;mp_limitteams 0;mp_buy_anywhere 1;mp_randomspawn 1;mp_randomspawn_los 1;mp_spawnprotectiontime 0;mp_respawn_immunitytime 0;sv_infinite_ammo 1;bot_quota_mode normal;bot_difficulty 3;bot_dont_shoot 1;bot_allow_grenades 0;mp_death_drop_defuser 0;mp_death_drop_gun 0;mp_death_drop_grenade 0;bot_kick;mp_restartgame 1;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;bot_add_ct;impulse 101;god"
host_writeconfig // write settings to config.cfg
// Easy way to ensure exec is run
ECHO ================================================
ECHO ===[ Autoexec CFG loaded! ]=====
ECHO ===[ Goodluck have fun! ]=====
ECHO ================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment