// Kooce's CFG

// New in this version: Fully commented! (despite binds and scripts)

// Launch options

// -novid -high -threads 4 -freq 144 -refresh -console -tickrate 128 -nojoy +exec autoexec.cfg

// Rates

rate "128000" // Max bytes/sec the host can receive data

cl_cmdrate "128" // Max number of command packets sent to server per second

cl_updaterate "128" // Number of packets per second of updates you are requesting from the server

cl_interp "0.0" // Sets the interpolation amount (bounded on low side by server interp ratio settings)

cl_interp_ratio "1" // Sets the interpolation amount (final amount is cl_interp_ratio / cl_updaterate)

cl_lagcompensation "1" // Perform server side lag compensation of weapon firing events

mm_dedicated_search_maxping "70" // Longest preferred ping to dedicated servers for games

// Crosshair

cl_crosshair_drawoutline "0" // Draws a black outline around the crosshair for better visibility

cl_crosshair_dynamic_maxdist_splitratio "0.35" // Ratio used to determine how long the inner and outer xhair pips will be

cl_crosshair_dynamic_splitalpha_innermod "1" // Alpha modification that will be used for the INNER crosshair pips once they've split

cl_crosshair_dynamic_splitalpha_outermod "0.5" // Alpha modification that will be used for the OUTER crosshair pips once they've split

cl_crosshair_dynamic_splitdist "7" // Distance that the crosshair pips will split into 2

cl_crosshair_outlinethickness "1" // Set how thick you want your crosshair outline to draw

cl_crosshair_sniper_width "2" // Scope line thickness

cl_crosshairalpha "255" // Transparency setting for your crosshair

cl_crosshaircolor 2" // Colour of your crosshair

cl_crosshaircolor_b "0" // Crosshair blue value

cl_crosshaircolor_g "0" // Crosshair green value

cl_crosshaircolor_r "0" // Crosshair red value

cl_crosshairdot "0" // Dot on/off

cl_crosshairgap "-2" // Gap size of your crosshair

cl_crosshairgap_useweaponvalue "0" // Change crosshairgap independent of selected gun

cl_crosshairscale "0" // Crosshair scaling factor (deprecated)

cl_crosshairsize "3" // Size of your crosshair

cl_crosshairstyle "4" // Switch between crosshair style (dynamic, static, classic etc)

cl_crosshairthickness "1.15" // Thickness of your crosshair

cl_crosshairusealpha "1" // Apparently nobody knows what this command does on the internet

// Viewmodel

viewmodel_fov "68.000000" // FOV of your viewmodel

viewmodel_offset_x "3" // FOV offset on the x axis

viewmodel_offset_y "3" // FOV offset on the y axis

viewmodel_offset_z "-3" // FOV offset on the z axis

viewmodel_presetpos "0" // FOV presets

cl_viewmodel_shift_left_amt "0.500000" // The amount the viewmodel shifts to the left when shooting accuracy increases

cl_viewmodel_shift_right_amt "0.250000" // The amount the viewmodel shifts to the right when shooting accuracy decreases

cl_bob_lower_amt "5.000000" // The amount the viewmodel lowers when running

cl_bobamt_lat "0.100000" // The amount the viewmodel moves side to side when running

cl_bobamt_vert "0.100000" // The amount the viewmodel moves up and down when running

cl_bobcycle "0.98" // The frequency at which the viewmodel bobs

// Mouse

sensitivity "2" // Mouse sensitivity

zoom_sensitivity_ratio_mouse "1" // Mouse sensitivity while zoom/scoped

m_rawinput "1" // Use Raw Input for mouse input

m_pitch "0.022" // Mouse pitch factor

m_customaccel "0" // Custom mouse acceleration

m_mouseaccel1 "0" // Custom mouse acceleration

m_mouseaccel2 "0" // Custom mouse acceleration

// Video

mat_monitorgamma "1.6" // Monitor gamma

mat_queue_mode "-1" // Determines the threading mode the material system uses (try a value of 2 for potential fps boost)

fps_max "999" // Frame rate limiter (don't use 0 as this is known to cause bugs with the engine)

fps_max_menu "999" // Main menu frame limiter

r_dynamic "0" // Dynamic lighting on/off

r_drawtracers_firstperson "0" // Toggle visibility of first person weapon tracers

// Audio

// Important Tweak: Change snd_front_headphone_position

// and snd_front_stereo_speaker_position to match your resolution

// Aspect ratio 5:4 - 45

// Aspect ratio 4:3 - 50.2

// Aspect ratio 16:10 - 53.2

// Aspect ratio 16:9 - 53.2

snd_front_headphone_position "50.2" // Specifies the position (in degrees) of the virtual front left/right headphones

snd_front_stereo_speaker_position "50.2" // Specifies the position (in degrees) of the virtual front left/right speakers

snd_headphone_pan_exponent "1.2" // Specifies the exponent for the pan xfade from phone to phone if the exp pan law is being used

snd_headphone_pan_radial_weight "0.5" // Apply cos(angle) * weight before pan law

snd_mixahead "0.05" // Render sounds faster (i think)

snd_rear_headphone_position "90" // Specifies the position (in degrees) of the virtual rear left/right headphones

snd_rear_stereo_speaker_position "90" // Specifies the position (in degrees) of the virtual rear left/right speakers

snd_stereo_speaker_pan_exponent "1.2" // Specifies the exponent for the pan xfade from speaker to speaker if the exp pan law is being used

snd_stereo_speaker_pan_radial_weight "0.5" // Apply cos(angle) * weight before pan law

volume "0.4" // Sound volume

// Music

snd_deathcamera_volume "0" // Deathcamera volume

snd_mapobjective_volume "0" // Objective music volume

snd_menumusic_volume "0" // Menu music volume

snd_musicvolume "0.25" // Music volume

snd_roundend_volume "0" // Round end volume

snd_roundstart_volume "0" // Round start volume

snd_tensecondwarning_volume "0.2" // Ten second bomb warning volume

// HUD

cl_hud_background_alpha "0.100000" // HUD background transparency

cl_hud_bomb_under_radar "0" // Display bomb under radar

cl_hud_color "1" // HUD colour

cl_hud_healthammo_style "1" // Simple/default HUD layout

cl_hud_playercount_pos "0" // HUD playercount position

cl_hud_playercount_showcount "1" // Show playercount/avatars

cl_righthand "1" // Gun position

cl_showloadout "1" // Stick layout to HUD (removes fade)

cl_showpos "0" // Show/hide position and movement speed values

// Radar

cl_radar_always_centered "0" // Determines if the radar is centered around you (should always be off)

cl_radar_scale "0.37" // Determines internal map size in the radar

cl_radar_icon_scale_min "1" // Size of player models in radar

cl_radar_rotate "1" // Radar rotation with player

cl_hud_radar_scale "1.15" // Size of radar

// Net graph

net_graph "1" // Show/hide net graph

net_graphheight "99999" // Net graph height

net_graphpos "2" // Net graph position

net_graphproportionalfont "0" // Net graph font size

// Gameplay

cl_autowepswitch "0" // Switch weapon on pick up

option_duck_method "0" // Toggle/hold ducking

option_speed_method "0" // Toggle/hold running

// Misc

developer "0" // Set developer message level

cl_forcepreload "1" // Whether we should force preloading

con_enable "1" // Allows the console to be activated

con_filter_enable "2" // Displays filtered text brighter

player_nevershow_communityservermessage "1" // Block/show some kind of instructur message (not sure)

cl_showfps "0" // Show/hide fps

cl_autohelp "0" // Auto-help

cl_showhelp "0" // Show/hide on-screen help

gameinstructor_enable "0" // Hide/show gameinstructor messages

ui_steam_overlay_notification_position "bottomright" // Steam UI overlay message position

con_filter_text "Damage" // Filter Damage in console (highlight damage given/taken)

// Binds

bind "\" "toggleconsole"

bind w "+forward"

bind a "+moveleft"

bind s "+back"

bind d "+moveright"

bind mouse1 "+attack"

bind mouse2 "+attack2"

bind mouse5 +voicerecord

bind mouse4 "+jumpthrow"

bind "e" "+use"

bind "MWHEELDOWN" "+jump"

bind tab "+showscores"

bind space "+jump"

bind del "exec movie.cfg"

bind shift "+speed"

bind Capslock "use weapon_c4"

bind alt "drop"

bind v "+lookatweapon"

bind "f" "use weapon_knife;use weapon_flashbang"

bind "c" "use weapon_knife;use weapon_smokegrenade"

bind "f4" "displaydamage"

bind "h" " "toggle_afk_mode"

bind "TAB" "+net_graph_with_scoreboard"

// Buybinds

bind "kp_ins" "buy vesthelm;"

bind "kp_del" "buy defuser;"

bind "kp_enter" "buy hegrenade;"

bind "kp_plus" "buy flashbang;"

bind "kp_minus" "buy smokegrenade;"

bind "kp_downarrow" "buy p250;"

bind "kp_end" "buy glock; buy hkp2000;"

bind "kp_pgdn" "buy tec9; buy fiveseven;"

bind "kp_leftarrow" "buy galilar; buy famas;"

bind "kp_5" "buy ak47; buy m4a1;"

bind "kp_rightarrow" "buy awp;"

bind "kp_pgup" "buy molotov; buy incgrenade;"

bind "kp_uparrow" "buy decoy;"

// Aliases and scripts

// Toggle AFK mode

alias "toggle_afk_mode" "afk_mode_on"

alias "afk_mode_on" "+forward; +moveleft; +left; alias toggle_afk_mode afk_mode_off"

alias "afk_mode_off" "-forward; -moveleft; -left; alias toggle_afk_mode afk_mode_on"

// Tab: Net graph with scoreboard

alias "+net_graph_with_scoreboard" "+showscores; net_graphheight 0"

alias "-net_graph_with_scoreboard" "-showscores; net_graphheight 99999"

// Jumpthrow

alias "+jumpthrow" "+jump;-attack"

alias "-jumpthrow" "-jump"

// Display Damage in top left corner

alias displaydamage "displaydamage_on"

alias displaydamage_on "con_filter_text Damage Given To; con_filter_text_out Player:; con_filter_enable 2; developer 1; playvol buttons\blip1 0.5; alias displaydamage "displaydamage_off""

alias displaydamage_off "con_filter_enable 0; developer 0; playvol buttons\blip2 0.5; alias displaydamage "displaydamage_on""

// Type fix in console to fix UI problems

alias "fix" "mat_setvideomode 1024 768 1; mat_setvideomode 1024 768 0"

clear

echo Kooce's CFG