net_maxpacketdrop 1000 
cl_timeout 70 
hud_escort_interp 0.1 


alias interp_congestion_unreliable "cl_interp 0.090909"
alias interp_congestion_safe "cl_interp 0.060606"
alias interp_congestion_balanced "cl_interp 0.0357142"
alias interp_congestion_lan "cl_interp 0.030303"

alias interp_standard_unreliable "cl_interp 0.0454545"
alias interp_standard_safe "cl_interp 0.030303"
alias interp_standard_balanced "cl_interp 0.0178571"
alias interp_standard_lan "cl_interp 0.0151515"


alias packet_rate_congestion_aliases "alias interp_unreliable interp_congestion_unreliable; alias interp_safe interp_congestion_safe; alias interp_balanced interp_congestion_balanced; alias interp_lan interp_congestion_lan"
alias packet_rate_standard_aliases "alias interp_unreliable interp_standard_unreliable; alias interp_safe interp_standard_safe; alias interp_balanced interp_standard_balanced; alias interp_lan interp_standard_lan"

alias packet_rate_congestion "cl_cmdrate 32; cl_updaterate 33;packet_rate_congestion_aliases"
alias packet_rate_standard "cl_cmdrate 65; cl_updaterate 66;packet_rate_standard_aliases"

alias packet_rate packet_rate_standard


alias snapshots_unreliable "interp_unreliable;cl_interp_ratio 3"
alias snapshots_safe "interp_safe;cl_interp_ratio 2"
alias snapshots_balanced "interp_balanced;cl_interp_ratio 1.178571"
alias snapshots_lan "interp_lan;cl_interp_ratio 1"

alias snapshots snapshots_balanced



alias packet_size_conservative "net_compresspackets 1;net_compresspackets_minsize 128;net_maxroutable 956;net_maxfragments 956"
alias packet_size_lowend "net_compresspackets 1;net_compresspackets_minsize 1261;net_maxroutable 1260;net_maxfragments 1260"
alias packet_size_minimal "net_compresspackets 1;net_compresspackets_minsize 128;net_maxroutable 1260;net_maxfragments 1260"
alias packet_size_balanced "net_compresspackets 1;net_compresspackets_minsize 128;net_maxroutable 1200;net_maxfragments 1200"

alias packet_size packet_size_balanced


rate 196608 
net_splitpacket_maxrate 196608
net_splitrate 1 
net_maxcleartime 0.020346


net_maxfilesize 64 
tf_steam_workshop_query_timeout 5 

alias download_all "cl_downloadfilter all"
alias download_nosounds "cl_downloadfilter nosounds"
alias download_mapsonly "cl_downloadfilter mapsonly"
alias download_none "cl_downloadfilter none"

alias download download_all


tf_mm_debug_level 0 
tf_party_join_request_mode 1 


sv_parallel_sendsnapshot 1 


r_threaded_particles 1 
mat_queue_mode 2 
host_thread_mode 1 




mat_max_worldmesh_vertices 65536 

alias lod_very_low "r_rootlod 2; r_lod -1; lod_TransitionDist -1"
alias lod_low "r_rootlod 2; r_lod -1; lod_TransitionDist -5001"
alias lod_medium "r_rootlod 2; r_lod -1; lod_TransitionDist -5000"
alias lod_medium_high "r_rootlod 1; r_lod -1; lod_TransitionDist -5000"
alias lod_high "r_rootlod 0; r_lod -1; lod_TransitionDist 800"
alias lod_ultra "r_rootlod 0; r_lod 0; lod_TransitionDist 800"



alias lighting_very_low "mat_filterlightmaps 0;r_ambientboost 0;r_rimlight 0; r_lightaverage 0; r_dynamic 0;r_worldlightmin 0.9; r_worldlights 0; mat_disable_lightwarp 1;mat_reducefillrate 1;mat_phong 1"
alias lighting_low "mat_filterlightmaps 0;r_ambientboost 0; r_lightaverage 0; r_dynamic 0;r_worldlightmin 0.1; r_worldlights 0; mat_disable_lightwarp 1;mat_reducefillrate 1; mat_phong 0"
alias lighting_medium "r_ambientboost 0;r_ambientmin 0;r_lightaverage 0; r_dynamic 0; r_maxdlights 0; r_worldlightmin 0.004; r_worldlights 0; mat_disable_lightwarp 1;mat_filterlightmaps 1;mat_reducefillrate 1; mat_phong 0"
alias lighting_medium_high "r_ambientboost 1; r_ambientmin 0.3; r_rimlight 0; r_lightaverage 1; r_dynamic 0; r_maxdlights 0; r_worldlightmin 0.0002; r_worldlights 0; mat_disable_lightwarp 1; mat_filterlightmaps 1;mat_reducefillrate 0;mat_phong 1"
alias lighting_high "r_ambientboost 1; r_ambientmin 0.3; r_rimlight 1; r_lightaverage 1; r_dynamic 1; r_maxdlights 9; r_worldlightmin 0.0002; r_worldlights 2; mat_disable_lightwarp 0; mat_filterlightmaps 1;mat_reducefillrate 0;mat_phong 1"
alias lighting_very_high "r_ambientboost 1; r_ambientmin 0.3; r_rimlight 1; r_lightaverage 1; r_dynamic 1; r_maxdlights 9; r_worldlightmin 0.0002; r_worldlights 2; mat_disable_lightwarp 0; mat_filterlightmaps 1;mat_reducefillrate 0;mat_phong 1"
alias lighting_ultra "r_ambientboost 1; r_ambientmin 0.6; r_rimlight 1; r_lightaverage 1; r_dynamic 1; r_maxdlights 17; r_worldlightmin 0.0002; r_worldlights 4; mat_disable_lightwarp 0; mat_filterlightmaps 1;mat_reducefillrate 0; mat_phong 1"



alias shadows_off "r_shadows 0; r_shadowrendertotexture 0;r_flashlightdepthtexture 0;r_flashlightrender 0;r_shadowmaxrendered 0"
alias shadows_very_low "r_shadows 1; r_shadowrendertotexture 0; cl_blobbyshadows 1; r_flashlightdepthtexture 0;r_flashlightrender 0;r_shadowmaxrendered 8"
alias shadows_low "r_shadows 1; r_shadowrendertotexture 0; cl_blobbyshadows 0; r_flashlightdepthtexture 0;r_flashlightrender 0;r_shadowmaxrendered 12"
alias shadows_medium "r_shadows 1; r_shadowrendertotexture 1; cl_blobbyshadows 0; r_flashlightdepthtexture 0;r_flashlightrender 0;r_shadowmaxrendered 12"
alias shadows_high "r_shadows 1; r_shadowrendertotexture 1; cl_blobbyshadows 0; r_flashlightdepthtexture 1; r_flashlightdepthres 512; r_flashlightrender 1;r_shadowmaxrendered 18"
alias shadows_ultra "r_shadows 1; r_shadowrendertotexture 1; cl_blobbyshadows 0; r_flashlightdepthtexture 1; r_flashlightdepthres 1024; r_flashlightrender 1;r_shadowmaxrendered 32"



alias effects_very_low "tracer_extra 0; r_drawtracers_firstperson 0; cl_show_splashes 0; cl_fasttempentcollision 9999"
alias effects_low "tracer_extra 0; r_drawtracers_firstperson 1; cl_show_splashes 0; cl_fasttempentcollision 20"
alias effects_medium "tracer_extra 0; r_drawtracers_firstperson 1; cl_show_splashes 1; cl_fasttempentcollision 20"
alias effects_medium_high "tracer_extra 1; r_drawtracers_firstperson 1; cl_show_splashes 1; cl_fasttempentcollision 20"
alias effects_high "tracer_extra 1; r_drawtracers_firstperson 1; cl_show_splashes 1; cl_fasttempentcollision 10"
alias effects_ultra "tracer_extra 1; r_drawtracers_firstperson 1; cl_show_splashes 1; cl_fasttempentcollision 10"


r_ForceWaterLeaf 1 

alias cheap_water_full "r_cheapwaterstart 0; r_cheapwaterend 0.1"
alias cheap_water_partial "r_cheapwaterstart 0; r_cheapwaterend 150"
alias cheap_water_minimal "r_cheapwaterstart 150; r_cheapwaterend 750"
alias cheap_water_none ""

alias water_very_low "cheap_water_full; alias cheap_water_override cheap_water_full; r_WaterDrawReflection 0; r_waterforceexpensive 0; r_waterforcereflectentities 0; r_WaterDrawRefraction 0"
alias water_low "cheap_water_partial; alias cheap_water_override cheap_water_partial; r_WaterDrawReflection 0; r_waterforceexpensive 0; r_waterforcereflectentities 0; r_WaterDrawRefraction 0"
alias water_medium "cheap_water_minimal; alias cheap_water_override cheap_water_minimal; r_WaterDrawReflection 0; r_waterforceexpensive 0; r_waterforcereflectentities 0; r_WaterDrawRefraction 1"
alias water_medium_high "cheap_water_minimal; alias cheap_water_override cheap_water_minimal; r_WaterDrawReflection 1; r_waterforceexpensive 0; r_waterforcereflectentities 0; r_WaterDrawRefraction 1"
alias water_high "cheap_water_minimal; alias cheap_water_override cheap_water_minimal; r_WaterDrawReflection 1; r_waterforceexpensive 0; r_waterforcereflectentities 1; r_WaterDrawRefraction 1"
alias water_very_high "cheap_water_minimal; alias cheap_water_override cheap_water_minimal; r_WaterDrawReflection 1; r_waterforceexpensive 1; r_waterforcereflectentities 1; r_WaterDrawRefraction 1"
alias water_ultra "alias cheap_water_override cheap_water_none; r_WaterDrawReflection 1; r_waterforceexpensive 1; r_waterforcereflectentities 1; r_WaterDrawRefraction 1"


r_particle_sim_spike_threshold_ms 0 

alias particles_very_low "cl_particle_batch_mode 2; tf_particles_disable_weather 1; mat_reduceparticles 1; cl_new_impact_effects 0; r_drawflecks 0"
alias particles_low "cl_particle_batch_mode 1; tf_particles_disable_weather 1; mat_reduceparticles 1; cl_new_impact_effects 0; r_drawflecks 0"
alias particles_medium "cl_particle_batch_mode 1; tf_particles_disable_weather 1; mat_reduceparticles 1; cl_new_impact_effects 0; r_drawflecks 1"
alias particles_high "cl_particle_batch_mode 1; tf_particles_disable_weather 0; mat_reduceparticles 0; cl_new_impact_effects 0; r_drawflecks 1"
alias particles_ultra "cl_particle_batch_mode 1; tf_particles_disable_weather 0; mat_reduceparticles 0; cl_new_impact_effects 1; r_drawflecks 1"



building_cubemaps 0 
mat_postprocess_x 4 
mat_postprocess_y 4 

alias post_processing_off "mat_hdr_level 0;mat_colorcorrection 0;mat_postprocessing_combine 0"
alias post_processing_low "mat_hdr_level 0;mat_colorcorrection 1;mat_postprocessing_combine 1"
alias post_processing_medium "mat_hdr_level 0;mat_colorcorrection 1;mat_postprocessing_combine 1"
alias post_processing_medium_high "mat_hdr_level 1;mat_colorcorrection 1;mat_postprocessing_combine 1"
alias post_processing_high "mat_hdr_level 3;mat_postprocessing_combine 1"



alias pyrovision_low "pyro_dof 0; pyro_vignette 0"
alias pyrovision_medium "pyro_dof 0; pyro_vignette 1; pyro_vignette_distortion 0"
alias pyrovision_high "pyro_dof 1; pyro_vignette 2; pyro_vignette_distortion 1"



alias motion_blur_off "mat_motion_blur_enabled 0"
alias motion_blur_low "mat_motion_blur_enabled 1; mat_motion_blur_falling_intensity 0; mat_motion_blur_forward_enabled 0; mat_motion_blur_percent_of_screen_max 1; mat_motion_blur_rotation_intensity 0.05; mat_motion_blur_strength 0.8"
alias motion_blur_high "mat_motion_blur_enabled 1; mat_motion_blur_falling_intensity 1; mat_motion_blur_falling_max 15; mat_motion_blur_falling_min 5; mat_motion_blur_forward_enabled 1; mat_motion_blur_percent_of_screen_max 2.5; mat_motion_blur_rotation_intensity 0.05; mat_motion_blur_strength 0.8"



alias aa_off "mat_alphacoverage 0; mat_software_aa_strength 0; mat_software_aa_strength_vgui 0"
alias aa_medium "mat_alphacoverage 1; mat_software_aa_strength 0; mat_software_aa_strength_vgui 1; mat_software_aa_quality 0; mat_software_aa_edge_threshold 0.5; mat_software_aa_blur_one_pixel_lines 0.5; mat_postprocessing_combine 1"
alias aa_high "mat_alphacoverage 1; mat_software_aa_strength 1; mat_software_aa_strength_vgui 1; mat_software_aa_quality 1; mat_software_aa_edge_threshold 0.5; mat_software_aa_blur_one_pixel_lines 0.5; mat_postprocessing_combine 1"


alias aa_msaa_off "mat_antialias 1; mat_aaquality 0"
alias aa_msaa_2x "mat_antialias 2; mat_aaquality 0"
alias aa_msaa_4x "mat_antialias 4; mat_aaquality 0"
alias aa_msaa_6x "mat_antialias 6; mat_aaquality 0"
alias aa_msaa_8x "mat_antialias 8; mat_aaquality 0"
alias aa_msaa_16xq_csaa "mat_antialias 8; mat_aaquality 2"



alias texture_filter_bilinear "mat_trilinear 0; mat_forceaniso 1"
alias texture_filter_trilinear "mat_trilinear 1; mat_forceaniso 1"
alias texture_filter_aniso2x "mat_trilinear 1; mat_forceaniso 2"
alias texture_filter_aniso4x "mat_trilinear 1; mat_forceaniso 4"
alias texture_filter_aniso8x "mat_trilinear 1; mat_forceaniso 8"
alias texture_filter_aniso16x "mat_trilinear 1; mat_forceaniso 16"


r_glint_procedural 0 

alias characters_very_low "r_flex 0; flex_rules 0; anim_3wayblend 0; ai_expression_optimization 1; ai_expression_frametime 0; r_teeth 0; flex_smooth 0;r_eyes 0; r_eyemove 0; tf_clientsideeye_lookats 0; blink_duration 0; phonemefilter 0.001; phonemesnap 0"
alias characters_low "r_flex 0; flex_rules 0; anim_3wayblend 0; ai_expression_optimization 1; ai_expression_frametime 0; r_teeth 0; flex_smooth 0;r_eyes 1; r_eyemove 0; tf_clientsideeye_lookats 0; blink_duration 0; phonemefilter 0.001; phonemesnap 0"
alias characters_medium "r_flex 1; flex_rules 1; anim_3wayblend 0; ai_expression_optimization 1; ai_expression_frametime 0.0152; r_teeth 1; flex_smooth 0;r_eyes 1; r_eyemove 0; tf_clientsideeye_lookats 0; blink_duration 0; phonemefilter 0.001; phonemesnap 0"
alias characters_medium_high "r_flex 1; flex_rules 1; anim_3wayblend 0; ai_expression_optimization 1; ai_expression_frametime 0.0152; r_teeth 1; flex_smooth 0;r_eyes 1; r_eyemove 1; tf_clientsideeye_lookats 1; blink_duration 0.2; phonemefilter 0.08; phonemesnap 1"
alias characters_high "r_flex 1; flex_rules 1; anim_3wayblend 1; ai_expression_optimization 1; ai_expression_frametime 0.0152; r_teeth 1; flex_smooth 1;r_eyes 1; r_eyemove 1; tf_clientsideeye_lookats 1; blink_duration 0.2; phonemefilter 0.08; phonemesnap 2"
alias characters_ultra "r_flex 1; flex_rules 1; anim_3wayblend 1; ai_expression_optimization 0;r_teeth 1; flex_smooth 1;r_eyes 1; r_eyemove 1; tf_clientsideeye_lookats 1; blink_duration 0.2; phonemefilter 0.08; phonemesnap 7"




