Space Engineers

Space Engineers

35 个评价
Chrisbot Planetary Orbit
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.321 KB
2017 年 7 月 14 日 下午 2:24
2017 年 7 月 15 日 下午 12:46
6 项改动说明 ( 查看 )

订阅以下载
Chrisbot Planetary Orbit

描述
Version 1.1 (2017-07-15)

Please, 'thumbs up' this script if you find it useful.

In addition to a programmable block, requires remote control and timer blocks and optionally a text panel.

Will reliably maintain altitude of ship. Will set current altitude or an altitude can be specified in the programmable block's argument.

Setting Up
  1. Build a programmable block, remote control facing forward and a timer block.

  2. Load the script into the programmable block and configure the script by setting textPanelName and remoteControlName to their respective block names or set the block's names to the default values provided.

  3. Adjust the speed limit on the remote control block.

  4. Configure the timer block to run the program block and start the timer again with a delay of ten seconds.

  5. Optionally, build a text panel to display orbital diagnostic information.

Operation

Manouver your ship into a planet's gravitational field. Start the timer which will run the programmable block at the interval set by delay. The programmable block will set a single waypoint on the remote control each time it is run. The waypoint will be forward parallel to the sealevel of the planet. Enable autopilot and the ship will travel forward to the waypoint a maximum of 500 meters or continuously as the timer triggers an update.

An altitude in meters argument can be specified in the programmable block. Without the argument, the altitude is set automatically based on current altitude. When using atomatic altitude, the altitude is stored in the remote control block's CustomData field. You can run the script with "reset" as the argument to clear the stored altitude or manually clear it from the remote control block. Setting a toolbar item to perform a reset is recommended.

The text panel will display the script's diagnostic information and is updated at the rate the timer runs the programmable block..
23 条留言
Chrisbot  [作者] 2021 年 4 月 25 日 上午 7:28 
Thanks @[TE] Kuraudo. I will update soon.
CTH2004 2021 年 4 月 20 日 下午 3:42 
could you publish it on steam (With Chrisbot's permistion)
[TE] Kuraudo 2021 年 4 月 19 日 下午 11:59 
I dig the script a lot as it's a clever way to implement this. I went ahead and fixed it to work with space engineers 2021 by tweaking a few things; notably, remote control blocks now require two waypoints to work at the time of this writing. I also got rid of the need for the timer block by having the script auto update itself using the Program() method we have now. Instead of uploading a new version, I'll just paste the fix in here:

https://pastebin.com/hD0nJr5h

The two edits that matter are the addtional waypoint to make the remote control enter waypoint mode and the Program() set update frequency to 10 which gets rid of the need for a timer block.

Mr. Dude 2018 年 7 月 5 日 下午 6:12 
I get no response from the script whatsover I get nothing on the text panet and the script does not act at all I am at a loss. Any help would be great.
CTH2004 2018 年 5 月 11 日 下午 1:58 
Ok!

Thanks!

It's just I've seen that happen to others ):

I'm glad that you think that, since that's my belief to!

Can't wait to see what you make next!
Chrisbot  [作者] 2018 年 5 月 9 日 下午 2:31 
I think that like any plugin or script for a game, the user should expect that the author will support it for as long as she is interested. To claim otherwise would be folly, in my opinion. I do not forsee letting it die.
CTH2004 2018 年 5 月 9 日 下午 1:30 
Keen=Scripts Eventually Break (SEB)


Some scritps get "Completed", and when Keen Breaks them, since it's "complete" it doesn't get fixed. So, when it breaks, I just want to know if it would be fixed! (There are many scripts that die that way, I don't want one of the few orbit ones to die.)
Chrisbot  [作者] 2018 年 5 月 8 日 下午 1:57 
@CTH2004 Why do you ask?
CTH2004 2018 年 5 月 6 日 下午 6:02 
Ok, but, what I mean, is if (when) Keen breaks it, will you fix it?
Chrisbot  [作者] 2018 年 4 月 16 日 下午 2:12 
Its been finished for a while.