// EonaCat (Jeroen Saey) Counter-Strike Global Offensive Config
// Chill The Fuck Out (CTFO)

// Rates
rate "128000"
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0"
cl_interp_ratio "1"
cl_lagcompensation "1"
 
// Mouse
sensitivity "1.56"
zoom_sensitivity_ratio_mouse "1.0"
m_rawinput "1"
m_pitch "0.022"
m_customaccel "0"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_customaccel_exponent "1.05"
m_customaccel_max "0"
m_customaccel_scale "0.04"
m_forward "1"
m_mousespeed "1"

// Video
mat_setvideomode "2560 1440 1"
mat_monitorgamma "2.1"

mat_queue_mode "-1" // auto detect multi-core rendering
mat_vsync "0"
fps_max "300"
fps_max_menu "300"
r_dynamic "0"
r_drawtracers_firstperson "0"
r_drawparticles "0" // hide smokes for practice
 
mat_savechanges // write video settings to registry
 
// Audio
volume "0.35" // master volume
voice_enable "1"
voice_scale "0.6" // receive volume

windows_speaker_config "1" // headphone audio output
snd_musicvolume "0.08"   // master music volume
snd_menumusic_volume "0.03" // mainmenu volume
snd_roundstart_volume "0.7" // round start volume
snd_roundend_volume "0.7" // round end volume
snd_tensecondwarning_volume "0.7" // 10 seconds warning volume
snd_deathcamera_volume "0.7" // deathcamera volume
snd_mapobjective_volume "0.7" // hostage-bomb volume

snd_mixahead "0.05" // sound delay
snd_headphone_pan_exponent "2"
snd_headphone_pan_radial_weight "2"
snd_legacy_surround "0" // emulated surround sound
snd_mute_losefocus  "0" // mute game when alt-tabbed
lobby_voice_chat_enabled "0" // voice chat in lobby

// Helper
cl_allowdownload "1"
cl_allowupload "1"
cl_autohelp "0"
cl_autowepswitch "0"
cl_bob_lower_amt "10"
cl_bobamt_lat "0.100000"
cl_bobamt_vert "0.100000"

// Causes the scope to move less while moving scoped and reduces bobbing effect
cl_bobcycle "0.98"
cl_buy_favorite_nowarn "0"
cl_buy_favorite_quiet "0"
cl_chatfilter_version "1"
cl_chatfilters "63"
cl_clanid "27285204"
cl_class "default"

// HUD
hud_scaling "0.80" // CS:S sized HUD
hud_showtargetid "1"

cl_hud_background_alpha "0.100000"
cl_hud_bomb_under_radar "1"
cl_hud_color "1"
cl_hud_healthammo_style "1"
cl_hud_playercount_pos "0"
cl_hud_playercount_showcount "0"
cl_hud_radar_scale "0.900000"
cl_draw_only_deathnotices "0"
cl_righthand "1"
cl_showloadout "1"
cl_showpos "0"
cl_showfps "0"
cl_loadout_colorweaponnames "1"
net_graph "0"
net_graphproportionalfont "0" // small netgraph font

// Anti-aliasing: (FSAA OFF)
mat_antialias "0" // no aliasing details
mat_aaquality 0 // no aliasing quality

// Wait for vsync
mat_vsync "0" // dont wait for vsync

// Radar
cl_radar_always_centered "0"
cl_radar_rotate "1"
cl_radar_scale "0.30"
cl_radar_icon_scale_min "0.4"

// Reposition the gun model
viewmodel_presetpos "0"
viewmodel_fov "65"
viewmodel_offset_x "2"
viewmodel_offset_y "2"
viewmodel_offset_z "-2"

// Removes the shifting of the arm when crouching down.
cl_viewmodel_shift_left_amt "0"
cl_viewmodel_shift_right_amt "0"
cl_bob_lower_amt "0"
cl_bobamt_lat "0"
cl_bobamt_vert "0"
cl_bobcycle "0.98"

