LethalEscapeThrottle

版本 v1.1.0·更新於 2026-09-12

A performance fix for LethalEscapeUpdated. Enemies that cannot reach an exit stop re-pathing and spamming the log every frame. On tricky navmesh moons this cuts the lag and thousands of log lines.

模組介紹 作者原文

LethalEscapeThrottle

A small performance fix for LethalEscapeUpdated.

On tricky navmesh moons, enemies that cannot reach an exit re-run their escape check every single frame. Each of those calls does a NavMesh path calculation and prints several log lines, so over a round it piles up into real frame-time cost and tens of thousands of log lines.

This mod adds a per-enemy cooldown, so a failed escape attempt is not retried until later. The wait is adaptive: an enemy that keeps failing backs off longer and longer (the wait doubles each failure, up to a cap), so a permanently boxed-out enemy stops burning frame time entirely. Enemies that can escape still succeed on the first try and are never throttled.

Config

  • Enabled: toggle the throttle.
  • CooldownSeconds: base wait (default 2.0) before an enemy that just failed retries its exit search.
  • MaxBackoffSeconds: cap on how long the adaptive back-off can grow (default 15). Higher means less lag but slower to notice a newly opened path.
  • DiagnosticLogging: log a short summary every 30 seconds (only when active) of how many exit searches were skipped versus run, so you can confirm the throttle is working. On by default; turn off for a quiet log.

Credits

Made by Pierre (Discord: samedude67). Requires LethalEscapeUpdated by woah25.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

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

BepInEx-BepInExPackwoah25-LethalEscapeUpdated

檔案與校驗

檔案名稱
LethalEscapeThrottle-1.1.0.zip
檔案大小
14.7 KiB