// CHRONICALSde CS:GO Autoexec
// Version 1.1 - 02.02.2022
// Web: https://chronicals.de/

// ===========================
// ===== CUSTOM KEYBINDS =====
// ===========================
// Change bind keys if necessary

 // Jumpthrow bind for left [Alt]
   alias "+jumpthrow" "+jump;-attack"; alias "-jumpthrow" "-jump"; bind alt "+jumpthrow"

 // Moan bind for right-[Alt] (some keyboards: [AltGr])
   bind ralt "playerchatwheel deathcry Moan..."

 // Noclip bind for [Y]
   bind y "noclip"

 // Toggle voice chat with [.]
 // Toggles voice chat and informs team via chat
  voice_enable 1 // Reset initial value
  alias "CHRON_Voice_Toggle_0" "voice_enable 0; say_team COMMS-INFO:  Voice disabled so I can hear the enemy team.  Please type and ping callouts in team chat.; alias CHRON_Voice_Toggle CHRON_Voice_Toggle_1"
  alias "CHRON_Voice_Toggle_1" "voice_enable 1; say_team COMMS-INFO:  Voice enabled. Please don't spam in voice. ; alias CHRON_Voice_Toggle CHRON_Voice_Toggle_0"
  alias "CHRON_Voice_Toggle" "CHRON_Voice_Toggle_0"
  bind "." "CHRON_Voice_Toggle"

 // Toggle enemy chat with [,]
 // Toggles enemy chat and informs team via chat
  cl_mute_enemy_team  0 // Reset initial value
  alias "CHRON_EnemyChat_Toggle_0" "cl_mute_enemy_team 1; say_team COMMS-INFO:  FYI: I disabled enemy chat.; alias CHRON_EnemyChat_Toggle CHRON_EnemyChat_Toggle_1"
  alias "CHRON_EnemyChat_Toggle_1" "cl_mute_enemy_team 0; say_team COMMS-INFO:  FYI: I enabled enemy chat. ; alias CHRON_EnemyChat_Toggle CHRON_EnemyChat_Toggle_0"
  alias "CHRON_EnemyChat_Toggle" "CHRON_EnemyChat_Toggle_0"
  bind "," "CHRON_EnemyChat_Toggle"


// ===========================
// ===== CUSTOM SETTINGS =====
// ===========================
// Delete or change if necessary

 // Disable auto switch on pickup
   cl_autowepswitch "0"

 // Always show inventory
   cl_showloadout 1

 // net_graph config for better performance and less distraction ingame
 // With this net_graph will be hidden under tab
   net_graph "1"
   net_graphheight "9999"
   bind "TAB" "+scorenet"
   alias "+scorenet" "+showscores; net_graphheight 0"
   alias "-scorenet" "-showscores; net_graphheight 9999"
   net_graphproportionalfont "0"

 // Show friends connect button, even when playing on community servers
 // With this, friends can join you on custom servers without the ip
   cl_join_advertise 2

 // Save ingame server changes automatically
   host_writeconfig


// ===========================
// ==== NETWORK SETTINGS =====
// ===========================
// Change according to your network conditions

 // Network package interpolation: Set server communication caching to a minimum
 // This defines, how many ticks the client caches to compensate for network disruptions, before
 // showing the current game status to you. This helps mitigate small network hickups, but increases
 // the latency between the latest tick you received and to what you're actually seeing. The higher
 // the value, the more your client is behind to what's actually happening on the server. Ideally set
 // 0 on a perfect server & connection but that doesn't exist so NEVER set to 0. On LAN, set 1.
 // On Wi-Fi set 2. On bad connections set to 3. Default is 2. Technical details: pastebin.com/2bBFijFY
   cl_interp_ratio 1

 // Custom MTU setup
 // This value decides how big each network package is allowed to be in your home network. Default for
 // most networks is 1500. You can check this in your ISPs router and your network card settings. Set
 // the same everywhere. If you don't want to mess with this comment the next line out (with //) to disable.
   net_maxroutable 1500

 // Let the client download 128 commands/second on a 128 tick server. Without this, you're effectively playing 64-tick.
   cl_updaterate 128 // Allow 128 tick server command download

 // Let the client upload 128 commands/second on a 128 tick server. Without this, you're effectively playing 64-tick.
   cl_cmdrate 128 // Allow 128 tick server command upload



// ===========================
// == PERFORMANCE SETTINGS ===
// ===========================
// Should need no changes

 // Force preloading maps before joining
   cl_forcepreload 1

 // Disable all tutorial & beginner helpers
   cl_showhelp 0
   cl_autohelp 0
   gameinstructor_enable 0

 // Disable artificial mouse acceleration used by your OS.
 // Mouse acceleration makes it impossible to build muscle memory, so keep this disabled.
   m_rawinput 1 // Use raw mouse input
   m_mouseaccel2 0 // Disable mouse acceleration
   m_mouseaccel1 0 // ↑
   m_customaccel 0 // ↑

 // Limit maximal FPS in game
 // Don't disable or set to 0 - it won't improve things. This helps combat engine overload in menus or loading screens
 // resulting in less crashes and way better loading times, while keeping the real ingame FPS unbottlenecked.
   fps_max "800" // Setting this to 0 will uncap it but will load maps 90 seconds slower. Don't change!
   fps_max_menu "60" // Leave at 60 to mitigate CPU/GPU overload in combination with next option. Don't change!

 // Disable engine sleep on focus loss
 // This option forces CS to maintain running even when you're tabbed out or on another screen at all times.
 // Please do not disable FPS limitations (option above) when using or else this will result in useless high energy and
 // thermal loads for your hardware, without any benifit.
   engine_no_focus_sleep 0 // Disable FPS Lag when tabbing out. Caution: Main menu can generate unlimited load when FPS is uncapped.