// Reduce gun shifting when crouching
cl_viewmodel_shift_left_amt "0.5"
cl_viewmodel_shift_right_amt "0.5"
 
// AI Reporting
ai_report_task_timings_on_limit "0"
ai_think_limit_label "0"

//Camera
cam_collision "1"
cam_idealdelta "4.0"
cam_idealdist "150"
cam_idealdistright "0"
cam_idealdistup "0"
cam_ideallag "4.0"
cam_idealpitch "0"
cam_idealyaw "0"
cam_snapto "0"

//Budget panel
budget_averages_window "30"
budget_background_alpha "128"
budget_bargraph_background_alpha "128"
budget_bargraph_range_ms "16.6666666667"
budget_history_numsamplesvisible "100"
budget_history_range_ms "66.666666667"
budget_panel_bottom_of_history_fraction ".25"
budget_panel_height "384"
budget_panel_width "512"
budget_panel_x "0"
budget_panel_y "50"
budget_peaks_window "30"
budget_show_averages "0"
budget_show_history "1"
budget_show_peaks "1"
bugreporter_uploadasync "0"
bugreporter_username "EonaCat"

// Crosshair
cl_crosshairalpha "255"
cl_crosshaircolor "5"
cl_crosshaircolor_b "255"
cl_crosshaircolor_r "255"
cl_crosshaircolor_g "100"
cl_crosshairdot "1"
cl_crosshairgap "-5"
cl_crosshairsize "3"
cl_crosshairstyle "4"
cl_crosshairusealpha "1"
cl_crosshairthickness "1"
cl_fixedcrosshairgap "-4"
cl_crosshair_drawoutline "0"
cl_crosshair_outlinethickness "0"

cl_debugrumble "0"
cl_detail_avoid_force "0.4"
cl_detail_avoid_radius "64"
cl_detail_avoid_recover_speed "0.25"
cl_detail_max_sway "5"
cl_disablefreezecam "0"
cl_disablehtmlmotd "1"
cl_dm_buyrandomweapons "1"
cl_downloadfilter "all"
cl_forcepreload "1"
cl_freezecampanel_position_dynamic "1"
cl_idealpitchscale "0.8"
cl_inv_showdividerline "0"
cl_logofile "materials/vgui/logos/spray_bullseye.vtf"
cl_minimal_rtt_shadows "1"
cl_mouselook "1"
cl_observercrosshair "1"
cl_rumblescale "1.0"
cl_scalecrosshair "1"
cl_showhelp "1"
cl_showpluginmessages "1"
cl_soundfile ""
cl_spec_mode "5"
cl_team "default"
cl_teamid_overhead_name_alpha "240"
cl_teamid_overhead_name_fadetime "0.5"
cl_timeout "30"
closecaption "0"
closeonbuy "0"
commentary_firstrun "0"
con_enable "1"
crosshair "1"
cursortimeout "60.0"
dsp_enhance_stereo "0"
force_audio_english "0"
func_break_max_pieces "15"
g15_update_msec "250"
gameinstructor_enable "0"
hud_takesshots "1" // scoreboard screenshot at end of match
item_enable_content_streaming "1"
joy_accelmax "1.0"
joy_accelscale "3.5"
joy_accelscalepoly "0.4"
joy_advanced "0"
joy_advaxisr "0"
joy_advaxisu "0"
joy_advaxisv "0"
joy_advaxisx "0"
joy_advaxisy "0"
joy_advaxisz "0"
joy_autoaimdampen "0"
joy_autoAimDampenMethod "0"
joy_autoaimdampenrange "0"
joy_axisbutton_threshold "0.3"
joy_cfg_preset "1"
joy_circle_correct "1"
joy_curvepoint_1 "0.001"
joy_curvepoint_2 "0.4"
joy_curvepoint_3 "0.75"
joy_curvepoint_4 "1"
joy_curvepoint_end "2"
joy_diagonalpov "0"
joy_display_input "0"
joy_forwardsensitivity "-1"
joy_forwardthreshold "0.15"
joy_gamma "0.2"
joy_inverty "0"
joy_lowend "1"
joy_lowend_linear "0.55"
joy_lowmap "1"
joy_movement_stick "0"
joy_name "joystick"
joy_no_accel_jump "0"
joy_pitchsensitivity "-1"
joy_pitchthreshold "0.15"
joy_response_look "0"
joy_response_look_pitch "1"
joy_response_move "1"
joy_sensitive_step0 "0.1"
joy_sensitive_step1 "0.4"
joy_sensitive_step2 "0.90"
joy_sidesensitivity "1"
joy_sidethreshold "0.15"
joy_wingmanwarrior_centerhack "0"
joy_wingmanwarrior_turnhack "0"
joy_yawsensitivity "-1"
joy_yawthreshold "0.15"
joystick "0"
joystick_force_disabled "0"
joystick_force_disabled_set "0"
lockMoveControllerRet "0"
lookspring "0"
lookstrafe "0"
m_side "0.8"
m_yaw "0.022"
mat_monitorgamma_tv_enabled "0"
mat_powersavingsmode "0"
mat_spewalloc "0"
mat_texture_list_content_path ""
mc_accel_band_size "2.000000"
mc_dead_zone_radius "0.900000"
mc_max_pitchrate "100.0"
mc_max_yawrate "230.0"
mm_csgo_community_search_players_min "3"
mm_server_search_lan_ports "27015,27016,27017,27018,27019,27020"
muzzleflash_light "1"

