You are viewing a potentially older version of this package. View all versions.
XiaohaiMod-CampfireRespawn-1.0.9 icon

CampfireRespawn

Automatically revives all player at the campfire when team wiped out

Date uploaded 2 weeks ago
Version 1.0.9
Download link XiaohaiMod-CampfireRespawn-1.0.9.zip
Downloads 9143
Dependency string XiaohaiMod-CampfireRespawn-1.0.9

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

README

MOD: Campfire Respawn

Introduction / 简介

Automatically revives all players at the campfire when all players are dead/unconscious
在团灭时,自动让你们在篝火处复活


Features / 功能

1. Campfire Activation Recording / 篝火激活记录

  • Automatically records campfire location, player items, fog and lava positions when activating a campfire
    当队伍激活篝火时,自动记录篝火位置、玩家物品、毒雾和岩浆位置
  • Clears player negative status effects when near campfire(configurable)*
    靠近篝火时清除玩家负面状态效果(可配置)
  • Records item states at campfire or death (configurable)
    在篝火处或死亡时记录物品状态(可配置)

2. Auto-Revive Mechanism / 自动复活机制

  • Automatically revives all players at the last activated campfire when all players are dead/unconscious
    当所有玩家都处于死亡/昏迷状态时,自动在最近激活的篝火处复活所有玩家

3. Intelligent Item Recovery / 智能物品恢复

  • Recorded items respawn directly in player inventory
    被记录的物品直接重生在玩家物品栏中
  • Configurable respawn chance per item
    可配置每件物品的重生概率
  • Clears previous item remains after respawn
    重生后自动清除遗留物品

4. Environment Reset / 环境重置

  • Fog and lava positions reset to recorded locations
    毒雾和岩浆位置重置到记录点
  • Prevents respawning in hazardous areas
    避免在危险区域复活

5. Flexible Options / 灵活选项

  • Host can press HOTKEY to manually trigger revival
    房主可按热键手动触发复活
  • Choose when to record items: at campfire or death
    自由选择物品记录时机:篝火处或死亡时
  • Special handling for Shore level campfires : records items after host moves 100m from starting campfire 海岸关卡篝火特殊处理 :当房主距离初始篝火100米以外时,进行初次物品记录.

Configuration Options / 配置选项

配置项 默认值 说明
CampfireClearStatus false 是否在篝火处清除玩家负面状态效果(如中毒、流血等)
If enabled, campfire will clear all negative player status effects (e.g., curses, poison)
ReviveAddCurse false 是否在复活时增加诅咒值
If enabled, player will add Curse upon respawning
RespawnHotkey F11 强制复活热键
Keybind to force trigger a respawn
RespawnMaxTimes 99 最大复活次数
Maximum number of times the player is allowed to respawn
recordItemsAtCampfire true 物品记录触发时机:true=篝火处记录,false=死亡时记录
If TRUE: Item recording triggers at campfire. If FALSE: Item recording triggers upon player death
RespawnItemChance 88 物品重生概率(0-100%)
Percentage chance for each item to respawn when player revives (0-100)

Installation / 安装

  • Extract to GameDirectory/BepinEx/plugins
    解压到 游戏目录/BepinEx/plugins即可

ChangeLog / 更新日志

1.0.9

  • When reviving in the Kiln level, not only is the lava height reset, but the timer is also reset, making the next lava rise require waiting another 180 seconds.

    在熔炉关卡复活时,不仅会重置岩浆高度,还会重置计时器,使下次岩浆升起重新需要等待180秒.

  • The bonfire location search has been removed and replaced with the game's built-in MapHandler.Instance.respawnThePeak.position, improving performance. It also prevents players from getting their butt burned by the bonfire after reviving, lol.

    取消了篝火的位置搜寻,改用游戏自带的MapHandler.Instance.respawnThePeak.position,提升了性能.也避免复活后被篝火烧屁屁,哈哈!

1.0.8

1.0.7

  • Added lava position reset to prevent respawning in lava
    新增岩浆位置重置功能,避免复活在岩浆中
  • Added "Record items on death" option (recordItemsAtCampfire config)
    新增"在死亡时记录物品"选项(recordItemsAtCampfire 配置项)
  • Items now retain their recorded state (e.g., ItemUses ) when respawned
    新增物品状态记录功能(如已使用量等)
  • Optimized item respawn logic - items now appear directly in inventory
    优化物品重生逻辑,物品直接出现在物品栏
  • Added special handling for Shore level: records items after host moves 50m from starting campfire
    新增海岸关卡特殊处理:房主距离初始篝火50米后记录物品
  • Added automatic cleanup of previous item remains after respawn
    新增重生后自动清除遗留物品功能
  • Fixed occasional double respawn trigger bug
    修复偶尔触发两次复活的BUG
  • Attempted fix for campfire status clear occasionally failing
    尝试修复篝火状态清除偶尔失效的问题

1.0.6

  • The remaining revival count UI will display after each value change, and automatically hides after 10 seconds
    剩余复活次数UI会在数值变化后显示,10秒后自动隐藏

1.0.5

1.0.4

  • Added maximum revival limit (configurable)
    增加最大复活次数限制(可配置)
  • Added UI display for remaining revives
    增加剩余复活次数UI显示
  • Added campfire revival support for the "Shore" level
    增加海岸关卡复活支持
  • Known bug: Small chance of respawning in an out-of-bounds area
    已知BUG:小概率复活到空气墙区域

1.0.3

  • Added configurable hotkey for manual revival
    增加手动复活快捷键配置
  • Fixed performance stutter caused by excessive status clearing
    修复状态清除导致的卡顿
  • Unconscious players now revive at full health
    昏迷玩家满血复活

1.0.2

  • Fixed bug triggering respawn when any player dies
    修复任意玩家死亡触发复活的BUG

Author / 作者