Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
SharedLives
Adds a configurable team-wide shared lives system with revive limits, life gain, and multiplayer sync. / チーム共有の残機システムを追加します。蘇生制限、残機加算、マルチプレイ同期に対応しています。
By Kai09TA
| Last updated | 18 hours ago |
| Total downloads | 28 |
| Total rating | 0 |
| Categories | Mods Client-side Server-side AI Generated |
| Dependency string | Kai09TA-SharedLives-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
[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
複数登録する場合は | で区切ってください。
Medicとの併用時は、SharedLivesを全プレイヤーへ導入してください。
Multiplayer
通常のR.E.P.O.蘇生経路ではHost-onlyでも動作します。
他MODが PlayerAvatar.ReviveRPC を直接使用する場合や、独自の蘇生システムを使用する場合は、SharedLivesを全プレイヤーへ導入することを推奨します。