SharedLiabilityDamage
【Host Only MOD】Adds shared liability damage on player death with truck and extraction point safe-zone exclusion.誰かが死ぬたびに生存者へ連帯責任ダメージを与えトラック内と納品所内は除外できるMODCOMPATIBLE 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 https://youtu.be/7oHcd-YPxCY
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
PlayerAvatarinstances - Checks each player's alive state
- Reads each survivor's max health
- Deals
DamagePercentof that survivor's own max health
- Hooks
-
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
HurtOtheroverloads - 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:
0disables 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.ExcludeTruckAndExtractionPointPlayersif 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サーバーあります! 参加は以下のリンクから! https://discord.gg/h5ATY4m5bZ
このMODは、ホスト専用の、誰かが死ぬたびに生存者へ連帯責任ダメージを与え、連鎖死亡を防ぎつつ、トラック内や納品所内のプレイヤーを除外できるMODです。
プレイ動画 https://youtu.be/7oHcd-YPxCY
概要
- 誰かが死ぬと、ホストが生存者全員へダメージを付与
- ダメージ量は各生存者自身の最大体力基準
- この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.ExcludeTruckAndExtractionPointPlayers
- 設定内容説明: トラック内または納品所内にいるプレイヤーへ連帯責任ダメージを与えない
- 初期値:
true - 設定可能最小値:
false - 設定可能最大値:
true - 補足: 安全地帯を守る運用では有効推奨
使い方
- ホストにMODを導入
- Master Clientとしてマルチプレイを開始
General.DamagePercentを設定- 必要に応じて
General.ExcludeTruckAndExtractionPointPlayersを設定 - 誰かが死ぬと、有効な生存者へ連帯責任ダメージが入る
補足
- このMODはホスト専用
- マルチプレイ向けのMOD
- 実際の連帯責任ダメージ処理はホスト側で制御
- 安全地帯除外が有効な場合、トラック内または納品所内のプレイヤーは対象外
- 連帯責任ダメージによる死亡では再帰的に連帯責任ダメージを発生させない
連絡先
- REPO JP
- REPO Modding Server
- SharedLiabilityDamage Forum
※AI生成MOD
