1. // [2011-04-05] Major issues reported on some (NOT all) PCs when specifying mat_antialias directly. Try removing it if you have problems.
  2. // As an alternative, you can try adding +mat_antialias 1 to your launch options.
  3.  
  4. // NOTE: If you experience crashes out of the blue, put all of the cvars in the threading section to "0".
  5. // ---------------------------------------------------------------------------------------------------------------------------------
  6. // Chris' maxframes config, designed to get you a large performance boost
  7. // v1.080 | 05 April 2011 | fakkelbrigade.eu/chris/configs/
  8. // ---------------------------------------------------------------------------------------------------------------------------------
  9. // Problems or questions? Contact me at #christf2 on QuakeNet.
  10. // ---------------------------------------------------------------------------------------------------------------------------------
  11. // Some of the commands in here are redundant to others, they are failsafes for server-side variable locks.
  12. //
  13. // Launch options:
  14. // FOR FULLSCREEN: -dxlevel 81 -full -w WIDTH -h HEIGHT -console -nojoy -noipx -novid -useforcedmparms -noforcemaccel -noforcemspd
  15. // FOR WINDOWED MODE: -dxlevel 81 -sw -w WIDTH -h HEIGHT -console -noborder -nojoy -noipx -novid -useforcedmparms -noforcemaccel -noforcemspd
  16. //
  17. // ---------------------------------------------------------------------------------------------------------------------------------
  18. // CONFIG BEGINS
  19. // ---------------------------------------------------------------------------------------------------------------------------------
  20.  
  21.  
  22. // ---------------------------------------------------------------------------------------------------------------------------------
  23. // SETTINGS THAT YOU MAY WISH TO CUSTOMISE
  24. // ---------------------------------------------------------------------------------------------------------------------------------
  25.  
  26. // To uncomment a section, remove the // from all but the description line.
  27.  
  28. // -------
  29. // FPS CAP
  30. // -------
  31. fps_max "241" // Caps fps to improve performance. The best value for this is freq * 2 + 1. Do not set lower than cl_cmdrate or you will experience hitreg issues.
  32.  
  33. // ------------
  34. // NET SETTINGS
  35. // ------------
  36.  
  37. // Net settings for good connections -- UNCOMMENT THIS SECTION IF YOU WANT THESE SETTINGS
  38.  
  39. cl_interp "0" // Change to 0.024 for hitscan
  40. cl_interp_ratio "1"
  41. cl_lagcompensation "1"
  42. cl_pred_optimize "2"
  43. cl_smooth "0"
  44. cl_smoothtime "0.01"
  45. cl_updaterate "67"
  46. rate "60000"
  47.  
  48.  
  49.  
  50. // ------
  51. // SPRAYS
  52. // ------
  53.  
  54. // Enable sprays -- not enabled by default
  55. cl_playerspraydisable "0"
  56. r_decals "20"
  57. r_spray_lifetime "2"
  58.  
  59.  
  60. // -------
  61. // SHADOWS
  62. // -------
  63.  
  64. // Enable shadows -- not enabled by default
  65. mat_shadowstate "1"
  66. r_shadowmaxrendered "11"
  67. r_shadowrendertotexture "1"
  68. r_shadows "1"
  69.  
  70.  
  71. // ---------------
  72. // FACIAL FEATURES
  73. // ---------------
  74.  
  75. // Disable facial features -- DELETE THIS SECTION IF YOU WANT FACIAL FEATURES ENABLED
  76. blink_duration "0"
  77. r_eyes "0"
  78. r_flex "0"
  79. r_lod "2"
  80. r_rootlod "2"
  81. r_teeth "0"
  82. flex_rules "0"
  83. flex_smooth "0"
  84.  
  85. // --------
  86. // RAGDOLLS
  87. // --------
  88.  
  89. // Disable ragdolls -- DELETE THIS SECTION IF YOU WANT RAGDOLLS ENABLED
  90. cl_ragdoll_fade_time "0"
  91. cl_ragdoll_forcefade "1"
  92. cl_ragdoll_physics_enable "0"
  93. g_ragdoll_fadespeed "0"
  94. g_ragdoll_lvfadespeed "0"
  95. ragdoll_sleepaftertime "0"
  96.  
  97. // ----
  98. // GIBS
  99. // ----
  100.  
  101. // Disable gibs -- DELETE THIS SECTION IF YOU WANT GIBS ENABLED
  102. cl_phys_props_enable "0"
  103. cl_phys_props_max "0"
  104. props_break_max_pieces "0"
  105. r_propsmaxdist "1"
  106. violence_ablood "0"
  107. violence_agibs "0"
  108. violence_hblood "0"
  109. violence_hgibs "0"
  110.  
  111. // ---------------------------------------------------------------------------------------------------------------------------------
  112. // END OF CUSTOMISATION
  113. // ---------------------------------------------------------------------------------------------------------------------------------
  114.  
  115. // Cleaning up and stopping debug flooding
  116. adsp_debug "0"
  117. cl_clearhinthistory "1"
  118. cl_debugrumble "0"
  119. cl_rumblescale "0"
  120. mat_debugdepthval "0"
  121. mat_debugdepthvalmax "0"
  122. mat_debug_postprocessing_effects "0"
  123.  
  124. // Graphical
  125. cl_burninggibs "0"
  126. cl_detaildist "0"
  127. cl_detailfade "0"
  128. cl_drawmonitors "0"
  129. cl_ejectbrass "0"
  130. cl_muzzleflash_dlight_1st "0"
  131. cl_ragdoll_collide "0"
  132. cl_show_splashes "0"
  133. func_break_max_pieces "0"
  134. glow_outline_effect_enable "0"
  135. lod_transitiondist "0"
  136. mat_aaquality "0"
  137. mat_alphacoverage "0"
  138. mat_autoexposure_max "0"
  139. mat_autoexposure_min "0"
  140. mat_bloomscale "0"
  141. mat_bloom_scalefactor_scalar "0"
  142. mat_bumpmap "0"
  143. mat_colcorrection_disableentities "1"
  144. mat_colorcorrection "0"
  145. mat_compressedtextures "1"
  146. mat_disable_bloom "1"
  147. mat_disable_fancy_blending "1"
  148. mat_disable_lightwarp "1"
  149. mat_envmapsize "0"
  150. mat_envmaptgasize "0"
  151. mat_excludetextures "1"
  152. mat_fastnobump "0"
  153. mat_fastspecular "1"
  154. mat_filterlightmaps "1"
  155. mat_filtertextures "1"
  156. mat_forceaniso "0"
  157. mat_hdr_level "0"
  158. mat_max_worldmesh_vertices "0"
  159. mat_mipmaptextures "1"
  160. mat_monitorgamma "2.0" // Controls brightness, try 1.8 to get it brighter or 2.2 to get it darker. Only works in fullscreen.
  161. mat_motion_blur_enabled "0"
  162. mat_non_hdr_bloom_scalefactor "0"
  163. mat_parallaxmap "0"
  164. mat_picmip "2"
  165. mat_postprocess_x "0"
  166. mat_postprocess_y "0"
  167. mat_reducefillrate "1"
  168. mat_reduceparticles "1"
  169. mat_softwarelighting "0"
  170. mat_software_aa_blur_one_pixel_lines "0"
  171. mat_software_aa_blur_one_pixel_lines "0"
  172. mat_software_aa_strength "0"
  173. mat_software_aa_strength "0"
  174. mat_software_aa_strength_vgui "0"
  175. mat_software_aa_strength_vgui "0"
  176. mat_software_aa_tap_offset "0"
  177. mat_software_aa_tap_offset "0"
  178. mat_specular "0" // Set to 1 for shiny ubers
  179. mat_trilinear "0"
  180. mat_wateroverlaysize "0"
  181. mp_usehwmmodels "0"
  182. mp_usehwmvcds "0"
  183. muzzleflash_light "0"
  184. rope_averagelight "0"
  185. rope_collide "0"
  186. rope_rendersolid "0"
  187. rope_shake "0"
  188. rope_smooth "0"
  189. rope_smooth_enlarge "0"
  190. rope_smooth_maxalpha "0"
  191. rope_smooth_maxalphawidth "0"
  192. rope_smooth_minalpha "0"
  193. rope_smooth_minwidth "0"
  194. rope_solid_maxalpha "0"
  195. rope_solid_maxwidth "0"
  196. rope_solid_minalpha "0"
  197. rope_solid_minwidth "0"
  198. rope_subdiv "0"
  199. rope_wind_dist "0"
  200. r_3dsky "0"
  201. r_ambientboost "0"
  202. r_ambientfactor "0"
  203. r_ambientmin "0"
  204. r_avglight "0"
  205. r_bloomtintb "0"
  206. r_bloomtintexponent "0"
  207. r_bloomtintg "0"
  208. r_bloomtintr "0"
  209. r_cheapwaterend "1"
  210. r_cheapwaterstart "1"
  211. r_decalstaticprops "0"
  212. r_decal_cullsize "0"
  213. r_dopixelvisibility "0"
  214. r_drawbatchdecals "0"
  215. r_drawdetailprops "0"
  216. r_drawflecks "0"
  217. r_drawmodeldecals "0"
  218. r_drawspecificstaticprop "0"
  219. r_dynamic "0"
  220. r_eyemove "0"
  221. r_flashlightdepthtexture "0"
  222. r_flashlightrendermodels "0"
  223. r_flashlightrenderworld "0"
  224. r_forcewaterleaf "1"
  225. r_lightaverage "0"
  226. r_maxdlights "0"
  227. r_maxmodeldecal "0"
  228. r_maxnewsamples "0"
  229. r_maxsampledist "0"
  230. r_minnewsamples "0"
  231. r_physpropstaticlighting "0"
  232. r_pixelfog "0"
  233. r_radiosity "0"
  234. r_renderoverlayfragment "0"
  235. r_ropetranslucent "0"
  236. r_staticprop_lod "4"
  237. r_updaterefracttexture "0"
  238. r_visualizeproplightcaching "1"
  239. r_waterdrawreflection "0"
  240. r_waterdrawrefraction "1"
  241. r_waterforceexpensive "0"
  242. r_waterforcereflectentities "0"
  243. r_worldlights "0"
  244. tf_particles_disable_weather "1"
  245.  
  246. // Misc
  247. cl_predict "1"
  248. cl_predictweapons "1"
  249. cl_showfps "1" // Show unsmoothed FPS meter
  250. cl_showpluginmessages "0"
  251.  
  252. // Performance
  253. cl_forcepreload "1" // Preloads maps, may cause a few seconds more loading the map at the benefit of a more consistent FPS (because the whole map is preloaded)
  254. cl_soundemitter_flush "1"
  255. //m_rawinput "1" // Uncomment to enable raw mouse input -- DO NOT ENABLE IF YOU ARE USING XFIRE OVERLAY
  256. mat_bufferprimitives "1"
  257. mat_clipz "1" // FX owners should set this to 0
  258. mat_disablehwmorph "0"
  259. mat_disable_ps_patch "1"
  260. mat_forcehardwaresync "0"
  261. mat_forcemanagedtextureintohardware "0"
  262. mat_framebuffercopyoverlaysize "0"
  263. mat_levelflush "0"
  264. mat_maxframelatency "0"
  265. mat_postprocessing_combine "1"
  266. mat_vsync "0"
  267. r_fastzreject "-1" // Some ATI cards aren't autodetected, if you know that your card supports it, try setting it to 1.
  268. r_hunkalloclightmaps "0"
  269. r_lightcache_zbuffercache "0"
  270. r_occlusion "1"
  271. r_unloadlightmaps "0"
  272. soundscape_flush "1"
  273.  
  274. // Sound
  275. dsp_enhance_stereo "0"
  276. dsp_slow_cpu "1"
  277. snd_async_fullyasync "1" // Can help stop freezes and sound looping
  278. snd_pitchquality "0"
  279. snd_spatialize_roundrobin "1"
  280.  
  281. // Threading
  282. cl_threaded_bone_setup "1"
  283. cl_threaded_client_leaf_system "1"
  284. mat_queue_mode "2"
  285. r_threaded_client_shadow_manager "1"
  286. r_threaded_particles "1"
  287. r_threaded_renderables "1"
  288. r_queued_decals "0"
  289. r_queued_post_processing "1"
  290. r_queued_ropes "1"
  291.  
  292. // Console printout
  293. clear
  294. echo "-------------------------------------------------------"
  295. echo " Chris' maxframes config loaded. "
  296. echo "-------------------------------------------------------"
  297. echo "Please direct all comments/queries/whatnot to"
  298. echo "#christf2 on QuakeNet."
  299. echo " "
  300. echo "-------------------------------------------------------"
  301. echo " Memory stats "
  302. echo "-------------------------------------------------------"
  303. memory
  304. echo " "
  305. echo "-------------------------------------------------------"
  306. echo " Code support "
  307. echo "-------------------------------------------------------"
  308. r_3dnow
  309. r_sse2
  310. echo "-------------------------------------------------------"