Skip to content

Instantly share code, notes, and snippets.

@dnordstrom
Created November 3, 2015 01:03
Show Gist options
  • Save dnordstrom/2688e3de0295b9282c75 to your computer and use it in GitHub Desktop.
Save dnordstrom/2688e3de0295b9282c75 to your computer and use it in GitHub Desktop.
D's CS:GO Configuration Files
////
// D's CS:GO Configuration
////
//
// Sensitivity
//
sensitivity 1.618
// Note:
// Differs from Windows sensitivity--raw input is broken in newer versions for Mac.
// However, this is based on Razer drivers with zero acceleration.
//
// Calculation at native 1800 DPI using large mousepad:
// 360 degrees @ 3.8
// 3.8 * 1.5 = 5.7
// 3.8 / 2 = 1.9
// 5.7 | 3.8 | 1.9 = 1.9
// 3.8 | 1.9 | 0.95 = 0.95
// 1.9 | 1.425 | 0.95 = 1.9
// 1.9 | 1.6625 | 1.425 = 1.425
// 1.6625 | 1.54375 | 1.425 = 1.6625
// 1.6625 | 1.603125 | 1.54375 = 1.6625
// 1.6625 | 1.6328125 | 1.603125 = 1.603125
// 1.6328125 | 1.61796875 | 1.603125 =~ 1.62
//
// 3500 DPI:
// Medium mousepad: 0.97
// Large mousepad: 0.83
//
// 1800 DPI:
// Medium mousepad: 1.83
// Large mousepad: 1.62
//
// 400 DPI:
// Medium mousepad: 8.25
// Large mousepad: 7.29
//
// Crosshair
//
alias use_crosshair_static "exec crosshair_static"
alias use_crosshair_dynamic "exec crosshair_dynamic"
alias use_crosshair_dot_static "exec crosshair_dot_static"
alias use_crosshair_dot_dynamic "exec crosshair_dot_dynamic"
use_crosshair_static
//
// Aliases
//
// Toggle crosshair between static, dynamic, and dot
alias toggle_crosshair_static "use_crosshair_static; alias toggle_crosshair toggle_crosshair_dynamic; echo Using static crosshair"
alias toggle_crosshair_dynamic "use_crosshair_dynamic; alias toggle_crosshair toggle_crosshair_dot_static; echo Using dynamic crosshair"
alias toggle_crosshair_dot_static "use_crosshair_dot_static; alias toggle_crosshair toggle_crosshair_dot_dynamic; echo Using static dot crosshair"
alias toggle_crosshair_dot_dynamic "use_crosshair_dot_dynamic; alias toggle_crosshair toggle_crosshair_static; echo Using dynamic dot crosshair"
alias toggle_crosshair "toggle_crosshair_dynamic"
// Toggle MOUSE3 between noclip, crosshair switch, and voice record
alias toggle_mouse3_voicerecord "bind MOUSE3 +voicerecord; alias toggle_mouse3 toggle_mouse3_noclip; echo Using MOUSE3 for voice record"
alias toggle_mouse3_noclip "bind MOUSE3 noclip; alias toggle_mouse3 toggle_mouse3_crosshair; echo Using MOUSE3 for noclip toggle"
alias toggle_mouse3_crosshair "bind MOUSE3 toggle_crosshair; alias toggle_mouse3 toggle_mouse3_voicerecord; echo Using MOUSE3 for crosshair toggle"
alias toggle_mouse3 "toggle_mouse3_noclip"
// Toggle scroll wheel between jump and inventory
alias toggle_scroll_jump "bind MWHEELDOWN +jump; bind MWHEELUP +jump; alias toggle_scroll toggle_scroll_inventory; echo Using scroll to jump"
alias toggle_scroll_inventory "bind MWHEELDOWN invnext; bind MWHEELUP invprev; alias toggle_scroll toggle_scroll_jump; echo Using scroll for inventory"
alias toggle_scroll "toggle_scroll_inventory"
//
// Binds
//
bind MOUSE3 "+voicerecord"
bind MWHEELUP "+jump"
bind MWHEELDOWN "+jump"
bind ENTER "messagemode"
bind \ "messagemode2"
bind BACKSPACE "jpeg"
bind DEL "toggle_mouse3"
bind PGUP "messagemode"
bind PGDN "messagemode2"
bind HOME "toggle_scroll"
bind END "toggle voice_scale 0 0.5 1"
bind UPARROW "buy awp; give weapon_awp"
bind DOWNARROW "buy deagle; give weapon_deagle"
bind LEFTARROW "buy tec9; buy fiveseven; give weapon_tec9; give weapon_fiveseven"
bind RIGHTARROW "buy p250"
bind F1 "buy ak47; give weapon_ak47"
bind F2 "buy famas; buy galilar; give weapon_famas; give weapon_galilar"
bind F3 "buy p90; give weapon_p90"
bind F4 "buy deagle; give weapon_deagle"
bind F5 "buy flashbang; give weapon_flashbang"
bind F6 "buy smokegrenade; give weapon_smokegrenade"
bind F7 "buy hegrenade; give weapon_hegrenade"
bind F8 "buy molotov; give weapon_molotov"
bind F9 "buy vesthelm"
bind F10 "buy vest"
bind F11 "buy defuser"
bind F12 "buy primammo; buy secammo"
bind F "+voicerecord"
bind T "+lookatweapon"
bind Z "use weapon_hegrenade"
bind X "use weapon_smokegrenade"
bind C "use weapon_flashbang"
bind V "use weapon_molotov"
// Practice mode binds
bind P "toggle sv_showimpacts 0 1; toggle sv_showbullethits 0 1"
bind [ "toggle sv_infinite_ammo 1 2"
bind ] "exec setup_practice_mode"
bind L "bot_kick"
bind SEMICOLON "bot_add_t"
bind ' "bot_add_ct"
bind / "god"
bind n "toggle net_graph 0 1"
//
// Weapon position
//
viewmodel_fov 62.5
viewmodel_offset_x 2
viewmodel_offset_y 2
viewmodel_offset_z -2
//
// Weapon behavior
//
cl_bobamt_lat 0.1
cl_bobamt_vert 0.1
cl_bobcycle 0.98 // Enforced by ESEA/ESL
cl_viewmodel_shift_left_amt 0.5
cl_viewmodel_shift_right_amt 0.5
cl_bob_lower_amt 0
//
// Audio
//
snd_mixahead 0.05
snd_musicvolume 0
snd_headphone_pan_exponent 1
//
// Miscellaneous
//
cl_autohelp 0
cl_autowepswitch 0
cl_disablefreezecam 1
cl_disablehtmlmotd 1
cl_dm_buyrandomweapons 0
cl_forcepreload 1
cl_radar_always_centered 1
cl_radar_icon_scale_min 0.4
cl_radar_scale 0.4
cl_showhelp 0
cl_showloadout 1
closeonbuy 0
hud_scaling 0.8
hud_showtargetid 1
hud_takesshots 1
mat_monitorgamma 2.1
mat_queue_mode -1
mm_dedicated_search_maxping 50
m_customaccel 0
m_mouseaccel1 0
m_mouseaccel2 0
m_rawinput 1
r_drawtracers_firstperson 0
ui_steam_overlay_notification_position "bottomright"
//
// Rates and interpolation
//
fps_max 300
cl_cmdrate 128
cl_updaterate 128
cl_interp 0
cl_interp_ratio 1
rate 128000
//
// Save to config.cfg
//
host_writeconfig
//
// Done
//
echo ""
echo "////"
echo "// Configuration loaded"
echo "////"
echo ""
////
// D's CS:GO Configuration
////
//
// Dynamic dot crosshair
//
cl_crosshair_drawoutline "1"
cl_crosshair_outlinethickness "1"
cl_crosshairalpha "255"
cl_crosshaircolor "2"
cl_crosshairdot "0"
cl_crosshairgap "-5" // 6 works better at higher resolutions
cl_crosshairgap_useweaponvalue "0"
cl_crosshairscale "0"
cl_crosshairsize "1"
cl_crosshairstyle "5"
cl_crosshairthickness "1"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "-6"
//
// Done
//
echo ""
echo "////"
echo "// Crosshair adjusted"
echo "////"
echo ""
////
// D's CS:GO Configuration
////
//
// Static dot crosshair
//
cl_crosshairalpha 255
cl_crosshaircolor 2
cl_crosshairdot 1
cl_crosshairgap -4
cl_crosshairsize 0
cl_crosshairstyle 4
cl_crosshairusealpha 1
cl_crosshairthickness 1.5
cl_fixedcrosshairgap -4
cl_crosshair_drawoutline 1
//
// Done
//
echo ""
echo "////"
echo "// Crosshair adjusted"
echo "////"
echo ""
////
// D's CS:GO Configuration
////
//
// Dynamic crosshair
//
cl_crosshair_dynamic_maxdist_splitratio "0"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.75"
cl_crosshair_dynamic_splitdist "7"
cl_crosshairalpha 255
cl_crosshaircolor 2
cl_crosshairdot 0
cl_crosshairgap -2 // -2.5 works better at higher resolutions
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize 2.5
cl_crosshairstyle 2
cl_crosshairusealpha 1
cl_crosshairthickness 0.5
cl_fixedcrosshairgap -2
cl_crosshair_drawoutline 1
//
// Done
//
echo ""
echo "////"
echo "// Crosshair adjusted"
echo "////"
echo ""
////
// D's CS:GO Configuration
////
//
// Static crosshair
//
cl_crosshairalpha 255
cl_crosshaircolor 2
cl_crosshairdot 0
cl_crosshairgap -2
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize 2.5
cl_crosshairstyle 4
cl_crosshairusealpha 1
cl_crosshairthickness 0.5
cl_fixedcrosshairgap -2
cl_crosshair_drawoutline 1
//
// Done
//
echo ""
echo "////"
echo "// Crosshair adjusted"
echo "////"
echo ""
////
// D's CS:GO Configuration
////
//
// Practice mode
//
sv_cheats 1
ammo_grenade_limit_total 6
sv_grenade_trajectory 1
sv_grenade_trajectory_time 6
sv_grenade_trajectory_thickness 0.5
sv_infinite_ammo 2
sv_showbullethits 1
sv_showimpacts 1
mp_autoteambalance 0
mp_buytime 3600
mp_buy_anywhere 1
mp_do_warmup_offine 1
mp_do_warmup_period 1
mp_freezetime 0
mp_limitteams 0
mp_maxmoney 60000
mp_randomspawn 1
mp_respawn_immunitytime 0
mp_roundtime 60
mp_roundtime_defuse 60
mp_roundtime_hostage 60
mp_round_restart_delay 0
mp_spawnprotectiontime 0
mp_startmoney 60000
mp_teammates_are_enemies 1
mp_warmuptime 3600
mp_warmup_start
bot_difficulty 3
bot_dont_shoot 0
bot_quota_mode normal
mp_restartgame 1
bot_kick
echo ""
echo "////"
echo "// Set up practice mode"
echo "////"
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment