SharedLives

版本 v1.0.0·更新於 2026-09-27

Adds a configurable team-wide shared lives system with revive limits, life gain, and multiplayer sync. / チーム共有の殘機システムを追加します。蘇生制限、殘機加算、マルチプレイ同期に対応しています。

模組介紹 作者原文

[EN] SharedLives

SharedLives adds a team-wide shared lives system to R.E.P.O.

Instead of each player having their own lives, the entire team shares a single life pool.

When shared lives reach 0, dead players can no longer be revived.

If the entire team dies, the game ends normally.

Features

  • Team-wide shared lives
  • Choose whether a life is consumed on death or on successful revival
  • Choose whether lives persist for the entire Run or reset each Level
  • Gain lives from enemy deaths, completed Extraction Points, and completed Levels
  • Enemy reward blacklist
  • Save / Load support
  • Multiplayer synchronization
  • Displays remaining lives while:
  • the map is open
  • holding a Death Head
  • the local player is dead
  • Medic compatibility

Installation

Install SharedLives.dll into your BepInEx environment.

The configuration file will be generated after the first launch.

Config

General

| Option | Default | Description |

|---|---:|---|

| Enabled | true | Enables or disables SharedLives |

| StartingLives | 5 | Number of shared lives at the start |

| MaxLives | 5 | Maximum number of shared lives |

| ConsumeMode | OnDeath | OnDeath: consume a life when a player dies / OnRevive: consume a life after a successful revival |

| LivesScope | Run | Run: lives persist for the entire Run / Level: lives reset at the start of each Level |

If StartingLives is higher than MaxLives, MaxLives takes priority.

LifeGain

| Option | Default | Description |

|---|---:|---|

| Enabled | true | Enables or disables life gain rules |

| EnemyKiller | 1 | Number of lives gained when an enemy death is confirmed |

| EnemyKillBlacklist | Gnome,Banger | Enemy names that do not grant lives. Separate names with commas |

| Complete_LevelBonus | 5 | Number of lives gained when a Level is completed |

| Complete_ExtractionPoint | 5 | Number of lives gained when an Extraction Point is completed |

Shared lives cannot exceed MaxLives.

Mod Compatibility

Medic

SharedLives supports Medic.

I use Medic frequently myself, so compatibility was added to make the two mods work together.

Medic revives are also subject to the SharedLives life limit.

When no shared lives remain, Medic revives are blocked and a dedicated failure message is spoken instead.

The messages can be changed with:

Compatibility.Medic > NoLivesMessages

Use | to separate multiple messages.

When using SharedLives together with Medic, install SharedLives for all players.

Multiplayer

SharedLives works as a host-only mod when using the normal R.E.P.O. revival flow.

When using other mods that directly call PlayerAvatar.ReviveRPC or use custom revival systems, installing SharedLives for all players is recommended.

[JP] SharedLives

R.E.P.O. にチーム共有の殘機システムを追加するMODです。

プレイヤーごとの殘機ではなく、チーム全體で1つの殘機數を共有します。

殘機が0になると、それ以上プレイヤーを蘇生できなくなります。

全員死亡した場合は、通常通りゲームオーバーになります。

主な機能

  • チーム共有殘機
  • 死亡時 / 蘇生成功時の殘機消費を選択可能
  • Run全體 / Levelごとの殘機管理を選択可能
  • 敵死亡、Extraction Point完了、Levelクリアによる殘機加算
  • 敵ごとの報酬ブラックリスト
  • Save / Load対応
  • Multiplayer同期
  • 以下の狀況で殘機を表示
  • マップ表示中
  • Death Headを持っている間
  • 自分が死亡している間
  • Medic対応

インストール

BepInEx環境へ SharedLives.dll を導入してください。

設定ファイルは初回起動後に生成されます。

Config

General

| 項目 | 初期値 | 説明 |

|---|---:|---|

| Enabled | true | SharedLivesを有効化します |

| StartingLives | 5 | 開始時の共有殘機 |

| MaxLives | 5 | 共有殘機の最大値 |

| ConsumeMode | OnDeath | OnDeath: 死亡時に消費 / OnRevive: 蘇生成功時に消費 |

| LivesScope | Run | Run: Run全體で保持 / Level: Level開始時に初期値へ戻す |

StartingLives が MaxLives を超えている場合は、MaxLives が優先されます。

LifeGain

| 項目 | 初期値 | 説明 |

|---|---:|---|

| Enabled | true | 殘機加算ルールを有効化します |

| EnemyKiller | 1 | 敵の死亡確認時に加算する殘機數 |

| EnemyKillBlacklist | Gnome,Banger | 殘機を加算しない敵名。カンマ區切り |

| Complete_LevelBonus | 5 | Levelクリア時の加算數 |

| Complete_ExtractionPoint | 5 | Extraction Point完了時の加算數 |

殘機は MaxLives を超えて増加しません。

MOD互換

Medic

Medic に対応しています。

私自身がよく使用しているMODなので、SharedLivesと併用できるように対応を追加しています。

Medicによる蘇生にもSharedLivesの殘機制限が適用されます。

殘機が0の場合はMedicによる蘇生も行えず、専用の失敗メッセージを喋ります。

メッセージは以下から変更できます。

Compatibility.Medic > NoLivesMessages

複數登録する場合は | で區切ってください

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
SharedLives-1.0.0.zip
檔案大小
143.4 KiB