Aueser-Nutcracker_Fire_Warning icon

Nutcracker Fire Warning

Client-side fire timing warnings for Nutcracker enemies.

Last updated 2 hours ago
Total downloads 1
Total rating 0 
Categories Mods BepInEx Client-side Tweaks & Quality Of Life AI Generated
Dependency string Aueser-Nutcracker_Fire_Warning-1.0.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

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.
  • Optional Nutcracker model warning for close-range visibility.
  • 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.

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:

  • EnableUiFireWindow: Enables the side-bar fire-window pulse and text.
  • EnableModelOutlineFireWindow: Enables the Nutcracker model fire-window warning.
  • 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.
  • 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.
  • MonitorActiveScanInterval: Fallback scan interval while Nutcrackers are present.
  • MonitorIdleScanInterval: Fallback scan interval while no Nutcrackers are present.
  • 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.

Installation

Install through a mod manager, or place the plugin folder under:

BepInEx/plugins/

Expected manual install layout:

BepInEx/plugins/NutcrackerFireWarning/NutcrackerFireWarning.dll

Compatibility Notes

This plugin is client-side and visual-only. Each player who wants the warning needs to install it locally.

SourcePulse is the recommended model warning mode. Some Unity game meshes are not readable at runtime, so shell-based mesh outlines may be less reliable on unmodified game assets.

License

Licensed under the MIT License.