alias decals_off "r_decals 0; mp_decals 0;r_drawbatchdecals 0"
alias decals_low "r_decals 9; mp_decals 9; r_decal_cullsize 256; r_decal_cover_count 1; r_decal_overlap_area 0.4; r_decal_overlap_count 0;r_drawbatchdecals 0"
alias decals_medium "r_decals 96; mp_decals 96; r_decal_cullsize 256; r_decal_cover_count 1; r_decal_overlap_area 0.4; r_decal_overlap_count 0;r_drawbatchdecals 1"
alias decals_high "r_decals 96; mp_decals 96; r_decal_cullsize 15; r_decal_cover_count 4; r_decal_overlap_area 0.8; r_decal_overlap_count 3;r_drawbatchdecals 1"
alias decals_ultra "r_decals 2048; mp_decals 2048; r_decal_cullsize 5; r_decal_cover_count 8; r_decal_overlap_area 1.0; r_decal_overlap_count 8;r_drawbatchdecals 1"



alias decals_models_off "r_drawmodeldecals 0"
alias decals_models_low "r_drawmodeldecals 1; r_maxmodeldecal 9"
alias decals_models_high "r_drawmodeldecals 1; r_maxmodeldecal 32"


r_overlayfadeenable 1
r_overlayfademax 2000
r_overlayfademin 1750

alias decals_art_off "r_renderoverlayfragment 0"
alias decals_art_on "r_renderoverlayfragment 1"
bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright

alias +mfwd "-back;+forward;alias checkfwd +forward"
alias +mback "-forward;+back;alias checkback +back"
alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
alias +mright "-moveleft;+moveright;alias checkright +moveright"
alias -mfwd "-forward;checkback;alias checkfwd none"
alias -mback "-back;checkfwd;alias checkback none"
alias -mleft "-moveleft;checkright;alias checkleft none"
alias -mright "-moveright;checkleft;alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""


cl_cmdrate 66 // Send to server at this many times per second
cl_updaterate 66 // Get from server at this many times per seconds
cl_interp_ratio 2 // Interpolate over 2 snapshots to avoid issues where one
                  // snapshot is dropped once in a while
//cl_interp_ratio 1 // Reduce entity interpolation times to minimum
//cl_interp_ratio 3 // Protect more against packet loss, increase further for
                    // more protection
cl_interp 0 // Use cl_interp_ratio for a more accurate value
net_queued_packet_thread 1 // Queue split packets on Windows
net_compresspackets 0 // Disable packet compression
net_maxroutable 956 // Use max reliable packet size
rate 196608 // High rate (1.57 Mbps) to reduce choke and scale to packet rate
net_splitpacket_maxrate 196609 // Scale split packet rate up to rate (1.57Mbps)
net_maxcleartime 4 // Use rate to control packet delay





bind mwheelup "+jump"
bind mwheeldown "+jump"

alias "+crouchjump" "+jump; +duck;"
alias "-crouchjump" "-jump; -duck;"

bind "SPACE" "+crouchjump"

bind mouse3 "spin_180"
alias "spin_180" "cl_yawspeed 2000; +left; wait 13.5; -left; cl_yawspeed 200"

exec gfx

hud_fastswitch 1
sv_forcepreload 1
sv_allow_point_servercommand always

map_background preload_room; wait 10; disconnect

mat_mipmaptextures 0 
cl_detailfade 0 
cl_detaildist 0 
r_drawdetailprops 0 
mp_decals 0 
r_decals 0 
mat_queue_mode 2 
lod_TransitionDist 
r_lod 2 
r_shadows 0 
mat_hdr_level 0 
mat_vsync 0
fps_max 69
-----------------------------------------------------------------------------//bruv//


net_graph 1

fps_max 63
+reload

mat_viewportscale 1 
mat_viewportupscale 1 


alias 3dsky_off "r_3dsky 0"
alias 3dsky_on "r_3dsky 1"

r_dopixelvisibility 1 
r_pixelvisibility_partial 0 


alias jigglebones_off "cl_jiggle_bone_framerate_cutoff 0"
alias jigglebones_on "cl_jiggle_bone_framerate_cutoff 67"
alias jigglebones_force_on "cl_jiggle_bone_framerate_cutoff 1"



alias textures_very_low "mat_filtertextures 0;mat_picmip 2"
alias textures_low "mat_filtertextures 1;mat_picmip 2"
alias textures_medium "mat_filtertextures 1;mat_picmip 1"
alias textures_high "mat_filtertextures 1;mat_picmip 0"
alias textures_very_high "mat_filtertextures 1;mat_picmip -1"


alias texture_blending_off "mat_disable_fancy_blending 1"
alias texture_blending_on "mat_disable_fancy_blending 0"


alias bumpmap_off "mat_bumpmap 1"
alias bumpmap_on "mat_bumpmap 1"


alias specular_off "mat_specular 0"
alias specular_on "mat_specular 1"



