Nutcracker Fire Warning

版本 v1.0.6·更新於 2026-06-03

Client-side fire timing warnings for Nutcracker enemies.

模組介紹 作者原文

Nutcracker Fire Warning

Nutcracker Fire Warning is a client-side BepInEx plugin for Lethal Company that

adds readable shotgun timing warnings for Nutcracker enemies.

The plugin does not change enemy behavior, shotgun damage, networking, or game

balance. It only displays local visual warnings based on the Nutcracker's

current combat state and the game's firing timing.

Features

  • World-space vertical warning bar beside each Nutcracker.
  • Clear countdown while a Nutcracker is aiming.
  • Red-white pulse during the predicted fire window.
  • Recommended Nutcracker model state tint: white while chasing, red during the final fire window.
  • Optional extra fire-window overlay for red-white pulse, clone shell, or screen-space fallback.
  • Optional screen-space fallback rectangle.
  • Yellow pre-aim danger indicator when the local player is in a risky shotgun line.
  • Configurable warning distance, fire-window timing, pulse strength, and scan intervals.
  • English config descriptions by default, with automatic Simplified Chinese descriptions when LC Chinese Project is detected.

Fire Timing

The warning follows the Nutcracker's in-game shotgun timing:

  • 0.5s when the Nutcracker has enemyHP <= 1
  • 1.3s when the held shotgun has one shell loaded
  • 1.75s otherwise

The final fire-window warning activates shortly before the predicted shot. This

window is configurable.

Configuration

The config file is created after first launch:

BepInEx/config/aueser.lethalcompany.nutcrackerfirewarning.cfg

Main options:

  • EnableMod: Enables Nutcracker Fire Warning as a whole. When disabled, warning UI, model warnings, and fallback scans stop running.
  • EnableUiFireWindow: Enables the world-space side warning bar, including countdown, fire-window pulse, reload bar, and pre-aim danger bar.
  • EnableModelStateTint: Enables the recommended model state warning. Default: true. The model turns white while chasing a target and red during the final fire window.
  • EnableModelOutlineFireWindow: Enables an extra fire-window-only model overlay. Default: false. Use it only when you also want the old red-white pulse, clone shell, or screen-space fallback.
  • ModelOutlineMode: Selects model warning mode. MeshSilhouette uses model-based warning behavior; ScreenBox uses a screen-space fallback rectangle.
  • ModelPulseMode: Selects SourcePulse, CloneShell, or Both.
  • ModelPulseIntensity: Controls red-white pulse emission intensity.
  • ModelPulseAlpha: Controls pulse color alpha.
  • ModelChaseTintAlpha: Controls white chase-state model tint alpha.
  • ModelChaseTintIntensity: Controls white chase-state model tint emission intensity.
  • ModelFireWindowTintAlpha: Controls red fire-window model tint alpha.
  • ModelFireWindowTintIntensity: Controls red fire-window model tint emission intensity.
  • ModelWarningMaxDistance: Limits model warnings by distance. Set to 0 or lower to disable distance filtering.
  • ModelWarningRequireCameraVisible: Requires the Nutcracker to be inside the local camera view before showing the model warning.
  • ModelOutlineWidth: Controls ScreenBox line width and CloneShell expansion width.
  • MeshOutlineScale: Extra scale multiplier for CloneShell mode.
  • FireWindowSeconds: Seconds before the predicted shot when final warnings activate.
  • PreAimMaxDistance: Maximum distance for the yellow pre-aim danger bar. Set to 0 or lower to disable the pre-aim bar.
  • MonitorActiveScanInterval: Fallback scan interval while Nutcrackers are present. Default: 0.5.
  • MonitorIdleScanInterval: Fallback scan interval while no Nutcrackers are present. Default: 2.0.
  • EnableDebugLogs: Enables diagnostic logging.
  • DumpModelAudit: Logs Nutcracker renderer and mesh information when model warning data is built.

Debug options are intended for troubleshooting and should normally remain

disabled during regular play.

Config Language

Config entry names remain stable in English to avoid duplicate sections after

upgrades. Descriptions are written in English by default.

When LC Chinese Project is inst

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
Nutcracker_Fire_Warning-1.0.6.zip
檔案大小
159.6 KiB