Guest User

Ray's FPS/Stability Config

a guest
Nov 2nd, 2016
1,105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.74 KB | None | 0 0
  1. // ----------------------------------------------------------------------------
  2. // Print to console
  3. // ----------------------------------------------------------------------------
  4. echo "---------------------------------------------------------"
  5. echo "Ray's stability config loaded. Inspired by Chris, FUNKe, Rhapsody and Comanglia config."
  6. echo "---------------------------------------------------------"
  7.  
  8. mat_motion_blur_enabled 0 //afaik the only sure-fire way to keep refract masking on
  9. mat_motion_blur_strength 0 //effectively disables motion blur, personal choice + motion blur gets masked and looks bad with refract masking
  10. mat_disable_bloom 1 //disables bloom so refract masking doesn't create a dark rectangle over light materials
  11. mat_hdr_level 0
  12. mat_colcorrection_disableentities 1
  13. mat_colorcorrection 0
  14.  
  15. con_filter_enable "1"
  16. con_filter_text_out "particle"
  17. con_filter_text_out "material"
  18. con_filter_text_out "texture"
  19. con_filter_text_out "sound"
  20. con_filter_text_out "failed"
  21. con_filter_text_out "error"
  22. con_filter_text_out "prop"
  23.  
  24. hud_achievement_glowtime 0 // Default is 2.5, not 100% what this is about a 1.5% fps boost.
  25. hud_deathnotice_time 5 // Theoretically might improve FPS?
  26. hud_saytext_time 0
  27.  
  28. cl_localnetworkbackdoor 0 // Network optimizations for Singleplayer, disabling has about a 1-2% fps boost
  29. cl_cloud_settings 0 // Disables cloud syncing of configs, should decrease FPS variance. Disable if you want to.
  30. ai_expression_optimization 1 // Disables NPC expressions when you can't see them, not sure if it works on regular players in TF2, but that's why it's experimental.
  31. r_pixelfog 0 // Apparently changes fog clarity to give a more DX8-ish appearance when set to 1.
  32. fast_fogvolume 1 // Undocumented but I didn't experience any FPS loss with it enabled, will run benchmarks later.
  33. filesystem_native 0 // I think there's an FPS gain with this, anyway.
  34. host_thread_mode 0 // Prevents buggy singleplayer, set to 1 for benefits
  35. // makes local servers unplayable, so disabled by default
  36. mod_load_anims_async 1 // Loads model animations async
  37. mod_load_mesh_async 1 // Load model mesh async
  38. mod_load_vcollide_async 1 // Load model vcollide async
  39. r_queued_post_processing 1
  40. r_threaded_renderables 1
  41.  
  42. flex_smooth 1
  43. in_usekeyboardsampletime 0
  44. mat_clipz 1 // FX card users should set this to 0
  45. mat_forcehardwaresync 0
  46. mat_levelflush 1
  47. m_rawinput 1 // Turn on raw mouse input.
  48. mat_vsync 0 // Turn off vsync to avoid nasty I/O latency.
  49. r_fastzreject -1 // Values >1 enable a fast Z rejection algorithm, to be performed on the GPU (as opposed to on the CPU). The value `-1' autodetects hardware support for this feature, which is safer than forcing it.
  50. mat_queue_mode 2 // mat_queue mode is another frequently asked about cvar, it
  51. // defines the threading method to be used by the material
  52. // system. It has been unstable to use in the past, but
  53. // nowadays it's generally okay.
  54.  
  55. mat_software_aa_quality 0 // was 9
  56. mat_software_aa_strength 0
  57. mat_software_aa_strength_vgui -1
  58. mat_software_aa_blur_one_pixel_lines 0
  59. mat_software_aa_edge_threshold 9
  60. mat_software_aa_tap_offset "1"
  61.  
  62. cl_playerspraydisable 1 // Set to 1 to disable.
  63. r_spray_lifetime 0 // Set to 0 to disable.
  64.  
  65. //----------------------------------------------------------------------------
  66. // Ragdolls
  67. // Ragdolls can provide significant FPS loss when interacted with on older computers.
  68. // ----------------------------------------------------------------------------
  69.  
  70.  
  71. cl_ragdoll_fade_time 3 // Sets how long until ragdolls fade, in seconds. Default is 15.
  72. cl_ragdoll_forcefade 0 // Set to 0 to enable.
  73. cl_ragdoll_physics_enable 0 // Sets whether bullets, explosives, or attacks will interact with the body. Default is 1.
  74. g_ragdoll_fadespeed 0 // Sets how fast the fading effect is. Default is 600.
  75. g_ragdoll_lvfadespeed 0 // Set to 100 to enable. Convar isn't documented.
  76. ragdoll_sleepaftertime 0 // Set to "5.0f" to enable.
  77.  
  78. ///----------------------------------------------------------------------------
  79. // Facial features
  80. // Disables facial features such as eyes moving and blinking, and mouths opening.
  81. //----------------------------------------------------------------------------
  82.  
  83. r_eyes 1 // Set to 1 to enable.
  84. r_flex 0 // Set to 1 to enable.
  85. r_lod 1 // Needs to be set to 1, or else facial features will be disabled regardless.
  86. r_teeth 0 // Set to 1 to enable.
  87.  
  88. //----------------------------------------------------------------------------
  89. // Shadows
  90. // Shadows can provide a tactical advantage, but at the same time can lower FPS, especially in busy areas.
  91. //----------------------------------------------------------------------------
  92.  
  93. r_shadowmaxrendered 11 // Set to 11 to enable.
  94. r_shadowrendertotexture 0 // Set to 1 to enable, but can cause lag; 0 is the recommended setting either way.
  95. r_shadows 0 // Set to 1 to enable.
  96. nb_shadow_dist 400 // Distance from which shadows are visible. Uncomment to modify.
  97.  
  98. INTERP SETTINGS
  99. //cl_forcepreload
  100. cl_cmdrate 100
  101. cl_interp 0 //.01
  102. cl_interp_ratio 1
  103. cl_lagcompensation 1
  104. cl_pred_optimize 2
  105. cl_smooth 0
  106. cl_smoothtime 0.01
  107. cl_updaterate 67
  108. rate 60000
  109. tf_particles_disable_weather 1
  110.  
  111. //----------------------------------------------------------------------------
  112. // Gibs
  113. // Gibs spawn if a player is killed by an explosion or has a Bombinomicon equip. These can cause FPS to drop.
  114. //----------------------------------------------------------------------------
  115.  
  116. cl_phys_props_enable 0 // Disables clientside props being affected by physics. Set to 1 to enable.
  117. cl_phys_props_max 0 // Sets the maximum amount of clientside props your client can have at once. Default is 128.
  118. props_break_max_pieces 0 // Sets the amount of pieces props can break into. Default is -1 (model default).
  119. r_propsmaxdist 1 // Sets the maximum visible distance from which you can see clientside props. Default is 1000.
  120. violence_agibs 0 // Sets whether you can see gibs from the 'alien' team (a convar that likely retained it's name from an older version of TF). Set to 1 to enable.
  121. violence_hgibs 0 // Sets whether you can see gibs from the 'human' team (a convar that likely retained it's name from an older version of TF). Set to 1 to enable.
  122. cl_burninggibs 0 // Disables burning gibs. Enough of a performance hit with it enabled that it really shouldn't be on either way...
  123.  
  124. //----------------------------------------------------------------------------
  125. // Miscellaneous
  126. // Some miscellaneous improvements that don't quite fit into any of the above categories.
  127. //----------------------------------------------------------------------------
  128.  
  129. flex_smooth 1
  130. in_usekeyboardsampletime 0
  131. mat_clipz 1 // FX card users should set this to 0
  132. mat_forcehardwaresync 0
  133. mat_levelflush 1
  134. m_rawinput 1 // Turn on raw mouse input.
  135. mat_vsync 0 // Turn off vsync to avoid nasty I/O latency.
  136. r_fastzreject -1 // Values >1 enable a fast Z rejection algorithm, to be performed on the GPU (as opposed to on the CPU). The value `-1' autodetects hardware support for this feature, which is safer than forcing it.
  137. mat_queue_mode 2 // mat_queue mode is another frequently asked about cvar, it
  138. // defines the threading method to be used by the material
  139. // system. It has been unstable to use in the past, but
  140. // nowadays it's generally okay.
  141. //
  142. // Here are the possible values:
  143. // -2 legacy default
  144. // -1 default
  145. // 0 synchronous single thread
  146. // 1 queued single thread
  147. // 2 queued multithreaded
  148. //
  149. // If you have problems with the value `2', try setting it to
  150. // `-1'.
  151. //
  152. // As an aside, there are quite a few bugs in the demo system
  153. // that occur when mat_queue_mode is set to a value that is
  154. // not `-1'. If you intend to do work with the demo system,
  155. // maybe you should change this.
  156.  
  157. cl_threaded_client_leaf_system 0
  158. r_queued_ropes 1
  159. r_threaded_client_shadow_manager 1
  160. r_threaded_particles 1
  161. cl_forcepreload 1 // Forces preloading sounds and such to make it lag less when in-game.
  162. cl_software_cursor 0 // fixes Windows cursor appearing on screen bug, but breaks on Mac/Linux and prevents looking up in some cases when set to 1
  163.  
  164. // General
  165. cl_showbattery 0 // Indicates if we're on battery power or plugged in. Not useful if you're not using a laptop.
  166. cl_mvm_wave_status_visible_during_wave 1 // Extremely useful convar to show bots remaining without having to view scoreboard
  167. cl_use_tournament_specgui 1 // Shows your teammate's health in tournament mode and in MvM when you're dead.
  168. cl_ask_blacklist_opt_out 1 // Disables the game annoyingly asking you if you want to blacklist a server that you spend a low amount of time on.
  169. cl_ask_favorite_opt_out 1 // Disables the game annoyingly asking you if you want to favorite a server that you spend a long amount of time on.
  170. hud_combattext_batching 1 // Batches together damage text. Useful for Pyro, Heavy, and the Engineer's Sentry in particular.
  171.  
  172. // Hitsound pitch
  173. tf_dingaling_pitchmindmg 200
  174. tf_dingaling_pitchmaxdmg 65
  175. tf_dingaling_volume .75
  176.  
  177. //----------------------------------------------------------------------------
  178. // Graphical
  179. // Main brunt of the config, this is where the magic happens. I've documented what I can so you know what
  180. // everything does and can disable/modify it if you wish.
  181. //----------------------------------------------------------------------------
  182.  
  183. cl_hud_playerclass_use_playermodel 0 // Potential FPS gain, we'll see after more thorough testing
  184. mat_phong 0 // Disables phong shading on all models. Also achieved by enabling DX8. Disables lightwarps. Can make some models appear black.
  185. cl_drawmonitors 0 // Disables the rendering of in-game "monitors" which render things in front of a camera somewhere else on the map (think Dr. Breen in HL2 train station). Mostly unused except maybe in some DR maps
  186. cl_jiggle_bone_framerate_cutoff 1 // Turns off jigglebones, although I recommend keeping them on at all times by setting them to 1, since their performance impact is generally none/negligible.
  187. cl_new_impact_effects 0 // Disables new impact effects. Even if you have a high end computer, this will cause crashes as of ~Apr 2015.
  188. cl_show_splashes 0 // Disables water splashes
  189. func_break_max_pieces 0 // Undocumented, but probably the same as props_break_max_pieces
  190. glow_outline_effect_enable 0 // Cart glow effect. Performance loss with this is generally negligible, however, so I recommend enabling it simply because of how useful it is.
  191. lod_transitiondist 0 // Sets how far you have to be from someone to make them go to their next LOD. Setting this to 0 forces the lowest LOD.
  192. mat_antialias 0 // Sets lowest antialiasing value. Set to 0 from 1 as of 11/19/15 due to crashing issues.
  193. mat_bumpmap 0 // Controls bumpmapping. Apparently it has a weird shine effect if used on dx9, but I'm not seeing it. Set to 1 if you experience it.
  194. mat_colcorrection_disableentities 1 // Disables color-correcting entities. [ENABLED]
  195. mat_colorcorrection 0 // Disables color-correction.
  196. mat_disable_fancy_blending 1 // Disables fancy texture blending. [ENABLED]
  197. mat_disable_lightwarp 1 // Disables lightwarps, which partially determine shading for players, entities, and the map. mat_phong also does this.
  198. mat_disable_ps_patch 1 //
  199. mat_filterlightmaps 1 // Filters lightmaps. Set to 0 for minecraft lighting. No performance impact.
  200. mat_filtertextures 1 // Filters textures. Set to 0 for minecraft textures. No performance impact.
  201. mat_forceaniso 1 // Forces anisotropic filtering level
  202. mat_hdr_level 0 // Sets HDR level.
  203. mat_max_worldmesh_vertices 65535 // Determines how many chunks world geometry is broken up into. Higher = less, 65535 is the theoretical maximum
  204. mat_monitorgamma 2.2 // Controls brightness, try 1.8 to make it brighter or 2.2 to get it darker. Only works in fullscreen.
  205. mat_motion_blur_enabled 0 // Disables motion blur.
  206. mat_mipmaptextures 1 // Controls mipmapping. Setting this to 0 should not improve performance, and will not affect vram usage like mat_picmip will.
  207. mat_reducefillrate 1 // Reduces shader complexity.
  208. mat_reduceparticles 1 // Reduces particle count.
  209. mat_autoexposure_max 0 //
  210. mat_autoexposure_min 0 //
  211. mat_alphacoverage 0 // Reduces shader complexity for some transparent materials.
  212. mat_specular 1 // Controls specularity. Setting this to 0 will make ubers non-shiny, and will remove some specular effects from in-game entities which support it.
  213. mat_forcemanagedtextureintohardware 0
  214. mat_trilinear 0 // Sets trlinear mode.
  215. //mat_viewportscale 1 // Defaults to 1 already. Lowers pixel density, but it's better to just lower resolution.
  216. mat_wateroverlaysize 1 // Water overlay size.
  217. mp_decals 9 // `9' is a good value to still see the spread pattern from a scattergun without any real performance loss. Needs to be changed with r_decals.
  218. r_3dsky 0 // Disables 3D skies. This makes maps like koth_wubwubwub much, much less spectacular, so you need to compromise.
  219. r_ambientboost 0 // Controls ambient lights
  220. r_cheapwaterend 0 // Activates cheap water [DISABLED]
  221. r_cheapwaterstart 0 // Activates cheap water [DISABLED]
  222. r_decals 9 // Controls decal amount. Needs to be changed with mp_decals.
  223. r_maxmodeldecal 9 // Controls how many decals can be on a model at once
  224. r_decalstaticprops 0 // Enables whether decals can be seen on props.
  225. r_decal_cullsize 15 // Controls the cull size of decals.
  226. r_drawdetailprops 0 // Controls whether detail props (grass, etc.) should be drawn.
  227. r_drawmodeldecals 0 // Controls whether decals should be seeable on a model.
  228. r_drawflecks 0 // Controls whether particles upon hitting a surface with a bullet should be rendered.
  229. r_dynamic 1 // Disables dynamic lighting. [ENABLED]
  230. r_maxdlights 0 // Determines the maximum number of dynamic lights visible on the screen.
  231. r_physpropstaticlighting 0 // Dtermines if there should be static lighting on props
  232. r_occlusion 1 // Allows mappers to manually optimize their map. Theoretical FPS loss with it DISABLED, which is why it's enabled.
  233. r_worldlights 1 // Number of world lights to use per vertex. Set to 0 for a theoretical performance gain but very bad lighting effects on characters.
  234. r_forcewaterleaf 1 // Optimization to water - considers view in leaf under water for purposes of culling.
  235. r_lightaverage 0 // Disables average lighting.
  236. r_dopixelvisibility 0 //
  237. r_propsmaxdist 1 // Max visible distance for clientside physics props.
  238. r_renderoverlayfragment 0 // Disables various mapmaker-placed signs and decals, like those underneath health and ammo packs.
  239. r_staticprop_lod 10 // Sets the default LOD for static props. Undocumented, so I don't know the limit, but 10 is a good number.
  240. r_waterdrawreflection 0 // Controls as to whether reflections should be drawn on the surface of water.
  241. r_waterdrawrefraction 1 // Setting to 0 makes it so that water looks weird and you can't look into it, but it might have an FPS gain.
  242. r_waterforceexpensive 0 // Forces expensive water.
  243. r_waterforcereflectentities 0 // Forces as to whether entities should be reflected into water even if r_waterdrawreflection is 0.
  244. rope_averagelight 0 // Makes ropes use average of cubemap lighting instead of max intensity.
  245. rope_collide 0 // Collide rope with the world.
  246. rope_rendersolid 1 // Changes rope visibility. Set to 1 since ropes will be used a lot more with Mannpower. Disable for a boost.
  247. rope_shake 0 // Controls whether ropes should shake as if there's wind.
  248. rope_smooth 0 // Controls as to whether there should be an antialiasing effect on ropes.
  249. rope_subdiv 0 // Rope subdivision amount.
  250. rope_wind_dist 0 // If a rope is this far away, don't simulate wind on them.
  251. tf_particles_disable_weather 1 // Disable weather effects on maps supporting it. For example, setting this to `1' disables rain effects on *_sawmill.
  252. tracer_extra 0 // Enlarges tracers at long distance to make them more visible.
  253. violence_ablood 1 // Setting ablood/hblood to 1 actually improves perf usually
  254. violence_hblood 1 //
  255.  
  256. //OTHER
  257. r_rimlight 0
  258. hud_combattext_batching_window 1
  259. cl_crosshair_scale 26
  260. nb_update_frequency 0
  261. mat_mipmaptextures 0
  262. voice_enable 1
Advertisement
Add Comment
Please, Sign In to add comment