Guest User

Ray's FPS/Stability Config

a guest
Oct 19th, 2016
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.53 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. // Shadows
  67. // Shadows can provide a tactical advantage, but at the same time can lower FPS, especially in busy areas.
  68. //----------------------------------------------------------------------------
  69.  
  70. r_shadowmaxrendered 11 // Set to 11 to enable.
  71. r_shadowrendertotexture 0 // Set to 1 to enable, but can cause lag; 0 is the recommended setting either way.
  72. r_shadows 0 // Set to 1 to enable.
  73. nb_shadow_dist 400 // Distance from which shadows are visible. Uncomment to modify.
  74.  
  75. INTERP SETTINGS
  76. //cl_forcepreload
  77. cl_cmdrate 100
  78. cl_interp 0 //.01
  79. cl_interp_ratio 1
  80. cl_lagcompensation 1
  81. cl_pred_optimize 2
  82. cl_smooth 0
  83. cl_smoothtime 0.01
  84. cl_updaterate 67
  85. rate 60000
  86. tf_particles_disable_weather 1
  87.  
  88. //----------------------------------------------------------------------------
  89. // Gibs
  90. // Gibs spawn if a player is killed by an explosion or has a Bombinomicon equip. These can cause FPS to drop.
  91. //----------------------------------------------------------------------------
  92.  
  93. cl_phys_props_enable 0 // Disables clientside props being affected by physics. Set to 1 to enable.
  94. cl_phys_props_max 0 // Sets the maximum amount of clientside props your client can have at once. Default is 128.
  95. props_break_max_pieces 0 // Sets the amount of pieces props can break into. Default is -1 (model default).
  96. r_propsmaxdist 1 // Sets the maximum visible distance from which you can see clientside props. Default is 1000.
  97. 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.
  98. 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.
  99. cl_burninggibs 0 // Disables burning gibs. Enough of a performance hit with it enabled that it really shouldn't be on either way...
  100.  
  101. //----------------------------------------------------------------------------
  102. // Miscellaneous
  103. // Some miscellaneous improvements that don't quite fit into any of the above categories.
  104. //----------------------------------------------------------------------------
  105.  
  106. flex_smooth 1
  107. in_usekeyboardsampletime 0
  108. mat_clipz 1 // FX card users should set this to 0
  109. mat_forcehardwaresync 0
  110. mat_levelflush 1
  111. m_rawinput 1 // Turn on raw mouse input.
  112. mat_vsync 0 // Turn off vsync to avoid nasty I/O latency.
  113. 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.
  114. mat_queue_mode 2 // mat_queue mode is another frequently asked about cvar, it
  115. // defines the threading method to be used by the material
  116. // system. It has been unstable to use in the past, but
  117. // nowadays it's generally okay.
  118. //
  119. // Here are the possible values:
  120. // -2 legacy default
  121. // -1 default
  122. // 0 synchronous single thread
  123. // 1 queued single thread
  124. // 2 queued multithreaded
  125. //
  126. // If you have problems with the value `2', try setting it to
  127. // `-1'.
  128. //
  129. // As an aside, there are quite a few bugs in the demo system
  130. // that occur when mat_queue_mode is set to a value that is
  131. // not `-1'. If you intend to do work with the demo system,
  132. // maybe you should change this.
  133.  
  134. cl_threaded_client_leaf_system 0
  135. r_queued_ropes 1
  136. r_threaded_client_shadow_manager 1
  137. r_threaded_particles 1
  138. cl_forcepreload 1 // Forces preloading sounds and such to make it lag less when in-game.
  139. 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
  140.  
  141. // General
  142. cl_showbattery 0 // Indicates if we're on battery power or plugged in. Not useful if you're not using a laptop.
  143. cl_mvm_wave_status_visible_during_wave 1 // Extremely useful convar to show bots remaining without having to view scoreboard
  144. cl_use_tournament_specgui 1 // Shows your teammate's health in tournament mode and in MvM when you're dead.
  145. 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.
  146. 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.
  147. hud_combattext_batching 1 // Batches together damage text. Useful for Pyro, Heavy, and the Engineer's Sentry in particular.
  148.  
  149. // Hitsound pitch
  150. tf_dingaling_pitchmindmg 200
  151. tf_dingaling_pitchmaxdmg 65
  152. tf_dingaling_volume .75
  153.  
  154. //----------------------------------------------------------------------------
  155. // Graphical
  156. // Main brunt of the config, this is where the magic happens. I've documented what I can so you know what
  157. // everything does and can disable/modify it if you wish.
  158. //----------------------------------------------------------------------------
  159.  
  160. cl_hud_playerclass_use_playermodel 0 // Potential FPS gain, we'll see after more thorough testing
  161. mat_phong 0 // Disables phong shading on all models. Also achieved by enabling DX8. Disables lightwarps. Can make some models appear black.
  162. 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
  163. 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.
  164. 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.
  165. cl_show_splashes 0 // Disables water splashes
  166. func_break_max_pieces 0 // Undocumented, but probably the same as props_break_max_pieces
  167. 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.
  168. 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.
  169. mat_antialias 0 // Sets lowest antialiasing value. Set to 0 from 1 as of 11/19/15 due to crashing issues.
  170. 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.
  171. mat_colcorrection_disableentities 1 // Disables color-correcting entities. [ENABLED]
  172. mat_colorcorrection 0 // Disables color-correction.
  173. mat_disable_fancy_blending 1 // Disables fancy texture blending. [ENABLED]
  174. mat_disable_lightwarp 1 // Disables lightwarps, which partially determine shading for players, entities, and the map. mat_phong also does this.
  175. mat_disable_ps_patch 1 //
  176. mat_filterlightmaps 1 // Filters lightmaps. Set to 0 for minecraft lighting. No performance impact.
  177. mat_filtertextures 1 // Filters textures. Set to 0 for minecraft textures. No performance impact.
  178. mat_forceaniso 1 // Forces anisotropic filtering level
  179. mat_hdr_level 0 // Sets HDR level.
  180. mat_max_worldmesh_vertices 65535 // Determines how many chunks world geometry is broken up into. Higher = less, 65535 is the theoretical maximum
  181. mat_monitorgamma 2.2 // Controls brightness, try 1.8 to make it brighter or 2.2 to get it darker. Only works in fullscreen.
  182. mat_motion_blur_enabled 0 // Disables motion blur.
  183. mat_mipmaptextures 1 // Controls mipmapping. Setting this to 0 should not improve performance, and will not affect vram usage like mat_picmip will.
  184. mat_reducefillrate 1 // Reduces shader complexity.
  185. mat_reduceparticles 1 // Reduces particle count.
  186. mat_autoexposure_max 0 //
  187. mat_autoexposure_min 0 //
  188. mat_alphacoverage 0 // Reduces shader complexity for some transparent materials.
  189. 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.
  190. mat_forcemanagedtextureintohardware 0
  191. mat_trilinear 0 // Sets trlinear mode.
  192. //mat_viewportscale 1 // Defaults to 1 already. Lowers pixel density, but it's better to just lower resolution.
  193. mat_wateroverlaysize 1 // Water overlay size.
  194. 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.
  195. r_3dsky 0 // Disables 3D skies. This makes maps like koth_wubwubwub much, much less spectacular, so you need to compromise.
  196. r_ambientboost 0 // Controls ambient lights
  197. r_cheapwaterend 0 // Activates cheap water
  198. r_cheapwaterstart 0 // Activates cheap water
  199. r_decals 9 // Controls decal amount. Needs to be changed with mp_decals.
  200. r_maxmodeldecal 9 // Controls how many decals can be on a model at once
  201. r_decalstaticprops 0 // Enables whether decals can be seen on props.
  202. r_decal_cullsize 15 // Controls the cull size of decals.
  203. r_drawdetailprops 0 // Controls whether detail props (grass, etc.) should be drawn.
  204. r_drawmodeldecals 0 // Controls whether decals should be seeable on a model.
  205. r_drawflecks 0 // Controls whether particles upon hitting a surface with a bullet should be rendered.
  206. r_dynamic 1 // Disables dynamic lighting. [ENABLED]
  207. r_maxdlights 0 // Determines the maximum number of dynamic lights visible on the screen.
  208. r_physpropstaticlighting 0 // Dtermines if there should be static lighting on props
  209. r_occlusion 1 // Allows mappers to manually optimize their map. Theoretical FPS loss with it DISABLED, which is why it's enabled.
  210. 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.
  211. r_forcewaterleaf 1 // Optimization to water - considers view in leaf under water for purposes of culling.
  212. r_lightaverage 0 // Disables average lighting.
  213. r_dopixelvisibility 0 //
  214. r_propsmaxdist 1 // Max visible distance for clientside physics props.
  215. r_renderoverlayfragment 0 // Disables various mapmaker-placed signs and decals, like those underneath health and ammo packs.
  216. 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.
  217. r_waterdrawreflection 0 // Controls as to whether reflections should be drawn on the surface of water.
  218. 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.
  219. r_waterforceexpensive 0 // Forces expensive water.
  220. r_waterforcereflectentities 0 // Forces as to whether entities should be reflected into water even if r_waterdrawreflection is 0.
  221. rope_averagelight 0 // Makes ropes use average of cubemap lighting instead of max intensity.
  222. rope_collide 0 // Collide rope with the world.
  223. rope_rendersolid 1 // Changes rope visibility. Set to 1 since ropes will be used a lot more with Mannpower. Disable for a boost.
  224. rope_shake 0 // Controls whether ropes should shake as if there's wind.
  225. rope_smooth 0 // Controls as to whether there should be an antialiasing effect on ropes.
  226. rope_subdiv 0 // Rope subdivision amount.
  227. rope_wind_dist 0 // If a rope is this far away, don't simulate wind on them.
  228. tf_particles_disable_weather 1 // Disable weather effects on maps supporting it. For example, setting this to `1' disables rain effects on *_sawmill.
  229. tracer_extra 0 // Enlarges tracers at long distance to make them more visible.
  230. violence_ablood 1 // Setting ablood/hblood to 1 actually improves perf usually
  231. violence_hblood 1 //
  232.  
  233. //OTHER
  234. r_rimlight 0
  235. hud_combattext_batching_window 1
  236. cl_crosshair_scale 26
  237. nb_update_frequency 0
  238. mat_mipmaptextures 0
Advertisement
Add Comment
Please, Sign In to add comment