Space Engineers

Space Engineers

44 ratings
Dynamic Gyro Power
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
563.656 KB
4 Dec, 2021 @ 3:34pm
28 Mar, 2022 @ 10:16am
4 Change Notes ( view )

Subscribe to download
Dynamic Gyro Power

Description

Dynamically scales up gyro power as vehicle weight increases. This allows things like mining craft to maintain the same performance characteristics when empty as when loaded.

Featured in Reclamation Project Alpha YT series.

Other Mods You Might Like

Other Scripts You Might Like

Bugs, Suggestions, Questions, and Comments -> Discord[discord.gg]
I don't troubleshoot, give technical advice, or have discussions in the comment section. That's what the Discord is for. Comments get lost to time, but discord histories can be searched and referenced.
15 Comments
CDClone 1 Oct, 2024 @ 7:11am 
every time my ship have been inactive for a while, it seems this script disabled gyros completly.... anyone els having this issue?
Kaedys 27 Apr, 2024 @ 11:48am 
The script seems to be using the MyShipMass.TotalMass rather than PhysicalMass. TotalMass is calculated before mass scaling from increased cargo capacity. If the game is set for blocks to have higher than normal capacity, the mass of anything *stored* in those blocks is reduced by the same multiplier (ie. if you have block capacity set to 3x, everything stored in it is calculated at only 1/3rd of normal mass). PhysicalMass takes this into account, TotalMass does not. This results in the script vastly over-estimating the mass of a ship as it applies to the actual movement in-game, if cargo capacity multipliers are used and the cargo contains materials.

As an example, my mining ship with storage set to 3x gets wildly *faster* on gyro input as I drill. Replacing TotalMass with PhysicalMass in the script causes it to perform as expected as my cargo fills up.
Unruly 20 Feb, 2024 @ 11:05am 
Just in my copy, I changed ".CubeGrid.EntityId == µ;" to ".IsSameConstructAs(Me);" That includes all gyros connected by pistons, rotors and hinges but not via connectors.
Unruly 1 Feb, 2024 @ 6:53am 
Hi, thanks for your mods.

I'd like to expand on Kaedys' comment a while ago: I like to subgrid large block grids so that I can use small block equivalents for things like pbs, tbs, controllers, etc. Dyna won't stand for this though, bc it's not looking at the larger grid at all.
Maple__Mo 2 Dec, 2023 @ 7:45pm 
This script is very useful :steamthumbsup:
But I found some shortcomings during the use process
Can the value of "maximum weight of spaceship" be used as a customizable variable for players to modify, so that it can adapt to more types of spaceships
Patrick  [author] 25 Apr, 2023 @ 8:04pm 
@Kaedys, I think that could be done. I'd need to check. Could be awhile, though.
Patrick  [author] 25 Apr, 2023 @ 8:01pm 
I know the feeling :)
black_dragon1230 25 Apr, 2023 @ 7:54pm 
Nvm I had a dumb moment and didnt read that it was a script. Lol im really too tired to be playing.
black_dragon1230 25 Apr, 2023 @ 7:50pm 
Any idea why this wont show up in the mod list. I have unsubbed to it and resubbed to it a few times and it doesnt show up.
Kaedys 30 Jun, 2022 @ 1:21am 
Would it be possible, potentially via a run argument or something, to have it also account for connected grids? In particular, this would be nice for grids connected via landing gear, if that's possible. I use this on my mining ships, and it works great there, but I'd love to use it on the tug ships I use to move grid chunks around with. When my little small-grid tug connects its forward-facing landing gear to a big old large grid nacelle of a carrier or something and starts trying to swing it into position, it'd be amazing if this script could just auto-ramp the gyros up to compensate for the extreme mass increase (I'm, of course, using modded gyros with substantially more force capacity, since the entire damn ship would need to be gyros to get anywhere close to that in vanilla)