Advertisement
Guest User

autoexec.cfg

a guest
Sep 4th, 2015
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.15 KB | None | 0 0
  1. // Unexplained crashes? Try changing mat_queue_mode to `-1'.
  2. // ----------------------------------------------------------------------------
  3. // Comanglia' frames config inspired by chris, designed to get you a large performance boost
  4. // v0.2beta | 17 May 2015 |
  5. // ----------------------------------------------------------------------------
  6. // Launch options:
  7. // You should remove -dxlevel xx from the launch options for superior stability with
  8. // ALT+Tabbing
  9. //
  10. // Fullscreen: -dxlevel 81 -full -w WIDTH -h HEIGHT -console -novid
  11. // Windowed: -dxlevel 81 -sw -w WIDTH -h HEIGHT -console -noborder -novid
  12. // -useforcedmparms -noforcemaccel -noforcemspd // All of these are outdated and don't matter anymore
  13. //
  14. // DX Levels
  15. // -dxlevel 80, -dxlevel 81, -dxlevel 90, -dxlevel 91, -dxlevel 95, -dxlevel 98
  16. // if you can use -dxlevel 81 USE IT your fps will be significantly more stable, some Nvidia users may experience a weird strobing effect (some series of outdated nvidia drivers remove this affect)
  17. // ----------------------------------------------------------------------------
  18.  
  19. // ----------------------------------------------------------------------------
  20. // FPS cap
  21. // ----------------------------------------------------------------------------
  22. // The primary benefit of an FPS cap is to make the FPS more stable, other than
  23. // that, it doesn't do a lot. A moderate, consistent framerate is much more
  24. // desirable than a variable but sometimes high framerate. A common
  25. // misconception is that if any more frames are generated than your monitor can
  26. // display, they are useless. This is wrong -- frames are used for much more
  27. // than mere display, and affect the way the game feels well past your
  28. // refresh rate.
  29. // ----------------------------------------------------------------------------
  30. cl_showfps 0 // Turning this FPS meter on actually decreases fps by about 3%-4%
  31. fps_max 0 // fps caps on PCs that consistently meet that cap causes horrible input lag when attempting to turn/aim
  32. //fps_max 132 // I'm leaving this in here though because some PCs (usually laptops) tend to overheat and have microstutters without frame caps.
  33.  
  34. // ----------------------------------------------------------------------------
  35. // Net settings
  36. // ----------------------------------------------------------------------------
  37. // Whilst net settings perhaps aren't an integral part of an FPS config, they
  38. // are a fact of life in competitive TF2, and as such, they are included here.
  39. //
  40. // A common question I am asked -- what defines whether a good connection is
  41. // good or bad? Mostly personal preference. If you're not willing to make the
  42. // choice, try both and see which is better for you.
  43. //
  44. // Generally, meeting both of the following conditions would classify it as a
  45. // good connection:
  46. //
  47. // - Ping of <80 to the average server you join
  48. // - Generally no/negligible choke/loss (can be checked with `net_graph')
  49. //
  50. // There's some pretty good documentation on this here:
  51. // http://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking
  52. //
  53. // Uncomment (remove the `//' from) one of the groups if you want to use them.
  54. // ----------------------------------------------------------------------------
  55.  
  56. // Good connection
  57. cl_cmdrate 67 // The tricks to get 1.4ms lerp are placebo you're still forced to .0152
  58. cl_interp 0 // change to whatever you like for certain classes projectiles/popping uber/flames = .0152 hitscan = .031 on bad connections = .062
  59. cl_interp_ratio 1
  60. cl_lagcompensation 1
  61. cl_pred_optimize 2
  62. cl_smooth 0
  63. cl_smoothtime 0.01
  64. cl_updaterate 67 // The tricks to get 1.4ms lerp are placebo you're still forced to .0152
  65. rate 62000 // anything above 62,000 is completely useless, anything above 48,000ish is useless in HL
  66.  
  67. // Competitive connection // Very few servers will have these settings
  68. //cl_cmdrate 128
  69. //cl_interp .007 // this will likely have to be user defined .007 should be roughly the lowest interp, hit scan might do well at .0152 for this
  70. //cl_interp_ratio 1
  71. //cl_lagcompensation 1
  72. //cl_pred_optimize 2
  73. //cl_smooth 0
  74. //cl_smoothtime 0.01
  75. //cl_updaterate 128
  76. //rate 90000 // With higher tick rates you have more bandwidth being used
  77.  
  78. // Bad connection
  79. //cl_cmdrate 40
  80. //cl_interp 0
  81. //cl_interp_ratio 2
  82. //cl_lagcompensation 1
  83. //cl_pred_optimize 2
  84. //cl_smooth 0
  85. //cl_smoothtime 0.01
  86. //cl_updaterate 40
  87. //rate 35000
  88.  
  89. // ----------------------------------------------------------------------------
  90. // Sprays
  91. // ----------------------------------------------------------------------------
  92. // Bear in mind that these are disabled on war servers due to `sv_pure 2'
  93. // anyway, so if you play competitive TF2, this won't help you.
  94. // ----------------------------------------------------------------------------
  95.  
  96. // Disable sprays
  97. cl_playerspraydisable 1
  98. r_spray_lifetime 0
  99.  
  100. // Enable sprays -- uncomment this section if you want these settings
  101. //cl_playerspraydisable 0
  102. //r_spray_lifetime 2
  103.  
  104. // ----------------------------------------------------------------------------
  105. // Shadows
  106. // ----------------------------------------------------------------------------
  107.  
  108. // Disable shadows
  109. mat_shadowstate 0
  110. r_shadowmaxrendered 0
  111. r_shadowrendertotexture 0
  112. r_shadows 0
  113.  
  114. // Enable shadows -- I highly recommend keeping them off if you're frequently near or below the refresh rate of your monitor as you'll lose about 15-20% of your framerate
  115. //mat_shadowstate 1
  116. //r_shadowmaxrendered 11
  117. //r_shadowrendertotexture 1 // Non-blobby shadows. Sometimes turned on by
  118. // competitive TF2 players to see opponents standing
  119. // near the other side of a wall. You may see some
  120. // performance loss from setting this to `1'.
  121. //r_shadows 1
  122.  
  123. // ----------------------------------------------------------------------------
  124. // Facial features
  125. // ----------------------------------------------------------------------------
  126.  
  127. // Disable facial features
  128. r_eyes 0
  129. r_flex 0
  130. r_lod 2
  131. r_rootlod 2
  132. r_teeth 0
  133.  
  134. // Enable facial features -- turning them on lowers framerate by 5ish%
  135. //r_eyes 1
  136. //r_flex 1
  137. //r_lod 1 // Needs to be set to 1, otherwise they will still be disabled.
  138. //r_rootlod 1
  139. //r_teeth 1
  140.  
  141. // ----------------------------------------------------------------------------
  142. // Ragdolls
  143. // ----------------------------------------------------------------------------
  144. // You will have reduced performance on deaths which produce ragdolls.
  145. // ----------------------------------------------------------------------------
  146.  
  147. // Disable ragdolls
  148. cl_ragdoll_fade_time 0
  149. cl_ragdoll_forcefade 1
  150. cl_ragdoll_physics_enable 0
  151. g_ragdoll_fadespeed 0
  152. g_ragdoll_lvfadespeed 0
  153. ragdoll_sleepaftertime 0
  154.  
  155. // Enable ragdolls -- lowers by 10ish%
  156. //cl_ragdoll_fade_time 15
  157. //cl_ragdoll_forcefade 0
  158. //cl_ragdoll_physics_enable 1
  159. //g_ragdoll_fadespeed 600
  160. //g_ragdoll_lvfadespeed 100
  161. //ragdoll_sleepaftertime "5.0f"
  162.  
  163. // ----------------------------------------------------------------------------
  164. // Gibs
  165. // ----------------------------------------------------------------------------
  166. // You will have reduced performance on deaths which produce gibs.
  167. // ----------------------------------------------------------------------------
  168.  
  169. // Disable gibs
  170. cl_phys_props_enable 0
  171. cl_phys_props_max 0
  172. props_break_max_pieces 0
  173. r_propsmaxdist 1
  174. violence_agibs 0
  175. violence_hgibs 0
  176.  
  177. // Enable gibs -- 6-7% less framerate
  178. //cl_phys_props_enable 1
  179. //cl_phys_props_max 128
  180. //props_break_max_pieces -1
  181. //r_propsmaxdist 1000
  182. //violence_agibs 1
  183. //violence_hgibs 1
  184.  
  185. // ----------------------------------------------------------------------------
  186. // Graphical
  187. // ----------------------------------------------------------------------------
  188. // Now we come to the main brunt of the config. You probably don't want to mess
  189. // with this.
  190. // ----------------------------------------------------------------------------
  191. fov_desired 90
  192. cl_hud_playerclass_use_playermodel 0 // adds another hud element -3% frames
  193. mat_phong 0 // some people don't like this on I prefer it on for sniper though
  194. cl_muzzleflash_dlight_1st 0
  195. cl_detaildist 0
  196. cl_detailfade 0
  197. cl_drawmonitors 0
  198. cl_ejectbrass 0
  199. cl_jiggle_bone_framerate_cutoff 0 // Turns off jigglebones
  200. cl_new_impact_effects 0
  201. cl_show_splashes 0
  202. func_break_max_pieces 0
  203. glow_outline_effect_enable 1 // Cart glow effect.
  204. lod_transitiondist 0
  205. mat_antialias 0
  206. mat_bumpmap 0 // Controls bumpmapping. Setting this to 0 on dx9 will cause
  207. // a strange `shine' effect to appear on all players. - Chris
  208. // In the past I wasn't able to prove that disabling this was significant,
  209. // it effects fps by about 1% after several checks - Comanglia
  210. mat_colcorrection_disableentities 0
  211. mat_colorcorrection 0
  212. mat_disable_bloom 1
  213. mat_disable_fancy_blending 1
  214. mat_disable_lightwarp 1
  215. mat_envmapsize 8
  216. mat_envmaptgasize 8
  217. mat_filterlightmaps 1
  218. mat_filtertextures 1
  219. mat_forceaniso 0
  220. mat_hdr_level 0
  221. mat_max_worldmesh_vertices 512
  222. mat_monitorgamma 2.2 // Controls brightness, try 1.8 to make it brighter or 2.2
  223. // to get it darker. Only works in fullscreen.
  224. mat_motion_blur_enabled 0
  225. mat_parallaxmap 0
  226. mat_picmip 2 // Higher = more mipmapping. Without `sv_cheats 1', you're looking
  227. // at a range from -1 to 2, -1 being the best quality, 2 being the
  228. // worst. - Doesn't really matter much what you set this too if you're cpu bound
  229. mat_reducefillrate 1
  230. mat_reduceparticles 1
  231. mat_specular 0 // Controls specularity. Setting this to 0 will make ubers
  232. // non-shiny, and will remove some specular effects from in-game
  233. // entities which support it. - Setting this to 0 while trilinear is off lowers framerate for reasons I don't understand
  234. mat_trilinear 1
  235. mat_viewportscale 1 // Almost no performance gain from viewport upscaling.
  236. mat_viewportupscale 1
  237. mat_wateroverlaysize 1
  238. mp_decals 9 // - Just keep this below 60ish and you shouldn't notice much different at all maybe .5 average fps for every 30-40 decals
  239. r_3dsky 0
  240. r_ambientboost 0
  241. r_ambientfactor 0
  242. r_ambientmin 0
  243. r_avglight 0
  244. r_cheapwaterend 1
  245. r_cheapwaterstart 1
  246. r_decals 9
  247. r_maxmodeldecal 9
  248. r_decalstaticprops 0
  249. r_decal_cullsize 15
  250. r_drawdetailprops 0
  251. r_drawmodeldecals 0
  252. r_drawflecks 0
  253. r_dynamic 0
  254. r_flashlightdepthtexture 0
  255. r_forcewaterleaf 1
  256. r_lightaverage 0
  257. r_maxnewsamples 0
  258. r_maxsampledist 1
  259. r_occlusion 0 // disables ambient occlusion. 2% FPS boost
  260. r_pixelfog 1
  261. r_propsmaxdist 0
  262. r_renderoverlayfragment 0
  263. r_staticprop_lod 4
  264. r_waterdrawreflection 0
  265. r_waterdrawrefraction 1
  266. r_waterforceexpensive 0
  267. r_waterforcereflectentities 0
  268. r_drawtracers_firstperson 0 // should give a small fps boost in 1st person
  269. rope_averagelight 0
  270. rope_collide 0
  271. rope_rendersolid 0
  272. rope_shake 0
  273. rope_smooth 0
  274. rope_subdiv 0
  275. rope_wind_dist 0
  276. tf_particles_disable_weather 1 // Disable weather effects on maps supporting
  277. // it, for example, setting this to `1'
  278. // disables rain effects on *_sawmill.
  279. tracer_extra 0
  280. violence_ablood 1 // framerates on -most- pcs are higher with these on
  281. violence_hblood 1
  282.  
  283. // ----------------------------------------------------------------------------
  284. // Misc
  285. // ----------------------------------------------------------------------------
  286. in_usekeyboardsampletime 0
  287. mat_clipz 1 // FX card users should set this to 0
  288. mat_forcehardwaresync 0
  289. mat_levelflush 1
  290. //m_rawinput 0 // Turn on raw mouse input. Commented out by default due to
  291. // silly incompatibility with the Xfire overlay. You should use
  292. // it if you can! - WHO USES XFIRE ANYMORE?
  293. mat_vsync 0 // Turn off vsync to avoid nasty I/O latency.
  294. r_fastzreject -1 // Values >1 enable a fast Z rejection algorithm, to be
  295. // performed on the GPU (as opposed to on the CPU). The
  296. // value `-1' autodetects hardware support for this
  297. // feature, which is safer than forcing it.
  298.  
  299. ai_expression_optimization 1
  300. fast_fogvolume 1
  301. host_thread_mode 0 // Not exactly stable
  302. mod_load_anims_async 1
  303. mod_load_mesh_async 1
  304. mod_load_vcollide_async 1
  305.  
  306. // ----------------------------------------------------------------------------
  307. // Sound
  308. // ----------------------------------------------------------------------------
  309. // I'd be hesitant to say that you would see a great deal of performance
  310. // improvement from lowering the sound quality, but in my experience as a
  311. // competitive TF2 player, lowering the sound quality makes determination of
  312. // directionality and distance that much easier. You may see a small FPS gain
  313. // with these settings, or you may not, either way will likely have a
  314. // negligible effect on performance.
  315. // ----------------------------------------------------------------------------
  316. dsp_enhance_stereo 0
  317. dsp_slow_cpu 1
  318. snd_async_fullyasync 1 // Having the sound run fully asynchronous has been
  319. // helpful in the past, as it seems to (for whatever
  320. // reason) reduce the number of TDRs experienced during
  321. // gameplay. There's some pretty good information on
  322. // TDRs (nerds only) here:
  323. // http://forums.nvidia.com/index.php?showtopic=65161
  324. snd_pitchquality 0
  325. snd_spatialize_roundrobin 1
  326. snd_mixahead .04 // Delay in sound from weapons below .05 has been known to be unstable
  327.  
  328. // ----------------------------------------------------------------------------
  329. // Threading
  330. // ----------------------------------------------------------------------------
  331. mat_queue_mode -1 // mat_queue mode is another frequently asked about cvar, it
  332. // defines the threading method to be used by the material
  333. // system. It has been unstable to use in the past, but
  334. // nowadays it's generally okay.
  335. //
  336. // Here are the possible values:
  337. // -2 legacy default
  338. // -1 default
  339. // 0 synchronous single thread
  340. // 1 queued single thread
  341. // 2 queued multithreaded
  342. //
  343. // If you have problems with the value `2', try setting it to
  344. // `-1'.
  345. //
  346. // As an aside, there are quite a few bugs in the demo system
  347. // that occur when mat_queue_mode is set to a value that is
  348. // not `-1'. If you intend to do work with the demo system,
  349. // maybe you should change this.
  350. //
  351. //After immense testing I've found that default works perfectly
  352. //fine with setting your Thread usage. It automatically set me
  353. //to 2 every time. I'd say it's safer and likely less buggy to
  354. //leave this at -1 than it is at 2.
  355. //
  356. //As a side not I've noticed micro stutters with mat_queue_mode 2
  357. //at 1000+ fps where mat_queue_mode 1 did not stutter at 1000+ fps
  358.  
  359. cl_threaded_bone_setup 1 // WARNING if you don't have a Quad-Core CPU or better you SHOULD NOT LEAVE THIS ON
  360. cl_threaded_client_leaf_system 0 // DO NOT ENABLE cause crashes to desktop within 4-5 minutes of gameplay 4/18 2014
  361. r_queued_decals 0 // lessens the impact of higher decal limits.
  362. r_queued_ropes 1
  363. r_queued_post_processing 0 // kind of pointless because it's disabled above but if you do like post processing effects keeping this on should lessen the impact on framerate
  364. r_threaded_client_shadow_manager 1
  365. r_threaded_particles 1
  366. r_threaded_renderables 1
  367. net_queue_trace 0
  368.  
  369. // ----------------------------------------------------------------------------
  370. // HUD
  371. // ----------------------------------------------------------------------------
  372. hud_saytext_time 12 //Default is 12 and measured in seconds, this is the amount of time chat stays on your screen
  373. voice_enable 1 //Default is 1, This is the voice chat in the game 1 = on, 0 = off
  374. hud_deathnotice_time 6 // Default is 6, This the the death notices that usually appear at the top right of the screen
  375. hud_achievement_glowtime 0 // Default is 2.5, not 100% what this is about a 1.5% fps boost.
  376. hud_achievement_count 0 //Default is 8, Max number of achievements that can be shown on the HUD
  377. hud_achievement_tracker 0 // Default is 1, Show or hide the achievement tracker
  378.  
  379. // ----------------------------------------------------------------------------
  380. // Test Shit
  381. // ----------------------------------------------------------------------------
  382. cl_localnetworkbackdoor 1 //Network optimizations for Singleplayer, disabling has about a 1-2% fps boost, disabling seems to cause minor jitter.
  383. cl_cloud_settings 0 // I believe this disables cloud syncing of CFGs but not 100% sure
  384. //cl_notifications_show_ingame 0 // Pretty sure this disables Trade/Duel Notifications
  385. sys_minidumpspewlines 500 // Basically the number of lines saved to a log file from console. No FPS boost but 15% lower FPS variance
  386. cl_loadondemand_default 0
  387.  
  388. // ----------------------------------------------------------------------------
  389. // Misc
  390. // ----------------------------------------------------------------------------
  391. cl_forcepreload 1 // Force preloading
  392. cl_ask_blacklist_opt_out "1"
  393. cl_ask_favorite_opt_out "1"
  394. sb_dontshow_maxplayer_warning "1"
  395. tf_explanations_backpackpanel "1"
  396. tf_explanations_charinfo_armory_panel "1"
  397. tf_explanations_charinfopanel "1"
  398. tf_explanations_craftingpanel "1"
  399. tf_explanations_discardpanel "1"
  400. tf_explanations_store "1"
  401. tf_training_has_prompted_for_forums "1"
  402. tf_training_has_prompted_for_loadout "1"
  403. tf_training_has_prompted_for_offline_practice "1"
  404. tf_training_has_prompted_for_options "1"
  405. tf_training_has_prompted_for_training "1"
  406. //net_graph 1 // keeping this on actually lowers your framerate by 3-6% depending on the level of net_graph you have it at
  407. // net_graph 1,2,3,4,5
  408. hud_fastswitch 1
  409.  
  410. // ----------------------------------------------------------------------------
  411. // Print to console
  412. // ----------------------------------------------------------------------------
  413. echo "---------------------------------------------------------"
  414. echo "AUTOEXEC.CFG LOADED"
  415. echo "---------------------------------------------------------"
  416.  
  417. // CUSTOM STUFF
  418. // Mouse settings
  419. m_customaccel_exponent 0
  420. m_customaccel_max 0
  421. m_customaccel_scale 0
  422. m_filter 0
  423. m_mouseaccel1 0
  424. m_mouseaccel2 0
  425. m_mousespeed 0
  426. m_customaccel 0
  427. m_rawinput 1
  428. // PREC binds
  429. bind \ "prec_mark"
  430. bind [ "prec_record"
  431. bind ] "stop"
  432. // Null movement script
  433. alias none ""
  434. alias +mfwd "-back;+forward;alias checkfwd +forward"
  435. alias +mback "-forward;+back;alias checkback +back"
  436. alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
  437. alias +mright "-moveleft;+moveright;alias checkright +moveright"
  438. alias -mfwd "-forward;checkback;alias checkfwd none"
  439. alias -mback "-back;checkfwd;alias checkback none"
  440. alias -mleft "-moveleft;checkright;alias checkleft none"
  441. alias -mright "-moveright;checkleft;alias checkright none"
  442. alias checkfwd none
  443. alias checkback none
  444. alias checkleft none
  445. alias checkright none
  446. bind w +mfwd
  447. bind s +mback
  448. bind a +mleft
  449. bind d +mright
  450. // Combat text
  451. hud_combattext_batching_window "2"
  452. hud_combattext_healing 1
  453. // Dingaling
  454. tf_dingaling_volume "1"
  455. tf_dingalingaling_repeat_delay "0"
  456. // Reload
  457. +reload
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement