TradeForRevive

版本 v1.1.0·更新於 2026-04-24

【Host Only MOD】Trade held battery items or health packs to revive dead players.持っているバッテリー付きアイテムやヘルスパックを引き換えに死亡プレイヤーを蘇生するMOD

模組介紹 作者原文

TradeForRevive

This mod is lets players revive dead teammates by trading a held battery-powered item or health pack to a death head.

Overview

When a player is dead and their death head is on the map, another player can hold a valid item against that death head for 2 seconds to perform a revive trade.

Valid trade items:

  • Battery-powered items
  • Health packs
  • Used health packs, if enabled in the config

Trade rules:

  • Only items currently being held by a player can be used
  • Simply dropped items will not activate the revive
  • The item must stay in contact for 2 seconds
  • If contact is broken, progress resets
  • One item can only revive one dead player
  • If one item touches multiple death heads at the same time, only one revive can be completed
  • The traded item is removed from the world
  • The traded item is removed from the purchased-item state when applicable
  • Used health packs are vanished directly instead of using the normal break effect path

Revive HP rules:

  • Battery item:
  • 0% battery = revive with 1 HP
  • 50% battery = revive with 50% of max HP
  • 100% battery = revive with 100% of max HP
  • Health pack:
  • Small = revive with 25 HP
  • Medium = revive with 50 HP
  • Large = revive with 100 HP
  • Used health pack:
  • Revive with 1 HP

Examples:

  • Battery 0%:
  • 1/100 HP
  • 1/200 HP
  • Battery 50%:
  • 50/100 HP
  • 100/200 HP
  • Battery 100%:
  • 100/100 HP
  • 200/200 HP
  • Small health pack:
  • 25/100 HP
  • 25/200 HP
  • Medium health pack:
  • 50/100 HP
  • 50/200 HP
  • Large health pack:
  • 100/100 HP
  • 100/200 HP
  • Used health pack:
  • 1/100 HP
  • 1/200 HP

Config

EnableMod

  • Default: true
  • Enables or disables the mod

DetectRadius

  • Default: 0.65
  • Detection radius around each death head for valid trade items

TouchHoldSeconds

  • Default: 2.0
  • Required continuous contact time before the trade and revive are executed

ScanInterval

  • Default: 0.10
  • Interval in seconds for scanning nearby valid items

HeadCooldownSeconds

  • Default: 0.50
  • Cooldown after one revive trade before the same death head can be processed again

RequirePurchasedItem

  • Default: true
  • Only allows purchased items to be used as trade items
  • Used health packs can still be allowed separately with AllowUsedHealthPacks

AllowBatteryItems

  • Default: true
  • Allows battery-powered items to be used for revive trades

AllowHealthPacks

  • Default: true
  • Allows health packs to be used for revive trades

AllowUsedHealthPacks

  • Default: true
  • Allows used health packs to revive with 1 HP

AllowZeroBatteryRevive

  • Default: true
  • Allows battery items with zero battery to still revive with 1 HP

ConsumeItem

  • Default: true
  • Removes the traded item from the world and purchased-item tracking

DestroyWithEffects

  • Default: true
  • Uses effect-heavy destruction when removing normal traded items
  • Used health packs are vanished directly even when this is enabled

DebugLog

  • Default: false
  • Outputs debug logs for detection, hold progress, and revive execution

Notes

  • Designed for host-side authority
  • Revive is only completed after the full hold duration
  • Battery items revive based on current battery percentage
  • Health packs revive with fixed HP values that do not scale with max HP
  • Used health packs revive with 1 HP
  • One traded item is locked to one revive to prevent multiple simultaneous revives from a single item

Installation

  • Install BepInEx 5 for REPO
  • Place TradeForRevive.dll in the BepInEx/plugins folder
  • Start the game as the host

Compatibility

This mod is intended as a host-only gameplay mod.

Clients do not need to install it for the host-side revive trade logic to run.

※Mod created by AI

TradeForRevive

このMODは、持っているバッテリー付きアイテムやヘルスパックをデスヘッドに引き換えて死亡プレイヤーを蘇生するMODです。

REPOが好きな日本人のための日本人のみのREPOのDiscordサーバーあります!

參加は以下のリンクから!

概要

プレイヤーが死亡してデスヘッドが出ているとき、別のプレイヤーが有効なアイテムをそのデスヘッドに2秒間當て続けると、トレードで蘇生できます。

使用可能な引き換えアイテム:

  • バッテリー付きアイテム
  • ヘルスパック
  • Configで許可されている場合の使用済みヘルスパック

トレード條件:

  • 誰かが手に持っているアイテムのみ使用可能
  • 地面に落ちているだけのアイテムでは発動しない
  • 2秒間連続で觸れ続ける必要が

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
TradeForRevive-1.1.0.zip
檔案大小
66.2 KiB