Advertisement
Sir_Zoidberg

autoexec for da shpeeeeeee

Apr 8th, 2015
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.45 KB | None | 0 0
  1. // ----------------------------------------------------------------------------
  2. // { Henry's Config }
  3. // ----------------------------------------------------------------------------
  4.  
  5. // Unexplained crashes? Try changing mat_queue_mode to `-1'.
  6. // ----------------------------------------------------------------------------
  7. // Comanglia' frames config inspired by chris, designed to get you a large performance boost
  8. // v1.5a | 19 October 2014 | https://dl.dropboxusercontent.com/u/92187841/gfx.cfg
  9. // ----------------------------------------------------------------------------
  10. // Launch options:
  11. // You don't have to remove -dxlevel from the launch options after the first launch!
  12. //
  13. // Fullscreen: -dxlevel 81 -full -w WIDTH -h HEIGHT -console -novid
  14. // Windowed: -dxlevel 81 -sw -w WIDTH -h HEIGHT -console -noborder -novid
  15. // -useforcedmparms -noforcemaccel -noforcemspd // All of these are outdated and don't matter anymore
  16. //
  17. // DX Levels
  18. // -dxlevel 80, -dxlevel 81, -dxlevel 90, -dxlevel 91, -dxlevel 95, -dxlevel 98
  19. // 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)
  20. // ----------------------------------------------------------------------------
  21.  
  22. // ----------------------------------------------------------------------------
  23. // FPS cap
  24. // ----------------------------------------------------------------------------
  25. // The primary benefit of an FPS cap is to make the FPS more stable, other than
  26. // that, it doesn't do a lot. A moderate, consistent framerate is much more
  27. // desirable than a variable but sometimes high framerate. A common
  28. // misconception is that if any more frames are generated than your monitor can
  29. // display, they are useless. This is wrong -- frames are used for much more
  30. // than mere display, and affect the way the game feels well past your
  31. // refresh rate.
  32. // ----------------------------------------------------------------------------
  33. cl_showfps 0 // Turning this FPS meter on actually decreases fps by about 3%-4%
  34. fps_max 0 // fps caps on PCs that consistently meet that cap causes horrible input lag when attempting to turn/aim
  35. //fps_max 132 // I'm leaving this in here though because some PCs (usually laptops) tend to overheat and have microstutters without frame caps.
  36.  
  37. // ----------------------------------------------------------------------------
  38. // Net settings
  39. // ----------------------------------------------------------------------------
  40. // Whilst net settings perhaps aren't an integral part of an FPS config, they
  41. // are a fact of life in competitive TF2, and as such, they are included here.
  42. //
  43. // A common question I am asked -- what defines whether a good connection is
  44. // good or bad? Mostly personal preference. If you're not willing to make the
  45. // choice, try both and see which is better for you.
  46. //
  47. // Generally, meeting both of the following conditions would classify it as a
  48. // good connection:
  49. //
  50. // - Ping of <80 to the average server you join
  51. // - Generally no/negligible choke/loss (can be checked with `net_graph')
  52. //
  53. // There's some pretty good documentation on this here:
  54. // http://developer.valvesoftware.com/wiki/Source_Multiplayer_Networking
  55. //
  56. // Uncomment (remove the `//' from) one of the groups if you want to use them.
  57. // ----------------------------------------------------------------------------
  58.  
  59. // Good connection
  60. cl_cmdrate 67 // The tricks to get 1.4ms lerp are placebo you're still forced to .0152
  61. cl_interp .0 // change to whatever you like for certain classes projectiles/popping uber/flames = .0152 hitscan = .031 on bad connections = .062
  62. cl_interp_ratio 1
  63. cl_lagcompensation 1
  64. cl_pred_optimize 2
  65. cl_smooth 0
  66. cl_smoothtime 0.01
  67. cl_updaterate 67 // The tricks to get 1.4ms lerp are placebo you're still forced to .0152
  68. rate 60000 // anything above 62,000 is completely useless, anything above 48,000ish is useless in HL
  69.  
  70. // Bad connection
  71. //cl_cmdrate 40
  72. //cl_interp 0
  73. //cl_interp_ratio 2
  74. //cl_lagcompensation 1
  75. //cl_pred_optimize 2
  76. //cl_smooth 0
  77. //cl_smoothtime 0.01
  78. //cl_updaterate 40
  79. //rate 35000
  80.  
  81. // ----------------------------------------------------------------------------
  82. // Sprays
  83. // ----------------------------------------------------------------------------
  84. // Bear in mind that these are disabled on war servers due to `sv_pure 2'
  85. // anyway, so if you play competitive TF2, this won't help you.
  86. // ----------------------------------------------------------------------------
  87.  
  88. // Disable sprays
  89. cl_playerspraydisable 1
  90. r_spray_lifetime 0
  91.  
  92. // Enable sprays -- uncomment this section if you want these settings
  93. //cl_playerspraydisable 0
  94. //r_spray_lifetime 2
  95.  
  96. // ----------------------------------------------------------------------------
  97. // Shadows
  98. // ----------------------------------------------------------------------------
  99.  
  100. // Disable shadows
  101. mat_shadowstate 0
  102. r_shadowmaxrendered 0
  103. r_shadowrendertotexture 0
  104. r_shadows 0
  105.  
  106. // 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
  107. //mat_shadowstate 1
  108. //r_shadowmaxrendered 11
  109. //r_shadowrendertotexture 1 // Non-blobby shadows. Sometimes turned on by
  110. // competitive TF2 players to see opponents standing
  111. // near the other side of a wall. You may see some
  112. // performance loss from setting this to `1'.
  113. //r_shadows 1
  114.  
  115. // ----------------------------------------------------------------------------
  116. // Facial features
  117. // ----------------------------------------------------------------------------
  118.  
  119. // Disable facial features
  120. r_eyes 0
  121. r_flex 0
  122. r_lod 2
  123. r_rootlod 2
  124. r_teeth 0
  125.  
  126. // Enable facial features -- turning them on lowers framerate by 5ish%
  127. //r_eyes 1
  128. //r_flex 1
  129. //r_lod 1 // Needs to be set to 1, otherwise they will still be disabled.
  130. //r_rootlod 1
  131. //r_teeth 1
  132.  
  133. // ----------------------------------------------------------------------------
  134. // Ragdolls
  135. // ----------------------------------------------------------------------------
  136. // You will have reduced performance on deaths which produce ragdolls.
  137. // ----------------------------------------------------------------------------
  138.  
  139. // Disable ragdolls
  140. cl_ragdoll_fade_time 0
  141. cl_ragdoll_forcefade 1
  142. cl_ragdoll_physics_enable 0
  143. g_ragdoll_fadespeed 0
  144. g_ragdoll_lvfadespeed 0
  145. ragdoll_sleepaftertime 0
  146.  
  147. // Enable ragdolls -- lowers by 10ish%
  148. //cl_ragdoll_fade_time 15
  149. //cl_ragdoll_forcefade 0
  150. //cl_ragdoll_physics_enable 1
  151. //g_ragdoll_fadespeed 600
  152. //g_ragdoll_lvfadespeed 100
  153. //ragdoll_sleepaftertime "5.0f"
  154.  
  155. // ----------------------------------------------------------------------------
  156. // Gibs
  157. // ----------------------------------------------------------------------------
  158. // You will have reduced performance on deaths which produce gibs.
  159. // ----------------------------------------------------------------------------
  160.  
  161. // Disable gibs
  162. cl_phys_props_enable 0
  163. cl_phys_props_max 0
  164. props_break_max_pieces 0
  165. r_propsmaxdist 1
  166. violence_agibs 0
  167. violence_hgibs 0
  168.  
  169. // Enable gibs -- 6-7% less framerate
  170. //cl_phys_props_enable 1
  171. //cl_phys_props_max 128
  172. //props_break_max_pieces -1
  173. //r_propsmaxdist 1000
  174. //violence_agibs 1
  175. //violence_hgibs 1
  176.  
  177. // ----------------------------------------------------------------------------
  178. // Graphical
  179. // ----------------------------------------------------------------------------
  180. // Now we come to the main brunt of the config. You probably don't want to mess
  181. // with this.
  182. // ----------------------------------------------------------------------------
  183. cl_hud_playerclass_use_playermodel 0 // adds another hud element -3% frames
  184. mat_phong 1 // some people don't like this on I prefer it on for sniper though
  185. cl_detaildist 0
  186. cl_detailfade 0
  187. cl_drawmonitors 0
  188. cl_ejectbrass 0
  189. cl_jiggle_bone_framerate_cutoff 0 // Turns off jigglebones
  190. cl_new_impact_effects 0
  191. cl_show_splashes 0
  192. func_break_max_pieces 0
  193. glow_outline_effect_enable 0 // Cart glow effect.
  194. lod_transitiondist 0
  195. mat_antialias 0
  196. mat_bumpmap 0 // Controls bumpmapping. Setting this to 0 on dx9 will cause
  197. // a strange `shine' effect to appear on all players. - Chris
  198. // In the past I wasn't able to prove that disabling this was significant,
  199. // it effects fps by about 1% after several checks - Comanglia
  200. mat_colcorrection_disableentities 0
  201. mat_colorcorrection 0
  202. mat_disable_bloom 1
  203. mat_disable_fancy_blending 1
  204. mat_disable_lightwarp 1
  205. mat_envmapsize 8
  206. mat_envmaptgasize 8
  207. mat_filterlightmaps 1
  208. mat_filtertextures 1
  209. mat_forceaniso 0
  210. mat_hdr_level 0
  211. mat_max_worldmesh_vertices 512
  212. mat_monitorgamma 2.2 // Controls brightness, try 1.8 to make it brighter or 2.2
  213. // to get it darker. Only works in fullscreen.
  214. mat_motion_blur_enabled 0
  215. mat_parallaxmap 0
  216. mat_picmip 1 // Higher = more mipmapping. Without `sv_cheats 1', you're looking
  217. // at a range from -1 to 2, -1 being the best quality, 2 being the
  218. // worst. - Doesn't really matter much what you set this too if you're cpu bound
  219. mat_reducefillrate 1
  220. mat_reduceparticles 1
  221. mat_specular 1 // Controls specularity. Setting this to 0 will make ubers
  222. // non-shiny, and will remove some specular effects from in-game
  223. // entities which support it. - Setting this to 0 while trilinear is off lowers framerate for reasons I don't understand
  224. mat_trilinear 0
  225. mat_viewportscale 1 // Almost no performance gain from viewport upscaling.
  226. mat_viewportupscale 1
  227. mat_wateroverlaysize 1
  228. 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
  229. r_3dsky 0
  230. r_ambientboost 0
  231. r_ambientfactor 0
  232. r_ambientmin 0
  233. r_avglight 0
  234. r_cheapwaterend 1
  235. r_cheapwaterstart 1
  236. r_decals 9
  237. r_maxmodeldecal 9
  238. r_decalstaticprops 0
  239. r_decal_cullsize 15
  240. r_drawdetailprops 0
  241. r_drawmodeldecals 0
  242. r_drawflecks 0
  243. r_dynamic 0
  244. r_flashlightdepthtexture 0
  245. r_forcewaterleaf 1
  246. r_lightaverage 0
  247. r_maxnewsamples 0
  248. r_maxsampledist 1
  249. r_occlusion 0 // disables ambient occlusion. 2% FPS boost
  250. r_propsmaxdist 0
  251. r_renderoverlayfragment 0
  252. r_staticprop_lod 4
  253. r_waterdrawreflection 0
  254. r_waterdrawrefraction 1
  255. r_waterforceexpensive 0
  256. r_waterforcereflectentities 0
  257. rope_averagelight 0
  258. rope_collide 0
  259. rope_rendersolid 0
  260. rope_shake 0
  261. rope_smooth 0
  262. rope_subdiv 0
  263. rope_wind_dist 0
  264. tf_particles_disable_weather 1 // Disable weather effects on maps supporting
  265. // it, for example, setting this to `1'
  266. // disables rain effects on *_sawmill.
  267. tracer_extra 0
  268. violence_ablood 1 // framerates on -most- pcs are higher with these on
  269. violence_hblood 1
  270.  
  271. // ----------------------------------------------------------------------------
  272. // Misc
  273. // ----------------------------------------------------------------------------
  274. in_usekeyboardsampletime 0
  275. mat_clipz 1 // FX card users should set this to 0
  276. mat_forcehardwaresync 0
  277. mat_levelflush 1
  278. m_rawinput 0 // Turn on raw mouse input. Commented out by default due to
  279. // silly incompatibility with the Xfire overlay. You should use
  280. // it if you can! - WHO USES XFIRE ANYMORE?
  281. mat_vsync 0 // Turn off vsync to avoid nasty I/O latency.
  282. r_fastzreject -1 // Values >1 enable a fast Z rejection algorithm, to be
  283. // performed on the GPU (as opposed to on the CPU). The
  284. // value `-1' autodetects hardware support for this
  285. // feature, which is safer than forcing it.
  286.  
  287. // ----------------------------------------------------------------------------
  288. // Sound
  289. // ----------------------------------------------------------------------------
  290. // I'd be hesitant to say that you would see a great deal of performance
  291. // improvement from lowering the sound quality, but in my experience as a
  292. // competitive TF2 player, lowering the sound quality makes determination of
  293. // directionality and distance that much easier. You may see a small FPS gain
  294. // with these settings, or you may not, either way will likely have a
  295. // negligible effect on performance.
  296. // ----------------------------------------------------------------------------
  297. dsp_enhance_stereo 0
  298. dsp_slow_cpu 1
  299. snd_async_fullyasync 1 // Having the sound run fully asynchronous has been
  300. // helpful in the past, as it seems to (for whatever
  301. // reason) reduce the number of TDRs experienced during
  302. // gameplay. There's some pretty good information on
  303. // TDRs (nerds only) here:
  304. // http://forums.nvidia.com/index.php?showtopic=65161
  305. snd_pitchquality 0
  306. snd_spatialize_roundrobin 1
  307. snd_mixahead .05 // Delay in sound from weapons below .05 has been known to be unstable
  308.  
  309. // ----------------------------------------------------------------------------
  310. // Threading
  311. // ----------------------------------------------------------------------------
  312. mat_queue_mode 2 // mat_queue mode is another frequently asked about cvar, it
  313. // defines the threading method to be used by the material
  314. // system. It has been unstable to use in the past, but
  315. // nowadays it's generally okay.
  316. //
  317. // Here are the possible values:
  318. // -2 legacy default
  319. // -1 default
  320. // 0 synchronous single thread
  321. // 1 queued single thread
  322. // 2 queued multithreaded
  323. //
  324. // If you have problems with the value `2', try setting it to
  325. // `-1'.
  326. //
  327. // As an aside, there are quite a few bugs in the demo system
  328. // that occur when mat_queue_mode is set to a value that is
  329. // not `-1'. If you intend to do work with the demo system,
  330. // maybe you should change this.
  331. //
  332. //After immense testing I've found that default works perfectly
  333. //fine with setting your Thread usage. It automatically set me
  334. //to 2 every time. I'd say it's safer and likely less buggy to
  335. //leave this at -1 than it is at 2.
  336. //
  337. //As a side not I've noticed micro stutters with mat_queue_mode 2
  338. //at 1000+ fps where mat_queue_mode 1 did not stutter at 1000+ fps
  339.  
  340. cl_threaded_bone_setup 1 // WARNING if you don't have a Quad-Core CPU or better you SHOULD NOT LEAVE THIS ON
  341. cl_threaded_client_leaf_system 0 // DO NOT ENABLE cause crashes to desktop within 4-5 minutes of gameplay 4/18 2014
  342. r_queued_decals 0 // lessens the impact of higher decal limits.
  343. r_queued_ropes 1
  344. r_queued_post_processing 1 // 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
  345. r_threaded_client_shadow_manager 1
  346. r_threaded_particles 1
  347. r_threaded_renderables 1
  348. net_queue_trace 0
  349.  
  350. // ----------------------------------------------------------------------------
  351. // HUD
  352. // ----------------------------------------------------------------------------
  353.  
  354. // ----------------------------------------------------------------------------
  355. // Test Shit
  356. // ----------------------------------------------------------------------------
  357. cl_localnetworkbackdoor 1 //Network optimizations for Singleplayer, disabling has about a 1-2% fps boost
  358. cl_cloud_settings 0 // I believe this disables cloud syncing of CFGs but not 100% sure
  359. //cl_notifications_show_ingame 0 // Pretty sure this disables Trade/Duel Notifications
  360. sys_minidumpspewlines 500 // Basically the number of lines saved to a log file from console. No FPS boost but 15% lower FPS variance
  361. cl_loadondemand_default 0
  362.  
  363. // ----------------------------------------------------------------------------
  364. // Misc
  365. // ----------------------------------------------------------------------------
  366. cl_forcepreload 1 // Force preloading
  367. cl_ask_blacklist_opt_out "1"
  368. cl_ask_favorite_opt_out "1"
  369. sb_dontshow_maxplayer_warning "1"
  370. tf_explanations_backpackpanel "1"
  371. tf_explanations_charinfo_armory_panel "1"
  372. tf_explanations_charinfopanel "1"
  373. tf_explanations_craftingpanel "1"
  374. tf_explanations_discardpanel "1"
  375. tf_explanations_store "1"
  376. tf_training_has_prompted_for_forums "1"
  377. tf_training_has_prompted_for_loadout "1"
  378. tf_training_has_prompted_for_offline_practice "1"
  379. tf_training_has_prompted_for_options "1"
  380. tf_training_has_prompted_for_training "1"
  381. //net_graph 1 // keeping this on actually lowers your framerate by 3-6% depending on the level of net_graph you have it at
  382. // net_graph 1,2,3,4,5
  383.  
  384. // ----------------------------------------------------------------------------
  385. // Print to console
  386. // ----------------------------------------------------------------------------
  387. echo "---------------------------------------------------------"
  388. echo "Comanglia' frames config loaded. Inspired by Chris config"
  389. echo "---------------------------------------------------------"
  390.  
  391.  
  392. // [[[--- END OF CHRIS'S CONFIG ---]]]
  393.  
  394. // -----------------------------------------------------------------------------
  395. // Custom stuff
  396. // -----------------------------------------------------------------------------
  397.  
  398. viewmodel_fov 90
  399. fov_desired 90
  400.  
  401. cl_crosshair_file ""
  402. cl_crosshair_red 255
  403. cl_crosshair_green 255
  404. cl_crosshair_blue 255
  405. cl_crosshair_scale 30
  406.  
  407. //==============================================================================
  408.  
  409. alias trickwar "connect 176.57.143.12:27045;password trickwar"
  410. alias dm "connect 109.201.148.199:20030"
  411. exec console
  412. exec chat
  413.  
  414. //My Settings:
  415. tf_dingaling_pitchmaxdmg 30
  416. tf_dingaling_pitchmindmg 120
  417. tf_hud_target_id_disable_floating_health 1
  418.  
  419. //------------------------------------------------------------------------------
  420. m_rawinput 1
  421. m_customaccel_exponent 0
  422. m_customaccel_max 0
  423. m_customaccel_scale 0
  424. m_filter 0
  425. m_forward 1
  426. m_mouseaccel1 0
  427. m_mouseaccel2 0
  428. m_mousespeed 1
  429. m_customaccel 0
  430.  
  431. //------------------------------------------------------------------------------
  432. bind mouse3 firstpersonswitch
  433. alias firstperson1 "cl_first_person_uses_world_model 1;alias firstpersonswitch firstperson0"
  434. alias firstperson0 "cl_first_person_uses_world_model 0;alias firstpersonswitch firstperson1"
  435. firstperson0
  436.  
  437. //------------------------------------------------------------------------------
  438. // Adblock for motd, extra protection:
  439. // > 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)
  440. // > Add '127.0.0.1 motd.pinion.gg' to your hosts file. This prevents a well known motd advertising network to load
  441. cl_disablehtmlmotd 1
  442. alias closed_htmlpage "echo Blocked pinion!"
  443.  
  444. // Gets rid of servers playing annoying sound files
  445. alias play "echo Blocked play!"
  446. alias sndplaydelay "echo Blocked sndplaydelay!"
  447. alias playgamesound "echo Blocked playgamesound!"
  448. alias soundfade "echo Blocked soundfade!"
  449.  
  450. // Servers don't need this
  451. alias cl_spec_mode
  452. alias rpt_connect
  453. alias r_screenoverlay
  454.  
  455. //alias sensitivity "echo Blocked sens!"
  456. //------------------------------------------------------------------------------
  457.  
  458.  
  459. //------------------------------//
  460. //———Settings———————————————————//
  461. //------------------------------//
  462.  
  463.  
  464. // Colors:
  465.  
  466. alias green "cl_crosshair_green 255;cl_crosshair_red 0;cl_crosshair_blue 0"
  467. alias red "cl_crosshair_red 255;cl_crosshair_green 0;cl_crosshair_blue 0"
  468. alias blue "cl_crosshair_blue 255;cl_crosshair_green 0;cl_crosshair_red 0"
  469. alias white "cl_crosshair_blue 255;cl_crosshair_green 255;cl_crosshair_red 255"
  470. alias purple "cl_crosshair_blue 180;cl_crosshair_green 0;cl_crosshair_red 180"
  471. alias yellow "cl_crosshair_blue 0;cl_crosshair_green 180;cl_crosshair_red 180"
  472. alias pink "cl_crosshair_blue 255;cl_crosshair_green 100;cl_crosshair_red 255"
  473. alias bright_purple "cl_crosshair_blue 255;cl_crosshair_green 0;cl_crosshair_red 255"
  474.  
  475. // Crosshairs:
  476.  
  477. alias xsize50 "cl_crosshair_scale 50"
  478. alias xsize45 "cl_crosshair_scale 45"
  479. alias xsize40 "cl_crosshair_scale 40"
  480. alias xsize35 "cl_crosshair_scale 35"
  481. alias xsize32 "cl_crosshair_scale 32"
  482. alias xsize30 "cl_crosshair_scale 30"
  483. alias xsize25 "cl_crosshair_scale 25"
  484. alias xsize23 "cl_crosshair_scale 23"
  485. alias xsize21 "cl_crosshair_scale 21"
  486. alias xsize20 "cl_crosshair_scale 20"
  487. alias xsize19 "cl_crosshair_scale 19"
  488. alias xsize15 "cl_crosshair_scale 15"
  489. alias xsize14 "cl_crosshair_scale 14"
  490. alias xsize13 "cl_crosshair_scale 13"
  491. alias xsize12 "cl_crosshair_scale 12"
  492. alias xsize11 "cl_crosshair_scale 11"
  493. alias xsize10 "cl_crosshair_scale 10"
  494.  
  495. alias xhair7 "cl_crosshair_file crosshair7"
  496. alias xhair6 "cl_crosshair_file crosshair6"
  497. alias xhair5 "cl_crosshair_file crosshair5"
  498. alias xhair4 "cl_crosshair_file crosshair4"
  499. alias xhair3 "cl_crosshair_file crosshair3"
  500. alias xhair2 "cl_crosshair_file crosshair2"
  501. alias xhair1 "cl_crosshair_file crosshair1"
  502. alias xdefault "cl_crosshair_file default"
  503. alias xnormal "exec default"
  504. alias xnone "exec default"
  505.  
  506. alias xcustom30 "cl_crosshair_file custom_30"
  507. alias xcustom31 "cl_crosshair_file custom_31"
  508.  
  509. // Random:
  510.  
  511. alias view1 "r_drawviewmodel 1"
  512. alias view0 "r_drawviewmodel 0"
  513.  
  514. alias fov90 "fov_desired 90"
  515. alias fov75 "fov_desired 75"
  516.  
  517. alias scroll1 "bind mwheelup 3to1;bind mwheeldown 2to1"
  518. alias scroll2 "bind mwheelup 1to2;bind mwheeldown 3to2"
  519. alias scroll3 "bind mwheelup 2to3;bind mwheeldown 1to3"
  520.  
  521. alias zoidex "rcon_password zoidex"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement