
You are viewing a potentially older version of this package. View Latest Version
RepoDeathCounter
Per-save truck death counter: every current player starts at 0, F8 toggles a translucent UI, and MVP scores appear only with RepoLevelMVP. Shop deaths do not count.REPO Death Counter
A simple per-player death counter for R.E.P.O., shown in the truck between levels.
Features
- Shows how many times each player has died, listed in the top-right of the truck lobby.
- Current players appear with
0before their first death; saved deaths remain visible after a player leaves. - Host-authoritative & synced: the host counts every death and broadcasts the tally to all clients, so everyone sees the same numbers in real time.
- Late-join friendly: players who join mid-run (e.g. via LateJoinNow) receive the current tally automatically.
- Large-lobby ready: there is no six-player cap in counting or synchronization. The redesigned scoreboard automatically uses multiple columns and cycles pages only when the full lobby cannot fit.
- Lightweight truck UI: a compact retained scoreboard uses shared text columns and refreshes only when the tally, awards, or visible page change, leaving the cash and health HUD unobstructed.
- The panel is moderately translucent. Press F8 to show/hide it for this session; the key and opacity are configurable.
- Optional MVP integration: RepoLevelMVP awards appear in the same panel only when that mod is installed. DeathCounter alone does not create MVP UI. RepoLevelMVP is not required for death counting.
- Per-save tally: each save slot has its own count. Loading that save restores its count; a newly created save starts at zero, and GAME OVER clears only the active save's tally.
- Keyed by Steam ID, so counts stay attached to the right player even after name changes or rejoining.
- Shop deaths never count. This is enforced by the mod, not a toggle.
Notes
- BepInEx is the only dependency. There is no REPOLib or other required framework.
- The lobby host must install the mod for a shared tally. Everyone who wants to see the overlay should install it too; clients running 1.4.6 also send a direct, owner-verified death report to the host.
- Version 1.4.6 checks the truck panel twice per second, refreshes the current-player roster once per second, and rebuilds text only when data or the visible page changes.
- The overlay only appears in the truck lobby. Use F8 or the
Display / ShowOverlayconfig option. - Death data is stored separately from the game's own save files (under the game's persistentDataPath), so it never touches vanilla save integrity.
Troubleshooting
- If the header never appears or everyone stays at
0after a death, confirm that the host hasMatsu.RepoDeathCounter.dllas an actual.dllunderBepInEx/plugins. Files renamed to.dll.DISABLEDor.dll.OFFare intentionally ignored by BepInEx. - After launching,
BepInEx/LogOutput.logshould containREPO Death Counter 1.4.6 loaded, twoPatched PlayerAvatar...lines, and onePatched RunManager.ResetProgress...line. No extra dependency is required.
Config
BepInEx/config/matsu.repo.deathcounter.cfg → [Display]
ShowOverlay(defaulttrue)Corner— TopRight (default) / TopLeft / BottomRight / BottomLeftFontSize,TitleFontSize— text sizesTextColorHex,TitleColorHex— hex RGB colors (e.g.FFFFFF)SortMode— DeathsAscending (fewest on top, default) / DeathsDescending / NameAscending / NameDescendingShowTotal(defaulttrue) — shows a total-deaths badge in the scoreboard headerHighlightSelf(defaulttrue) — draws your own row in a different colorSelfColorHex(defaultFFD700, gold) — your row's color whenHighlightSelfis onBackgroundOpacity(default0.82, clamped to0.55–0.95)ToggleKey(defaultF8) — show/hide the overlay for the current session
Bug reports & requests
Found a bug or have a feature request? Please use this form: https://docs.google.com/forms/d/e/1FAIpQLSfl7f-oNiwjXjd7mUkfQoqBIhbJhQhhfV-ZmovjJVQ9orwuYQ/viewform
REPO Death Counter(日本語)
R.E.P.O. 用の、プレイヤーごとの「死亡回数カウンター」。レベル間のトラック内に表示されます。
特徴
- 各プレイヤーの死亡回数を、トラック・ロビーの右上に一覧表示します。
- 現在参加中のプレイヤーは、まだ死んでいなくても
0と表示します。退出者のセーブ済み死亡数は残ります。 - ホスト権威&同期: ホストが全員の死亡を集計し、全クライアントへ配信。全員がリアルタイムで同じ数字を見られます。
- 途中参加対応: ラン途中で参加した人(LateJoinNow など)にも、現在の集計が自動で同期されます。
- 大人数ロビー対応: 集計・同期に6人の上限はありません。新しいスコアボードは人数に応じて複数列になり、全員が画面に収まらない場合だけ自動でページを切り替えます。
- トラック内で軽量なUI: 複数人の名前・死亡数を少数の共通テキストで描画し、死亡数・表彰・表示ページが変わったときだけ更新します。既定の右上表示ではゲームの所持金・体力表示を避けます。
- 背景はやや半透明です。F8 キーでセッション中の表示を切り替えられ、キーと不透明度は設定できます。
- MVPとの任意連携: RepoLevelMVPを導入している場合だけ、その結果を同じパネルに表示します。DeathCounter単体ではMVP用UIを作りません。死亡数の集計にMVP MODは必要ありません。
- セーブデータごとに集計: セーブスロットごとに別の死亡数を保持します。該当セーブをロードすると復元され、新規作成したセーブは0から開始、GAME OVERではそのセーブだけをリセットします。
- キーは Steam ID。改名や再参加をしても、正しいプレイヤーにカウントが紐づきます。
- ショップでの死亡は常に除外: 設定ではなくMOD側で必ず除外します。
注意
- 必要な依存MODは BepInEx のみです。REPOLibなどは不要です。
- 共有カウントにはロビーのホストがMODを導入してください。表示する各クライアントも導入を推奨します。1.4.6のクライアントは、自分の死亡を所有者検証付きでホストへ直接通知します。
- 1.4.6ではトラックの表示確認を毎秒2回、参加者一覧の更新を毎秒1回とし、データや表示ページに変化があるときだけ文字を描き直します。
- オーバーレイはトラック・ロビーでのみ表示。F8または
Display / ShowOverlay設定でオン/オフできます。 - 死亡データはゲーム本体のセーブとは別ファイル(persistentDataPath 配下)に保存され、バニラのセーブ整合性には一切触れません。
動かない場合
- 見出しが出ない、または死亡後も全員が
0のままの場合は、ホストのBepInEx/plugins配下にMatsu.RepoDeathCounter.dllが実際の.dllとして置かれているか確認してください。.dll.DISABLEDや.dll.OFFにリネームされたファイルは BepInEx が意図的に読み込みません。 - 起動後の
BepInEx/LogOutput.logにREPO Death Counter 1.4.6 loaded、Patched PlayerAvatar...の2行、Patched RunManager.ResetProgress...の1行が出れば読み込み成功です。追加の依存MODは不要です。
設定
BepInEx/config/matsu.repo.deathcounter.cfg → [Display]
ShowOverlay(既定true)Corner— TopRight(既定)/ TopLeft / BottomRight / BottomLeft(表示コーナー)FontSize,TitleFontSize— 文字サイズTextColorHex,TitleColorHex— 文字色(16進RGB, 例FFFFFF)SortMode— DeathsAscending(デス少ない順で上・既定)/ DeathsDescending / NameAscending / NameDescendingShowTotal(既定true)— 全員の死亡数合計をスコアボード上部のバッジに表示HighlightSelf(既定true)— 自分の行だけ色を変えて分かりやすく表示SelfColorHex(既定FFD700, ゴールド)—HighlightSelf有効時の自分の行の色BackgroundOpacity(既定0.82、範囲0.55~0.95)— 背景の不透明度ToggleKey(既定F8)— セッション中の表示オン/オフ
バグ報告・要望
不具合報告や機能要望はこちらのフォームからお願いします: https://docs.google.com/forms/d/e/1FAIpQLSfl7f-oNiwjXjd7mUkfQoqBIhbJhQhhfV-ZmovjJVQ9orwuYQ/viewform