ForcedFriendship
Take damage over time when you're not within a configurable distance of another player; the farther away you are, the faster the damage ticks.
模組介紹 作者原文
ForcedFriendship
A R.E.P.O. mod that punishes wandering off alone. If you aren't within a configurable distance of another player, you start taking damage over time — and the farther away you are, the faster the damage ticks. Stick together. Choose whether your lifeline is the nearest player or the nearest cart, and a colored tether beam shows you how safe you are at a glance.
Configuration
Config file: BepInEx/config/darkharasho.ForcedFriendship.cfg. All numeric settings are whole numbers.
| Key | Section | Default | Meaning |
|-----|---------|---------|---------|
| Enabled | General | true | Master on/off switch |
| AnchorMode | General | Buddy | Buddy = stay near the nearest living player; Cart = stay near the nearest hauling cart |
| SafeDistance | General | 20 | Units within which your anchor keeps you safe (1–100) |
| BandWidth | General | 8 | Units per additional damage band beyond the safe radius (1–100) |
| DamagePerBand | General | 5 | HP per tick, multiplied by the band number (1–100) |
| TickInterval | General | 2 | Seconds between damage evaluations (1–30) |
| IncludeHeight | General | false | If true, vertical distance counts; default false so different floors of one tall room stay safe |
| GracePeriod | General | 30 | Seconds of safety after leaving the truck before damage can start (0–60; 0 disables) |
| Enabled | Beams | true | Draw a tether beam from each player to their anchor |
| ShowAllPlayers | Beams | true | Show every player's beam; if false, only your own |
| AlwaysShow | Beams | true | Always draw the tether; if false, the beam hides while safe and only appears in the warn/danger zone |
| WarnPercent | Beams | 25 | Outer % of SafeDistance where the beam turns yellow before red (0–100; 0 disables yellow) |
| Width | Beams | 2 | Tether thickness (1–20; 1 = thinnest, approximates the grab beam) |
| Opacity | Beams | 40 | Beam opacity % (1–100; lower is more translucent) |
| Colorblind | Beams | false | Colorblind-friendly palette (blue/yellow/red) instead of green/yellow/red — local to you |
| StatusIndicator | Beams | false | Subtle screen-edge border tinted by your current safety color — local to you |
The gameplay rule (Enabled, AnchorMode, SafeDistance, BandWidth, DamagePerBand,
TickInterval) is taken from the host and synced to everyone, so each client's beams match
the host-authoritative damage. Beam display prefs (Beams/*) are local to each client.
A tether is always drawn to your anchor — your nearest buddy in Buddy mode, your nearest cart
in Cart mode — and its color tells you how safe you are (green safe, yellow approaching the
edge, red taking damage). Standing in the extraction truck is a safe zone: no damage, and
the beam stays green. The mod is active during level gameplay only (not the shop or lobby), and
dead players are never damaged.
Dependencies
- BepInExPack
Installation
Install Mod Manager / r2modman, or manually place ForcedFriendship.dll in BepInEx/plugins/ForcedFriendship.
Building
GAME_DIR="/path/to/REPO"./package.sh
Builds the DLL and produces a -ready zip. Install the zip via r2modman.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: