Space Engineers

Space Engineers

评价数不足
Pathfinder Navigation
   
奖励
收藏
已收藏
取消收藏
标签: autopilot
文件大小
发表于
更新日期
313.371 KB
11 月 13 日 下午 12:43
11 月 24 日 上午 1:06
3 项改动说明 ( 查看 )

订阅以下载
Pathfinder Navigation

描述
PathfinderNavigation – Control Script

Programmable block script that issues commands to the Pathfinder mod and triggers callbacks to linked programmable blocks.

Requirements
  • Functional IMyRemoteControl on the same grid
  • Pathfinder mod installed
  • 6-directional thrusters (forward, backward, left, right, up, down)

Quick Start
Make sure Pathfinder mod is enabled
Set PathfinderNavigation script in programmable block
Run it with argument: start GPSName (where GPSName is the name, not coordinate of GPS. Also accepts cubegrid names that have a beacon)
Example: start Iron

Commands
  • start – Begin pathfinding to current destination (set via Pathfinder mod terminal)
  • start GPS:Name:X:Y:Z: – Start pathfinding to GPS coordinates
  • start GPSName – Start pathfinding to GPS name (searches GPS list and beacons)
  • start GPSName|PBName – Start pathfinding and link callback PB (pipe separator)
  • start GPS:Name:X:Y:Z:|PBName – Start with coordinates and link callback PB
  • stop – Stop pathfinding

Callbacks
Sent to linked programmable block:
  • pf_start – Pathfinding started
  • pf_stop – Pathfinding stopped
  • pf_nopath – No path found

Notes
  • GPS names match beacons by grid name (e.g., "MyGrid" matches "MyGrid - BeaconName")
  • Use pipe | to link a programmable block for callbacks
  • Callback PB name is matched case-insensitively

Links