play ui/hitsound.wav
tf_dingalingaling "1"
tf_dingaling_volume "1"
tf_dingaling_pitchmindmg "125"
tf_dingaling_pitchmaxdmg "70"

tf_dingaling_wav_override "ui/hitsound.wav" 
cl_interp 0.001
// Quick Class Joiner Script. It has been tested and works.
//Press shift and a key from 1-9 to change class.
//
alias +joinclass "bind 1 scout; bind 6 soldier; bind 2 pyro; bind 3 demoman; bind 4 heavy; bind 5 engineer; bind 9 medic; bind 8 sniper; bind 7 spy"
alias "-joinclass" "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5; bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9"
//
alias scout "say_team Uber Faked !; voicemenu 1 7" /1
alias soldier "say_team Changed respawn !;kill " /9
alias pyro "say_team uber masked !; voicemenu 1 1" /2
alias demoman "say_team GET BACK !" /3
alias heavy "say_team SCOUT ON MY ,HELP !" /4
alias engineer "say_team Push , push , push !" /5
//
bind "shift" "+joinclass"

alias a.ReDrop.ON "test_itempickupsuppression 1;alias a.ReDrop a.ReDrop.OFF"
alias a.ReDrop.OFF "test_itempickupsuppression 0;alias a.ReDrop a.ReDrop.ON"
alias a.ReDrop "a.ReDrop.ON"
bind "=" "a.ReDrop"








adsp_debug "0"
cl_clearhinthistory "1"
cl_debugrumble "0"
cl_rumblescale "0"
mat_debugdepthval "0"
mat_debugdepthvalmax "0"
mat_debug_postprocessing_effects "0"

// Graphical
cl_burninggibs "0"
cl_detaildist "0"
cl_detailfade "0"
cl_drawmonitors "0"
cl_ejectbrass "0"
cl_muzzleflash_dlight_1st "0"
cl_ragdoll_collide "0"
cl_show_splashes "0"
func_break_max_pieces "1"
glow_outline_effect_enable "0" // Set to 1 to enable cart glow effect at a performance cost
lod_transitiondist "0"
mat_aaquality "0"
mat_alphacoverage "0"
mat_antialias "0"
mat_autoexposure_max "0"
mat_autoexposure_min "0"
mat_bloomscale "0"
mat_bloom_scalefactor_scalar "0"
mat_bumpmap "1"
mat_colcorrection_disableentities "1"
mat_colorcorrection "0"
mat_compressedtextures "1"
mat_disable_bloom "1"
mat_disable_fancy_blending "1"
mat_disable_lightwarp "1"
mat_envmapsize "4"
mat_envmaptgasize "4"
mat_excludetextures "1"
mat_fastnobump "0"
mat_fastspecular "1"
mat_filterlightmaps "1"
mat_filtertextures "1"
mat_forceaniso "0"
mat_forcehardwaresync "0"
mat_hdr_level "0"
mat_max_worldmesh_vertices "0"
mat_mipmaptextures "1"
mat_monitorgamma "1.0" // Controls brightness, try 1.8 to get it brighter or 2.2 to get it darker. Only works in fullscreen.
mat_motion_blur_enabled "0"
mat_non_hdr_bloom_scalefactor "0"
mat_parallaxmap "0"
mat_picmip "1"
mat_postprocess_x "0"
mat_postprocess_y "0"
mat_reducefillrate "1"
mat_reduceparticles "1"
mat_softwarelighting "0"
mat_software_aa_blur_one_pixel_lines "0"
mat_software_aa_blur_one_pixel_lines "0"
mat_software_aa_strength "0"
mat_software_aa_strength "0"
mat_software_aa_strength_vgui "0"
mat_software_aa_strength_vgui "0"
mat_software_aa_tap_offset "0"
mat_software_aa_tap_offset "0"
mat_specular "1" // Set to 0 if you don't want shiny ubers, this pretty much has no performance hit set at 1 though
mat_trilinear "1"
mat_wateroverlaysize "4"
mp_usehwmmodels "0"
mp_usehwmvcds "0"
muzzleflash_light "0"
rope_averagelight "0"
rope_collide "0"
rope_rendersolid "0"
rope_shake "0"
rope_smooth "0"
rope_smooth_enlarge "0"
rope_smooth_maxalpha "0"
rope_smooth_maxalphawidth "0"
rope_smooth_minalpha "0"
rope_smooth_minwidth "0"
rope_solid_maxalpha "0"
rope_solid_maxwidth "0"
rope_solid_minalpha "0"
rope_solid_minwidth "0"
rope_subdiv "0"
rope_wind_dist "0"
r_3dsky "0"
r_ambientboost "0"
r_ambientfactor "0"
r_ambientmin "0"
r_avglight "0"
r_bloomtintb "0"
r_bloomtintexponent "0"
r_bloomtintg "0"
r_bloomtintr "0"
r_cheapwaterend "1"
r_cheapwaterstart "1"
r_decalstaticprops "0"
r_decal_cullsize "0"
r_dopixelvisibility "0"
r_drawbatchdecals "0"
r_drawdetailprops "0"
r_drawflecks "0"
r_drawmodeldecals "0"
r_drawspecificstaticprop "0"
r_dynamic "0"
r_eyemove "0"
r_flashlightdepthtexture "0"
r_flashlightrendermodels "0"
r_flashlightrenderworld "0"
r_forcewaterleaf "1"
r_lightaverage "0"
r_maxdlights "0"
r_maxmodeldecal "0"
r_maxnewsamples "0"
r_maxsampledist "0"
r_minnewsamples "0"
r_physpropstaticlighting "0"
r_pixelfog "1"
r_radiosity "0"
r_renderoverlayfragment "1"
r_ropetranslucent "0"
r_staticprop_lod "4"
r_updaterefracttexture "0"
r_visualizeproplightcaching "1"
r_waterdrawreflection "0"
r_waterdrawrefraction "1"
r_waterforceexpensive "0"
r_waterforcereflectentities "0"
r_worldlights "0"
tf_particles_disable_weather "1" // Set to 0 to enable weather effects on maps like Viaduct and Sawmill

