Space Engineers

Space Engineers

Not enough ratings
Path Manager
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
296.592 KB
20 Sep, 2022 @ 7:12am
2 Oct, 2022 @ 5:22pm
11 Change Notes ( view )

Subscribe to download
Path Manager

Description
Introduction
This script is designed to record paths, which are then saved to a list and can be accessed anytime.
Paths can be added to Remote control, or created from current Remote control waypoints.
You can then rename them in custom data of programable block.
Paths will be stored in a blueprint.
v1.0:
Added ability to delete last recorded waypoint, you can see direction to it on the Compass (while recording is paused)
v0.99:
You can now share paths with other grids or store them in your Command Center (see more below)

I got an idea for this script when using brilliant script DAS - Driver Assisting System
https://steamproxy.net/sharedfiles/filedetails/?id=1089115113
It will be also cornerstone for my next autopilot script.

LCD Interface
To set up displays for the LCD interface add "PathManager" to its name.
You will only need three basic arguments to control the script:
"Up"
"Apply"
"Down"
I recommend to add these to the hotbar.

Antenna Communication
You can now set up a Command Center, where you can store your paths.
For that check Config section in Custom Data. There you will find these settings:
  • "Vehicle" - set to true if you want to record or otherwise use paths with this grid. Otherwise set to false
  • "Command Center" - set to true if you want to store paths on this grid. Otherwise set to false.
CC will automatically recieve paths sent from other grids.
To store paths in a Command Center use argument "Send Paths" in your vehicle.
To retrive paths from a CC use argument "Retrieve Paths" in your vehicle

If you don't want a Command Center, then you can still share paths with other grids:
  • Sharing grid - use argument: "Send Paths"
  • Recieving grid - use argument: "Recieve Paths"

All Commands
  • "Initialize" - searches for new blocks used by this script. (LCDs, Cockpits, Remote control)
  • "Rename Paths" - renames paths (check Custom Data). Can also delete paths if you put "DELETE" to a "rename" field of unwanted path
  • LCD Interface:
    • "Up" - cursor Up
    • "Down" - cursor Down
    • "Apply" - selects highlighted item
  • Antenna communication:
    • "Send Paths" - sends current path list through antenna. If you have a CC in range of antenna, then it will save your paths there.
    • "Retrieve Paths" - If there is a Command Center in antenna range then it will send you its stored path list.
    • "Recieve Paths" - Recieves paths from other vehicles (if they send some). Only use it if you dont have a CC.
  • Recording:
    • "Record Start" - starts path recording
    • "Record End" - stops recording and saves path
    • "Record Pause" - pauses recording
    • "Record Continue" - continues recording
  • Remote Control:
    • "Reverse Waypoints" - reverses current waypoints in Remote control
    • "Clear Waypoints" - deletes all waypoints from Remote control

Known issues
  • Not optimized for:
    • Fighter Cockpit display 0
    • Helm display 0
    • Large Grid corner LCD panels

To be added features
  • More remote control actions
  • Control drones from Command Center.

Patch notes
v1.0:
  • added ability to delete last waypoint while recording is paused (down to first waypoint)
  • you can now see the position of last waypoint on the Compass inspired by the Elite Dangerous one. It's really simple navigation tool:
    • If the smaller circle is Solid, then the waypoint is in front of you.
    • If the smaller circle is Hollow, then the waypoint is behind you.
    • If the smaller circle is in the middle of larger circle, then the last waypoint is right ahead of you/behind you.
v0.99
  • Antenna communications - share paths with other grids.
  • added Command Center role
  • you can now also delete paths in Custom Data. Simply write "DELETE" to a "rename" field of unwanted path.
  • new commands
Popular Discussions View All (1)
0
24 Sep, 2022 @ 6:10am
Bugs / Issues
Djarin
19 Comments
ErickXavier 🏍 27 Aug, 2023 @ 4:58pm 
Why don't you open source it so we can all work together? :)
Djarin  [author] 16 Aug, 2023 @ 10:13am 
@ErickXavier
Yes, that is the planned feature. I plan to rework the script from ground up. Unfortunately I don't have much time right now. Maybe in the winter ;)
ErickXavier 🏍 14 Aug, 2023 @ 7:58pm 
Question: do you plan on making secondary modules to use this script?

Like a Miner module, that installed on a secondary PB would use this to navigate through multiple paths to mine the locations...?
Djarin  [author] 25 Nov, 2022 @ 5:22am 
@theRejected7
That's a great idea. I'm currently waiting for the update, because they will be adding new AI blocks to the game. There should be a follow mode, but I don't know if this will work on rovers. I guess we can only wait and see.
Djarin  [author] 25 Nov, 2022 @ 5:22am 
@Spite
Thanks for the support!
WindUpHero7 19 Nov, 2022 @ 5:05am 
This may be slightly out of scope of this script, but you seem to have all the functions to do it: A "convoy" or "follow" mode would be awesome. I'm imagining one vehicle running in "leader mode" where it constantly updates its location to a GPS and sends that GPS to vehicles running in "follow mode". Followers add a (configurable?) offset to this GPS, then replace their remote block's waypoint with the updated one.

Hopefully in conjunction with DAS Autopilot in Cycle Mode, vehicles can constantly remain in motion towards the new waypoint.
Spite 15 Nov, 2022 @ 2:56am 
This Script is great! especially in combination with Tada's Rover Autopilot
pleymobibope 2 Nov, 2022 @ 11:23pm 
Great, this is one of my favorite scripts. take your time we will be patient. thank you for improving the game AND GOOD LUCK:steamhappy:
Djarin  [author] 2 Nov, 2022 @ 3:59am 
@pleymobibope
I'm working on the autopilot script, similar to PAM, but it will take some time, which I don't have much now. I'll be adding patrol mode as requested.
Thank you for your idea.
pleymobibope 26 Oct, 2022 @ 2:17am 
hello, I am looking to create intelligent patrollers like PAM auto miner, I would like it to dock when there is no more energy, Hydrogen and that it records the progress of my patrol.
Thank you for everything Peace