clear
// csDAN's CS:GO AUTOEXEC Config
// Updated 2/15/2015
// Contact me on Reddit: /u/dan_csgo
// Steam launch options: (COPY & PASTE) CS:GO -> Properties -> Set launch options
// -nojoy -gl -full -novid -freq 60 -tickrate 128 -usercon -threads 2 -lv -useforcedmparms -noforcemaccel -noforcemspd -nod3d9ex +exec autoexec
// Rates
sv_cheats "1"
rate "128000"
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0"
cl_interp_ratio "1"
cl_lagcompensation "1"
cl_timeout 60
// Mouse
sensitivity "2"
zoom_sensitivity_ratio_mouse "1.0"
m_pitch "0.022"
m_yaw "0.022"
m_side "0.8"
m_forward "1"
m_rawinput "0" // set to 0 when using sourceGL or more specifically RInput.exe for a more accurate feel of your mouse movement in-game
m_mousespeed "1"
m_customaccel "0"
m_customaccel_exponent "1"
m_customaccel_max "0"
m_customaccel_scale "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
// Crosshair
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.3"
cl_crosshair_dynamic_splitdist "1"
cl_crosshair_outlinethickness "1"
cl_crosshairalpha "250"
cl_crosshaircolor "2"
cl_crosshaircolor_b "50"
cl_crosshaircolor_g "250"
cl_crosshaircolor_r "50"
cl_crosshairdot "0"
cl_crosshairgap "-2"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairscale "0"
cl_crosshairsize "4"
cl_crosshairstyle "5"
cl_crosshairthickness "0"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "0"
// Graphics
mat_setvideomode 800 600 0
mat_monitorgamma "1.6"
mat_queue_mode "2"
mat_dxlevel "90"
engine_no_focus_sleep "0"
fps_max "0"
fps_max_menu "64"
r_cheapwaterstart "1"
r_cheapwaterend "1"
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"
r_drawtracers_firstperson "0"
mat_savechanges // write video settings to registry
// Audio
suitvolume "0"
volume "1"
voice_enable "1"
voice_scale "1" // receive volume
voice_modenable "1"
voice_mixer_volume "1.00"
windows_speaker_config "1" // headphone audio output
snd_musicvolume "0"
snd_mixahead "0.05" // sound delay
snd_pitchquality "1"
snd_headphone_pan_exponent "2"
snd_headphone_pan_radial_weight "2"
snd_front_headphone_position 45
snd_rear_headphone_position 135
snd_legacy_surround "0" // emulated surround sound
snd_mute_losefocus "0" // mute game when alt-tabbed
dsp_enhance_stereo "1"
dsp_slow_cpu "1"
soundscape_fadetime "9999"
lobby_voice_chat_enabled "0" // voice chat in lobby
// HUD
hud_scaling "1"
hud_showtargetid "0"
cl_hud_background_alpha "0"
cl_hud_bomb_under_radar "1"
cl_hud_color "1"
cl_hud_healthammo_style "1"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "1"
cl_hud_radar_scale "0.900000"
cl_draw_only_deathnotices "0"
cl_righthand "0"
cl_showloadout "1"
cl_showpos "0"
cl_showfps "0"
net_graph "1"
net_graphproportionalfont "0" // small netgraph font
// Radar
cl_radar_always_centered "1"
cl_radar_rotate "1"
cl_radar_scale "0.6"
cl_hud_radar_scale "1"
cl_radar_icon_scale_min "1"
cl_radar_square_with_scoreboard "0"
// Reposition gun model to mimic CS:S
viewmodel_presetpos "0"
viewmodel_fov "65"
viewmodel_offset_x "2"
viewmodel_offset_y "2"
viewmodel_offset_z "-2"
// Reduce gun shifting when crouching
cl_viewmodel_shift_left_amt "0"
cl_viewmodel_shift_right_amt "0"
// Reduce gun and scope shifting/bobbing when moving
cl_bobcycle "0"
cl_bob_lower_amt "0"
cl_bobamt_lat "0"
cl_bobamt_vert "0"
// Misc
developer "1"
con_enable "1"
con_filter_enable "2" // print console on screen
con_filter_text "Damage Given" // highlight damage in console
ui_steam_overlay_notification_position "bottomright"
name "DAN" // "✪ Dan" // "DAN" // "✪ Dan" // "DAN" // "✪ Dan" // "DAN" // "✪ Dan" // "DAN" // "✪ Dan" // "DAN" // "✪ Dan" // "DAN" // "✪ Dan" // "DAN" //
player_nevershow_communityservermessage "1"
mm_dedicated_search_maxping "80" // max ping for matchmaking games
mm_dedicated_force_servers ""
gameinstructor_enable "0"
option_duck_method "0"
option_speed_method "0"
fog_enable "0"
cl_forcepreload "1"
cl_downloadfilter "nosounds"
cl_disablehtmlmotd "0"
cl_autohelp "0"
cl_showhelp "0"
cl_disablefreezecam "1"
cl_freezecameffects_showholiday "0"
cl_dm_buyrandomweapons "0"
cl_teammate_colors_show "1"
cl_autowepswitch "0" // auto weapon switch on pickup
cl_use_opens_buy_menu "0" // disable W opening buy menu
closeonbuy "0"
cl_color 0
cl_teammate_colors_show 2
cl_predictweapons "1"
cl_logofile "0"
cl_rumblescale "0"
cl_detail_max_sway "0"
cl_detail_avoid_force "0"
cl_detail_avoid_radius "0"
cl_detail_avoid_recover_speed "0"
budget_show_peaks "0"
budget_show_history "0" // enable/disable history graph, good to turn off on low-end systems
budget_peaks_window "0"
budget_averages_window "0"
budget_background_alpha "0"
budget_history_range_ms "5"
budget_show_averages "0"
budget_history_numsamplesvisible "0"
texture_budget_panel_width "0"
texture_budget_panel_height "0"
texture_budget_background_alpha "128"
func_break_max_pieces "0"
scene_showlook "0"
scene_showfaceto "0"
scene_showmoveto "0"
npc_height_adjust "1"
adsp_debug "0"
closecaption "0"
commentary_firstrun "0"
cl_freezecampanel_position_dynamic "0"
// Binds
unbindall
unbindalljoystick
bind 0 "slot10"
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 i "messagemode"
bind u "messagemode2"
bind TAB "+showscores"
bind space "+jump"
bind e "+forward;r_cleardecals"
bind s "+moveleft;r_cleardecals"
bind d "+back;r_cleardecals"
bind f "+moveright;r_cleardecals"
bind w "+use"
bind r "+reload"
bind z "+duck"
bind MWHEELUP "invprev"
bind MWHEELDOWN "invnext"
bind ESCAPE "cancelselect"
bind mouse1 "+attack"
bind mouse2 "+attack2"
bind mouse3 "bhopon"
bind mouse4 "use weapon_flashbang"
bind mouse5 "+voicerecord"
bind x "radio1"
bind c "radio2"
bind v "radio3"
bind del "exec autoexec"
bind home "spectate"
bind shift "+speed"
bind g "drop"
bind t "use weapon_smokegrenade"
bind y "use weapon_molotov;use weapon_incgrenade"
bind b "buymenu"
bind m "teammenu"
bind n "+jumpthrow" // Consistent smoke jump throws
bind ` "toggleconsole"
bind alt "+t"
// Aliases
alias "kz" exec kz
alias "+jumpthrow" "+jump;-attack"
alias "-jumpthrow" "-jump"
alias bhopon "bind MWHEELDOWN +jump;bind MWHEELUP +jump;bind mouse3 bhopoff"
alias bhopoff "bind MWHEELDOWN invnext;bind MWHEELUP invprev;bind mouse3 bhopon"
alias +t "bind MWHEELDOWN +jump; bind MWHEELUP +jump"
alias -t "bind MWHEELDOWN invnext;bind MWHEELUP invprev"
alias "money" "impulse 101"
alias "ammo" "givecurrentammo"
alias "infinite" "infiniteon"
alias "infiniteon" "bind mouse1 "+fireinfinite"; alias infinite infiniteoff"
alias "infiniteoff" "bind mouse1 "+attack"; alias infinite infiniteon"
alias "+fireinfinite" "+attack"
alias "-fireinfinite" "-attack; givecurrentammo"
alias "cheats" "cheatson"
alias "cheatson" "sv_cheats 1; alias cheats cheatsoff"
alias "cheatsoff" "sv_cheats 0; alias cheats cheatson"
alias "impacts" "impactson"
alias "impactson" "sv_showimpacts 1; alias impacts impactsoff"
alias "impactsoff" "sv_showimpacts 0; alias impacts impactson"
alias "m4a4" "give weapon_m4a1"
alias "m4" "give weapon_m4a1
alias "m4a1" "give weapon_m4a1_silencer"
alias "m4a1s" "give weapon_m4a1_silencer"
alias "m4a1-silenced" "give weapon_m4a1_silencer"
alias "m4a1-silencer" "give weapon_m4a1_silencer"
alias "m4a1-s" "give weapon_m4a1_silencer"
alias "m4s" "give weapon_m4a1_silencer"
alias "m4-s" "give weapon_m4a1_silencer"
alias "silenced-m4" "give weapon_m4a1_silencer"
alias "silenced-m4a1" "give weapon_m4a1_silencer"
alias "ak47" "give weapon_ak47"
alias "ak" "give weapon_ak47"
alias "47" "give weapon_ak47"
alias "aug" "give weapon_aug"
alias "awp" "give weapon_awp"
alias "sniper" "give weapon_awp"
alias "bizon" "give weapon_bizon"
alias "c4" "give weapon_c4"
alias "bomb" "give weapon_c4"
alias "deagle" "give weapon_deagle"
alias "decoy" "give weapon_decoy"
alias "elite" "give weapon_elite"
alias "dual_barettas" "give weapon_elite"
alias "famas" "give weapon_famas"
alias "fiveseven" "give weapon_fiveseven"
alias "flashbang" "give weapon_flashbang"
alias "flash" "give weapon_flashbang"
alias "G3SG1" "give weapon_G3SG1"
alias "galilar" "give weapon_galilar"
alias "galil" "give weapon_galilar"
alias "glock" "give weapon_glock"
alias "hegrenade" "give weapon_hegrenade"
alias "he" "give weapon_hegrenade"
alias "grenade" "give weapon_hegrenade"
alias "hkp2000" "give weapon_hkp2000"
alias "p2000" "give weapon_hkp2000"
alias "usp" "give weapon_usp_silencer"
alias "usp-s" "give weapon_usp_silencer"
alias "usp-silenced" "give weapon_usp_silencer"
alias "usp-silencer" "give weapon_usp_silencer"
alias "incgrenade" "give weapon_incgrenade"
alias "incendiary" "give weapon_incgrenade"
alias "knife" "give weapon_knife"
alias "stabby" "give weapon_knife"
alias "knife_gg" "give weapon_knifegg"
alias "knifegg" "give weapon_knifegg"
alias "m249" "give weapon_m249"
alias "para" "give weapon_m249"
alias "m2" "give weapon_m249"
alias "mac10" "give weapon_mac10"
alias "mac" "give weapon_mac10"
alias "uzi" "give weapon_mac10"
alias "mag7" "give weapon_mag7"
alias "molotov" "give weapon_molotov"
alias "bottle" "give weapon_molotov"
alias "mp7" "give weapon_mp7"
alias "mp9" "give weapon_mp9"
alias "negev" "give weapon_negev"
alias "nova" "give weapon_nova"
alias "p90" "give weapon_p90"
alias "p250" "give weapon_p250"
alias "cz75" "give weapon_cz75a"
alias "cz-75" "give weapon_cz75a"
alias "cz-75-auto" "give weapon_cz75a"
alias "cz" "give weapon_cz75a"
alias "sawedoff" "give weapon_sawedoff"
alias "scar20" "give weapon_scar20"
alias "scar" "give weapon_scar20"
alias "sg556" "give weapon_sg556"
alias "sg" "give weapon_sg557"
alias "smoke" "give weapon_smokegrenade"
alias "ssg08" "give weapon_ssg08"
alias "scout" "give weapon_ssg08"
alias "ssg" "give weapon_ssg08"
alias "taser" "give weapon_taser"
alias "zeus" "give weapon_taser"
alias "tec9" "give weapon_tec9"
alias "ump45" "give weapon_ump45"
alias "ump" "give weapon_ump45"
alias "xm1014" "give weapon_xm1014"
alias "autoshotgun" "give weapon_xm1014"
alias "vest" "give weapon_vest"
alias "helmet" "give weapon_vesthelm"
alias "armor" "give weapon_vesthelm"
alias "bm_help" "echo ; echo weapons - list all weapons; echo ammo - give current weapon ammo; echo money - gives you full money; echo impacts - show bullet hits on/off; echo cheats - turns sv_cheats on/off; echo infinite - infinite reloads on/off; echo kevlar - gives full kevlar"
alias "weapons" "echo ; echo vest; echo helmet; echo kevlar; echo UMP; echo XM1014; echo TEC9; echo ZEUS; echo SSG08; echo SMOKE; echo SG556; echo SCAR20; echo SAWEDOFF; echo P250; echo P90; echo NOVA; echo NEGEV; echo MP9; echo MP7; echo MOLOTOV; weapons2"
alias "weapons2" "echo MAG7; echo MAC10; echo M249; echo KNIFEGG; echo KNIFE; echo INCGRENADE; echo P2000; echo USP; echo HEGRENADE; echo GLOCK; echo GALILAR; echo G3SG1; echo FLASHBANG; echo FIVESEVEN; echo FAMAS; echo ELITE; echo DECOY; echo DEAGLE; echo CZ75; echo C4; echo BIZON; echo AWP; echo AK47; echo AUG; echo M4A1; echo M4A4"
host_writeconfig // write settings to config.cfg
soundscape_flush
stop
echo ""
echo "autoexec executed"
echo ""
memory