Medic
Revive dead teammates — or yourself — by pressing R in R.E.P.O.
模組介紹 作者原文
Medic
A BepInEx mod for R.E.P.O. that lets you revive dead players — including yourself — by pressing a key.
What This Mod Does
Walk up to a dead teammate and press R to revive them with full health. Works for both host and non-host players — anyone with the mod can be a medic.
How It Works
- A teammate dies
- Walk within range (default: 3 meters)
- Press R
- They're back with 100 HP
There's a cooldown between revives to prevent spam (default: 5 seconds).
Self Revive
Dead and spectating? Press the revive key (default R) to bring yourself back up, on a separate cooldown. Turn it off in the config if you'd rather revives always require a teammate.
Configuration
Settings are in BepInEx/config/headclef.Medic.cfg or in the in-game mod config menu.
[Revive]
| Key | Default | Range | Description |
|-----|---------|-------|-------------|
| Revive Key | R | — | Key to press to revive (also used for self-revive) |
| Revive Range | 3 | 1–15 | Max distance to dead player (meters) |
| Revive Cooldown | 5 | 0–60 | Seconds between revive attempts |
| Revive Health | 100 | 1–200 | HP the revived player starts with |
[Self Revive]
| Key | Default | Range | Description |
|-----|---------|-------|-------------|
| Enabled | true | — | Allow self-reviving while dead by pressing the revive key |
| Self Revive Cooldown | 10 | 0–120 | Seconds between self-revive attempts |
| Self Revive Health | 50 | 1–200 | HP you start with after self-reviving |
Requirements
- BepInEx 5.x installed for R.E.P.O.
Installation
- Install (recommended).
- Or manually: place Medic.dll into your BepInEx/plugins folder.
- Launch the game — config file is generated on first run.
Multiplayer
- Any player with the mod can revive dead teammates — host or client.
- The revive uses the game's built-in revive system for proper network sync.
Development
Project Structure
├── Medic.cs # Plugin entry point & config
├── Patches/
│ └── RevivePatch.cs # Harmony patches — revive & self-revive logic
└── README.md
Building
dotnet build
License
This project is licensed under the MIT License — see the LICENSE file for details.
These mods (all) generated by using AI tools. If there's anything wrong use to give a feedback, I use there more than.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: