You are viewing a potentially older version of this package. View all versions.
sakurakites-HostReviveMod-1.7.0 icon

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.

Date uploaded a month ago
Version 1.7.0
Download link sakurakites-HostReviveMod-1.7.0.zip
Downloads 3504
Dependency string sakurakites-HostReviveMod-1.7.0

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.2403 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.2403
PEAKModding-ModConfig-1.6.0 icon
PEAKModding-ModConfig

Easily configure mods inside your game.

Preferred version: 1.6.0

README

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

  1. 安装 BepInEx-BepInExPack_PEAK。/ Install BepInEx-BepInExPack_PEAK.
  2. 推荐安装 PEAKModding-ModConfig 以使用游戏内配置界面。/ Recommended: install PEAKModding-ModConfig for in-game config UI.
  3. 将 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 / CheckpointPosition)
  • 复活 / Revive -> 启用自动倒计时复活 / Enable Auto Revive
  • 复活 / Revive -> 自动倒计时秒数 / Auto Revive Delay (Seconds)
  • 复活 / Revive -> 自动复活位置 / Auto Revive Position (OriginalPosition / CheckpointPosition)
  • 复活 / Revive -> 房主复活使用原版惩罚 / Host Revive Uses Vanilla Penalty
  • 复活 / Revive -> 启用跳舞复活 / Enable Dance Revive
  • 复活 / Revive -> 跳舞复活距离 / Dance Revive Distance
  • 复活 / Revive -> 跳舞复活时长秒数 / Dance Revive Duration (Seconds)
  • 复活 / Revive -> 跳舞判定持续秒数 / Dance Active Window (Seconds)
  • 复活 / Revive -> 跳舞即刻复活 / Instant Dance Revive
  • 复活 / Revive -> 跳舞复活使用原版惩罚 / Dance Revive Uses Vanilla Penalty
  • 界面 / UI -> 启用复活提示 / Enable Notifications
  • 界面 / UI -> 显示复活进度条 / Show Revive Progress Bar
  • 界面 / UI -> 广播复活进度提示 / Broadcast Revive Progress Message

CHANGELOG

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog: https://keepachangelog.com/en/1.1.0/

[1.7.0] - 2026-08-14

Added

  • Added configurable auto countdown revive mode with delay and revive position selection.
  • Added Enable Auto Revive, Auto Revive Delay (Seconds), and Auto Revive Position config entries.
  • Auto-revive can now revive at either the death position or the current active checkpoint/campfire position.

Changed

  • Updated plugin/package version to 1.7.0.
  • Hardened checkpoint logic to avoid stale checkpoint drift and invalid fallback to a later stage.
  • Reworked checkpoint handling to record the current lit campfire/checkpoint anchor instead of scanning stale objects each frame.

Fixed

  • Fixed the revive-to-void bug when revive position fell back to an invalid or stale scene location.
  • Fixed checkpoint revive drift caused by scanning objects across scene transitions.
  • Improved safety around startup and runtime scene checks to avoid crashing in newer PEAK builds.

[1.6.5] - 2026-08-13

Fixed

  • Fixed wrong revive placement by using the character center instead of raw transform position.
  • Improved checkpoint fallback and safe-position handling.
  • Updated manifest and README metadata to match the current build.

[1.6.1] - 2026-08-13

Changed

  • Bumped plugin/package version to 1.6.1.
  • Compatibility fixes for latest PEAK (revive RPC invocation and host detection).
  • Rebuilt target framework to net472 to match game runtime and restored revive-all behavior.

[1.5.2] - 2026-03-13

Changed

  • Bumped plugin/package version to 1.5.2.
  • Fix the bug that causes the mod function to not work properly.

[1.5.1] - 2026-03-13

Changed

[1.5.0] - 2026-03-13

Added

  • Added revive progress UI for hold-revive and dance-revive.
  • Added optional progress broadcast messages via in-game message API.
  • Added Instant Dance Revive fallback option.
  • Added revive-all position mode CheckpointPosition (revive at target checkpoint when available).
  • Added Dance Active Window (Seconds) to improve multiplayer dance detection reliability.

Changed

  • Revive-all now supports 3 modes:
    • OriginalPosition
    • HostPosition
    • CheckpointPosition
  • Revive execution switched back to RPCA_ReviveAtPosition(position, applyStatus, -1) for better consistency.

Fixed

  • Fixed hold-revive and dance-revive reliability issues reported in host-only multiplayer tests.
  • Improved dead target acquisition for hold-revive with front-cone fallback detection.

[1.4.0] - 2026-03-11

Added

  • Added separate vanilla penalty toggles for revive methods:
    • Host Revive Uses Vanilla Penalty
    • Dance Revive Uses Vanilla Penalty
  • Host can now independently control whether revive applies vanilla hunger+curse penalty for:
    • Hold-revive / revive-all
    • Dance-revive

Changed

  • Updated README config documentation with the new penalty options.
  • Bumped plugin/package versions to 1.4.0.

[1.3.0] - 2026-03-11

Added

  • Added host-side dance revive system:
    • Players can revive a downed/dead teammate by dancing near them.
    • Default settings: 5m range, 3s required dancing time.
  • Added dance revive configuration options:
    • Enable Dance Revive
    • Dance Revive Distance
    • Dance Revive Duration (Seconds)
  • Added bilingual config and notification support (ZhCn / EnUs).
  • Added revive-all position mode:
    • HostPosition (default)
    • OriginalPosition

Changed

  • Optimized dance detection logic using emote flow:
    • Hooked CharacterAnimations.RPCA_PlayRemove to record emote names.
    • Use known dance emote names (A_Scout_Emote_Dance1, A_Scout_Emote_Dance2) and emote-state checks.
  • Updated README and manifest metadata to match actual gameplay behavior.

Fixed

  • Fixed single-host/solo testing scenario by supporting optional host inclusion in revive-all.
  • Fixed outdated package description (removed old campfire auto-respawn wording).

[1.2.0] - 2026-03-09

Added

  • Added host-only hold-to-revive teammate feature.
  • Added host revive-all hotkey.
  • Added ModConfig dependency and in-game configurable options.