Lethal Company
Install with App

Details

Latest version
1.0.0
Last Updated
First Uploaded
Downloads
18
Likes
1
Size
116KB
Dependants

Turn Off Turrets 1.0.0

Maintainer: erockuli
Game: Lethal Company
Loader: BepInEx 5

Walk behind an active turret and hold the native interact key to operate its rear panel. The mod uses the game's server RPC for normal shutdown so the off state replicates to all players.

Features

  • Manual rear-panel turret shutdown with multiplayer replication.
  • Configurable chance for a rear-panel interaction to trigger a special berserk burst.
  • All players see FAILURE, RUN. when the rear-panel interaction triggers berserk.
  • Configurable burst duration, rotation speed and fire-rate multiplier.
  • Uses the base game's native berserk wind-up; no extra mod-added delay.
  • After a custom burst, the turret enters normal detection mode for one second before the host issues the off RPC.
  • Clears lingering berserk mode, timers, audio, particles and animation state when a turret is switched off.
  • Optional, narrowly scoped compatibility repair for explicit active-level MapHazardSpawnType<number> markers.

Configuration

Setting Default Purpose
General/Enabled true Enable rear-panel interaction.
General/InteractionDistance 2.2 Maximum horizontal distance to turret base.
General/RearDotThreshold -0.75 How directly behind the turret the player must stand.
Berserk/Enabled true Allow berserk outcome.
Berserk/ChancePercent 15 Chance that interaction triggers berserk rather than shutdown.
Custom Berserk Burst/Enabled true Enable the custom burst.
Custom Berserk Burst/DurationSeconds 4.8 Burst duration after native berserk starts.
Custom Berserk Burst/RotationSpeed 720 Rotation speed during burst.
Custom Berserk Burst/FireRateMultiplier 1.5 Multiplier for native firing interval.
Custom Berserk Burst/TurnOffAfterBurst true Return to normal detection for one second, then turn off.
Spawn Compatibility/RepairExplicitHazardMarkers true Repair only the targeted explicit marker case when vanilla spawn-table conditions are met.

Multiplayer and performance

Install the same package version on host and clients. The host's custom-burst settings and shutdown decision are authoritative. Interaction eligibility refreshes every 0.20 seconds and turret discovery is cached for 1.25 seconds; no per-frame interaction polling loop runs. The required native Turret.Update hook exits early when no custom berserk burst is active.

Dependency

  • BepInEx-BepInExPack-5.4.2305 (declared in manifest.json). Unity/game assemblies and HarmonyX are supplied by the game/BepInEx profile and are not bundled separately.

Credits and disclosure

Plugin code and packaging are maintained by erockuli. This project was developed with AI assistance.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.