
DroneCombinerSpawn
关卡生成其他交互站点前,若资源点 >=1,则有 50% 几率免费生成一个无人机组合站。仅主机生效,客机无需安装。DroneCombinerSpawn
在关卡生成其他所有交互站点之前,若该关卡拥有至少 1 点资源点数,就有 50% 的几率免费生成一个无人机组合站(不消耗任何资源点),随后原版逻辑继续正常生成其余交互。
- 每个关卡最多触发一次
- 使用关卡自身的 RNG 掷骰,同一种子结果可复现
- 生成走原版同一条
DirectorCore.TrySpawnObject路径,位置规则与原版一致(PlacementMode.Random)
联机兼容
只有主机需要安装本模组,客机无需安装。 场景填充本身就是服务端逻辑,模组在 NetworkServer.active 为假时直接跳过;组合站由 NetworkServer.Spawn 正常同步给所有客机。
依赖
- Risk of Thunder - RoR2BepInExPack
- 需要安装 Seekers of the Storm DLC(无人机组合站的资产来自该 DLC)。未安装时模组会安静跳过,不会报错。
配置
BepInEx/config/com.ror2.DroneCombinerSpawn.cfg
| 键 | 默认值 | 说明 |
|---|---|---|
SpawnChance |
0.5 |
免费生成几率,0~1 |
MinCredits |
1 |
关卡至少需要多少资源点才触发;设为 0 表示总是尝试 |
安装
用 r2modman 安装,或手动把 zip 内的 BepInEx/ 解压到游戏目录。
English
Before a stage generates any of its other interactables, if the stage has at least 1 credit, there is a 50% chance to spawn a free Drone Combiner Station — it costs no credits at all. The vanilla logic then runs normally and generates everything else.
- Triggers at most once per stage
- Rolls with the stage's own RNG, so results are reproducible for a given seed
- Spawns through the exact same
DirectorCore.TrySpawnObjectpath as vanilla, with the same placement rule (PlacementMode.Random)
Multiplayer
Host-only. Clients do not need this mod. Scene population is server-side logic; the patch bails out immediately when NetworkServer.active is false, and the station is replicated to all clients via NetworkServer.Spawn.
Requirements
- Risk of Thunder - RoR2BepInExPack
- The Seekers of the Storm DLC (the Drone Combiner Station asset comes from it). Without the DLC the mod silently does nothing.
Configuration
BepInEx/config/com.ror2.DroneCombinerSpawn.cfg
| Key | Default | Description |
|---|---|---|
SpawnChance |
0.5 |
Chance to spawn for free, 0–1 |
MinCredits |
1 |
Minimum stage credits required; 0 = always try |