thatumi-Lifeline icon

Lifeline

Revive dead crewmates by holding a key at their body or tombstone. Host-decided and confirmed by every player, so revives never desync. Every player needs it.

Last updated a day ago
Total downloads 193
Total rating 0 
Categories Mods AI Generated
Dependency string thatumi-Lifeline-0.2.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100
xilophor-LethalNetworkAPI-3.4.2 icon
xilophor-LethalNetworkAPI

A library/API to allow developers to easily add networking to their mods.

Preferred version: 3.4.2

README

UNDER ACTIVE DEVELOPMENT! Bug report/requests: thatumi on Discord.

Lifeline

Revive your dead crewmates. Walk up to a body, look at it and hold the revive key: when the bar is full, they are back on their feet right there, with some health.

Every player in the lobby needs this mod.

Why another revive mod

Revive mods break when the host and the players disagree: the host sees you revived (standing, body gone) while on your own screen you are still dead and spectating. Lifeline is built around that problem:

  • The host decides. A revive request goes to the host, which checks it with its own view (you are alive, they are dead, you are close enough, revives are left).
  • Everyone applies the same revive and confirms it. If a player did not get it, or it did not take on their screen, the host sends it again until they confirm. Every few seconds the host also sends who it revived, so a player who fell out of step catches up.
  • One revive system. If another revive mod is installed, Lifeline turns itself off and says so in the log.

How it works

Revive Hold R (keyboard) or D-pad up (gamepad) at the body, 5 s by default. Rebindable in the InputUtils keybind menu.
Body gone Eaten, sunk, despawned: a tombstone appears where the player died; revive there.
Carried bodies Carry the body back to the ship and revive them there.
Health 35 HP, 5 less for each further revive of the same player in a round (at least 10).
Limits 2 revives per player per round by default; or a shared pool for the crew; or unlimited.
Time limit 120 s after death by default; after that they stay dead until the round ends.
Spectate list A revived player's avatar and name leave the dead players' list (bottom left).
Defibrillator Out of revives? Type defib buy in the ship terminal: one charge for 150 credits. A charge revives once beyond the limit and is used automatically. defib shows how many the crew has. Charges last until used.

Config (BepInEx/config/dev.thatumi.Lifeline.cfg)

Section Key Default
Revive HoldSeconds / MaxDistance 5 / 3 Host
Revive Health / HealthLossPerRevive / MinHealth 35 / 5 / 10 Host
Rules Mode PerPlayer Host: PerPlayer, PerTeam or Unlimited
Rules RevivesPerPlayer 2 Host (PerPlayer)
Rules TeamRevivesMin / TeamRevivesPerPlayer 4 / 1.25 Host (PerTeam): at least 4, or players x 1.25
Rules TimeLimitSeconds 120 Host (0 = no limit)
Rules AllowTombs true Host
Defibrillator Enabled / Price true / 150 Host
Input KeyWithoutInputUtils R Only without InputUtils
Debug VerboseLogging false Logs every request and confirmation

The host's rules are sent to every player, so the prompts match what the host allows.

Compatibility

  • Required: LethalNetworkAPI 3.4.2. Recommended: InputUtils.
  • Do not combine with other revive mods (UltimateRevive, ReviveCompany, ...): Lifeline turns itself off if it finds one.
  • Mods that turn dead players into Masked copies are not handled yet.
  • 0.2.0 does not play with 0.1.x (everyone updates; an older player's messages are ignored and logged).

Bug report/requests:

thatumi on Discord