Lethal Company
Install with App

Details

Latest version
1.3.0
Last Updated
First Uploaded
Downloads
310
Likes
0
Size
2.5MB
Dependants

Categories

Made for our Hoca, Palababayigit

VERY EARLY IN DEVELOPMENT SETUP

Let Kick chat spawn enemies, vote on what comes next, and bring dead players back for a few seconds.

A viewer types !spawn bracken and a Bracken shows up near a player. Turn on polls and chat votes between two random enemies every minute. The streamer stays in control with cooldowns, caps, per-enemy limits and a blocklist, and can change everything in game with LethalConfig.

Unofficial fan mod. Not affiliated with Lethal Company, its developer, or Kick.

Features Chat spawns: !spawn <enemy> from Kick chat, with forgiving names and friendly aliases Chat polls: every minute, chat votes between two random enemies with !1 or !2, and the winner spawns Live poll box on screen with vote counts, a timer and the latest vote Smart spawning: indoor enemies appear near players inside the facility and outdoor enemies near players outside, so they actually chase their target Streamer controls: per-viewer and global cooldowns, a cap on live enemies, per-enemy limits (for example only one Jester at a time), a blocklist, a maximum number of polls per round, and an on/off switch for the spawn command In-game settings menu through LethalConfig (recommended, optional) Dead Voice Window (optional, off by default): dead players get a short window to talk to the living every few minutes English and Turkish in-game text No account, login or token needed. The mod reads public Kick chat. Quick start Install the mod and launch the game once. This creates the config file: BepInEx/config/miskin213.pala_company.cfg. Find your channel's chatroom ID. In a normal browser, open https://kick.com/api/v2/channels/<your channel name> and look for "chatroom":{"id": followed by a number. Open the LethalConfig menu (or the config file) and set under Kick: Enabled = on ChatroomId = that number Host a lobby and land on a moon. Type !spawn baboon in your Kick chat.

If you change the Kick settings in the LethalConfig menu, press Reconnect Kick to apply them without restarting the game.

Chat commands Command What it does !spawn <name> Spawns that enemy near a random living player who is out of the ship !1, !2 (or !vote 1, !vote 2) Votes in the current poll

Names ignore capitals, spaces and punctuation, so Hoarding Bug, hoardingbug and hoarding bug are the same. The command prefix can be changed in the settings.

Type this Enemy bracken, flowerman Bracken flea, snareflea, centipede Snare flea thumper, crawler Thumper hygrodere, blob Hygrodere ghost, ghostgirl, girl Ghost girl eyelessdog, dog, mouthdog Eyeless dog coilhead, spring Coil-head sporelizard, lizard, puffer Spore lizard lasso, lassoman Lasso man spider, bunkerspider Bunker spider hoarder, bug, hoardingbug Hoarding bug giant, forestgiant Forest giant leviathan, earthleviathan Earth leviathan baboon, hawk, baboonhawk Baboon hawk bees, killerbees, redlocustbees Red locust bees

More enemies work with the name the game uses for them: nutcracker, jester, masked, butler, maneater, tulipsnake, claysurgeon, radmech, giantkiwi, stingray, manticoil, docilelocustbees, feiopar, cadavergrowths.

Why a spawn might be rejected

The host's console log prints a [rejected] line with the reason.

Wrong zone. Indoor enemies need a player inside the facility, outdoor enemies need a player outside. Players in the ship don't count. Cooldown. Per viewer and global. Too many alive. The live-enemy cap or that enemy's own limit was reached. Not in a round. The ship must be landed. Unknown or blocked name. Missing nest. A few outdoor enemies need a nest that some moons don't have. Polls

Polls are off by default. Turn them on with Poll.Enabled.

A poll opens every minute while the host is on a moon (45 seconds of voting, then the winner spawns). Both options are always enemies that could actually spawn right now. Viewers vote with !1 or !2. One vote per viewer, and they can change it until the poll closes (can be turned off). Ties pick a random winner among the tied options. With no votes, a random option spawns, or nothing does, depending on NoVotesBehavior. Poll spawns skip viewer cooldowns but still obey the live-enemy cap, per-enemy limits and the zone rule. The result can show which player the enemy spawned near (ShowTargetPlayer). A ding plays when a poll opens and when it closes.

The poll box shows the options, live vote counts with percentages, the time left and the latest vote. It has a thin border with a see-through interior so it doesn't block your view, and you can move and resize it.

Right now the poll box is drawn on the host's screen only. Showing it to the other players is planned.

Showing the poll on stream

If your stream captures the game window, the poll box is already visible. You can also show the poll in OBS from a text file: add a Text (GDI+) source, tick Read from file, and pick BepInEx/config/pala_poll.txt. The mod keeps that file updated with the options and live vote counts while a poll is open, and with the result afterward.

Dead Voice Window (optional)

After a player dies, they get a talk window every few minutes (30 seconds every 5 minutes by default). While their window is open, every living player hears them clearly, from anywhere on the map. When it closes, they go back to vanilla: only other dead players can hear them.

Each dead player has their own timer, which starts when they die. Dead players see a countdown for their next window. Living players see who is currently audible and for how long. Works with normal voice chat (push-to-talk or voice activation). Off by default. Turn it on with DeadVoice.Enabled. Changes apply live.

Every player in the lobby needs this mod, with the same Dead Voice settings, because the living player's own game does the un-muting. Timers are counted by each player's game, so they can differ by a few seconds.

If you also have the standalone DeadVoiceWindow mod installed, Pala Company turns its own copy off and logs a warning. Remove one of them.

Settings

All settings are in the config file and in the LethalConfig menu. Everything applies instantly except where noted.

Who needs the mod?

Install it for everyone in the lobby. Chat spawning itself runs on the host only, and players without the mod can still join and see the enemies, but Dead Voice Window needs every player to have it with matching settings, and the poll box is meant to be shared with everyone.

Known limitations Kick chat is read through an undocumented connection, so Kick can break it at any time. Check Kick's terms yourself before relying on it on stream. Modded monsters are not supported yet. Some enemies may behave oddly when spawned this way. Use the blocklist for any that cause problems.

Troubleshooting Nothing happens when chat types the command. Check that Kick.Enabled is on, the chatroom ID is right, you are the host, and the ship has landed. Then read the [rejected] lines in the console. "Kick rejected the app key". Kick has rotated its chat connection key before and can again. Update Kick.AppKey and Kick.Cluster and press Reconnect Kick, or check the source repository for the current values. Can't find the chatroom ID. Kick's site sometimes blocks the lookup page. Try another browser, or find the number in your browser's developer tools on your channel's chat page. Poll box in the wrong place or too big. Change PollHud.Anchor, the offsets and the font size in the LethalConfig menu.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.