// Misc
cl_predict "1"
cl_predictweapons "1"
cl_showfps "1" // Show unsmoothed FPS meter
cl_showpluginmessages "0"

// Performance
cl_forcepreload "1" // Preloads maps, may cause a few seconds more loading the map at the benefit of a more consistent FPS (because the whole map is preloaded)
cl_soundemitter_flush "1"
//m_rawinput "1" // Uncomment to enable raw mouse input -- DO NOT ENABLE IF YOU ARE USING XFIRE OVERLAY
mat_bufferprimitives "1"
mat_clipz "1" // FX owners should set this to 0
mat_disablehwmorph "0"
mat_disable_ps_patch "1"
mat_forcehardwaresync "0"
mat_forcemanagedtextureintohardware "0"
mat_framebuffercopyoverlaysize "0"
mat_levelflush "0"
mat_maxframelatency "0"
mat_postprocessing_combine "1"
mat_vsync "0"
r_fastzreject "-1" // Some ATI cards aren't autodetected, if you know that your card supports it, try setting it to 1.
r_hunkalloclightmaps "0"
r_lightcache_zbuffercache "0"
r_occlusion "1"
r_unloadlightmaps "0"
soundscape_flush "1"

// Sound
dsp_enhance_stereo "0"
dsp_slow_cpu "1" 
snd_async_fullyasync "1" // Can help stop freezes and sound looping
snd_pitchquality "0"
snd_spatialize_roundrobin "1"

// Threading
cl_threaded_bone_setup "0"
cl_threaded_client_leaf_system "0"
mat_queue_mode "-1"
r_threaded_client_shadow_manager "1"
r_threaded_particles "1"
r_threaded_renderables "1"
r_queued_decals "0"
r_queued_post_processing "0"
r_queued_ropes "1"

sv_cheats "0"

// Console printout
clear
echo "-------------------------------------------------------"
echo "             Chris' dx9frames config loaded.           "
echo "-------------------------------------------------------"
echo "Please direct all comments/queries/whatnot to"
echo "#christf2 on QuakeNet."
echo " "
echo "-------------------------------------------------------"
echo "                      Memory stats                     "
echo "-------------------------------------------------------"
memory
echo " "
echo "-------------------------------------------------------"
echo "                      Code support                     "
echo "-------------------------------------------------------"
r_3dnow
r_sse2
echo "-------------------------------------------------------"

// 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"
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 ""

// Uber Rocket Jump
alias +ubrrj "+jump; +duck; +attack" 
alias -ubrrj "-attack; -duck; -jump" 
bind alt +ubrrj
echo "Uber Rocket Jump Script Loaded Properly"

