Space Engineers

Space Engineers

Whip's Subgrid Gyro Manager (aka SuGMa)
59 Comments
Whiplash141  [author] 7 Aug, 2024 @ 9:47am 
I know that optimization is always present. It just seems to be more aggressive on grids that lack thrust and or gyros
Gontarekt 7 Aug, 2024 @ 9:42am 
Hm, that makes sense, seems to still happen even with gyros on the main grid however, possibly that is due to not all the subgrids having gyros, not a clue really.
Whiplash141  [author] 6 Aug, 2024 @ 5:39pm 
That sounds like the game's optimizations fighting you. When the main grid doesn't have a gyro, the game tries to put the grid to sleep to save computation cycles. When you are translating, this game optimization turns off.
Gontarekt 6 Aug, 2024 @ 9:53am 
Great Script. I seemed to be having the same issue as the person before me where the script recognised the gyros, but refused to move. Turns out the fix was that the ship needs to be moved by thrusters before the ship turns. Strange bug, which I believe I've noticed in the past as well on ships that had subgrids (But didn't use subgrid gyros oddly enough). My suspicion of what causes this is either a subgrid being too close to the main grid and/or the mass being too high (My ship was 1.6 Gg when I noticed this bug). Hope this helps folks running into the same issue as I.
Whiplash141  [author] 27 May, 2024 @ 4:25pm 
Can you upload that blueprint please?

This isn't a script issue, this is an underlying game issue that I'm trying to track down.
TheMajesticCarabao 27 May, 2024 @ 4:24pm 
1. Yes, I made sure all blocks ownership is set to me
2. Yeap, world file existed before the signal update, which the script worked before
3. Yesh, though result remained the same, but the bp was made after the signal update, if that makes any difference
4. Yep, copy pasted ship had the same result

It just seems to feel like the subgrids gyros isnt acknowledging the main grid's input.
Whiplash141  [author] 27 May, 2024 @ 1:09pm 
I'd like to claim user error, but you are like the 5th person across my scripts to claim the same behavior. Every ship that I have that is using my scripts works fine and if i set up a script from scratch it is also fine, so I suspect something subtle may have changed under the hood regarding block ownership.

So a few questions:
1. Have you ensured that you own all blocks on your grid?
2. Are you loading a pre-existing world that has your ship using this script?
3. Are you pasting a brand new blueprint?
4. Can you replicate this behavior if the troublesome ship is copy pasted?
TheMajesticCarabao 27 May, 2024 @ 12:39pm 
Don't know if Im the only one with the situation, but even though the script acknowledge the subgrid gyros, it doesn't seem to actually use them. Did the signal update broke something or is this just an error of usage on my end?
Whiplash141  [author] 27 Dec, 2022 @ 3:41pm 
Whoops... try now lol
DonCoyote 25 Dec, 2022 @ 8:40pm 
Its not there.
Whiplash141  [author] 25 Dec, 2022 @ 6:03pm 
custom data.
DonCoyote 25 Dec, 2022 @ 1:11pm 
Is there anyway to make the program block not draw the title screen? I'd like to use that screen for other things.
Whiplash141  [author] 30 Jun, 2022 @ 8:21pm 
@John: no
Shinoskay 30 Jun, 2022 @ 6:49pm 
can I put this and the thruster manager into the same programmable block?
[Omega] 31 Mar, 2022 @ 11:17am 
had I had known about this glorious script an hour earlier, a lot of heartache may have been saved. Praise SuGMa!
The Chemical Dragon 23 Jan, 2022 @ 2:31pm 
Whiplash, what about S.U.G.A.R? The Subgrid Utility Gyros And Rotation :steamthumbsup:
Sparktite 6 Dec, 2021 @ 8:38am 
Curious what cool things people have come up with using this script, anyone care to share what theyve made, i have no idea what id wanna do with this thing.
CTH2004 19 Sep, 2021 @ 1:18pm 
great! MWAHAHAHAHA
Whiplash141  [author] 18 Sep, 2021 @ 4:50pm 
If you configure the custom data accordingly, yes.
CTH2004 18 Sep, 2021 @ 4:34pm 
Quick question. Does this (And your thruster script) work on connectors? Because that could be very useful! When you have ships docked, they assist in turning!
Takeda 1 Sep, 2021 @ 4:06am 
Steering Management Encompassing Grids
LSG123 21 Aug, 2021 @ 3:27pm 
yayyyyyyyyyyyyyyyyyyy :)))
Judge Kronos 20 Aug, 2021 @ 6:27am 
Awesome Script... Just call it SiGMa. Subgrid Gyro Managment ;)
Sᴢʏᴍᴏɴɪᴄᴜs 20 Aug, 2021 @ 2:29am 
Thx, I'll do it in free time
ToedPeregrine4 19 Aug, 2021 @ 7:54pm 
stall tTthis omnmod?
ToedPeregrine4 19 Aug, 2021 @ 7:54pm 
HO w do I in
Whiplash141  [author] 19 Aug, 2021 @ 3:43pm 
"even if after last update its impossible to park it"

