Space Engineers

Space Engineers

Not enough ratings
Chris's Crazy Thrust Vectoring
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
4.980 KB
8 May, 2018 @ 3:19pm
9 May, 2018 @ 2:38pm
9 Change Notes ( view )

Subscribe to download
Chris's Crazy Thrust Vectoring

Description
[2022]

have not revisited for a long time - should be functional (mostly stable)

make sure you follow instructions

if something breaks i might be able to fix it - if you fix it and message me i will publish the fix for sure.

If I am alive whenever space engineers stops getting updates, I intend to go through and revamp this script. It is hard/frustrating to develop mods/scripts when potential breaking updates might be released around the corner.

[/2022]

This script controls all thrusters on your ship currently, in the future it will only control thrusters in a group called 'thrusters' or something like that.

To create a ship:

You will need at least 1 rotor for roll and 1 rotor for pitch

ROTORS:
Name any rotor pointing forwards RotorRoll
Name any rotor pointing backwards RotorRollInv
Name any rotor pointing right RotorPitch
Name and rotor pointing left RotorPitchInv

This will work as long as it is in some planetary gravity (also on the todo list to make it function in space)


TIP*ACTIVATE THE SCRIPT AND NAME ROTORS BEFORE BULDING ON THEM*
this will make building onto the rotors easier because the rotor will already be aligned with the natural gravity vector

Rotors can be placed onto each other (ex. rotor pitch on a rotor roll) but I havent tested more than 2 rotors on each other, so I dont recommend doing that.

MEANT FOR THRUSTERS TO BE ON BOTH A ROLL AND PITCH AXIS, seperate axis may not apply thrust properly, this is a goal but has not yet been implemented

CONTROLS:
WASD/SPACE/C- Its pretty self explanatory

Inertial dampening is automatic, whether it is on or not

Q/A:

Q: A thruster is being weird how do i fix
A: try deleting and re adding it

Q: how does this work
A: i made it and im not really sure either

Q: can i do rotor limits
A: sure

Q: i looked at your code and its ****
A: im aware, thanks

Q: i cant control my ship, its going all over place
A: first make sure to have gryoscopes, and try enabling share inertia tensor (only needed if rotors are in asymetric layout)

feel free to leave suggesitons/ideas/bugs in comments


Roadmap (in no specific order):
-Space integration
-Better thruster management (in script and as options)
-Optimization (script rewrite,values)
-Gyro + Altitude Dampening/Crusing
-More customization options in general
-RotorYaw support, im not optimistic about this
17 Comments
Дмитро 20 Jun @ 12:43pm 
Hello everyone. Can someone help, the script gives an error. Maybe someone knows what to do?
Mc0417 31 May, 2023 @ 8:16am 
Yeah same issue here as TheMajesticCarabao's. Automaton Update probably broke something again.
TheMajesticCarabao 2 Jan, 2023 @ 6:57pm 
Dont know if it suppose to be like this, but the rotors just rotate infinitely when placing names on them. Am I doing something wrong?
Mark  [author] 4 Nov, 2022 @ 9:39am 
I'll take a look at this, probably something simple. I haven't played SE in a long time.
TheNightOwl 30 Oct, 2022 @ 5:11am 
well looks like this is broke
Blacky Watchy 4 Jun, 2022 @ 5:29am 
same issue there
Voyevoda 3 Jun, 2022 @ 7:19am 
The programmable block also is throwing this out:

Caught exception during execution of script:Object reference not set to an instance of an object.
at Program.Main(String argument, UpdateType updateSource)
at Sandbox.Game.Entities.Blocks.MyProgrammableBlock.<>c__DisplayClass42_0.<ExecuteCode>b__0(IMyGridProgram program)
at Sandbox.Game.Entities.Blocks.MyProgrammableBlock.RunSandboxedProgramActionCore(Action`1 action, String& response)
Voyevoda 3 Jun, 2022 @ 4:29am 
I get the same errors as Handoff. I followed the available instructions to the best of my knowledge, not sure what I could do differently
HandOff 15 May, 2021 @ 9:06pm 
Const 8 May, 2021 @ 8:47am 
@Die Tulpe
did you set the cockpit's name in the script?