Performance Traffic Control

版本 v1.0.0·更新於 2026-07-27

Adaptive performance pressure, shared work budgets, enemy visual load shedding, and WindVolume capacity protection.

模組介紹 作者原文

PerformanceTrafficControl

PerformanceTrafficControl(下文簡稱PTC)一套輕量級性能框架,旨在改善 GTFO 在高強度戰鬥、大量敵人同時活躍、植物園場景、動態霧氣變化以及視覺效果密集場景中的幀時間穩定性。

PTC採用自適應性能壓力檢測,對玩家當前可觸達的敵人、植物園場景中的高開銷環境對象以及動態霧氣效果進行渲染級別的動態調節,並根據當前硬件與本次遊戲會話,學習設備能夠穩定維持的 FPS 基線。

當遊戲處於正常負載時,PTC會盡可能保持原有視覺表現;只有在檢測到持續性能壓力後,纔會逐步降低敵人陰影、屍體與布娃娃負載、植物園環境渲染和動態霧氣效果所帶來的次要性能開銷。性能恢復後,可恢復的視覺設置也會隨之還原。

當前性能負載會被劃分爲三個壓力等級:

  • Normal
  • High
  • Critical

壓力等級切換採用滯回機制,避免 Mod 因短暫且無害的幀時間波動而頻繁開啓或關閉優化措施。

本 Mod 的目標並不是單純追求儘可能高的 FPS 數字,而是減少嚴重的幀時間尖峯,並在場景負載異常升高時儘量維持遊戲操作的流暢與響應性。

敵人視覺負載優化

當系統檢測到持續性能壓力時,Mod 會降低敵人與屍體相關的次要渲染開銷。

當前措施包括:

  • 遊戲處於性能壓力狀態時,關閉已緩存敵人對象的陰影。
  • 在高負載場景下縮短屍體的保留時間。
  • 限制同時處於活動狀態的布娃娃數量。
  • 性能恢復後,還原進入壓力模式前記錄的敵人陰影設置。

這些優化針對的是視覺與渲染開銷,而不是敵人的戰鬥屬性。也就是說 PTC 不會修改敵人的生命值、傷害、生成數據或關卡平衡。

植物園場景與動態霧氣優化

在1.0.0版本更新中,PTC新增了對植物園場景與動態霧氣變化的自適應性能優化。

當系統檢測到持續高負載時,PTC會使用與敵人視覺優化相同的性能壓力等級,對植物園場景中的高開銷環境對象以及動態霧氣效果進行動態降級,以降低複雜環境渲染和霧氣變化產生的性能壓力。

當性能恢復後,可恢復的環境與霧氣視覺設置會重新回到正常狀態,使低負載場景儘可能維持原有畫面表現。

該功能只針對環境視覺效果與渲染開銷,不會修改關卡結構、任務目標、敵人配置或任何實際遊戲機制。

WindVolume 容量保護

GTFO 會爲部分 WindVolume affector 使用原生固定容量緩衝區。在敵人極度密集或視覺效果數量異常龐大的場景中,參與調用的 affector 數量可能超過原始函數能夠安全處理的範圍。

PTC 會在執行原生固定容量操作之前,臨時排除超出容量的 affector,並在 Finalizer 中將其恢復。

該機制旨在提高異常密集場景下的穩定性,同時不會永久刪除或禁用受影響的對象。

~~儘管PTC目前沒有辦法解決一些其它的性能問題,如植物園場景/霧氣動態變化帶來的性能下降~~,在1.0.0版本更新中,PTC現在可以對植物園場景/霧氣動態變化進行與對敵人同樣方式的動態降級,來達到在高負載情況下降低性能壓力的目的,在不同配置機器上,大量敵人在場的情況下,表現出了非常可觀的性能提升,目前從RTX 2080到RTX 5080的機器上均使得75+敵人在場的場景下,幀數損失控制在2%以內。

如果你在使用中出現了任何問題,可以通過QQ羣861074297或DC:KainKondraki聯繫我。

English Version

PerformanceTrafficControl (hereinafter referred to as PTC) is a lightweight performance framework designed to improve frame-time stability in GTFO during high-intensity combat, scenes with large numbers of simultaneously active enemies, Garden environments, dynamic fog changes, and visually demanding situations.

PTC uses adaptive performance pressure detection to dynamically adjust the rendering level of enemies currently reachable by the player, high-cost environmental objects in Garden areas, and dynamic fog effects. It also learns the FPS baseline that the current hardware can stably maintain during the present game session.

Under normal load, PTC preserves the original visual presentation as much as possible. Only after sustained performance pressure is detected does it begin progressively reducing secondary performance costs caused by enemy shadows, corpses and ragdolls, Garden environment rendering, and dynamic fog effects. Once performance recovers, visual settings that can be restored are returned to their normal state.

The current performance load is divided into three pressure levels:

  • Normal
  • High
  • Critical

Pressure-level transitions use a hysteresis mechanism, preventing the Mod from repeatedly enabling or disabling optimization measures because of brief and harmless frame-time fluctuations.

The goal of this Mod is not simply to pursue the highest possible FPS number, but to reduce severe frame-time spikes and maintain smooth and responsive gameplay as much as possible when scene load rises abnormally.

Enemy Visual Load Optimization

When the system detects sustained performance pressure, the Mod reduces secondary rendering costs associated with enemies and corpses.

Current measures include:

  • Disabling shadows on cached enemy objects while the game is under performance pressure.
  • Shortening corpse persistence in high-load situations.
  • Limiting the number of simultaneously active ragdolls.
  • Restoring the enemy shadow settings recorded before entering pressure mode once performance recovers.

These optimizations target visual and rendering overhead, rather than enemy combat attributes. In other words, PTC does not modify enemy health, damage, spawn data, or level balance.

Garden Environment and Dynamic Fog Optimization

In the version 1.0.0 update, PTC added adaptive performance optimization for Garden environments and dynamic fog changes.

When sustained high load is detected, PTC uses the same performance-pressure levels applied to enemy visual optimization to dynamically downgrade

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_GTFO

檔案與校驗

檔案名稱
Performance_Traffic_Control-1.0.0.zip
檔案大小
31.0 KiB