
LethalZero
When the host dies, the whole crew returns to the moment the lever was pulled and replays the same day: same seed, same loot, same rng rolls. A Re:Zero parody. Every player needs the mod for it to work.Lethal:Zero
Return by Death for Lethal Company. A Re:Zero parody.
When the host dies on a moon, the whole crew goes back to the moment the lever was pulled and replays the same day. Same seed, same map, same loot, same RNG rolls. If you do the same thing again, you get the same result.
Install
Use a mod manager. For a manual install, copy the DLL, the three sound files and witch_hand.zmesh into BepInEx/plugins/LethalZero/. Needs BepInEx 5.
Every player needs the mod. The host gets a warning if someone joins without it or on a different version. A player on a version that can't read the host's checkpoints still rewinds with everyone, but their ship isn't restored.
How it works
- Pulling the lever saves a checkpoint: credits, quota, deadline, weather, everything on the ship, what each player is carrying and where they are standing.
- Only the host's death starts a loop. The host sees their body for about 2 seconds, then the screen goes black for everyone.
- Behind the black screen the ship goes back to orbit and the moon reloads with the same seed.
- Everything is put back the way it was at the checkpoint. Dead players are revived, nobody keeps what they picked up, anything bought during the loop is refunded and no day passes.
- You are back in the ship right before it lands.
- The checkpoint only moves forward when a day ends normally with the host alive.
Restored on the ship: items (scrap value, battery, position, on/off state), inventories and the selected slot, furniture, suits, the Cruiser, terminal orders, ship lights, the radar target, teleporter cooldowns, the TV, a playing boombox, cabinet doors and TZP intoxication.
Config
BepInEx/config/com.github.level99mike.lethalzero.cfg
| Section | Key | Default | What it does |
|---|---|---|---|
| Loop | Enabled | true | Turns the mod on or off (host). |
| Loop | MaxLoopsPerDay | 0 | Loops allowed per day, 0 = unlimited (0-100). |
| Loop | LoopAtCompany | true | Loop on deaths at the Company. |
| Loop | LoopOnChallengeMoon | false | Loop on the weekly challenge moon. |
| Loop | FastRewind | true | Skip the ship's take-off during a rewind (host). Off = the ship takes off normally behind the black screen, which is slower. |
| Determinism | DeterministicRng | true | Make all random rolls repeat each loop (needs a restart). |
| Determinism | IncludeModdedAssemblies | false | Do the same for other mods' code, such as modded enemies and items (needs a restart). |
| Determinism | RngTrace | false | Log a report after each loop showing what played out differently. |
| Presentation | DeathPauseSeconds | 0.5 | Extra time the host watches their death, on top of 1.5 s (0-5). Makes the restart that much longer. |
| Presentation | SfxVolume | 0.8 | Volume of the mod's sounds (0-1). |
| Taboo | WitchTaboo | true | Turns the taboo on or off. |
| Taboo | TabooWords | see config | Comma-separated phrases. A phrase has to start at the beginning of a word but can end mid-word. |
| Taboo | TabooPatterns | see config | Semicolon-separated regular expressions, for things like "loop 4". |
| Taboo | TabooDamage | 25 | Damage on the first offence (0-100). |
| Taboo | TabooEscalation | true | Double the damage for every offence that day. |
| Taboo | TabooLethalStrike | 3 | The offence that kills outright. 0 = never (0-10). |
| Taboo | TabooListenerChance | 0.25 | Chance that the nearest crewmate is hit instead, from the 2nd offence (0-1). |
| Taboo | TabooCanKill | true | Off = the taboo stops at 1 HP. |
| Taboo | TimeStop | true | Stop time for the lobby during the taboo. |
| Taboo | TimeStopSeconds | 2 | How long time stops if the witch_hand sound file is missing (0.25-10). |
| Taboo | TimeStopSilence | true | Mute all game sound, voice chat included, while time is stopped. |
The host's taboo settings apply to everyone. Values outside the ranges are clamped.
Known issues
- Loops aren't frame-perfect. The random rolls repeat, but movement, physics and AI run on frame time, so small timing differences can change when an enemy makes a decision, and things can drift from there.
- Other mods' enemies and items don't repeat their rolls unless
IncludeModdedAssembliesis on. - Crewmates aren't scripted. If they do something different, the loop plays out differently. Enemies that hear voice chat also react to how loud you are.
- The taboo only checks text chat and the signal translator, not voice chat.
- Opening the pause menu during a rewind hides the black screen, so you can see the ship being reset.
- If the host's death leaves no body, the camera circles the spot where they died.
- After a game update, a feature that no longer works turns itself off and says so in the BepInEx log. The rest keeps working.
AI disclosure
AI was used to help with the code.
Contact
Level99Mike on Discord, Steam