alias ropes_off "rope_rendersolid 0;r_ropetranslucent 0;rope_smooth 0;rope_subdiv 0;rope_collide 0;rope_wind_dist 0;rope_averagelight 0"
alias ropes_low "rope_rendersolid 1;r_ropetranslucent 0;rope_smooth 0;rope_subdiv 1;rope_collide 0;rope_wind_dist 0;rope_averagelight 1"
alias ropes_high "rope_rendersolid 1;r_ropetranslucent 1;rope_smooth 1;rope_subdiv 2;rope_collide 0;rope_wind_dist 0;rope_averagelight 1"
alias ropes_ultra "rope_rendersolid 1;r_ropetranslucent 1;rope_smooth 1;rope_subdiv 7;rope_collide 1;rope_wind_dist 1000;rope_averagelight 1"


fps_max 240 
mat_vsync 0 
engine_no_focus_sleep 0 
r_fastzreject 1 
r_occlusion 1 
r_occludeemaxarea 1 
r_occluderminarea 10 
mat_tonemapping_occlusion_use_stencil 0 
host_flush_threshold 0 
r_norefresh 1 
fast_fogvolume 1 
sv_alternateticks 0 
mod_offline_hdr_switch 1


gl_pow2_tempmem 1 
gl_mtglflush_at_tof 1 
gl_debug_output 0 
gl_magnify_resolve_mode 1 
gl_paircache_rows_lg2 11 
gl_paircache_ways_lg2 5 




tf_mm_dashboard_slide_panel_step 10 
tf_dashboard_slide_time 0.25 
tf_item_inspect_model_auto_spin 1 
tf_item_inspect_model_spin_rate 30 
tf_quest_map_tuner_wobble_magnitude 0.01 
sv_motd_unload_on_dismissal 1 
tf_halloween_bonus_ducks_cooldown 10 
tf_healthicon_height_offset 10 
tf_hud_num_building_alert_beeps 2 
tf_rd_finale_beep_time 10 
tf_hud_show_servertimelimit 1 
tf_hud_target_id_alpha 100 
hud_medichealtargetmarker 1 
tf_hud_target_id_offset 0 
tf_hud_target_id_show_avatars 2 
hud_freezecamhide 0 
tf_scoreboard_ping_as_text 1 

alias hud_player_model_off "cl_hud_playerclass_use_playermodel 0"
alias hud_player_model_on "cl_hud_playerclass_use_playermodel 1"




cl_mute_all_comms 1 
tf_chat_popup_hold_time 2 

alias messages_enable "hud_saytext_time 10; cl_showtextmsg 1; cl_showpluginmessages 1; cl_chatfilters 63"
alias messages_disable "hud_saytext_time 0; cl_showtextmsg 0; cl_showpluginmessages 0; cl_chatfilters 0"
alias messages_userchat "hud_saytext_time 10; cl_showtextmsg 1; cl_showpluginmessages 0; cl_chatfilters 4"

alias messages messages_enable

alias killfeed_off "hud_deathnotice_time 0"
alias killfeed_on "hud_deathnotice_time 5.5"

alias killfeed killfeed_on


tf_time_loading_item_panels 0.0003 
cl_spec_carrieditems 1 
tf_backpack_page_button_delay 0.25 




cl_hud_killstreak_display_alpha 100 
cl_hud_killstreak_display_fontsize 0 
cl_hud_killstreak_display_time 2.25 

alias killstreaks_off "cl_hud_killstreak_display_time 0"
alias killstreaks_low "cl_hud_killstreak_display_alpha 255; cl_hud_killstreak_display_time 2.25"
alias killstreaks_high "cl_hud_killstreak_display_alpha 100; cl_hud_killstreak_display_time 2.25"

alias killstreaks killstreaks_high


cl_notifications_max_num_visible 1 
cl_notifications_move_time 0.1 
tf_notifications_push_bottom 0 
cl_vote_ui_active_after_voting 0 
cl_vote_ui_show_notification 0 
tf_hud_notification_duration 2 


tf_quest_notification_line_delay 0.2 


hud_achievement_glowtime 1 
hud_achievement_tracker 2 
hud_achievement_count 4 


cl_mvm_wave_status_visible_during_wave 1 

alias debug_on "cl_showfps 2; cl_showpos 1; cl_showbattery 1; cl_show_num_particle_systems 1; developer 1"
alias debug_off "cl_showfps 0; cl_showpos 0; cl_showbattery 0; cl_show_num_particle_systems 0; developer 0"
alias debug_on_partial "cl_showfps 1; cl_showpos 1; cl_showbattery 1; cl_show_num_particle_systems 0"

alias debug debug_off







con_nprint_bgalpha 100 
con_nprint_bgborder 1 


fov_desired 90 
tf_spectate_pyrovision 0 

alias xrays_off "glow_outline_effect_enable 1; tf_enable_glows_after_respawn 1; tf_spec_xray_disable 1"
alias xrays_low "glow_outline_effect_enable 1; tf_enable_glows_after_respawn 1; tf_spec_xray_disable 0"
alias xrays_high "glow_outline_effect_enable 1; tf_enable_glows_after_respawn 1; tf_spec_xray_disable 0"







tf_replay_pyrovision 0 


bugreporter_uploadasync 1 
ai_frametime_limit 0.0152 


mem_max_heapsize_dedicated 128 
lzma_persistent_buffer 1 
cl_always_flush_models 0 
mat_levelflush 1 
sv_forcepreload 0 
mat_bufferprimitives 1 


filesystem_buffer_size 8192 
filesystem_max_stdio_read 31 


filesystem_native 1 
filesystem_unbuffered_io 1 


mod_load_anims_async 1 
mod_load_mesh_async 1 
mod_load_vcollide_async 0 
mod_lock_mdls_on_load 0 
mod_forcetouchdata 1 
mod_touchalldata 1 
mod_forcedata 1 


