You are viewing a potentially older version of this package. View all versions.
CptDristyler-InsanityModV81-1.0.7 icon

InsanityModV81

Unofficial rebuild. Sanity drains in the facility, spikes at deaths, peaks with tunnel vision, camera shake, voice haunt + Paranoia weather. Multiplayer-fixed for v81 by Cpt.Dristyler. Original by Meeee.

Date uploaded 2 months ago
Version 1.0.7
Download link CptDristyler-InsanityModV81-1.0.7.zip
Downloads 136
Dependency string CptDristyler-InsanityModV81-1.0.7

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
mrov-MrovLib-0.4.3 icon
mrov-MrovLib

Common methods for my mods.

Preferred version: 0.4.3
mrov-WeatherRegistry-0.8.8 icon
mrov-WeatherRegistry

A mod for controlling the game's weather system: scrap multipliers, weather chances, blacklisting and more!

Preferred version: 0.8.8

README

InsanityMod (v81 rebuild)

⚠️ Unofficial rebuild for Lethal Company v81, maintained by Cpt.Dristyler. Not affiliated with or endorsed by the original author. Install this instead of the original, not alongside it.

A sanity system for Lethal Company. Insanity rises inside the facility and drains outdoors / in light / near teammates. High insanity brings tunnel vision, camera shake and voice distortion; at 100% an optional transformation into a Masked. Includes a HUD ring, an end-of-round "Peak insanity" stat, and a custom Paranoia weather.

This rebuild (1.0.7) — by Cpt.Dristyler

  • Fixed online HUD/round start for clients. Round start previously ran only from the server-only StartOfRound.StartGame, so on non-hosts the insanity ring stayed invisible. An idempotent round start was added to RoundManager.FinishGeneratingNewLevelClientRpc (runs on everyone).
  • GhostGirlBoostPatcher runs host-only (IsServer) — removes Ghost Girl desync online.
  • InsanityNetworkHandler.RegisterHandlers is idempotent — no duplicate NGO named-message registration each round.
  • Rebuilt under the .NET 8 SDK against current dependencies (WeatherRegistry 0.8.8 / MrovLib 0.4.3). GUID com.insanitymod.lethalcompany unchanged — configs stay compatible.

Online note

Masked transformation and final stats use server-side NGO named messages. The mod must be installed by the host and all players on the same version (architectural requirement, not a bug).

Credits

  • Original mod: Meeee
  • v81 rebuild & multiplayer fixes: Cpt.Dristyler

Dependencies

  • BepInEx 5.4.2100
  • mrov-MrovLib 0.4.3
  • mrov-WeatherRegistry 0.8.8

CHANGELOG

Changelog

Entries below are for this unofficial v81 rebuild by Cpt.Dristyler. Original mod by Meeee — the upstream release history is not duplicated here.

1.0.8 — by Cpt.Dristyler

  • Fixed three NullReferenceExceptions logged each round from FinishGeneratingPostfix, UpdatePostfix and ShipLeavePostfix. All three came from the same source: VoiceTrack wrote cutoffFrequency / other parameters on AudioLowPassFilter and sibling filters whose owning VoicePlayback GameObject had been destroyed by the game between rounds (Unity-tracked "fake null"). The track was still cached in VoiceHaunt._tracks, so ApplyLiveDistortion and ResetFilters hit destroyed Components. Added a Unity-aware IsAlive guard at the top of both methods so they no-op on dead tracks.
  • GUID com.insanitymod.lethalcompany unchanged — configs and dependencies stay compatible.

1.0.7 — v81 rebuild by Cpt.Dristyler

  • Fixed online HUD/round start for clients. Previously StartRound() ran only from the server-only StartOfRound.StartGame, so on non-hosts _roundActive stayed false and the insanity ring was invisible. An idempotent round start was added to RoundManager.FinishGeneratingNewLevelClientRpc (a ClientRpc, runs on everyone).
  • GUID com.insanitymod.lethalcompany unchanged — configs and dependencies stay compatible.

1.0.6 — rebuild by Cpt.Dristyler

  • Rebuilt from a decompiled source under the .NET 8 SDK (netstandard2.1).
  • GhostGirlBoostPatcher now runs on the host only (NetworkManager.Singleton.IsServer) — removes the client-side Ghost Girl desync.
  • InsanityNetworkHandler.RegisterHandlers is idempotent (calls UnregisterHandlers before registering) — no duplicate NGO named-message registration each round.
  • Restored [BepInDependency("mrov.WeatherRegistry")]; compatible with WeatherRegistry 0.8.8 and MrovLib 0.4.3. Added Langs.json (EN / RU / KO).