You are viewing a potentially older version of this package. View all versions.
Luver_Inn-Amirkhan_NPC-1.0.0 icon

Amirkhan NPC

A harmless 2D photo NPC that wanders the facility and talks in a friend's real voice (clips recorded by MirageVoces on the host).

Date uploaded 2 weeks ago
Version 1.0.0
Download link Luver_Inn-Amirkhan_NPC-1.0.0.zip
Downloads 30
Dependency string Luver_Inn-Amirkhan_NPC-1.0.0

This mod requires the following mods to function

Luver_Inn-PaperPals-1.0.0 icon
Luver_Inn-PaperPals

Turn your friends into harmless 2D paper cut-out NPCs. A library: install character addons (npc.json + pictures, no code). They wander, talk in their real voices (MirageVoces), hide from monsters and flee a meltdown.

Preferred version: 1.0.0

README

Amirkhan_NPC

A harmless NPC for Lethal Company. Amirkhan spawns inside the facility, wanders around, and stops to say a line when a player is in view. Sometimes he talks to himself when nobody is around. He can't hurt anyone and can't be hurt or killed. He opens doors and never blocks a corridor, because players walk straight through him.

He's a photo cut-out drawn as a billboard that always faces you. It has 4 directions (front, back, left, right), a walk cycle, and a mouth that opens while he speaks. His size adjusts automatically so his eyes are level with yours.

Voice

He speaks with a real player's voice, using clips recorded by MirageVoces on the host's PC: <game folder>/Mirage/Centralizado/Efectos/<SteamID>/*.wav.

  • The host picks whose voice he uses: Voice → TargetPlayer in tursyn.amirkhan_npc.cfg, or in the in-game config menu (LethalConfig), where it applies live. Use the player's Steam name as shown in game (or as listed in Mirage/Centralizado/jugadores.json), a SteamID64, or yo for the host's own voice.
  • The host sends each line to everyone, so other players need only this mod and no voice files. The chosen player doesn't need to be online.
  • He picks lines at random and doesn't repeat one until all of them have been used. Screams (grito) are left out by default (Voice → Categories).
  • If the host has no clips for that player, he simply stays silent.

No voice recordings are included in this package.

Requirements

  • Everyone in the lobby needs this mod (same version).
  • BepInExPack, LethalLib.
  • For his voice, the host needs MirageVoces with recordings of the chosen player. Without it, he's a silent wanderer.

Config (BepInEx/config/tursyn.amirkhan_npc.cfg)

Section Key Default What it does
Voice TargetPlayer aeka Whose voice he uses (host only). Empty means silent.
Voice CooldownMin / CooldownMax 20 / 60 Seconds between lines when someone is near.
Voice AloneMin / AloneMax 90 / 240 Seconds between lines said to nobody. 0 turns this off.
Voice TalkRange 12 He talks to a player in view within this range.
Voice Volume / HearingDistance 1 / 28 Loudness and fade-out distance.
Spawn Rarity 25 Indoor spawn weight on every moon. Max one at a time; he doesn't use the power budget.
Sprite MatchPlayerEyeHeight true Size him to a standing player's eye level. If off, Height is used.
Sprite StepTime 0.32 Seconds per walking frame (live).
Movement WalkSpeed 2.6 Walking speed.
Testing OnlyAmirkhan, GuaranteedSpawn, … false Test helpers for the host. Keep off in real games.

Notes

  • Mirage itself won't make him mimic anyone (his entry in Mirage.Enemies.cfg defaults to false).
  • Other mods that pick random enemies (for example gift boxes) may occasionally produce him. He's still harmless.

CHANGELOG

Changelog

2.0.0

  • Now a PaperPals addon: no DLL, just frames and npc.json. Requires Luver_Inn-PaperPals.
  • New crouch frames: he crouches and sneaks away when a monster is near, with scared lines.
  • Height set to 180 cm (eye level with players, same size as before).
  • Settings moved to the [amix] section of luver_inn.paperpals.cfg.

1.1.0

  • Meltdown: when the apparatus is pulled he panics, shouts panic lines and runs out of the main entrance into the ship.
  • He can die now: 6 HP by default. He screams when he dies and lies face-down where he fell.
  • Scannable as "Amix" (red).

1.0.1

  • Fix: Amirkhan showed as a white rectangle when installed through a mod manager (it flattens the sprites folder).

1.0.0

  • First release: a harmless indoor NPC with a 4-direction billboard sprite, a walk cycle and lip-sync.