tf_dingalingaling_repeat_delay 0.008


snd_async_fullyasync 1 
snd_async_minsize 0 
snd_mix_async 1 
phonemedelay 0 


snd_delay_sound_shift 0.01 
snd_mixahead 0.066 






snd_lockpartial 1 
snd_cull_duplicates 0 
voice_steal 2 
voice_buffer_ms 200 
snd_noextraupdate 1 
snd_async_spew_blocking 0 
dsp_enhance_stereo 0
snd_defer_trace 1
snd_noextraupdate 1

alias sound_low "snd_disable_mixer_duck 1; snd_pitchquality 0; dsp_slow_cpu 1; snd_spatialize_roundrobin 3; dsp_room 0; dsp_facingaway 0; dsp_speaker 0; dsp_water 0; dsp_spatial 0"
alias sound_medium "snd_disable_mixer_duck 0; snd_pitchquality 0;  dsp_slow_cpu 1; snd_spatialize_roundrobin 1; dsp_room 0; dsp_facingaway 0; dsp_speaker 50; dsp_water 0; dsp_spatial 40"
alias sound_high "snd_disable_mixer_duck 0; snd_pitchquality 1; dsp_slow_cpu 0; snd_spatialize_roundrobin 1; dsp_room 0; dsp_facingaway 30; dsp_speaker 50; dsp_water 14; dsp_spatial 40"
alias sound_very_high "snd_disable_mixer_duck 0; snd_pitchquality 1; dsp_slow_cpu 0; snd_spatialize_roundrobin 0; dsp_room 0; dsp_facingaway 30; dsp_speaker 50; dsp_water 14; dsp_spatial 40"
alias sound_ultra "snd_disable_mixer_duck 0; snd_pitchquality 1; dsp_slow_cpu 0; snd_spatialize_roundrobin 0; dsp_room 1; dsp_facingaway 31; dsp_speaker 59; dsp_water 16; dsp_spatial 40"









echo " "
echo " "
echo " "
echo " "
echo "  ********************************  "
echo "  ********************************  "
echo "  ** mastercomfig 6.10.0 loaded **  "
echo "  **        August 2 2018       **  "
echo "  ********************************  "
echo "  ********************************  "
echo " "
echo " "
echo " "
echo " "
alias version_comfig "echo mastercomfig version: 6.10.0 | August 2 2018"

alias game_override "cheap_water_override; detail_props_override" 


alias class_config_scout        "exec scout_c"
alias class_config_soldier      "exec soldier_c"
alias class_config_pyro         "exec pyro_c"
alias class_config_demoman      "exec demoman_c"
alias class_config_heavyweapons "exec heavyweapons_c"
alias class_config_engineer     "exec engineer_c"
alias class_config_medic        "exec medic_c"
alias class_config_sniper       "exec sniper_c"
alias class_config_spy          "exec spy_c"

alias game_overrides_c "exec game_overrides_c"
alias listenserver_c   "exec listenserver_c"
exec game_overrides // Override values set every game

class_config_demoman
exec game_overrides // Override values set every game

class_config_engineer
tf_party_force_update
hud_reloadscheme
mem_compact // Slightly organize memory on startup
game_override // Run aliased game overrides
game_overrides_c
r_cleardecals // Remove decals

mem_compact // Occassionally organize memory in-game
exec game_overrides // Override values set every game

class_config_heavyweapons
host_thread_mode 0 // Do not use the threaded frame behavior for local servers
listenserver_c
exec game_overrides // Override values set every game

class_config_medic
alias game_override ""

