Mirage

Updated 5 months ago

Mirage

Mirage is a mod that gives any enemy the ability to mimic a player's voice (fully synced to all players).
This mod is required by the host and on all clients. Clients that do not have the mod will run into desynchronization issues.

Features

  • Mimic the voice of a player for any enemy (such as bracken, dress girl, modded enemies, etc)
    • Use the same player's voice every time it attempts to mimic their voice
    • Voice is synced to all players, where everyone hears the same voice
    • Only masked enemies mimic voices by default, other enemies can be enabled via config
  • Spawn a masked enemy on player death (like a player turning into a zombie)
    • Chance to spawn on death can be configured
    • Set this to 0 to disable the feature
    • Can be configured to only spawn if the dying player is alone
  • Masked enemies use the mimicking player's suit
  • Remove the mask off of masked enemy
  • Remove the arms out animation off of masked enemy
  • Remove the post-round credits penalty (configurable)
  • Configuration is synced to all players (only the host's config is used)

Discord

If you have questions, and/or want to stay up-to-date with the mod:

  1. Join the lethal company modding discord.
  2. Go to the mirage release thread and ask your question.

What configuration options should I use for a more vanilla experience?

If you'd like to get rid of the masked enemy's spawn on player death behaviour, try these config values:

  • EnablePenalty = true to allow post-round credit penalties to apply.
  • EnableNaturalSpawn = true to allow masked enemies to naturally spawn (recommended to use a spawn control mod on top of this).
  • SpawnOnPlayerDeath = 0 to disable the zombie-like spawning mechanic.
  • Recommended:
    MuteLocalPlayerVoice = true to make a voice mimic muted for you locally while it still plays for others (unless you die).

Why do players who disconnect no longer get their voice mimicked?

Voices of each player are stored on the respective player's individual storage. Since the player is no longer connected, their client cannot send audio clips to other clients.

I have a suggestion for the mod, and/or have found a bug

Whether you have a suggestion or have a bug to report, please submit it as an issue here.

Can I reupload the mod to Thunderstore?

No, reuploading the mod to Thunderstore is not permitted. If you are creating a modpack, please use the official mod.
If you're making small changes for your friends, you will need to share the compiled .dll directly with them, and then import it locally.

Acknowledgements

  • RugbugRedfern - Mirage is based off of rugbug's mod. This wouldn't exist without their ingenuity!
  • Evaisa - For creating the amazing UnityNetcodePatcher, which this mod uses during its build process.

Changelog

To stay up to date with the latest changes, click here to view the changelog.