Space Engineers

Space Engineers

166 hodnocení
Formation System - Leader
2
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Velikost souboru
Přidáno
Aktualizováno
16.369 KB
19. říj. 2018 v 14.55
21. pro. 2019 v 18.50
Poznámky ke změnám (8) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Formation System - Leader

Popis
Note: This project has been abandoned and will no longer receive updates.

This is the leader script for my formation system. These scripts together allow you to set a ship to follow another in a specific position relative to the leader.

For best performance, the follower ships should have the same or more maneuverability than the leader ship.

Requirements
A remote control block on both the follower ship and the leader ship that points forward.
A radio antenna on both the follower ship and the leader ship.
Thrusters in all directions and enough fuel/power for all the thrusters.
Read the settings in the scripts.

Commands
Commands can be run in the follower script argument box or you can transmit a command to the system by using the leader script argument box.
<id> - Replace this with the follower id that you want to transmit to, no brackets are required in the command. You can leave this blank to transmit to all followers, or use the id of a specific follower.
  • <id>:setoffset;x;y;z - sets the offset variable to this value
  • <id>:addoffset;x;y;z - adds these values to the current offset
  • <id>:stop - stops the script and releases control to you
  • <id>:start - starts the script after a stop command
  • <id>:starthere - starts the script and sets the offset to the current position.
  • <id>:reset - resets the offset and the default configuration to the default offset.
  • <id>:clear - forces the script to forget a previous leader when calculateMissingTicks is true
  • <id>:save(;name) - saves the offset to the specified configuration.
  • <id>:savehere(;name) - saves the current position to the specified configuration.
  • <id>:load;name - loads the offset from the configuration

  • scan - scans forward using cameras to set which ship is the leader ship
  • find;name - scans the sensors using ship name to set which ship is the leader ship (Requires the target ship to be an ally)
  • stop - stops the script from broadcasting leader data
  • start - resumes broadcasting data after a stop command
  • reset - sets the leader ship to be the current ship (if allowFollowSelf is enabled)

Follower Scripts
Flight Follower
Rover Follower


Source Code
https://github.com/austinvaness/FormationSystem/tree/master/FormationFlightLeader
Počet komentářů: 107
Pancracio 5. bře. v 12.13 
The script works, but only works with normal wheels, not others like "Offroad wheel"...I can set positions like in the video tutorial. I didn't try the remote position switch formation yet.
raven_white 20. bře. 2023 v 12.10 
how to use start stop command with id
Boy17000 18. úno. 2023 v 7.53 
How to get a ships ID?
Lit Fuse 168 16. úno. 2023 v 16.25 
anyone tried this script to see if it still works?
\
Eclipse 6. říj. 2022 v 10.11 
Any chance someone has a version of this script with no raycasting? I'm playing on a server that disallows it and the server shuts down the script as a result. I'm not using the raycasting but it being in the code flags the server.
Cigarette 3. zář. 2022 v 3.29 
Script is broken, or at least the Flight follower one is.
Gat 30. čvn. 2022 v 17.56 
I love this script it make people cope
Gat 30. čvn. 2022 v 17.56 
Celtic, Hell yeah it will
Celtic Cosmic Owl 28. kvě. 2022 v 10.28 
will this work in large grids?
Gat 6. kvě. 2022 v 11.16 
Used this scrip to build a huge maro inaros fleet and dropped my cords. the factions that tried to raid didnt stand a chance lol good job. a few r using this on skunkworks now