Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Ship Autopilot
   
奖励
收藏
已收藏
取消收藏
Vehicles: Sea
标签: v1.4.6
文件大小
发表于
更新日期
28.733 KB
2019 年 6 月 19 日 上午 5:57
2022 年 2 月 7 日 下午 4:08
4 项改动说明 ( 查看 )

订阅以下载
Ship Autopilot

描述
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 条留言
AeryToast 9 月 19 日 下午 7:32 
I've used this a few times after being frustrated with Atan2, it works phenomenally! :thumbsup:
Rayus  [作者] 7 月 4 日 上午 9:20 
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 7 月 4 日 上午 3:49 
where do i plug the target rotation plug into?
mikeyurenia 6 月 6 日 下午 12:04 
credit?
moomey 2024 年 5 月 18 日 下午 6:37 
straight forward and simple, better probably exists but goddamn does this ever work easily
birb 2022 年 2 月 7 日 下午 6:53 
ooh ok thanks again lol
Rayus  [作者] 2022 年 2 月 7 日 下午 4:00 
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 2022 年 2 月 7 日 下午 2:08 
sorry one more thing, what does the 'max turn' field do?
birb 2022 年 2 月 7 日 下午 1:21 
thank you!!
Rayus  [作者] 2022 年 2 月 7 日 上午 6:31 
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.