blink_duration 0.2
cl_blobbyshadows 0
cl_burninggibs 0
cl_detaildist 1200
cl_detailfade 400
cl_drawmonitors 1
cl_ejectbrass 1
cl_fasttempentcollision 5
cl_jiggle_bone_framerate_cutoff 20
cl_muzzleflash_dlight_1st 1
cl_particle_batch_mode 1
cl_phys_props_enable 1
cl_phys_props_max 300
cl_phys_props_respawndist 1500
cl_phys_props_respawnrate 60
cl_show_splashes 1
cl_showbattery 0
cl_showpos 0
cl_showtextmsg 1
cl_threaded_client_leaf_system 0
dsp_room 0
filesystem_buffer_size 0
flex_rules 1
flex_smooth 1
fps_max 300
g_ragdoll_fadespeed 600
g_ragdoll_lvfadespeed 100
host_flush_threshold 20
host_thread_mode 0
mat_alphacoverage 1
mat_bumpmap 1
mat_disable_ps_patch 0
mat_disable_fancy_blending 0
mat_disable_lightwarp 0
mat_specular 1
mat_fastspecular 1
mat_filterlightmaps 1
mat_filtertextures 1
mat_max_worldmesh_vertices 65536
mat_phong 1
mat_postprocessing_combine 1
mat_reducefillrate 0 // ?
mat_reduceparticles 0
mat_trilinear 1 // ?
mp_usehwmmodels 0
mp_usehwmvcds 0
nb_shadow_dist 400
net_queued_packet_thread 1
net_splitpacket_maxrate 80000
net_splitrate 1
phonemesnap 2
phonemefilter 0.1
r_3dsky 1
r_ForceWaterLeaf 1
r_WaterDrawReflection 1 // ?
r_WaterDrawRefraction 1 // ?
r_decal_cover_count 4
r_decal_overlap_area 0.4
r_decal_overlap_count 3
r_decals 2048
r_decalstaticprops 1
r_drawdetailprops 1
r_drawflecks 1
r_drawmodeldecals 1
r_dynamic 1
r_eyes 1
r_flashlightdepthres 512
r_flashlightdepthtexture 1 // ?
r_flashlightmodels 1
r_flashlightrender 1
r_flashlightscissor 1
r_flex 1
r_lightaverage 1
r_lightcache_zbuffercache 0
r_lod -1
r_maxdlights 32
r_maxmodeldecal 50
r_norefresh 0
r_occludeemaxarea 0
r_occluderminarea 0
r_particle_sim_spike_threshold_ms 5
r_pixelfog 1
r_pixelvisibility_partial 1
r_propsmaxdist 1200
r_queued_decals 0
r_queued_post_processing 0
r_shadowmaxrendered 32
r_shadowrendertotexture 1
r_shadows 1
r_spray_lifetime 2
r_staticprop_lod -1
r_teeth 1
r_threaded_client_shadow_manager 0
r_threaded_particles 1
r_threaded_renderables 0
r_worldlightmin 0.0002
r_worldlights 4
ragdoll_sleepaftertime 5
rope_averagelight 1
rope_collide 1
rope_rendersolid 1
rope_shake 0
rope_smooth 1
rope_solid_minwidth 0.3
rope_subdiv 2
rope_wind_dist 1000
snd_async_fullyasync 0
snd_async_minsize 262144
snd_cull_duplicates 0
snd_defer_trace 1
snd_delay_sound_shift 0.01
snd_disable_mixer_duck 0
snd_mix_async 0
snd_mixahead 0.1
snd_noextraupdate 0
snd_spatialize_roundrobin 0
tf_clientsideeye_lookats 1
tracer_extra 1
violence_hgibs 1
violence_hblood 1
// Medium Low preset
// The maximum performance you can get without making the game too hard to play because of awful visual quality and glitches

alias lod lod_low
alias lighting lighting_medium
alias shadows shadows_off
alias effects effects_medium
alias water water_medium
alias particles particles_low
alias aa aa_off
alias aa_msaa aa_msaa_off
alias post_processing post_processing_off
alias pyrovision pyrovision_low
alias motion_blur motion_blur_off
alias texture_filter texture_filter_trilinear
alias characters characters_low
alias decals decals_low
alias decals_models decals_models_off
alias decals_art decals_art_on
alias sprays sprays_off
alias gibs gibs_off
alias ragdolls ragdolls_off
alias textures textures_high
alias texture_blending texture_blending_off
alias bumpmap bumpmap_on
alias specular specular_on
alias props props_low
alias ropes ropes_off
alias xrays xrays_low
alias sound sound_medium
alias messages messages_enable
alias 3dsky 3dsky_off
alias jigglebones jigglebones_off
alias hud_player_model hud_player_model_off
tf_quest_map_tuner_wobble_magnitude 0 // Disable the red tuner on the contracker
tf_item_inspect_model_auto_spin 0 // Do not auto spin items in the inspect view
tf_dashboard_slide_time 0 // Instant transitions
tf_colorblindassist 1 // Add extra icon for jarate

echo "Medium Low preset selected"
exec game_overrides // Override values set every game

class_config_pyro
exec game_overrides // Override values set every game

class_config_scout
exec game_overrides // Override values set every game

class_config_sniper
exec game_overrides // Override values set every game

class_config_soldier
exec game_overrides // Override values set every game



mat_dxlevel 70

mat_phong 0
mat_bumpmap 0
cl_detaildistance 0
mat_specular 0

mat_shadowstate 0
r_shadowmaxrendered 0
r_shadowrendertotexture 0
r_shadows 0

// Disable gibs
cl_phys_props_enable 0
cl_phys_props_max 0
props_break_max_pieces 0
r_propsmaxdist 1
violence_agibs 0
violence_hgibs 0

//--------------------------------------------------------------
// Comanglia Stability config + Blocky Textures + Null-Cancel
//--------------------------------------------------------------
// FPS related
net_graph 1
cl_showfps 0
fps_max 0
 
//--------------------------------------------------------------
// Remove sprays
cl_playerspraydisable 1
r_spray_lifetime 0
 
//--------------------------------------------------------------
// Remove shadows
mat_shadowstate 0
r_shadowmaxrendered 0
r_shadowrendertotexture 0
r_shadows 0
 
//--------------------------------------------------------------
// Remove face movement
r_eyes 0
r_flex 0
r_lod 2
r_rootlod 2
r_teeth 0
//--------------------------------------------------------------
// Remove gibs
cl_phys_props_enable 0
cl_phys_props_max 0
props_break_max_pieces 0
r_propsmaxdist 1
violence_agibs 0
violence_hgibs 0
 
