Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Nutcracker Fire Warning
Client-side fire timing warnings for Nutcracker enemies.
| Date uploaded | a day ago |
| Version | 1.0.2 |
| Download link | Aueser-Nutcracker_Fire_Warning-1.0.2.zip |
| Downloads | 58 |
| Dependency string | Aueser-Nutcracker_Fire_Warning-1.0.2 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
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.5swhen the Nutcracker hasenemyHP <= 11.3swhen the held shotgun has one shell loaded1.75sotherwise
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.MeshSilhouetteuses model-based warning behavior;ScreenBoxuses a screen-space fallback rectangle.ModelPulseMode: SelectsSourcePulse,CloneShell, orBoth.ModelPulseIntensity: Controls red-white pulse emission intensity.ModelPulseAlpha: Controls pulse color alpha.ModelWarningMaxDistance: Limits model warnings by distance. Set to0or 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.
CHANGELOG
Changelog
1.0.2
- Renamed the mod to Nutcracker Fire Warning.
- Added configurable Nutcracker model fire-window warnings.
- Added model warning mode selection with
SourcePulse,CloneShell, andBoth. - Added configurable model pulse intensity and alpha.
- Added distance and camera-visibility filters for model warnings.
- Added configurable fallback scan intervals.
- Added configurable pre-aim warning distance.
- Improved material restoration when warning states end, components are disabled, or enemies are removed.
- Changed the default model warning path to
SourcePulsefor better reliability with runtime game assets.
1.0.1
- Added the world-space Nutcracker shotgun warning bar.
- Added final fire-window UI pulse and countdown.
- Added Nutcracker model fire-window warning support.
- Added debug logging and renderer audit output.
- Added fallback monitoring for Nutcracker combat state.
1.0.0
- Initial internal implementation.