Space Engineers

Space Engineers

Whip's Subgrid Thruster Manager
1,516 Comments
Pumpkin 17 Sep @ 1:49am 
thank you works great
Whiplash141  [author] 16 Sep @ 9:39pm 
i forget, but do thrusters have ownership now? if so, ensure all ownership is the same
Vetmitar 16 Sep @ 8:48pm 
I set connector detection to true, but it is stilll not recognizing my thrusters, any aidea why? I am on the new update.
Whiplash141  [author] 15 Sep @ 12:44am 
yes, your physics stability may vary though, nothing the script can do to fix that heh
Pumpkin 14 Sep @ 11:46pm 
do this work on multiple rotors ? Like my ship is Main body , rotor , rotor , rotor , thrusters
Space_Aquila 7 Sep @ 2:30am 
Very easy to use and works instantly, amazing! :steamthumbsup:
dRuPpI 21 Aug @ 8:08pm 
is it possible to make a mod out of this as own block? so admin can add it and Programmable blocks don't need to be active on servers?
evanthegamer2023 15 Aug @ 11:05am 
yo how do i get the code?
Killer66 9 Aug @ 2:43pm 
You are a god! Thank you, now I can realize all my engineer fantasies!
Autumn 19 Jul @ 2:16pm 
I think my subgrid thrusters are draining fuel in space while drifting. I turn off inertia dampeners and unless I also turn off the thrusters, I still lose fuel.
kad.dsl 1 Jun @ 7:48pm 
Update: The issue turned out to be the dampener setting in the custom config. I had to turn it way down (to 20 from the default 50). Works like a charm now.
kad.dsl 27 May @ 4:21pm 
I'm trying to use this script (and do thrusters on a sub-grid) for the first time and I'm seeing some strange behavior. Small grid ship. The ship has 4 thruster pods on rotors. The rotors are locked. When the ship is "at rest" with no movement keys being pressed, if I have the dampeners on, the ship seems to be constantly fighting itself, the forward and back thrusters alternately firing. I initially thought this might be because there is unequal forward and reverse thrust, but evening the thrust out did not change the issue and then I realized it will do it up/down as well, where the thrusters are already even. I did a short video snippet to show the issue. It does it if I rotate the thrusters as well. (I did learn that I needed to turn the dampeners off while rotating the pods or it goes berserk though).

https://youtu.be/Y3GVueDgPOI

If someone has an idea on why this is happening and how to fix it I'd be very grateful to hear it.
GermanGinger 26 May @ 7:36am 
If I'm understanding this right, then in order for the command to work the main grid can not have thrusters?
Whiplash141  [author] 25 May @ 7:19pm 
No. Dampeners are synced with the dampener state of the main grid if the main grid has thrust.
GermanGinger 25 May @ 3:44pm 
Yes. Is it possible for the dampening not apply to the subgrids?
Whiplash141  [author] 25 May @ 2:50pm 
do you have thrust on the main grid?
GermanGinger 25 May @ 2:30pm 
I can't seem to run dampeners_toggle
Every time I try nothing happens. I type it in; hit run; nothing happens
Am I doing something wrong?
usmcuav 13 May @ 9:48am 
I've rebuilt Scrap Ship 09 from the new Rusty World. There are two rotor thruster subgrids with atmo engines on opposite sides of the ship. I've updated the rotors to Advanced Rotors. When I set the rotor group to 45 deg, the left one goes forward, and the right one goes to the rear. Is there a way to set the angle as a group? The ship is flying but it is a handful to maneuver.
Whiplash141  [author] 12 May @ 10:51am 
Correction for clarity:
another script of OR physics weirdness