// Debug accuracy (sv_cheats)
weapon_debug_spread_show "0" // show possible shot accuracy 
weapon_debug_spread_gap "0.67"
 
// Misc
developer "1"
con_filter_enable "2" // print console on screen
con_filter_text "Damage " // highlight damage in console
ui_steam_overlay_notification_position "bottomright"
player_nevershow_communityservermessage "1"
mm_dedicated_search_maxping "80" // max ping for matchmaking games
mm_dedicated_force_servers ""
option_duck_method "0"
option_speed_method "0"
cl_teammate_colors_show "1"
cl_use_opens_buy_menu "0" // E opens buy menu
cl_scoreboard_mouse_enable_binding "+jump" // enable mouse on the scoreboard
password ""
 
play_distance "1"
player_botdifflast_s "0"
player_competitive_maplist1 "mg_de_dust2,mg_de_inferno,mg_de_nuke"
player_gamemodelast_m "1.000000"
player_gamemodelast_s "1.000000"
player_gametypelast_m "0.000000"
player_gametypelast_s "0.000000"
player_last_leaderboards_filter "1.000000"
player_last_leaderboards_mode "0"
player_last_leaderboards_panel "0"
player_last_medalstats_category "2.000000"
player_last_medalstats_panel "0.000000"
player_maplast_m "0.000000"
player_maplast_s "5.000000"
player_medalstats_most_recent_time "1348688723"
player_teamplayedlast "2"
r_drawmodelstatsoverlaymax "1.5"
r_drawmodelstatsoverlaymin "0.1"
r_eyegloss "1"
r_eyemove "1"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
safezonex "1.0"
safezoney "1.0"
scene_showfaceto "0"
scene_showlook "0"
scene_showmoveto "0"
scene_showunlock "0"
sf_ui_tint "2"
sk_autoaim_mode "1"
skill "1.000000"
snd_duckerattacktime "0.5"
snd_duckerreleasetime "2.5"
snd_duckerthreshold "0.15"
snd_ducking_off "1"
snd_ducktovolume "0.55"
snd_music_selection "003"
snd_pitchquality "1"
snd_rear_speaker_scale "1.0"
spec_show_xray "1"
ss_splitmode "0"
suitvolume "0.25"
sv_forcepreload "0"
sv_log_onefile "0"
sv_logbans "0"
sv_logecho "1"
sv_logfile "1"
sv_logflush "0"
sv_logsdir "logs"
sv_noclipaccelerate "5"
sv_noclipspeed "5"
sv_pvsskipanimation "1"
sv_skyname "Italy"
sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
sv_unlockedchapters "1"
sv_voiceenable "1"
sys_antialiasing "0"
sys_aspectratio "1"
sys_refldetail "0"