//--------------------------------------------------------------
// Graphics, main FPS booster.
sv_cheats 1
cl_hud_playerclass_use_playermodel 0
mat_filtertextures 0
mat_phong 0
cl_muzzleflash_dlight_1st 0  
cl_detaildist 0
cl_detailfade 0
cl_drawmonitors 0
cl_ejectbrass 0
cl_jiggle_bone_framerate_cutoff 0
cl_new_impact_effects 0
cl_show_splashes 0
func_break_max_pieces 0
glow_outline_effect_enable 0
lod_transitiondist 0
mat_antialias 0
mat_bumpmap 1
mat_colcorrection_disableentities 0
mat_colorcorrection 0
mat_disable_bloom 1
mat_disable_fancy_blending 1
mat_disable_lightwarp 1
mat_envmapsize 8
mat_envmaptgasize 8
mat_filterlightmaps 1
mat_filtertextures 1
mat_forceaniso 0
mat_hdr_level 0
mat_max_worldmesh_vertices 512
mat_monitorgamma 2.2
mat_motion_blur_enabled 0
mat_parallaxmap 0
mat_picmip 2
mat_reducefillrate 1
mat_reduceparticles 1
mat_specular 1
mat_trilinear 1
mat_viewportscale 1
mat_viewportupscale 1
mat_wateroverlaysize 1
mp_decals 9
r_ambientfactor 0
r_ambientmin 0
r_avglight 0
r_cheapwaterend 1
r_cheapwaterstart 1
r_decals 9
r_maxmodeldecal 9
r_decalstaticprops 0
r_decal_cullsize 15
r_drawdetailprops 0
r_drawmodeldecals 0
r_drawflecks 0
r_dynamic 0
r_flashlightdepthtexture 0
r_forcewaterleaf 1
r_lightaverage 0
r_maxnewsamples 0
r_maxsampledist 1
r_occlusion 0
r_pixelfog 1
r_propsmaxdist 0
r_renderoverlayfragment 0
r_staticprop_lod 4
r_waterdrawreflection 0
r_waterdrawrefraction 1
r_waterforceexpensive 0
r_waterforcereflectentities 0
r_drawtracers_firstperson 0
rope_averagelight 0
rope_collide 0
rope_rendersolid 0
rope_shake 0
rope_smooth 0
rope_subdiv 0
rope_wind_dist 0 // I didn't actually know that there is wind in TF2. I'm stupid.  -Pellyx
tf_particles_disable_weather 1
tracer_extra 0
violence_ablood 1
violence_hblood 1
sv_cheats 0
 
//--------------------------------------------------------------
// Misc
in_usekeyboardsampletime 0
//mat_clipz 1 // FX card users should set this to 0  -Comanglia
mat_forcehardwaresync 0
mat_levelflush 1
mat_vsync 0
r_fastzreject -1
ai_expression_optimization 1
fast_fogvolume 1
host_thread_mode 0
mod_load_anims_async 1
mod_load_mesh_async 1
mod_load_vcollide_async 1
cl_forcepreload 1
cl_ask_blacklist_opt_out "1"
cl_ask_favorite_opt_out "1"
sb_dontshow_maxplayer_warning "1"
tf_explanations_backpackpanel "1"
tf_explanations_charinfo_armory_panel "1"
tf_explanations_charinfopanel "1"
tf_explanations_craftingpanel "1"
tf_explanations_discardpanel "1"
tf_explanations_store "1"
tf_training_has_prompted_for_forums "1"
tf_training_has_prompted_for_loadout "1"
tf_training_has_prompted_for_offline_practice "1"
tf_training_has_prompted_for_options "1"
tf_training_has_prompted_for_training "1"
 
//--------------------------------------------------------------
// Sound
// Everyone agrees that you should not decrease sound quality
// in games such as TF2 but it's proven to boost FPS.
dsp_enhance_stereo 0
dsp_slow_cpu 1
snd_async_fullyasync 1
snd_pitchquality 0
snd_spatialize_roundrobin 1
snd_mixahead .06
 
//--------------------------------------------------------------
// HUD related
hud_saytext_time 5
voice_enable 1
hud_deathnotice_time 5
hud_achievement_glowtime 0
hud_achievement_count 0
hud_achievement_tracker 0
 
//--------------------------------------------------------------
// Test
cl_localnetworkbackdoor 1
cl_cloud_settings 0
sys_minidumpspewlines 500
cl_loadondemand_default 0
 
//--------------------------------------------------------------
// Important settings
// These are things that every TF2 player should use.
 
fov_desired 90
hud_fastswitch 1
cl_autoreload "1"
cl_hud_minmode "0" // This actually boosts FPS.

//=========================================================
alias dotxhaircolor "dotxhaircolorb"
alias dotxhaircolorb "cl_crosshair_blue 0; cl_crosshair_green 255; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorr"
alias dotxhaircolorr "cl_crosshair_blue 255; cl_crosshair_green 0; cl_crosshair_red 255;alias dotxhaircolor dotxhaircolorb"

alias xhairflash-off "alias dotxhaircolor "
alias xhairflash-on "alias dotxhaircolor dotxhaircolorb"
//=========================================================

// Null-cancelling movement script
// (prevents you from pressing two opposing directions, which causes you to stop moving)

bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright

alias +mfwd "-back;+forward;alias checkfwd +forward; dotxhaircolor"
alias +mback "-forward;+back;alias checkback +back; dotxhaircolor"
alias +mleft "-moveright;+moveleft;alias checkleft +moveleft; dotxhaircolor"
alias +mright "-moveleft;+moveright;alias checkright +moveright; dotxhaircolor"
alias -mfwd "-forward;checkback;alias checkfwd none; dotxhaircolor"
alias -mback "-back;checkfwd;alias checkback none; dotxhaircolor"
alias -mleft "-moveleft;checkright;alias checkleft none; dotxhaircolor"
alias -mright "-moveright;checkleft;alias checkright none; dotxhaircolor"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""

echo "-------------------------------------------------------"
echo "        Null-cancelling movement script loaded.        "
echo "-------------------------------------------------------"
mat_filtertextures 0