Space Engineers

Space Engineers

评价数不足
Top Speed Cruise Control
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
994.147 KB
2015 年 1 月 1 日 上午 11:38
2015 年 9 月 29 日 下午 12:02
5 项改动说明 ( 查看 )

订阅以下载
Top Speed Cruise Control

描述
This script will accelerate your ship to the maximum or desired speed with the press of a button.

Going from asteroid to asteroid searching for ores requires a lot of accelerating and stopping. Especially with the infinite worlds update, you are often holding down 'W' for long periods of time. Top Speed Cruise Control makes this easier, accelerating to maximum speed is just a button-press away.

The first time this script is executed, it will increase all forward thruster overrides to the maximum.
The second time it will decrease the overrides back to zero.
Using a timerblock, the second execution can be automatic.
In the rare case that you accidentally pressed the button when facing an asteroid or station, you can simply press the button again to cancel the action.

Instructions:
To make it work:
  • Add a programmable block to your ship and load this script into it.
  • Select all forward thrusters and save them into a group called "Forward Thrusters".

To automate the second execution:
  • Add a timerblock with one action: run this script.
  • Set the timerblock's delay to however long it takes for your ship to reach the maximum or desired speed.
  • Add "TSCC" to the name of the timerblock (Example: "Timer Block 1 (TSCC)")
The timerblock will be started automatically when this script is run.

And of course, add it to your hotbar for easy access.
13 条留言
Mikal 2019 年 2 月 16 日 下午 3:26 
Didn't work when I tried it, it is quite old though so it's probably to be expected.
Oddity 2016 年 8 月 3 日 下午 12:14 
All you'd need to do is an if statement checking speed, if true, turn off dampeners.
That then saves you holding W.
Requios  [作者] 2015 年 11 月 14 日 上午 5:31 
This script does not support pulsing automatically. What you can do is activating it yourself for each pulse (so its just a button press instead of a hold-down). Another option is to use a mod that increases the maximum speed, so instead of wasting power you keep accelerating beyond 104m/s.
Vegathron 2015 年 11 月 13 日 下午 11:37 
hi man i was looking for a script to use when taking off from planets. atm (correct me if im wrong) when you hit 104m/s you stop accelerating, but you thrusters are still on full blast (wasting hydrogen and power) yet if i let go the planet will eventually pull me back. instead of manually pulsing it would this script work for my needs?
Requios  [作者] 2015 年 9 月 29 日 下午 12:06 
Thanks for your report. After a little bit of hassle I found out they changed it from a BlockGroups property to a GetBlockGroups(groups) function. Should all work again :)
Mx. Amber 2015 年 9 月 28 日 下午 1:18 
This script no longer works. Checking code returns the following error:

Line 37 : 'Sandbox.ModAPI.Ingame.IMyGridTerminalSystem' does not contain a definition for BlockGroups' and no extension method 'BlockGroups' accepting a first argument of type Sandbox.ModAPI.Ingame.IMyGridTerminalSystem' could be found, are you missing a using directive or an assembly reference?
[ok]
Requios  [作者] 2015 年 1 月 19 日 下午 4:14 
Updated, see change notes .
Requios  [作者] 2015 年 1 月 4 日 下午 7:28 
KnatteAnka Hmmm, that is something to look into.
Having a boolean would currently not work reliably though, since the variables are not saved with the world and get reset to their initial values on load.
Looking at the current override value might be possible, I will look into that.
KnatteAnka 2015 年 1 月 4 日 下午 4:01 
Why not have one script and first time run increase speed next decrease speed? By having a bool var that is global or look at the override value?
Zuribachi 2015 年 1 月 3 日 上午 9:51 
Nice script. No longer manually smash the override-buttons anymore for accelrating xD