Dyson Sphere Program
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
4 years ago
Downloads
32K
Size
118KB
Dependency string
starfi5h-RailgunsRetargetMini-1.2.0

RailgunsRetargetMini

This is an updated version of RailgunsRetargeting as temporary replacement.
This mod will try to change targeting orbit of EM-Rail ejectors when the current one is not reachable.
Remote set orbit
In dyson editor, select an orbit and click on the icon will show a pop-up displaying the status of ejectors on the system.
When clicking "Set All", all ejectors on the system will set the target orbit to the selecting orbit.
When clicking "Unset All", all ejectors on the system will set the target orbit to none and stop firing.

Installation

Via r2modman, or manual download the file and put RailgunsRetargetMini.dll in BepInEx/plugins folder.

Configuration

Run the game one time to generate BepInEx\config\starfi5h.plugin.RailgunsRetargetMini.cfg file.
If you're using mod manager, you can find the file in Config editor.

  • ForceRetargeting - Retarget orbit for unset ejctors. (Default:false)
  • Method - Which retarget algorithm should use. Method 1 is more UPS friendly but ejectors will swing at night. (Default:1)
  • RotatePeriod - (Method1) Rotate to next enabled orbit every x ticks when unreachable. (Default:60)
  • CheckPeriod - (Method2) Check reachable orbits every x ticks. (Default:120)

电磁炮自动换轨

这个mod是RailgunsRetargeting的暂时替代品。
60个逻辑帧,会检查有子弹的电磁弹射器。如果当前轨道无法发射,会尝试寻找可用的轨道并切换。

在戴森球编辑器中,选择一个轨道并点击图标,将弹出窗口显示该星系中所有电磁炮的状态。
点击"Set All"时,星系中所有的电磁炮会将目标轨道设置为选择的轨道。
点击"Unset All"时,星系中所有的电磁炮会将目标轨道设置为无并停止发射。

设置

.cfg文件需要先运行过游戏一次才会出现,修改后要重启游戏才会生效。
管理器安装: 左边选项Config editor -> 找到starfi5h.plugin.RailgunsRetargetMini -> Edit Config
手动安装: 更改BepInEx\config\starfi5h.plugin.RailgunsRetargetMini.cfg文件

  • ForceRetargeting - 使未设置的电磁弹射器自动换轨 (默认:false)
  • Method - 使用哪种算法(1或2)。算法1比较省运算资源, 但是弹射器在晚上会一直切换轨道。(默认:1)
  • RotatePeriod - (算法1) 无法发射时,每x祯切换至下一个轨道。 (默认:60)
  • CheckPeriod - (算法2) 无法发射时,每x祯检查所有轨道是否有可发射轨道并切换。(默认:120)

Changelog

v1.2.0 (DSP 0.9.27.15033)

- Add remote ejectors orbit control.

v1.1.0 (DSP 0.9.26.13034)

- Add a new method to switch orbit.
- Add ForceRetargeting, Method, RotatePeriod config options.

v1.0.0 (DSP 0.9.26.12913)

- Initial release.


Acknowledgements

All trademarks, copyright, and resources related to Dyson Sphere Project itself, remain the property of Gamera Game and Youthcat Studio as applicable according to the license agreement distributed with Dyson Sphere Program.

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