Advertisement
Guest User

Untitled

a guest
Jan 24th, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.15 KB | None | 0 0
  1. cl_showfps 1 // Show unsmoothed FPS meter.
  2. fps_max 131 // Set the FPS cap to an amount that you typically max out at to prevent jittering. Should be higher than 60.
  3. alias "+ScoreDisplay" "+showscores; net_graph 1" // Makes netgraph show info, but only when viewing scoreboard. Comment this line to get rid of the netgraph on the scoreboard.
  4. alias "-ScoreDisplay" "-showscores; net_graph 0" // Comment this line to get rid of the netgraph on the scoreboard.
  5. //net_graphproportionalfont 0 // Makes netgraph font size proportional to your screen's current resolution. On smaller displays, it's larger than it needs to be and fills up the scoreboard. Comment or set to 1 if you still want it.
  6. //net_graphpos 0 // Modify the location of the netgraph. 0 = left edge, 1 = right edge, 2 = centered, 3 or higher specifies the X co-ordinate of the graph's left edge
  7. //net_graphheight 64 // Modify the height of your netgraph for fine modification.
  8.  
  9. // rpc_showsbgraph
  10. alias "rpc_showsbgraph" "bind TAB +ScoreDisplay;echo Scoreboard netgraph enabled.;host_writeconfig"
  11.  
  12. // rpc_hidesbgraph
  13. alias "rpc_hidesbgraph" "bind TAB +showscores;echo Scoreboard netgraph disabled.;host_writeconfig"
  14. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  15.  
  16. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  17. // Network settings
  18. // Uncomment Bad connection and comment Good connection if you tend to get a ping over 80 on nearby servers.
  19.  
  20. // Good connection
  21. cl_cmdrate 66
  22. cl_interp 0
  23. cl_interp_ratio 1
  24. cl_lagcompensation 1
  25. cl_pred_optimize 2
  26. cl_smooth 0
  27. cl_smoothtime 0.01
  28. cl_updaterate 66
  29. rate 60000
  30.  
  31. // Bad connection
  32. //cl_cmdrate 40
  33. //cl_interp 0
  34. //cl_interp_ratio 2
  35. //cl_lagcompensation 1
  36. //cl_pred_optimize 2
  37. //cl_smooth 0
  38. //cl_smoothtime 0.01
  39. //cl_updaterate 40
  40. //rate 35000
  41.  
  42. net_queue_trace 1 // Seems to optimize net code, not sure
  43.  
  44. // rpc_goodconnection
  45. alias "rpc_goodconnection" "cl_cmdrate 66;cl_interp 0;cl_interp_ratio 1;cl_lagcompensation 1;cl_pred_optimize 2;cl_smooth 0;cl_smoothtime 0.01;cl_updaterate 66;rate 60000;echo Network settings changed to Good Connection.;host_writeconfig"
  46.  
  47. // rpc_badconnection
  48.  
  49. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  50.  
  51. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  52. // Sprays
  53. // No/negligible performance benefit. Only useful to disable if you're annoyed by them.
  54.  
  55. cl_playerspraydisable 1 // Set to 1 to disable.
  56. r_spray_lifetime 0 // Set to 0 to disable.
  57.  
  58. // rpc_enablesprays
  59.  
  60. // rpc_disablesprays
  61. alias "rpc_disablesprays" "cl_playerspraydisable 1;r_spray_lifetime 0;echo Sprays disabled.;host_writeconfig"
  62. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  63.  
  64. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  65. // Shadows
  66. // Shadows can provide a tactical advantage, but at the same time can lower FPS, especially in busy areas.
  67.  
  68. mat_shadowstate 0 // Set to 1 to enable.
  69. r_shadowmaxrendered 0 // Set to 11 to enable.
  70. r_shadowrendertotexture 0 // Set to 1 to enable, but can cause lag; 0 is the recommended setting either way.
  71. r_shadows 0 // Set to 1 to enable.
  72. nb_shadow_dist 400 // Distance from which shadows are visible. Uncomment to modify.
  73.  
  74. // rpc_enableshadows
  75. alias "rpc_enableshadows" "mat_shadowstate 1;r_shadowmaxrendered 11;r_shadowrendertotexture 0;r_shadows 1;cl_blobbyshadows 1;echo Shadows enabled.;host_writeconfig"
  76.  
  77. // rpc_enableshadows_noblob
  78. alias "rpc_enableshadows_noblob" "mat_shadowstate 1;r_shadowmaxrendered 11;r_shadowrendertotexture 1;r shadows 1;cl_blobbyshadows 0;echo Non-blobby shadows enabled.;host_writeconfig"
  79.  
  80. // rpc_disableshadows
  81. alias "rpc_disableshadows" "mat_shadowstate 0;r_shadowmaxrendered 0;r_shadowrendertotexture 0;r_shadows 0;echo Shadows disabled.;host_writeconfig"
  82. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  83.  
  84. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  85. // Facial features
  86. // Disables facial features such as eyes moving and blinking, and mouths opening.
  87.  
  88. r_eyes 1 // Set to 1 to enable.
  89. r_flex 1 // Set to 1 to enable.
  90. r_lod 1 // Needs to be set to 1, or else facial features will be disabled regardless.
  91. r_rootlod 1 // Set to 1 to enable.
  92. r_teeth 1 // Set to 1 to enable.
  93. mp_usehwmmodels -1 // disables improved facial expressions (problems with multicore, for some reason), added for completeness even though the cvar is technically non-functioning since 3/15/14
  94. mp_usehwmvcds -1 // disables improved facial expressions, added for completeness even though the cvar is technically non-functioning since 3/15/14
  95.  
  96. // Extra settings for if you want to enable facial features but still have a performance benefit. Only uncomment if you have facial features turned on.
  97. r_eyegloss 0
  98. r_eyemove 0
  99. r_eyeshift_x 0
  100. r_eyeshift_y 0
  101. r_eyeshift_z 0
  102. r_eyesize 0
  103. blink_duration 0 // Default is 0.2
  104.  
  105. // rpc_enablefeatures
  106. alias "rpc_enablefeatures" "r_eyes 1;r_flex 1;r_lod 1;r_rootlod 1;r_teeth 1;r_eyegloss 1;r_eyemove 1;r_eyeshift_x 0;r_eyeshift_y 0;r_eyeshift_z 0;r_eyesize 0;blink_duration 0.2;echo Facial features enabled.;host_writeconfig"
  107.  
  108. // rpc_enablefeatures_low
  109. alias "rpc_enablefeatures_low" "r_eyes 1;r_flex 1;r_lod 1;r_rootlod 1;r_teeth 1;r_eyegloss 0;r_eyemove 0;r_eyeshift_x 1;r_eyeshift_y 1;r_eyeshift_z 1;r_eyesize 1;blink_duration 0;echo Low-quality facial features enabled.;host_writeconfig"
  110.  
  111. // rpc_disablefeatures
  112. alias "rpc_disablefeatures" "r_eyes 0;r_flex 0;r_lod 2;r_rootlod 2;r_teeth 0;echo Facial features disabled.;host_writeconfig"
  113. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  114.  
  115. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  116. // Ragdolls
  117. // Ragdolls can provide significant FPS loss when interacted with on older computers.
  118.  
  119.  
  120. cl_ragdoll_fade_time 0.3 // Sets how long until ragdolls fade, in seconds. Default is 15.
  121. cl_ragdoll_forcefade 1 // Set to 0 to enable.
  122. cl_ragdoll_physics_enable 0 // Sets whether bullets, explosives, or attacks will interact with the body. Default is 1.
  123. g_ragdoll_fadespeed 0 // Sets how fast the fading effect is. Default is 600.
  124. g_ragdoll_lvfadespeed 0 // Set to 100 to enable. Convar isn't documented.
  125. ragdoll_sleepaftertime 0 // Set to "5.0f" to enable.
  126.  
  127. // rpc_enableragdolls
  128. alias "rpc_enableragdolls" "cl_ragdoll_fade_time 15;cl_ragdoll_forcefade 0;cl_ragdoll_physics_enable 1;g_ragdoll_fadespeed 600;ragdoll_sleepaftertime 5.0f;echo Ragdolls enabled.;host_writeconfig"
  129.  
  130. // rpc_disableragdolls
  131. alias "rpc_disableragdolls" "cl_ragdoll_fade_time 0;cl_ragdoll_forcefade 1;cl_ragdoll_physics_enable 0;g_ragdoll_fadespeed 0;ragdoll_sleepaftertime 0;echo Ragdolls disabled.;host_writeconfig"
  132. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  133.  
  134. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  135. // Gibs
  136. // Gibs spawn if a player is killed by an explosion or has a Bombinomicon equip. These can cause FPS to drop.
  137.  
  138. cl_phys_props_enable 0 // Disables clientside props being affected by physics. Set to 1 to enable.
  139. cl_phys_props_max 0 // Sets the maximum amount of clientside props your client can have at once. Default is 128.
  140. props_break_max_pieces 0 // Sets the amount of pieces props can break into. Default is -1 (model default).
  141. r_propsmaxdist 1 // Sets the maximum visible distance from which you can see clientside props. Default is 1000.
  142. violence_agibs 0 // Sets whether you can see gibs from the 'alien' team (a source engine default name for one team. Set to 1 to enable.
  143. violence_hgibs 0 // Sets whether you can see gibs from the 'human' team (a source engine default name for one team. Set to 1 to enable.
  144. cl_burninggibs 0 // Disables burning gibs
  145.  
  146. // rpc_enablegibs
  147. alias "rpc_enablegibs" "cl_phys_props_enable 1;cl_phys_props_max 128;props_break_max_pieces -1;r_propsmaxdist 1000;violence_agibs 1;violence_hgibs 1;echo Gibs enabled.;host_writeconfig"
  148.  
  149. // rpc_disablegibs
  150. alias "rpc_disablegibs" "cl_phys_props_enable 0;cl_phys_props_max 0;props_break_max_pieces 0;r_propsmaxdist 1;violence_agibs 0;violence_hgibs 0;echo Gibs disabled.;host_writeconfig"
  151. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  152.  
  153. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  154. // Audio
  155. // Audio settings generally don't increase performance, but can have a positive effect on stability.
  156.  
  157. dsp_enhance_stereo 0 // Provides you with a neat positional audio effect, but can have a negative effect on performance in some cases.
  158. dsp_slow_cpu 0 // If set to 1, reduces the quality of DSP effects. Negligible performance gain.
  159. snd_async_fullyasync 1 // Runs the audio fully asynchronous, and, for some reason, reduces the number of TDRs (https://forums.geforce.com/default/topic/389688/geforce-drivers/nvidia-statement-on-tdr-errors-display-driver-nvlddmkm-stopped-/)
  160. snd_pitchquality 1 // Helps determine what to set the audio quality at. More info a few lines down.
  161. snd_spatialize_roundrobin 1 // Lowend optimization: if nonzero, spatialize only a fraction of sound channels each frame. 1/2^x of channels will be spatialized
  162. snd_mixahead 0.05 // Sets how long it takes until attack sounds play. By default the setting is 0.1, or 100ms, which is 1/10 of a second. That means that the current value plays it 50ms after attacking. Sounds usually start to glitch at lower values, so play around with this and see how low you can get!
  163.  
  164. // dsp_slow_cpu and snd_pitchquality determine what your audio quality is set to in the Options menu.
  165. // High: snd_pitchquality 1; dsp_slow_cpu 0
  166. // Medium: snd_pitchquality 0; dsp_slow_cpu 0
  167. // Low: snd_pitchqualiy 0; dsp_slow_cpu 1
  168. // Note: for snd_pitchqualiy 1; dsp_slow_cpu 1 options menu still displays "Low". I'm not sure if this actually makes the sound quality even lower.
  169. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  170.  
  171.  
  172. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  173. // Graphical
  174. // Main brunt of the config, this is where the magic happens. I've documented what I can so you know what
  175. // everything does and can disable/modify it if you wish.
  176.  
  177. cl_hud_playerclass_use_playermodel 0 // Potential FPS gain, we'll see after more thorough testing
  178. mat_phong 0 // Disables phonging on all models. Also achieved by enabling DX8. Disables lightwarps. Can make some models appear black.
  179. cl_detaildist 0 // Distance at which the detailed parts of props are no longer visible (lower LODs)
  180. cl_detailfade 0 // Distance across which detail props fade in
  181. cl_drawmonitors 0 // Disables the rendering of in-game "monitors" which contain 3D rendered images. Mostly, if not completely unused in TF2.
  182. cl_ejectbrass 0 // Disables brass ejection
  183. cl_muzzleflash_dlight_1st 0 //
  184. cl_predict 1 //
  185. cl_predictweapons 1 //
  186. cl_jiggle_bone_framerate_cutoff 0 // 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
  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.
  193. mat_bumpmap 1 // Controls bumpmapping. Has a weird effect if used on DX9, so it's set to 1.
  194. mat_colcorrection_disableentities 1 // Disables color-correcting entities.
  195. mat_colorcorrection 0 // Disables color-correction.
  196. mat_disable_bloom 1 // Disables the bloom effect that allows light to reflect off of a surface, and the HDR effect.
  197. mat_disable_fancy_blending 1 // Disables fancy texture blending.
  198. mat_disable_lightwarp 1 // Disables lightwarps, which partially determine shading for players, entities, and the map. mat_phong also does this.
  199. mat_envmapsize 8 // Changes envmap size.
  200. mat_envmaptgasize 8 // Messes around with size of sprayed textures
  201. mat_disable_ps_patch 1 //
  202. mat_filterlightmaps 1 // Filters lightmaps.
  203. mat_filtertextures 1 // Filters textures.
  204. mat_forceaniso 0 // Forces anisotropic filtering level
  205. mat_hdr_level 0 // Sets HDR level.
  206. mat_max_worldmesh_vertices 512 // Not even going to try to guess, sorry. :(
  207. mat_monitorgamma 2.0 // Controls brightness, try 1.8 to make it brighter or 2.2 to get it darker. Only works in fullscreen.
  208. mat_motion_blur_enabled 0 // Disables motion blur.
  209. mat_parallaxmap 0 // Disables parallax mapping.
  210. mat_mipmaptextures 1 // Control mipmapping
  211. mat_reducefillrate 1 // Reduces the fillrate when the game is run in DX8.
  212. mat_reduceparticles 1 // Reduces particle count.
  213. mat_softwarelighting 0 // Disables rendering of lights by the software.
  214. mat_autoexposure_max 0 //
  215. mat_autoexposure_min 0 //
  216. mat_alphacoverage 0 //
  217. mat_diffuse 1 //
  218. mat_non_hdr_bloom_scalefactor 0 //
  219. mat_bloomscale 0 // More assurance that bloom stays off
  220. mat_bloom_scalefactor_scalar 0 //
  221. 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.
  222. mat_fastspecular 1 // Fast specularity.
  223. mat_fastnobump 0 //
  224. mat_forcemanagedtextureintohardware 0
  225. mat_framebuffercopyoverlaysize 0 //
  226. mat_trilinear 0 // Sets trlinear mode.
  227. mat_viewportscale 1 // Almost no performance gain from viewport upscaling.
  228. mat_viewportupscale 1 //
  229. mat_wateroverlaysize 1 // Water overlay size.
  230. 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.
  231. r_3dsky 0 // Disables 3D skies. This makes maps like koth_wubwubwub much, much less spectacular, so you need to compromise.
  232. //r_3dnow 0 // Disables 3DNow, but it doesn't take arguments in TF2
  233. r_ambientboost 0 // Controls ambient lights
  234. r_ambientfactor 0 // Controls ambient lights
  235. r_ambientmin 0 // Controls ambient lights
  236. r_avglight 0 // Controls average lighting on objects
  237. r_cheapwaterend 1 // Activates cheap water
  238. r_cheapwaterstart 1 // Activates cheap water
  239. r_decals 9 // Controls decal amount. Needs to be changed with mp_decals.
  240. r_maxmodeldecal 9 // Controls how many decals can be on a model at once
  241. r_decalstaticprops 0 // Enables whether decals can be seen on props.
  242. r_decal_cullsize 15 // Controls the cull size of decals.
  243. r_drawdetailprops 0 // Controls whether details on props should be drawn at all.
  244. r_drawmodeldecals 0 // Controls whether decals should be seeable on a model.
  245. r_drawflecks 0 // Controls whether particles upon hitting a surface with a bullet should be rendered.
  246. r_dynamic 0 // Disables dynamic lighting.
  247. r_maxdlights 0 // Determines the maximum number of dynamic lights visible on the screen.
  248. r_physpropstaticlighting 0 // Dtermines if there should be static lighting on props
  249. r_occlusion 0 // Use occlussion from Source engine?
  250. r_worldlights 1 // Number of world lights to use per vertex
  251. r_flashlightdepthtexture 0 // Specifies how detailed the flashlight light should be. Useless in TF2.
  252. r_forcewaterleaf 1 // Optimization to water - considers view in leaf under water for purposes of culling.
  253. r_lightaverage 0 // Disables average lighting.
  254. r_dopixelvisibility 0 //
  255. r_maxnewsamples 0 // Undocumented.
  256. r_maxsampledist 1 // Undocumented.
  257. r_sse2 1 //
  258. r_propsmaxdist 0 // Max visible distance for props.
  259. r_renderoverlayfragment 0 // Leaves a marking underneath health kits and ammo kits.
  260. r_staticprop_lod 4 // Sets the default LOD for static props.
  261. //r_waterdrawreflection 0 // Controls as to whether reflections should be drawn on the surface of water.
  262. //r_waterdrawrefraction 0 // Controls as to whether to calculate refractions when in water.
  263. //r_waterforceexpensive 0 // Forces expensive water.
  264. //r_waterforcereflectentities 0 // Forces as to whether entities should be reflected into water even if r_waterdrawreflection is 0.
  265. rope_averagelight 0 // Makes ropes use average of cubemap lighting instead of max intensity.
  266. rope_collide 0 // Collide rope with the world.
  267. rope_rendersolid 0 // Disables rendering ropes/cables at all.
  268. rope_shake 0 // Controls whether ropes should shake as if there's wind.
  269. rope_smooth 0 // Controls as to whether there should be an antialiasing effect on ropes.
  270. rope_subdiv 0 // Rope subdivision amount.
  271. rope_wind_dist 0 // If a rope is this far away, don't simulate wind on them.
  272. tf_particles_disable_weather 1 // Disable weather effects on maps supporting it. For example, setting this to `1' disables rain effects on *_sawmill.
  273. tracer_extra 0 // Undocumented.
  274. violence_ablood 1 // Setting ablood/hblood to 1 actually improves perf usually
  275. violence_hblood 1 //
  276.  
  277. // Control antialiasing quality to a better extent
  278. mat_software_aa_quality 0 // was 9
  279. mat_software_aa_strength 0
  280. mat_software_aa_strength_vgui -1
  281. mat_software_aa_blur_one_pixel_lines 0
  282. mat_software_aa_edge_threshold 9
  283. mat_software_aa_tap_offset "1"
  284. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  285.  
  286. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  287. // Miscellaneous
  288. // Some miscellaneous improvements that don't quite fit into any of the above categories.
  289.  
  290. flex_smooth 1
  291. in_usekeyboardsampletime 0
  292. mat_clipz 1 // FX card users should set this to 0
  293. mat_forcehardwaresync 0
  294. mat_levelflush 1
  295. m_rawinput 1 // Turn on raw mouse input.
  296. mat_vsync 0 // Turn off vsync to avoid nasty I/O latency.
  297. 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.
  298. mat_queue_mode 2 // mat_queue mode is another frequently asked about cvar, it
  299. // defines the threading method to be used by the material
  300. // system. It has been unstable to use in the past, but
  301. // nowadays it's generally okay.
  302. //
  303. // Here are the possible values:
  304. // -2 legacy default
  305. // -1 default
  306. // 0 synchronous single thread
  307. // 1 queued single thread
  308. // 2 queued multithreaded
  309. //
  310. // If you have problems with the value `2', try setting it to
  311. // `-1'.
  312. //
  313. // As an aside, there are quite a few bugs in the demo system
  314. // that occur when mat_queue_mode is set to a value that is
  315. // not `-1'. If you intend to do work with the demo system,
  316. // maybe you should change this.
  317.  
  318. //cl_threaded_bone_setup 1 // Causes crashes on systems with less than four cores
  319. cl_threaded_client_leaf_system 0
  320. //r_queued_decals 1 // Causes crashes on systems with less than four cores
  321. r_queued_ropes 1
  322. r_queued_post_processing 0
  323. r_threaded_client_shadow_manager 1
  324. r_threaded_particles 1
  325. r_threaded_renderables 1
  326. cl_forcepreload 1 // Forces preloading sounds and such to make it lag less when in-game.
  327. //mat_viewportupscale 1 // for terrible GPU's only
  328. //mat_viewportscale 0.5 // for terrible GPU's only
  329. 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
  330. //studio_queue_mode 0 // default "1". Can give a major FPS boost, but causes crashes. For some reason it is stable when viewing demos, so feel free to set to "1" when not in multiplayer
  331. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  332.  
  333. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  334. // Experimental
  335. // Disable these if you experience crashes
  336.  
  337. cl_localnetworkbackdoor 0 // Network optimizations for Singleplayer, disabling has about a 1-2% fps boost
  338. cl_cloud_settings 0 // Disables cloud syncing of configs, should decrease FPS variance. Disable if you want to.
  339. sys_minidumpspewlines 1 // Basically the number of lines saved to a log file from console. No FPS boost but 15% lower FPS variance
  340. cl_loadondemand_default 0 // Forces items to be loaded at startup instead of on demand. Theoretically makes startup longer but prevents freezing
  341. 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.
  342. //r_pixelfog 1 // Supposedly increases FPS via fog, but it doesn't seem like it. Feel free to play with it to test. I'll run benchmarks later.
  343. fast_fogvolume 1 // Undocumented but I didn't experience any FPS loss with it enabled, will run benchmarks later.
  344. filesystem_native 0 // I think there's an FPS gain with this, anyway.
  345. //host_thread_mode 1 // runs host in threaded mode if multicore
  346. // makes local servers unplayable, so disabled by default
  347. mod_load_anims_async 1 // Loads model animations async
  348. mod_load_mesh_async 1 // Load model mesh async
  349. mod_load_vcollide_async 1 // Load model vcollide async
  350.  
  351. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  352. // Security
  353. // Make your config.cfg read-only for extra protection. Note that this means that bind changes and changes via the in-game wizard from this config won't permanently save.
  354. cl_allowupload 0
  355. alias cl_allowupload "echo Blocked cl_allowupload!" // Prevents cl_allowupload from being changed by a malicious server, and notifies you
  356. alias unbindall "echo Blocked unbindall!" // Prevents unbindall from being run by a malicious server, and notifies you
  357.  
  358. // Gets rid of servers playing annoying sound files. Note that this prevents sounds from saysound and other plugins that do similar things.
  359. //alias play "echo Blocked play!" // Can prevent the game from playing sounds in some cases
  360. alias sndplaydelay "echo Blocked sndplaydelay!"
  361. alias playgamesound "echo Blocked playgamesound!"
  362. alias soundfade "echo Blocked soundfade!"
  363. //cl_downloadfilter "nosounds" // Disables servers from downloading sounds by default
  364.  
  365. // Servers don't need this
  366. alias cl_spec_mode
  367. alias rpt_connect
  368. alias r_screenoverlay
  369.  
  370. // Adblock for motd, extra protection:
  371. // > Create an empty file in your tf directory named textwindow_temp.html and make it read-only (this prevents the motd from being saved & loaded)
  372. // > Add '127.0.0.1 motd.pinion.gg' to your hosts file. This prevents a well known motd advertising network to load
  373. //cl_disablehtmlmotd 1 // Disables HTML MOTDs
  374. alias closed_htmlpage "echo Blocked pinion!" // May have false positives depending on the server, but it's not that big of a deal, since all this does is prevent Pinion or other unruly addons from keeping you from closing the MOTD.
  375. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  376.  
  377. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  378. // Other improvements
  379. // Other non-performance improvements that you may like. Feel free to remove them if you don't, of course.
  380.  
  381. // General
  382. //cl_showbattery 1 // Indicates if we're on battery power or plugged in. Not useful if you're not using a laptop.
  383. //cl_mvm_wave_status_visible_during_wave 1 // Extremely useful convar to show bots remaining without having to view scoreboard
  384. //cl_use_tournament_specgui 1 // Shows your teammate's health in tournament mode and in MvM when you're dead.
  385. //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.
  386. //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.
  387. //hud_combattext_batching 1 // Batches together damage text. Useful for Pyro, Heavy, and the Engineer's Sentry in particular.
  388.  
  389. // Disable Tutorials
  390. cl_ask_blacklist_opt_out "1"
  391. cl_ask_favorite_opt_out "1"
  392. sb_dontshow_maxplayer_warning "1"
  393. tf_explanations_backpackpanel "1"
  394. tf_explanations_charinfo_armory_panel "1"
  395. tf_explanations_charinfopanel "1"
  396. tf_explanations_craftingpanel "1"
  397. tf_explanations_discardpanel "1"
  398. tf_explanations_store "1"
  399. tf_training_has_prompted_for_forums "1"
  400. tf_training_has_prompted_for_loadout "1"
  401. tf_training_has_prompted_for_offline_practice "1"
  402. tf_training_has_prompted_for_options "1"
  403. tf_training_has_prompted_for_training "1"
  404.  
  405. // Null-cancelling movement script
  406. // (prevents you from pressing two opposing directions, which causes you to stop moving)
  407.  
  408. alias +mfwd "-back;+forward;alias checkfwd +forward"
  409. alias +mback "-forward;+back;alias checkback +back"
  410. alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
  411. alias +mright "-moveleft;+moveright;alias checkright +moveright"
  412. alias -mfwd "-forward;checkback;alias checkfwd none"
  413. alias -mback "-back;checkfwd;alias checkback none"
  414. alias -mleft "-moveleft;checkright;alias checkleft none"
  415. alias -mright "-moveright;checkleft;alias checkright none"
  416. alias checkfwd none
  417. alias checkback none
  418. alias checkleft none
  419. alias checkright none
  420. alias none ""
  421.  
  422. alias dotxhaircolor "dotxhaircolorb"
  423. alias dotxhaircolorb "cl_crosshair_blue 0; cl_crosshair_green 0; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorr"
  424. alias dotxhaircolorr "cl_crosshair_blue 64; cl_crosshair_green 255; cl_crosshair_red 255;alias dotxhaircolor dotxhaircolorb"
  425.  
  426. // Toggle viewmodels"
  427.  
  428. // Reload graphics and sound to fix glitches. Bound to F7 because no one reads the abuse reports anyway.
  429. bind "f7" "record temp; stop; snd_restart; hud_reloadscheme;heartbeat;"
  430. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  431.  
  432. /////////////////////////////////////////////////////////////////////////////////////////////////////////////
  433. // Time to echo some shit
  434.  
  435. clear
  436. echo
  437. echo "///////////////////////////////////////////"
  438. echo "/ 9/15/14 /"
  439. echo "/ Rhapsody's Performance Config /"
  440. echo "/ Type 'helpcfg' for help /"
  441. echo "/ Type 'setup' to setup for first time /"
  442. echo "///////////////////////////////////////////"
  443. echo
  444.  
  445. alias "helpcfg" "echo This performance config is a configuration using elements from Chris`s performance config, Stabby`s config, and various other configurations that I`ve found around the internet. Alongside that, I`m also including my own knowledge in this, hopefully making this one of the best performance configs you will find.;helpcfg2"
  446. alias "helpcfg2" "echo I hope you enjoy using my config, and if you have any problems, you can contact me on Reddit (WitheredPyre), and I`ll get back to you, or you can leave an issue report on this project`s Github page (RhapsodySL/perfconfig). Enjoy your high FPS!"
  447.  
  448. alias "setup" "echo Welcome to the setup wizard. Follow these instructions in order to set up basic changes to the config without modifying it. Please note that any commands referenced in this wizard can be used outside of it, at any time.;echo "";echo 1. FPS;echo 2. Network;echo 3. Sprays;echo 4. Shadows;echo 5. Facialfeatures;echo 6. Ragdolls;echo 7. Gibs;echo 8. Audio;setup2"
  449. alias "setup2" "echo "";echo Once you are done, you should type 'helpcfg' to learn more about this configuration and some helpful hints.;echo """
  450.  
  451. alias "FPS" "echo Your FPS (frames-per-second) determines how smoothly your games run. That being said, it is important to keep your FPS high. When using a config like this, it is in your best interest to monitor your FPS, so you have a few options included in this config.;echo "";echo fps_max # - Set your FPS cap. 60 or above is generally a good value. Does not save between sessions.;echo rpc_showsbgraph - Show a graph showing your FPS and other useful info when pressing TAB.;fps2"
  452. alias "FPS2" "echo rpc_hidesbgraph - Disable the graph that appears when pressing TAB.;fps3"
  453. alias "FPS3" "echo cl_showfps 1 - Shows an unsmoothed FPS meter in the top right;echo "";echo Additionally, you can use the following commands to move the graphs position or size.;echo "";echo net_graphproportionalfont - Makes your netgraph size dependant on your resolution.;echo net_graphpos - 0 = left, 1 = right, 2 = centered, 3/higher specifies the X coordinate of the graphs left edge;fps4"
  454. alias "FPS4" "echo net_graphheight - Modify the height of your graph for fine modification and placement. Default is 64.;echo "";FPS5"
  455. alias "FPS5" "echo Finally, there are three convars that can increase FPS exponentially, but might be unstable on systems without four cores.;echo "";echo studio_queue_mode 0 - Gives a boost when set to 0. Might cause crashes on some systems.;FPS6"
  456. alias "FPS6" "echo cl_threaded_bone_setup 1 - Enables threaded bones. Causes crashes on systems that don't have four cores.;echo r_queued_decals 1 - Enables queued decals. Causes crashes on systems that don't have four cores.;echo "";echo Once you are done configuring these, go ahead and type Network in console to continue.;echo """
  457.  
  458. alias "Network" "echo Network settings are what allows your game to play smoothly under certain circumstances. Misconfigured network settings can make the game feel choppy and laggy, while optimized settings can make it feel better. Below, you can choose between two commands that allow you to change your settings depending on playing conditions. If your ping is ;echo over 80 on nearby servers, you should use the Bad connection settings.;Network2"
  459. alias "Network2" "echo "";echo rpc_goodconnection - Enable good connection settings. Use if you get a low ping to nearby servers.;echo rpc_badconnection - Enable bad connection settings. Use if you get a ping of 80+ to nearby servers normally.;echo "";echo Once you are done configuring these, go ahead and type Sprays in console to continue.;echo """
  460.  
  461. alias "Sprays" "echo Sprays are images that people can put on locations around the map. Some are helpful, some are funny, and some are plain disturbing. If you dislike them, you can disable or enable them quickly with the commands below.;Sprays2"
  462. alias "Sprays2" "echo "";echo rpc_enablesprays - Enable sprays.;echo rpc_disablesprays - Disable sprays.;echo "";echo Once you are done configuring these, go ahead and type Shadows in console to continue.;echo """
  463.  
  464. alias "Shadows" "echo Shadows are generally eye-candy, but if you are an attentive player, you can use it to your advantage, since it can easily reveal someone around a corner. Below, you can choose between three shadow options.;Shadows2"
  465. alias "Shadows2" "echo rpc_enableshadows - Non-intensive shadows that allow you to not lag as much, but still get some eyecandy.;echo rpc_enableshadows_noblob - Enables non-blobby shadows (high-intensity).;echo rpc_disableshadows - Disables shadows completely.;echo "";echo Once you are done configuring these, go ahead and type Facialfeatures in console to continue."
  466.  
  467. alias "Facialfeatures" "echo Facial features are what occurs to the characters faces when they talk. These are things such as eyes moving and blinking passively, and the mouth opening when they speak. This is only eyecandy, but it is pretty fun to have.;echo "";echo rpc_enablefeatures - Enables facial features.;echo rpc_enablefeatures_low - Enables low-quality facial features so you still get an FPS benefit.;Facialfeatures2"
  468. alias "Facialfeatures2" "echo rpc_disablefeatures - Disables facial features entirely.;echo "";echo Once you are done configuring these, go ahead and type Ragdolls in console to continue.;echo """
  469.  
  470. alias "Ragdolls" "echo Ragdolls are what you get when you kill someone. They can be used as indicators that an enemy is nearby if a class that headed in that direction recently is found dead. Since they can be interacted with, they can lower FPS.;echo "";echo rpc_enableragdolls - Enable ragdolls.;echo rpc_disableragdolls - Disable ragdolls.;Ragdolls2"
  471. alias "Ragdolls2" "echo "";echo Once you are done configuring these, go ahead and type Gibs to continue.;echo """
  472.  
  473. alias "Gibs" "echo Gibs are what results when someone is killed by an explosion, instead of a ragdoll. They stay for a while after the death, just like ragdolls, and can be interacted with. The sudden splash of gibs and the fact they can be interacted with are both factors that can cause FPS loss.;echo "";echo rpc_enablegibs - Enable gibs.; echo rpc_disablegibs - Disable gibs.;Gibs2"
  474. alias "Gibs2" "echo "";echo Once you are done configuring these, go ahead and type Audio.;echo """
  475.  
  476. alias "Audio" "echo Audio settings are only used to enhance your experience, and generally provide no FPS benefit. Regardless, there are some settings you can modify that were not quite included in the default Settings.;echo "";echo dsp_enhance_stereo - When set to 1, provides a neat surround sound effect.;Audio2"
  477. alias "Audio2" "echo snd_mixahead 0.05 - By default, TF2 makes sounds play 100ms later after they happened (0.1). You can lower this, but at a certain point there is static. 0.05 is generally a safe value, while 0.04 might work for others.;echo "";Audio3"
  478. alias "Audio3" "echo Congratulations, you have finished the wizard! All changes will be saved, even between restarts. Now go on and start playing with better FPS than ever before!;echo If you want some extra settings to modify that you may like, type Extras.;echo """
  479.  
  480. alias "Extras" "echo These extras are some nice convars that I found by browsing the internet and looking through lists. They are not performance related, but you might appreciate them anyhow.;echo "";echo cl_showbattery - Tells you whether you are on AC or unplugged if you have a laptop. Requires cl_showfps 1;echo cl_mvm_wave_status_visible_during_wave 1 - Shows bots remaining without having to show scoreboard;Extras2"
  481. alias "Extras2" "echo cl_use_tournament_specgui 1 - Shows alive player's health in tournament mode or MvM, when you are dead.;echo hud_combattext_batching 1 - Batches together damage text if done within a short period of time.;echo hud_combattext_batching_window # - Amount of time that numbers should stop being batched if no damage occurs.;Extras3"
  482. alias "Extras3" "echo hud_combattext_healing 1 - Enable text that shows a target being healed;echo hud_saytext_time # - Control how long chat messages stay on screen. Default is 12;echo hud_deathnotice_time # - Control how long death notices stay on screen. Default is 6;Extras4"
  483. alias "Extras4" "echo cl_timeout # - Set how long before timeout when you lose connection. Default is 30.;echo tf_hud_num_build_alert_beeps - How many beeps to play when your building is damaged. Default is 2.;echo tf_hud_show_servertime_limit - Whether to show server time limit on HUD;Extras5"
  484. alias "Extras5" "echo voice_loopback 1 - Play back your voice to yourself.;echo "";echo Again, thanks for using my config!"
  485.  
  486. alias clear "echo Blocked clear!" // Block the 'clear' command here instead of above, since I want to use 'clear' myself... :P
  487. sv_cheats 0 // Turning sv_cheats off now, since we don't need it on anymore.
  488.  
  489. bind w +mfwd
  490. bind s +mback
  491. bind a +mleft
  492. bind d +mright
  493.  
  494. alias +mfwd "-back;+forward;alias checkfwd +forward"
  495. alias +mback "-forward;+back;alias checkback +back"
  496. alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
  497. alias +mright "-moveleft;+moveright;alias checkright +moveright"
  498. alias -mfwd "-forward;checkback;alias checkfwd none"
  499. alias -mback "-back;checkfwd;alias checkback none"
  500. alias -mleft "-moveleft;checkright;alias checkleft none"
  501. alias -mright "-moveright;checkleft;alias checkright none"
  502. alias checkfwd none
  503. alias checkback none
  504. alias checkleft none
  505. alias checkright none
  506. alias none ""
  507.  
  508. alias viewtoggle "toggle r_drawviewmodel 0 1"
  509. bind "r" "viewtoggle"
  510.  
  511. hud_combattext_batching 1
  512. hud_combattext_batching_window 2
  513.  
  514. tf_dingaling_pitchmaxdmg 65
  515. tf_dingaling_pitchmindmg 135
  516.  
  517. mat_filtertextures 0;mat_filterlightmaps
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement