Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Ship Autopilot
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Sea
Tags: v1.4.6
File Size
Posted
Updated
28.733 KB
19 Jun, 2019 @ 5:57am
7 Feb, 2022 @ 4:08pm
4 Change Notes ( view )

Subscribe to download
Ship Autopilot

Description
An autopilot specifically for ships.

Includes a slider to select turn softness. (max turn)

If coordinates are set to X0 Y0, it will use rotation instead even if rotation is also 0. Therefore you should use a switchbox to swap between manual controls and autopilot controls, as there is no "off" setting.

Target rotation is between 0 - 360, it's a soft autopilot saying "hey go in this general direction". It is not necessary to run it and can be ignored if you are using coordinates.
19 Comments
AeryToast 19 Sep @ 7:32pm 
I've used this a few times after being frustrated with Atan2, it works phenomenally! :thumbsup:
Rayus  [author] 4 Jul @ 9:20am 
It is not a necessary field at all, autopilot will work without it

Incase you want to use it:
Target rotation can have a number (between 0 - 360) plugged into it

This number is what angle you want the ship to -try- to move at.
if it's 0 or 360, the ship will try to go north
if it's 90, the ship will try to go east
if it's 180, it will try to go south
and 270 is west.

Anywhere inbetween also works, but this is mostly just a less specific autopilot

It's for telling the ship "hey, go in kind-of this direction".
British Frog 4 Jul @ 3:49am 
where do i plug the target rotation plug into?
mikeyurenia 6 Jun @ 12:04pm 
credit?
moomey 18 May, 2024 @ 6:37pm 
straight forward and simple, better probably exists but goddamn does this ever work easily
birb 7 Feb, 2022 @ 6:53pm 
ooh ok thanks again lol
Rayus  [author] 7 Feb, 2022 @ 4:00pm 
It should act as a "limit" to the rudder.

Basically, how hard can the rudder turn at most

This can help a lot with ships that may turn too hard and flip
birb 7 Feb, 2022 @ 2:08pm 
sorry one more thing, what does the 'max turn' field do?
birb 7 Feb, 2022 @ 1:21pm 
thank you!!
Rayus  [author] 7 Feb, 2022 @ 6:31am 
I'll update it to elaborate a little in the in-game descriptions, but i'll also post this here.

Target X and Target Y are both plugged into something like a large keypad. This decides where you want it to head toward.
Target X is the first number, and Target Y is the second.

Target Rotation is optional, but can be used to try to keep the ship going approximately straight.

Current X is plugged into a GPS X coordinate.
Current Y is plugged into a GPS Y coordinate.

Current Rotation is plugged into a compass.

Video Output is currently not used. No need to touch it.