Space Engineers

Space Engineers

171 ratings
Thrust Vector VANILLA (if you want it to be)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
7.963 KB
24 Jun, 2016 @ 3:50am
29 Jan, 2017 @ 10:14pm
21 Change Notes ( view )

Subscribe to download
Thrust Vector VANILLA (if you want it to be)

Description
put your thrusters on rotors!


THIS IS OUTDATED, AND ONLY HERE FOR HISTORICAL PURPOSES
There is a new version here!





example: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=747318279

if you want to use your jetpack and dampeners buttons instead of the number keys, get this: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=655948251&searchtext=Control+Module

CONTROLS:
VANILLA:
your normal flight movement controls should apply, but you will need to set keys in the cockpit G menu. more on this later
CONTROL MODULE:
your normal flight controls should apply, including inertia dampeners and jetpack key to turn on thrusters.
when you press forward, it will accelerate you forward at 1g - even if your engines can accelerate you much more. you can change this by pressing + or -, 0 will reset it back to 1g

MINIMUM SETUP:
1. build your Nacelles
2. Load the script in the programmable block and press "check code", after that press "remember and exit"
3. setup your vanilla controls OR setup Control Module for this programmable block
4. make a timer block, Actions: <Run with Default Argument> (on the programmable block), <Trigger Now> (on itself), <Start> (on itself)
5. trigger the timer, if some nacelles are pointed sideways or to the sky, put %(90) or %(180) or %(-90) in the name of that nacelles rotor so they face down. i recommend turning thrusters and dampers off for this step.
6. press your standby key to turn on the script and enjoy

HOW TO BUILD A NACELLE
1. Build a rotor and place in it least one thruster (all thrusters have to face the same direction)
2. select your rotor and thruster(s) and make a group with "%Nacelle" in its name. (e.g: "Front %Nacelle")
3. Make sure the safety lock override for the rotor is at max
4. Repeat the process until you have built all the nacelles you want (they must be evenly spaced around the centre of mass [Terminal > Info > Show Centre Of Mass])

VANILLA CONTROL SETUP:
1. get in your cockpit, press G
2. drag the programmable block to the bar and select "RUN"
3. copy&paste the code for your controls. you will need:
%dampeners
%jetpack
%standby
%raiseAccel
%lowerAccel
%resetAccel
the last 3 control your "Target Accel" value and are optional
CONTROL MODULE SETUP:
make sure the mod is installed: just subscribe then add it to the mod list in world options
this will add settings to the programmable block. set these:
1. Monitored inputs: read all inputs
2. Trigger on state: pressed and released
3. Repeat interval: 0.016 (you can type it by ctrl+click the slider bar)

WARNINGS:
going past the rotors safety lock override speed might cause you to crash.

because of this i have put in a safety so the ship will try to slow you down if you go over the speed limit. (default 90m/s)
if you have a speed mod and you want to change the speed to something else, you can change "speedLimit" in the code

OPTIONAL:
put %VectorLCD in the name of a text panel and its public text will be info about your flight
the timer block can also have <Start> to have the program automatically start after the ship has been turned off and on

VALUES IN CODE:
speedLimit - meters per second. use if you have a speed mod.
defaultAccel - this will change the target Acceleration default
accelBase - this will change the amount the + and - changes target Acceleration
dampeners - true/false. this will change the default value when you start the script
jetpack - true/false. this will change the default value when you start the script
oldDampers - true/false. this will use the old inertia dampener mode
dampenersModifier - this will change how aggressive your dampeners are compared to defaultAccel
controller key bindings - |CONTROL MODULE ONLY| you can set the buttons for your controller (type /cm showinputs to see what the buttons are called)
Popular Discussions View All (1)
58
27 Aug, 2017 @ 8:52am
Problems
Vermillion
233 Comments
Пиро 5 Jul, 2022 @ 8:29pm 
Hi! I am the new mantainer of this script, I released a definitive version.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2831096030
Go check it out!
Adler 28 Jun, 2018 @ 3:23am 
@1wsx10 What are the differences and improvements in the new version of this?

I'm just trying to decide if it's worth the hassle to update the avionics on a bunch of my old designs?
Vermillion  [author] 24 Nov, 2017 @ 9:00pm 
the new version is now on the workshop! see the link at the top
Vermillion  [author] 24 Nov, 2017 @ 8:02pm 
@Spartan unfortunately, the spinning thrusters is a bug in the game. i have been able to reproduce it without my script and have made this bug report: https://forum.keenswh.com/threads/phantom-force-rotation-with-thruster-on-rotor.7398469/#post-1287078582
hopefully they fix it soon. for now, the workaround is to just try and build it so the rotor axis point towards the centre of mass as much as possible.


as for the ship going up, could you publish the blueprint so i can see?
Spartan 24 Nov, 2017 @ 3:34pm 
My rear thrusters are not working, just spining crazy :S any idea ? both on the front are working

Confirmed, ship going up with only 2 thrusters and rotors too.
Spartan 24 Nov, 2017 @ 2:03pm 
My ship keeps going up when i activate the %jetpack when i got 4 diferent rotors, a bug or im doing something wrong ?
Vermillion  [author] 23 Nov, 2017 @ 5:25pm 
@ArtistX as of yet, the program doesn't acknowledge the rotor limits. this means you can set the rotor limits, and it won't go past there. there is a problem with this though. if the area that is out of bounds is less than 180 degrees, it might get stuck on the limit. since it is programmed to turn to a desired angle, and always go the shortest way around.

also the algorithm that decides how much each naceele should fire in which direction won't account for this. so if you have one nacelle that can fire in a certain direction, and another that can't, any thrust in that direction will be less than the full amount.
ArtistX 23 Nov, 2017 @ 4:03pm 
is it possible to limit the angles? like if I only want forward and downward thrust?
Titus 22 Nov, 2017 @ 4:41pm 
That may explain why my ship flew apart like Sebulba's podracer. XD
Vermillion  [author] 22 Nov, 2017 @ 4:37pm 
there are no video tutorials as of yet, but there might be... soonTM