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.
NutcrackerBackwardsFix
Fixes the vanilla client desync bug where Nutcrackers chase non-host players backwards and lock their torso and shotgun aim.
By Loona
| Last updated | an hour ago |
| Total downloads | 4 |
| Total rating | 0 |
| Categories | Client-side Monsters Bug Fixes AI Generated |
| Dependency string | Loona-NutcrackerBackwardsFix-1.0.0 |
| Dependants | 0 other packages depend on this package |
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
Standalone, lightweight fix that prevents Nutcrackers from chasing non-host clients backwards and resolves the client-side torso lock preventing them from aiming or shooting.
What does it do?
- Patches
NutcrackerEnemyAI.Updateon non-host clients to realigntargetYRotationtoward theserverPositionmovement vector whenever the body desyncs and faces backwards. - Fixes torso & aim lock: updates
lastSeenPlayerPosandtimeSinceSeeingTargetduring active chases (!lostPlayerInChase) when direct line of sight is clear, preventing the torso from freezing outside the 70° eye cone soCheckLineOfSightForLocalPlayerand aiming trigger properly. - Improves host rotation sync: sends tighter
UpdateEnemyRotationClientRpcupdates (2° threshold every0.25s) during active chases when also installed on the host. - Preserves all vanilla behaviour: stealth mechanics (
lostPlayerInChase), leg kicks, reloading, and all otherEnemyAIbehaviours remain completely untouched. - Works client-side or host+client ( Requires
BepInEx; client fixes work standalone, host+client recommended for best sync ).
Compatibility
- Tested on Lethal Company v81 with
ButteryFixes(1.17.27),LethalFixes(1.3.3),EnemySkinRegistry(1.5.1), andExtraEnemyVariety(1.14.1). - Plug-and-play: no configuration required.