Space Engineers

Space Engineers

Not enough ratings
Fluid Thrust - Cross-Grid Thrust, Cruise Control, etc. [WIP]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
2.936 KB
14 May, 2017 @ 7:26am
1 Change Note ( view )

Subscribe to download
Fluid Thrust - Cross-Grid Thrust, Cruise Control, etc. [WIP]

Description
=========== Description ==========
This script fluently adapts the power of the thrusters on rotors
meaning it mixes the thrust of different directions rather then
Whip's script, which looks for the closest direction and uses that.
This script can also be used as an API for programming custom Autopilots etc.
as it provides functions to easily control thrusters and gyros; the script in main
below is a basic cruise control script, with the ability to slow the gyros down
while keeping the responsiveness up.

============= Setup =============
1. Put down a Timer Block and Programmable block
2. Set the timer to run the PB with the default argument and Trigger itself
(Start too if you want it to continue running after a reload)
3. Change REF_NAME to the name of your Cockpit/Seat
4. (OPTIONAL) Change LCD_NAME to the name of your helper LCD and set the Font to Monospace
5. Start the Timer

============= Usage =============
Arguments:
"cruise" > Snapshots the current speed and direction and keeps your ship at that speed
(sets the dampeners "zero" to your currnet speed)
"cruise<Velocity in m/s>" > Like the above, but it only takes the direction and sets the speed to the given one
"vcruise" > Snapshots the current speed and keeps your ship at that speed (sets the dampeners "zero"
to your currnet speed)
"vcruise<Velocity in m/s>" > Like the above, but sets the speed to the given one
"reset" > Resets the cruise to 0
"align<Name of a camera>" > Aligns your ships velocity to the targeted ship using the given camera
"<Sensitivity>" > Multiplies the gyro input by given number
"orbit" > Accelerates the ship to orbital speed and keeps the ship at that speed (May require Speed Mod)

WARNING: This script ruins control in multiplayer when you have a low ping.