R.E.P.O.
Install with App

Details

Latest version
0.1.0
Last Updated
First Uploaded
Downloads
4K
Likes
0
Size
13KB
Dependants

ReviveZones 复活区域

仅房主 / HOST ONLY — 客户端不需要安装,只有房主装就生效。主机安装即可让房间内所有玩家享受复活效果。 Host-only. Clients don't need this mod. The host's copy drives revival for everyone in the room via the game's own networking.

死亡头颅只要落入以下任意一个区域就立刻复活,无需等待: Drop a death head into any of these zones to revive instantly — no timers, no waiting:

区域 Zone 中文 English
提交点 Extraction Point 死亡头颅进入提交点范围就立刻复活 Revive as soon as the head enters an extraction point
出生点卡车 Spawn Truck 死亡头颅进入出生点卡车就立刻复活,不用等所有提交点完成 Revive in the spawn truck, no need to clear all extraction points
推车 Push Cart 死亡头颅放进推车里就立刻复活 Drop the head in any push cart to revive

复活后血量可调(默认 50),三个区域各有独立开关。 Revive HP is configurable (default 50), with an independent toggle per zone.


配置 / Config

配置文件位于 BepInEx/config/com.yanyan.repo.revivezones.cfg,支持 REPOConfig 游戏内修改,支持中英实时切换。 Config file: BepInEx/config/com.yanyan.repo.revivezones.cfg. In-game editing via REPOConfig is supported, with live zh/en switching.

配置项 Setting 默认 Default 中文 English
Language / 语言 zh 界面语言 zh / en UI language zh / en
Enabled / 启用 true 总开关,只有房主设置有效 Master switch; only host's setting applies
Revive HP / 复活血量 50 复活后的血量,超过上限按上限算 HP after revive, capped by max HP
Extraction / 提交点内复活 true 进提交点即复活 Revive on entering extraction point
Spawn Truck / 出生点卡车内复活 true 进卡车即复活 Revive on entering spawn truck
Cart / 推车内复活 true 进推车即复活 Revive when placed in any cart

兼容性 / Compatibility

  • 兼容 HostManager / HostToolkit / RepoCheat。
  • 仅房主安装,客户端不用装。房主通过游戏自带的 Photon RPC 让所有客户端同步复活。
  • 多人与单机均支持。
  • Compatible with HostManager / HostToolkit / RepoCheat. Host-only install; clients sync via the game's own Photon RPC. Works in multiplayer and singleplayer.

工作原理 / How it works

房主每帧检测死亡头颅位置,命中区域后调用 PlayerAvatar.Revive()。该函数内部通过 photonView.RPC("ReviveRPC", RpcTarget.All, ...) 广播给所有客户端,所以即使其他玩家没装本模组,也会看到自己的角色复活。复活默认只有 1 血,模组在复活落地后通过 PlayerHealth.HealOther 补到设定血量。 The host checks death-head positions every frame. On a zone hit it calls PlayerAvatar.Revive(), which broadcasts ReviveRPC to all clients over Photon — so even players without the mod see themselves revived. Vanilla revive gives 1 HP; this mod tops it up via PlayerHealth.HealOther once the player is alive.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.