"Im trying to remember name of other script.."
Likely vector thrust 2 or Vector thrust OS?
dragonsphotoworks 12 May @ 8:47am 
Never had it rotate rotors. It doesn't interact with them only the thrusters them selves far as I've ever seen. There is another script out there that does move rotors and hinges. But it is not this one. Im trying to remember name of other script.. But if recall it was automation it just kept ships level. So other script might be what your using as well?
Whiplash141  [author] 12 May @ 7:17am 
If you are seeing rotor movement when you thrust, it is not this script. It is either another script of physics weirdness ("Remember to lock your subgrids or you will get torque").
Whiplash141  [author] 12 May @ 7:16am 
I promise you it doesn't and it never has.
Napalm Price 12 May @ 12:44am 
It does seem to use some form of control or influence over the rotors and hinges.
Whiplash141  [author] 11 May @ 11:52pm 
For clarity, this script has absolutely no control over rotors
Napalm Price 11 May @ 11:25pm 
Thank you very much mate. its not that the script is deficient its more so that with what im doing i was not expecting the rotors to suddenly start being controlled by the script as previously it wasnt. Im sure theres ways around it but its just easier for me to use the older version.
Whiplash141  [author] 11 May @ 7:13pm 
This script doesn't control rotors at all It just extends movement controls to subgrod thrust
Miniscule. 11 May @ 10:40am 
For some reason the rotors just dont wanna turn, is the script outdated now or am I doing something wrong?
Whiplash141  [author] 11 May @ 10:23am 
Can I also ask why you prefer the old one? If the new one is deficient in some way, I'd like to fix it
Whiplash141  [author] 11 May @ 10:21am 
If you have the older version already in a programmable block, you can open it and copy/paste it. I also publish my scripts on GitHub: https://github.com/Whiplash141/SpaceEngineersScripts/commits/master/Released/subgrid_thruster_manager.cs
Napalm Price 10 May @ 3:36pm 
Is there a way i can use the older version of this script? I have an old blueprint when i did some mini testing of this script and it worked exactly how i wanted it to but now if i try to copy the old block without using the blueprint it changes to the new version of the script. This is also in part to wanting to use the dlc version of the programming block.
Whiplash141  [author] 5 May @ 7:11pm 
In the programmable block edit menu
Echo of Zhiend 5 May @ 9:21am 
Ah ok makes sense, but where in the files do i find the code then?
Whiplash141  [author] 4 May @ 8:57am 
This isn't a mod, it's an in game script. Adding it to your world as a mod will cause errors.
Echo of Zhiend 4 May @ 7:41am 
I have a really werid question. I´ve downloaded the mod and its shown in my workshop page under the same number but i cant see the mod ingame to add to the game... What can cause this cause never had this issue
pumly1 6 Mar @ 9:35am 
got it thanks for the reply
Sapioit 5 Mar @ 3:16pm 
As for posting the ship, I think a youtube guide would be better at answering that question.
Sapioit 5 Mar @ 3:16pm 
It does make sense. The hinge without shared inertia was wiggling and slightly angling to one side, and that caused the thrust to not be completely even, causing your ship to steer in one direction, at least for a short while, if not for the whole duration if the thrusters being used.
pumly1 3 Mar @ 9:26am 
also how can i post my ship in the user creations?
pumly1 3 Mar @ 9:08am 
I think i fixed it. It may had something to do with inertia tensor. I had it turned on on the wings hinges but i had other hinges (not attached to the subgrid) and they had it off so i turned it on as well and now it flies straight. Does this make sense?
pumly1 3 Mar @ 4:20am 
Its forward thrust on foldable wings. I also locked the hinges
Whiplash141  [author] 2 Mar @ 2:57pm 
how are your thrusters oriented? if you have thrusts at diagonals, that can happen because the thrust in the axial directions isnt balanced perfectly.
pumly1 2 Mar @ 12:35pm 
Cool Script but I have a problem. I got two subgrids with 2 thrusters each and when i accelerate the ship it dosent fly in a straight line it kinda points up and a little bit to the left any idea why?
Sapioit 27 Jan @ 1:11pm 
You'd think so, but that's assuming I re-read the description since I subscribed to the script. I did re-read the rest, though, some time ago.
Whiplash141  [author] 26 Jan @ 3:28pm 
The underlined sentence in the description attempts to make that clear
Sapioit 26 Jan @ 5:17am 
I was under the impression that this script controlled the rotors, hinges, and pistons, too.
Sapioit 26 Jan @ 5:06am 
Oh, I figured what my issue was. Your script doesn't seem to control those rotors and hinges, to use their thrust, it only controls the thrusters.
Sapioit 26 Jan @ 4:45am 
Thanks! Last time I checked the script, that wasn't the case. I will check again, on a new vehicle.
Whiplash141  [author] 25 Jan @ 10:04am 
It already will. As long as a block can be seen in terminal, the script can see it
Sapioit 25 Jan @ 8:49am 
Any chance you will make the script work with multiple layers of subgrids?

For example: Control seat and a gyroscope connected with a rotor connected to a hinge connected to another rotor connected to a thruster. So a single-thruster intended to move the ship in all 3 axis of movement, in all 6 directions of movement.
HandledEar71 8 Jan @ 3:57pm 
I read this through several times and am still not sure of how to do this. The "setup instructions" are very unclear and I have no idea how to put the code in the programable block.