SharedLiabilityDamage

版本 v4.0.0·更新於 2026-05-10

【Host Only MOD】Adds shared liability damage on player death with truck and extraction point safe-zone exclusion.誰かが死ぬたびに生存者へ連帯責任ダメージを與えトラック內と納品所內は除外できるMOD

模組介紹 作者原文

COMPATIBLE WITH COSMETICS UPDATE V0.4.0.

SharedLiabilityDamage

This mod is a host-only mod that deals shared liability damage to every survivor whenever any player dies, while preventing loop-triggered deaths and optionally excluding players inside the truck or extraction points.

Gameplay video

Overview

  • When a player dies, the host applies damage to all living players
  • Damage is based on each survivor's own max health
  • Deaths caused by this mod do not trigger another shared damage chain
  • Players inside the truck or any extraction point can be excluded
  • Updated for REPO v0.4.0 damage method compatibility

Features

  • Host-only execution
  • Runs only in multiplayer
  • Runs only on the Master Client
  • Non-host clients do not execute the damage logic
  • Per-survivor shared liability damage
  • Hooks PlayerAvatar.PlayerDeathRPC
  • Enumerates all PlayerAvatar instances
  • Checks each player's alive state
  • Reads each survivor's max health
  • Deals DamagePercent of that survivor's own max health
  • Safe-zone exclusion
  • Can exclude players inside the truck
  • Can exclude players inside extraction point rooms
  • Uses REPO room volume checks where available
  • Enabled by default
  • REPO v0.4.0 compatibility
  • Handles the updated player damage path
  • Avoids build errors caused by changed HurtOther overloads
  • Keeps a legacy-safe fallback path for older references
  • Anti-loop behavior
  • Marks players damaged by this mod for a short duration
  • If that marked player dies from shared liability damage, the next shared damage event is skipped
  • Prevents one death from creating an infinite death chain

Configuration

General.DamagePercent

  • Description: each death deals N% of each survivor's max health to that survivor
  • Default: 10
  • Minimum: 0
  • Maximum: 100
  • Notes: 0 disables the mod

General.ExcludeTruckAndExtractionPointPlayers

  • Description: do not apply shared liability damage to players inside the truck or any extraction point room
  • Default: true
  • Minimum: false
  • Maximum: true
  • Notes: recommended to keep enabled for safe-zone friendly gameplay

Usage

  • Install the mod on the host
  • Start a multiplayer session as the Master Client
  • Configure General.DamagePercent
  • Configure General.ExcludeTruckAndExtractionPointPlayers if needed
  • When any player dies, all valid survivors receive shared liability damage

Notes

  • This is a host-only mod
  • The mod is designed for multiplayer
  • The host controls the actual shared damage logic
  • Players in the truck or extraction point rooms are ignored when the safe-zone exclusion setting is enabled
  • Shared liability damage deaths do not recursively trigger more shared liability damage

Contact

  • REPO JP

*

  • REPO Modding Server

*

  • SharedLiabilityDamage Forum

*

※Mod created by AI

COSMETICS UPDATE V0.4.0対応済み.

SharedLiabilityDamage

REPOが好きな日本人のための日本人のみのREPOのDiscordサーバーあります!

參加は以下のリンクから!

このMODは、ホスト専用の、誰かが死ぬたびに生存者へ連帯責任ダメージを與え、連鎖死亡を防ぎつつ、トラック內や納品所內のプレイヤーを除外できるMODです。

プレイ動畫

概要

  • 誰かが死ぬと、ホストが生存者全員へダメージを付與
  • ダメージ量は各生存者自身の最大體力基準
  • このMODのダメージで死んだ場合は連鎖発動しない
  • トラック內または納品所內のプレイヤーを除外可能
  • REPO v0.4.0のダメージ処理変更へ対応

機能

  • ホスト専用動作
  • マルチプレイ時のみ動作
  • Master Clientであるホストのみが処理
  • 非ホスト參加者ではダメージ処理を実行しない
  • 生存者ごとの連帯責任ダメージ
  • PlayerAvatar.PlayerDeathRPC をフック
  • 全 PlayerAvatar を列挙
  • 各プレイヤーの生存狀態を確認
  • 各生存者の最大體力を取得
  • その生存者自身の最大體力に対して DamagePercent 分のダメージを付與
  • 安全地帯除外
  • トラック內プレイヤーを除外可能
  • 納品所內プレイヤーを除外可能
  • 可能な限りREPO側のRoomVolume判定を使用
  • 初期値で有効
  • REPO v0.4.0対応
  • 更新後のプレイヤーダメージ処理へ対応
  • HurtOther のオーバーロード差分によるビルドエラーを迴避
  • 舊參照環境でも落ちにくいフォールバック処理を維持
  • 連鎖防止
  • このMODでダメージを受けたプレイヤーを短時間マーク
  • そのマーク済みプレイヤーが連帯責任ダメージで死亡した場合は次の連帯責任処理をスキップ
  • 1回の死亡から無限連鎖が起きることを防止

設定項目

General.DamagePercent

  • 設定內容説明: 死亡1回ごとに、生存者それぞれの最大體力N%をその生存者へダメージとして付與
  • 初期値: 10
  • 設定可能最小値: 0
  • 設定可能最大値: 100
  • 補足: 0 はMOD無効化

General.ExcludeTruckAndExtractionPointPlaye

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
SharedLiabilityDamage-4.0.0.zip
檔案大小
108.8 KiB