Update to the newest version of SWCS and use the brake_toggle argument

"could you use this script to aim fixed weapons on a subgrid with your mouse while controlling a ship with WASD/ascend and descend?"

I'm sure you _could_, but it sounds like a bad idea. MART is more suited for that and it has gyro support for turrets already built in
Sᴢʏᴍᴏɴɪᴄᴜs 19 Aug, 2021 @ 3:25pm 
Ive just opened workshop and boom, new script from Whiplash!
I really appreciate Your scripts, and U've motivated me enough to learn more of C#!

(im using Yours Horizon Redux, and Wheels on rotors/hinges, even if after last update its impossible to park it)

Grab :health: and see ya in Space! o7
Achilles 19 Aug, 2021 @ 3:02pm 
@Whiplash141 could you use this script to aim fixed weapons on a subgrid with your mouse while controlling a ship with WASD/ascend and descend?
Master Chief; John-117 19 Aug, 2021 @ 8:57am 
Whiplash you and you scripts are a masterpiece
dnjuandmrk 19 Aug, 2021 @ 6:50am 
MAnage Gyros on Subgrids Script (MAGS)
Whiplash141  [author] 18 Aug, 2021 @ 8:45pm 
"wasd>rotor converter"

soon^TM
mommy mcginnis' wife 18 Aug, 2021 @ 7:49pm 
iirc this is exactly what i need to finish the technical aspect of a build. I might also need a wasd>rotor converter, its been a long time since I stopped trying to make it work lol. either way, looks like an excellent script
pixoe 18 Aug, 2021 @ 7:34pm 
SuGMa balls
Spaceman Spiff 18 Aug, 2021 @ 12:46pm 
HAHAHAHA...automagically. Best word ever! Like the imaginary number "eleventeen".
gangstalicious 18 Aug, 2021 @ 12:37pm 
@creeper king 82 rdav has a fleet command script
creeper king 82 18 Aug, 2021 @ 9:16am 
wow well done you seem to be able to make a scrip for anything wtich leads me to my question is it possable to make scrip contoled combat dones and even mineing drones maybe need 2 scrips one for like a mother ship and one for the drone
KellDarkes 18 Aug, 2021 @ 5:27am 
Another brilliant Whiplash script, I use your sub-grid wheels script to connect rovers together for some journeys, now I can use their own gyros to help prevent rolling over, great for peace of mind. Thank you for the great work you do.
Alex mordani 18 Aug, 2021 @ 4:10am 
have you tried one of my ships... there very ugly
ArgentPhoenix11 18 Aug, 2021 @ 1:18am 
Whip's Subgrid Gyro Options Manager
SuGOma

amOGuS
Urumchi 18 Aug, 2021 @ 12:55am 
finally, gyro-friendly transformable mech!
OttoArms 17 Aug, 2021 @ 11:49pm 
Woo Hoo this will be fun to play with! TY Whip!!
Vomsay 17 Aug, 2021 @ 10:14pm 
Thx you Whiplash141!
Seff 17 Aug, 2021 @ 7:42pm 
I imagine it's for people who make control seats/command centers that are detailed with small grid blocks. They can use this script plus whip's subgrid thruster script to simply sit in seats and control the ship normally (as the ship is the 'subgrid' and the control seat is the main grid) instead of needing to grab the ship's remote control block.
Malacanth 17 Aug, 2021 @ 7:33pm 
Very glad to see this, should make ships with sub grids much more responsive in turns, thanks bud!
Whiplash141  [author] 17 Aug, 2021 @ 7:14pm 
"What's the practical application for this?"

Subgrid gyros? lol

Some people have gyros on subgrids that they want to control with their mouse. This script does that. It was quite often requested, so I'm sure someone will find a use for it.
Molten Carnage 17 Aug, 2021 @ 7:11pm 
Long time subscriber. But ... ?? Scratching my head here. What's the practical application for this? Seriously, asking for real. I don't know what to do with this.
£6lbs._onion 17 Aug, 2021 @ 7:09pm 
(don't say it... try to not say it... failing.......)
SUGMASCRIPT!
Stol3n_Identity 17 Aug, 2021 @ 3:41pm 
yepp! Whip's scripts is a must have even if you don't play with scripts
Reavvr 17 Aug, 2021 @ 1:47pm 
Same here lmao