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 0 before 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 / ShowOverlay config 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 0 after a death, confirm that the host has
Matsu.RepoDeathCounter.dll as an actual.dll under BepInEx/plugins. Files renamed to.dll.DISABLED or.dll.OFF are intentionally ignored by BepInEx.
- After launching, BepInEx/LogOutput.log should contain REPO Death Counter 1.4.6 loaded, two
Patched PlayerAvatar... lines, and one Patched RunManager.ResetProgress... line. No extra
dependency is required.
Config
BepInEx/config/matsu.repo.deathcounter.cfg → [Display]
- ShowOverlay (default true)
- Corner — TopRight (default) / TopLeft / BottomRight / BottomLeft
- FontSize, TitleFontSize — text sizes
- TextColorHex, TitleColorHex — hex RGB colors (e.g. FFFFFF)
- SortMode — DeathsAscending (fewest on top, default) / DeathsDescending / NameAscending / NameDescending
- ShowTotal (default true) — shows a total-deaths badge in the scoreboard header
- HighlightSelf (default true) — draws your own row in a different color
- SelfColorHex (default FFD700, gold) — your row's color when HighlightSelf is on
- BackgroundOpacity (default 0.82, clamped to 0.55–0.95)
- ToggleKey (default F8) — show/hide the overlay for the current session
Bug reports & requests
Found a bug or have a feature request? Please use this form:
REPO Death Counter(日本語)
R.E.P.O. 用の、プレイヤーごとの「死亡回數カウンター」。レベル間のトラック內に表示されます。
特徴
- 各プレイヤーの死亡回數を、トラック・ロビーの右上に一覧表示します。
- 現在參加中のプレイヤーは、まだ死んでいなくても 0 と表示します。退出者のセーブ済み死亡數は殘ります。
- ホスト権威&同期: ホストが全員の死亡を集計し、全クライアントへ配信。全員がリアルタイムで同じ數字を見られます。
- 途中參加対応: ラン途中で參加した人(LateJoinNow など)にも、現在の
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: