Skip to content

SFS-Agent v0.5.0

Choose a tag to compare

@LShangPiao LShangPiao released this 18 Sep 06:50
· 10 commits to main since this release

SFS-Agent v0.5.0

补上此前读不到的三组遥测。

新增

分级状态

stageId 此前死钉在 -1 —— 原因是读的是 Staging 上的字段,
而真正的分级在 Staging.stages(List)里。现在 /state 返回:

"stages": {
  "count": 3,
  "current_index": 0,
  "current_parts": 42,
  "summary": "#0(42件) / #1(8件) / #2(3件)"
}

推进系统

Thrust / TWR 此前恒为 0。现在从 EngineModule 与 BoosterModule 读取:

"propulsion": {
  "thrust": 356.2, "twr": 1.45,
  "engines_on": 5, "engines_total": 5,
  "fuel_percent": 0.87, "rcs_fuel_percent": 1.0, "isp": 220
}
  • fuel_percent —— 当前级剩余燃料
  • rcs_fuel_percent —— RCS 推进剂余量
  • engines_on / engines_total —— 活跃发动机数

导航目标(对接用)

选中目标后返回距离与相对速度:

"target": {
  "name": "Station Core",
  "distance": 1240.5,
  "relative_speed": 32.1,
  "closing_speed": -4.2
}

closing_speed 为正表示正在接近。

已知限制

  • 各字段的实际数值随游戏版本可能不同,若某项恒为 null 说明该版本结构有变化
  • 从零手拼火箭仍不推荐,请优先用「加载蓝图」
  • 游戏内没有设置界面,配置走 http://127.0.0.1:21578/

安装

Mods\SFS-Agent\SFS-Agent.dll,然后重启游戏。

GPL-3.0 · 星河拓航Studio