tr_best_course_time "0"
tr_completed_training "0"
tv_nochat "0"
vgui_message_dialog_modal "1"
voice_forcemicrecord "1"
voice_mixer_boost "1"
voice_mixer_mute "0"
voice_mixer_volume "0.60"
voice_modenable "1"
voice_threshold "2000"
vprof_graphheight "256"
vprof_graphwidth "512"
vprof_unaccounted_limit "0.3"
vprof_verbose "1"
vprof_warningmsec "10"
weapon_accuracy_logging "1"
xbox_autothrottle "1"
xbox_throttlebias "100"
xbox_throttlespoof "200"
zoom_sensitivity_ratio_joystick "0.5"

// Zoom control
zoom_sensitivity_ratio 0.9

cl_righthand 1; bind n handswitch; alias handswitch "cl_righthand 0; bind n handswitch2"; alias handswitch2 "cl_righthand 1; bind n handswitch";
alias "dust" "rcon host_workshop_map 125498851"
alias "dust2" "rcon host_workshop_map 125488374"
alias "inferno" "rcon host_workshop_map 125499116"
alias "nuke" "rcon host_workshop_map 125498553"
alias "train" "rcon host_workshop_map 125498231"

// Binds
unbind y
unbind u
unbind k
unbind alt
bind "y" "messagemode"
bind "u" "messagemode2"
bind v "+voicerecord"
bind  "TAB" "+ng"
bind space "+jump"
bind MWHEELDOWN "invnext"
bind MWHEELUP "invprev"
bind home "spectate"
bind mouse1 "+attack"
bind mouse2 "+attack2"
bind mouse3 "bhopon" // toggle scroll wheel bhop
bind mouse4 "use weapon_smokegrenade"
bind mouse5 "use weapon_flashbang"
bind del "exec autoexec"
bind shift "+speed" // default
bind f "+lookatweapon" // default
bind g "drop" // default
bind - "toggle voice_scale 0.6 0" // toggle voice volume
bind = "toggle volume 0.55 0.08 0" // toggle game volume
bind "F1" "autobuy"
bind "F2" "rebuy"
bind "F5" "jpeg"
bind i "say Config created by EonaCat (Jeroen Saey)"
bind home "toggle cl_crosshaircolor 0 1 2 3 4 5 6 7 8 9;"
bind pgup "toggle cl_hud_color 0 1 2 3 4 5" 
bind pgdn "toggle cl_color 0 1 2 3 4"

// Disable automatic replay while killed
spec_replay_autostart 0

// Game intructor bind
bind "," "incrementvar gameinstructor_enable 0 1 1"
bindtoggle "," "gameinstructor_enable"

// Easy C4 drop bind
bind "CAPSLOCK" "use weapon_c4;drop"

// Jumpthrow bind
alias "-jumpthrow2" "-jump"
alias "+jumpthrow2" "+jump;-attack;-attack2"
bind alt "+jumpthrow2"

// Aliases
alias "+ng" "+showscores; net_graph 1"
alias "-ng" "-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"
 
// Keypad buy binds
bind kp_ins "buy vesthelm" // 0
bind kp_del "buy vest" // .
bind kp_enter "buy defuser" // Enter
bind kp_end "buy hegrenade;give weapon_hegrenade" // 1
bind kp_downarrow "buy flashbang;give weapon_flashbang" // 2
bind kp_pgdn "buy smokegrenade;give weapon_smokegrenade" // 3
bind kp_leftarrow "buy deagle;give weapon_deagle" //4
bind kp_5 "buy incgrenade;buy molotov;give weapon_incgrenade;give weapon_molotov" // 5
bind kp_rightarrow "buy decoy;give weapon_decoy" // 6
bind kp_home "buy awp;give weapon_awp" // 7
bind kp_uparrow "buy m4a1;buy ak47;give weapon_m4a1_silencer;give weapon_ak47;" // 8
bind kp_pgup "buy famas;buy galilar;give weapon_famas;give weapon_galilar" // 9
bind kp_slash "buy p90;give weapon_p90" // /
bind kp_multiply "buy ump45;give weapon_ump45" // *
bind kp_minus "buy sawedoff;buy mag7;give weapon_sawedoff;give weapon_mag7" // -
bind kp_plus "buy p250;give weapon_p250" // +
bind "." "buy defuser; buy vest;buy hegrenade;buy flashbang;buy smokegrenade;buy flashbang; buy molotov; buy incgrenade;"
bind "F10" "toggle cl_crosshairsize 0 1 2 3 4 5 6 7 8 9"

alias "switchCrosshair" "crossHair1"
alias "crossHair1" "cl_crosshairalpha 255; cl_crosshaircolor_b 255; cl_crosshaircolor_r 255; cl_crosshaircolor_g 0; cl_crosshairdot 1; cl_crosshairgap -15; cl_crosshairsize 3;  cl_crosshairstyle 2; cl_crosshairusealpha 1; cl_crosshairthickness 1; cl_fixedcrosshairgap -15;  cl_crosshair_outline 0; cl_crosshair_outline_draw 0; alias switchCrosshair crossHair2"
alias "crossHair2" "cl_crosshairalpha 255; cl_crosshaircolor_b 28; cl_crosshaircolor_r 210; cl_crosshaircolor_g 45; cl_crosshairdot 0; cl_crosshairgap 0; cl_crosshairsize 3;  cl_crosshairstyle 2; cl_crosshairusealpha 1; cl_crosshairthickness 1; cl_fixedcrosshairgap 0;  cl_crosshair_outline 1; cl_crosshair_outline_draw 15; alias switchCrosshair crossHair3"
alias "crossHair3" "cl_crosshairstyle 4; cl_crosshairusealpha 1; cl_crosshairgap 2;  cl_crosshairalpha 255; cl_crosshaircolor 5; cl_crosshaircolor_g 255; cl_crosshairdot 55; cl_crosshairsize 375; cl_crosshairthickness 1; alias switchCrosshair crossHair1"

bind "F11" "switchCrossHair"
bind "BACKSPACE" "say That's what she said"

alias "voice_chat" "chat_0"
alias "chat_0" "voice_enable 0; clear; echo damage_|~Chat_Off~|; alias voice_chat chat_1"
alias "chat_1" "voice_enable 1; clear; echo damage_|~Chat_On~|; alias voice_chat chat_0"
bind "-" "voice_chat"


// Bot bindings configuration

bind "[" "mp_autoteambalance 0; mp_limitteams 0; mp_roundtime 60; mp_roundtime_defuse 60; mp_roundtime_hostage 60; mp_startmoney 100000;  bot_add_t; bot_add_t; bot_add_t; bot_add_t; bot_add_t; bot_add_ct; bot_add_ct; bot_add_ct; bot_add_ct; bot_add_ct; mp_restartgame 1; say ########## EonaCat BotScript loaded ##########;" 
bind "]" "mp_autoteambalance 1; mp_limitteams 2; mp_roundtime 2; mp_roundtime_defuse 2; mp_roundtime_hostage 2; mp_startmoney 800; bot_kick; mp_restartgame 1; say ########## EonaCat BotScript unloaded ##########"

host_writeconfig // write settings to config.cfg
echo ""
echo ""
echo "autoexec.cfg executed"
echo ""
echo ""
echo ""
say "EonaCat Config OK (Chill The Fuck Out (CTFO))"