TradeForRevive
【Host Only MOD】Trade held battery items or health packs to revive dead players.hold the っているバッテリーpaid きアイテムやヘルスパックを citedきchange えに死プレイヤーを生生する MOD
About this mod Machine translation
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は、holdっているバッテリーFUきアイテムやヘルスパックをデスヘッドにinducingきchangeえて死プレイヤーを苏生するMODです.
REPOが好きな日本人のための日本人のみのREPOのDiscordサーバーあります!
Participate in the following のリンクから!
summary
プレイヤーが死してデスヘッドが出ているとき、不のプレイヤーがeffectiveなアイテムをそのデスヘッドにWhen て続けると, トレードで苏生できます.
Possible uses include:
- バッテリーFUきアイテム
- ヘルスパック
- Config is allowed to be used in certain situations
トレード conditions: …
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: