averr-MoreCompanyVoiceFix icon

MoreCompanyVoiceFix

Makes voice effects (TZP/helium pitch, volume sliders, muffling/echo, walkie routing) work for MoreCompany players 5 and up.

By averr
Last updated 16 minutes ago
Total downloads 0
Total rating 0 
Categories AI Generated
Dependency string averr-MoreCompanyVoiceFix-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
notnotnotswipez-MoreCompany-1.14.0 icon
notnotnotswipez-MoreCompany

A stable lobby player count expansion mod. With cosmetics!

Preferred version: 1.14.0

README

MoreCompany Voice Effects Fix

Makes voice effects work for MoreCompany players 5 and up.

The problem

Lethal Company's voice mixer only has four player channels (players 1-4). Each holds that player's volume and pitch (TZP, helium and similar). The shared effects (muffling, echo, inside/outside and deafened sound) live on the main mixer above them. With 5+ players, the extra players either share another player's channel (and pick up that player's pitch) or get no channel at all, so their voice effects don't work.

What this does

For players 5 and up only:

  • Routes their voices through the main mixer, so muffling, echo and the other shared effects apply to them, including walkie-talkie voices.
  • Gives each of them their own copy of the processing the game's player channels use, in the same order and with the same settings, driven by the same values the game uses for players 1-4:
    • volume (so MoreCompany's per-player volume sliders work),
    • the channel's compressor (threshold -11.7 dB normally, -0.8 dB in the muffled/echo/drunk states; 17.4 ms attack, 35 ms release),
    • the FFT pitch shifter (phase vocoder, FFT size 1024, overlap 6 normally / 4 in the other states), so TZP/helium pitch sounds like it does on players 1-4.

Players 1-4 are handled exactly as in vanilla.

Notes

  • Client-side: it only changes what you hear. Each player who wants to hear the effects on players 5+ needs it. It doesn't need to match across the lobby.
  • The extra processing runs only while a player 5+ is actually talking (about 6% of one CPU core per audio channel per speaking voice on the audio thread) and switches off when they go quiet.
  • With 4 or fewer player slots the mod does nothing.

Install

Install with a mod manager, or put MoreCompanyVoiceFix.dll in BepInEx/plugins. Requires MoreCompany.