HostReviveMod
Host-side revive toolkit: hold revive, dance revive, revive-all position modes, auto countdown revive, checkpoint-safe revive fix for void/fallback bugs, and progress indicators.
模組介紹 作者原文
HostReviveMod
By sakurakite
Version: 1.7.0
1.7.0更新:新增自動倒計時復活,修復若干復活位置錯誤或卡虛空問題,修復大更新後若干不生效問題。請下載最新版1.7.0.
Update 1.7.0: Added automatic countdown revival, fixed several revival location errors or void glitches, and fixed some issues not working after the big update. Please download the latest version 1.7.0.
簡介 / Overview
- 僅房主需要安裝 / Host only: 只有房主需要安裝本模組;房客可不裝。/ Only the host needs to install this mod; clients can play without it.
- 長按復活隊友 / Hold-to-revive teammate: 對準倒地隊友並長按按鍵(默認 G,默認 5 秒)即可復活。/ Aim at a downed teammate and hold the key (default G, default 5 seconds) to revive.
- 全體復活 / Revive all: 房主可按一鍵(默認 Y)復活所有倒地隊友。/ Host can press one key (default Y) to revive all downed teammates.
- 自動倒計時復活 / Auto countdown revive: 可配置倒計時,倒地隊友會在超時後自動復活;位置可選“死亡原位”或“當前篝火/存檔點”。/ Configurable auto-revive countdown; downed teammates can auto-revive after a delay, using either death position or the current checkpoint/campfire position.
- 跳舞復活 / Dance revive: 玩家在倒地隊友附近跳舞達到時長後可復活隊友(默認 5 米、3 秒)。/ Players can revive nearby downed teammates by dancing near them for a duration (default 5m, 3s).
- 復活位置可選 / Revive position mode: 全體復活可選“原地復活 / 房主位置復活 / 存檔點復活”;自動復活可選“死亡原位 / 存檔點”。/ Revive-all supports original position / host position / checkpoint position; auto-revive supports death position or checkpoint position.
- 中英提示切換 / Bilingual notifications: 運行時提示可在中文與英文之間切換。/ Runtime notifications can switch between Chinese and English.
功能 / Features
- 房主單端生效,房客不需要安裝。/ Host-side only; clients do not need the mod installed.
- 長按復活隊友(默認按鍵 G,默認時長 5 秒)。/ Hold-to-revive teammate (default key G, default duration 5 seconds).
- 一鍵全體復活(默認按鍵 Y)。/ One-key revive-all (default key Y).
- 跳舞復活:在倒地隊友附近使用遊戲表情輪盤中的跳舞動作,持續達到設定時長後復活目標(默認 5 米、3 秒)。/ Dance revive: use a dance emote near a downed teammate to revive after the configured duration (default 5m, 3s).
- 全體復活位置模式:OriginalPosition(原地)/ HostPosition(房主位置,默認)/ CheckpointPosition(存檔點)。/ Revive-all position mode: OriginalPosition / HostPosition (default) / CheckpointPosition.
- 可選“全體復活包含房主”(便於單人測試)。/ Optional “include host in revive-all” (useful for solo testing).
- 可配置“自動倒計時復活”開關、延遲秒數,以及復活位置(死亡原位 / 當前篝火/存檔點)。/ Configurable auto-revive toggle, delay seconds, and revive location (death position or current checkpoint/campfire position).
- 可開關“啓用跳舞復活”。/ Toggleable “Enable Dance Revive” option.
- 可開關“跳舞即刻復活”(檢測到附近跳舞就立即復活)。/ Optional “Instant Dance Revive” mode.
- 可分別設置“房主復活懲罰”和“跳舞復活懲罰”(原版飢餓+詛咒)。/ Separate toggles for vanilla penalty on host revive and dance revive (hunger + curse).
- 顯示覆活進度條(長按與跳舞)並可嘗試廣播進度提示到遊戲消息。/ Shows revive progress bars and can broadcast progress messages through game chat/UI.
- 復活提示:你復活了誰、誰復活了你、房主復活了所有人。/ Notifications include who you revived, who revived you, and host revive-all event.
- 提示語言支持中文/英文切換。/ Notification language supports Chinese/English toggle.
兼容性 / Compatibility
- 房客不裝本模組也可以被房主復活(通過網絡 RPC 同步)。/ Clients without this mod can still be revived by host (via network RPC).
- 不裝本模組的房客無法使用本模組快捷鍵。/ Clients without this mod cannot use this mod's hotkeys.
- 房客不裝本模組也可以通過遊戲原生跳舞動作參與“跳舞復活”(由房主端判定並執行復活)。/ Clients without this mod can still participate in dance-revive using vanilla dance emotes (host performs validation and revive).
安裝 / Install
- 安裝 BepInEx-BepInExPack_PEAK。/ Install BepInEx-BepInExPack_PEAK.
- 推薦安裝 PEAKModding-ModConfig 以使用遊戲內配置界面。/ Recommended: install PEAKModding-ModConfig for in-game config UI.
- 將 DLL 放入 BepInEx/plugins/。/ Put the DLL into BepInEx/plugins.
配置 / Config
首次啓動後會生成配置文件。/ Config file is generated after first launch.
BepInEx/config/com.sakurakite.revivemod.cfg
主要配置項(ModConfig 內可調)/ Main options (editable in ModConfig):
- 界面 / UI -> 語言 / Language (ZhCn / EnUs)
- 輸入 / Input -> 長按復活按鍵 / Hold Revive Key
- 輸入 / Input -> 全體復活按鍵 / Revive All Key
- 復活 / Revive -> 長按時長秒數 / Hold Duration (Seconds)
- 復活 / Revive -> 復活檢測距離 / Revive Distance
- 復活 / Revive -> 全體復活包含房主 / Include Host In Revive All
- 復活 / Revive -> 全體復活位置 / Revive All Position (OriginalPosition / HostPosition / Checkpoint
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: