oks-PhantomWhisper icon

PhantomWhisper

Dead host: hold a key to whisper to the player you are spectating, in a spooky phantom voice. Nobody else hears you.

Last updated 12 minutes ago
Total downloads 0
Total rating 0 
Categories BepInEx AI Generated
Dependency string oks-PhantomWhisper-1.1.0
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

PhantomWhisper

Dead host? Haunt one player. While you are dead and spectating someone, hold a key and talk: only the player you are spectating hears you, as a close, distance-free phantom whisper with a spooky voice (pitch-shifted, echoing, a bit distorted). Everybody else, other dead players included, does not hear you while the key is held.

Version 1.1.0, built against Lethal Company v81. Everyone in the lobby needs the mod. The host sends a tiny "I'm whispering to player X" signal and every client reshapes how it plays the host's voice locally. A player without the mod would not get the muting/effect.

Use it

  1. Install with r2modman / Thunderstore Mod Manager (needs BepInExPack), or unzip into BepInEx/plugins/. Everybody installs it. Play as host.
  2. Die, spectate the player you want to haunt, then hold H and talk normally into your mic:
    • voice activation: just talk while holding the key;
    • push-to-talk: hold your talk key and the whisper key;
    • or set ToggleMode = true to press once to start and again to stop.
  3. The target follows who you are spectating: switch spectated player while holding the key and the whisper moves with you.
  4. Release the key and you are back to vanilla (other dead players hear you again as usual).

If you are alive or not spectating anyone, pressing the key shows a short tip instead. The key is ignored while typing in the terminal / chat or with the menu open.

Config (BepInEx/config/phantomwhisper.lethalcompany.cfg)

Section Setting Default What it does
Host WhisperKey H Key the host holds to whisper (any UnityEngine.InputSystem.Key name)
Host ToggleMode false Press-to-toggle instead of hold
Listeners WhisperVolume 1.0 How loud the whisper is for the target
Voice Preset Ghost Ghost, Demon, Banshee or Custom
Voice Custom* Pitch, distortion, echo delay/decay and chorus, used when Preset = Custom

Presets: Ghost (hollow, slightly low, long echo), Demon (one octave down, crunchy), Banshee (high and shimmering). The effect is applied on the target's side, so the haunted player can pick the preset they prefer in their own config.

How it works

Vanilla already sends everyone's voice to every client; the game only decides per listener how loud it is. PhantomWhisper patches that decision for the host's voice while the whisper is on:

  • The target (the player the host spectates): the host's voice is forced to 2D at WhisperVolume, no muffling, pitch moved through the game's own per-player voice mixer, plus echo / chorus / distortion filters on the voice object.
  • Everyone else (other dead players and the living): the host's voice volume is held at 0.
  • The host broadcasts the state with a Netcode named message (heartbeat every second; clients drop the effect on their own if the host goes silent for 3.5 s, so a crash can't leave anyone muted).

Build from source

dotnet build -c Release     # needs the BepInEx NuGet feed, see NuGet.config

Output: bin/Release/netstandard2.1/PhantomWhisper.dll. ./build.sh also assembles the Thunderstore zip in dist/.


En français

Host mort ? Hante un seul joueur. Quand tu es mort et que tu spectates quelqu'un, maintiens une touche (par défaut H) et parle : seul le joueur que tu spectates t'entend, comme un chuchotement de fantôme (voix grave, écho, un peu déformée). Tous les autres, y compris les autres morts, ne t'entendent pas tant que la touche est maintenue. La cible suit le joueur que tu spectates.

Tout le monde doit avoir le mod. Réglages (touche, mode toggle, volume, preset de voix Ghost / Demon / Banshee / Custom) dans BepInEx/config/phantomwhisper.lethalcompany.cfg.