《軍團要塞2》FPS優化指令碼心得

發佈日期

對於軍團要塞2這款遊戲,其本身的環境下最佳化系統做的並不完善,同配置也能提高FPS數值,本文整理了些資料來教大家如何提高FPS值。

複製指令碼程式碼:

echo "***********************"

echo " TF2 FPS CFG Loaded!! " 

echo "***********************"

// FPS Settings

// ----------------

//Cl_ Commands

cl_cmdrate "101" // Must be set to 100/101

cl_drawmonitors "0" // changeable

cl_ejectbrass "0" // changeable

cl_forcepreload "1" // changeable

cl_interp "0.01" // Must be set to .01

cl_interpolate "1" // Must be set to 1

cl_lagcomp_errorcheck "1" // changeable

cl_lagcompensation "1" // changeable

cl_predictweapons "1" // changeable

cl_pred_optimize "2" // changeable

cl_phys_props_max "50" // Must be set to 50+

cl_smooth "1" // changeable

cl_smoothtime "0.01" // changeable

cl_updaterate "101" // Must be set to 100/101

//Mat_ commands

mat_bloomscale "0" // changeable

mat_bumpmap "1" // changeable

mat_clipz "1" // changeable

mat_colorcorrection "0" // changeable

mat_compressedtextures "1" // changeable

//mat_debug // Illegal

mat_debug_postprocessing_effects "0" // Must be set to 0

mat_debugdepthmode "0" // Must be set to 0

mat_debugdepthval "128" // Must be set to 128

mat_debugdepthvalmax "256" // Must be set to 256

mat_disable_bloom "1" // changeable

mat_filterlightmaps "1" // changeable

mat_forcehardwaresync "0" // changeable

mat_hdr_enabled "0" // changeable

mat_parallaxmap "0" // changeable

mat_picmip "0" // Must not be higher than 2

mat_reducefillrate "0" // changeable

mat_specular "0" // changeable

mat_vsync "0" // changeable

mat_dxlevel 80

//R_ Commands

r_decals "0" // changeable

r_decal_cullsize "0" // changeable

r_dopixelvisibility "0" // changeable

r_drawbatchdecals "0" // changeable

r_drawflecks "0" // changeable

r_drawmodeldecals "0" // changeable

r_dynamic "0" // changeable

r_eyes "1" // changeable

r_flex "0" // changeable

r_lightaverage "0" // Must be set to 1

r_maxdlights "32" // Must be set to 32

r_occlusion "1" // changeable

r_renderoverlayfragment "0" // changeable

r_shadows "0" // changeable

r_shadowmaxrendered "1" // changeable

r_shadowrendertotexture "1" // changeable

r_teeth "0" // changeable

r_waterforceexpensive "0" // changeable

r_waterdrawreflection "0" // changeable

r_worldlights "0" // Must be set to 2

r_worldlightmin "0.0002" // Must be set to .0002

r_3dnow "1" // changeable

r_mmx "1" // changeable

r_sse "1" // changeable

r_sse2 "1" // changeable

r_3dsky 0 // changeable

//Rope_

rope_averagelight "0" // changeable

rope_collide "0" // changeable

rope_shake "0" // changeable

rope_smooth "0" // changeable

rope_smooth_minwidth "0" // changeable

rope_smooth_minalpha "0" // changeable

rope_smooth_maxalphawidth "0" // changeable

rope_smooth_maxalpha "0" // changeable

rope_smooth_enlarge "0" // changeable

rope_subdiv "0" // changeable

rope_wind_dist "0.01" // changeable

//Miscellaneous

net_graph "0" // NetGraph for TF2

fps_max "101" // changeable

func_break_max_pieces "0" // changeable

gl_clear "1" // Must be set to 1

jpeg_quality "100" // Must be set to 100

mp_decals "0" // changeable

net_showevents "0" // Must be set to 0

props_break_max_pieces "0" // changeable

props_break_max_pieces_perframe "0" // changeable

rate "30000" // Must be set to 25000+ 

texture_budget_background_alpha "999 // changeable

texture_budget_panel_height "0" // changeable

texture_budget_panel_width "0" // changeable

voice_enable "1" // changeable

voice_scale "1" // changeable

voice_modenable "1" // changeable

violence_agibs "1" // changeable

violence_hgibs "1" // changeable

violence_hblood "1" // changeable

violence_ablood "1" // changeable

//zoom_sensitivity_ratio "1" // changeable

net_graph 0

使用方法:

第一種:將指令碼內容複製貼上到 Steamsteamapps你的使用者名稱team fortress 2tfcfgautoexec.cfg 中(沒有就建立一個)。

解除安裝方法:刪除 Steamsteamapps你的使用者名稱team fortress 2tfcfgautoexec.cfg 中的指令碼內容。

第二種:把指令碼內容複製到記事本中,另存為fps.cfg,並儲存到 Steamsteamapps你的使用者名稱team fortress 2tfcfg 下,每次進入遊戲後在控制檯輸入 exec fps

解除安裝方法:直接刪除fps.cfg

第 三種:把指令碼內容複製到記事本中,另存為fps.cfg,並儲存到 Steamsteamapps你的使用者名稱team fortress 2tfcfg 下,並在 Steamsteamapps你的使用者名稱team fortress 2tfcfgautoexec.cfg 中(沒有就建立一個)新增 exec fps

解除安裝方法:直接刪除fps.cfg,並刪除 Steamsteamapps你的使用者名稱team fortress 2tfcfgautoexec.cfg 中的 exec fps

經測試,上圖的FPS只有20,經最佳化後,上升到了40.。


相關攻略文章

最新攻略