Scrap Mechanic

Scrap Mechanic

Not enough ratings
Gyro And Gimbal MOD / [ The Modpack Continuation Addon ]
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
27.995 MB
Mar 18, 2024 @ 9:00am
Dec 3, 2024 @ 2:20pm
19 Change Notes ( view )

Subscribe to download
Gyro And Gimbal MOD / [ The Modpack Continuation Addon ]

Description
-------------------------------------------------------

This is my first mod :), this mod adds 2 new parts that is used with the Modpack Continuation number logic.

The first part is a gyroscope that can control the angular velocity of your creation to rotate him in the direction of the arrow with number input and adapt his force to the mass and the inertia of the creation. The second is a small gimbal thruster where you can adjust the direction that the thruster point with number input, red input is pitch, green is yaw, white inputs are multiply with the power and the power are set with any color input.

----------- Warnings And Bugs :

The gyroscope adapt his force to the mass and the inertia of the creation and this is really powerful, so if you put more than 1 gyro that rotate in the same axis the result will be unstable and uncertain, sometime it works and sometimes the creation fly away so make sur to save it before, also in general the gyro is for now more stable with higher mass, so be careful with light creation and gyro, otherwise you creation will go to space :)

I will try to improve the gyro as best as possible over time to make it more stable and will probably divide its strength according to the number of gyros with the same axis placed on a creation, but in any case only one gyro per axis should do the trick

----------- Current Mod Status :

The Gimbal And The Gyro Work, I still need to review the description of the Steam page as well as the objects in the game to make it easier to understand how to use them, I will also soon put tutorial and demo videos on the Steam page and redo a better thumbnail, also for now i working on a new part, The Compass, because I tried to align the gimbal with the orient block of the modpack but for that the orient block must always remain straight and there are too many data conversions so this block will simplify things, I will say more once the block is finished, I also made a small change to all blocks interface, also now the gimbals can receive white inputs which will be multiplied instead of being added, all of this will soon be explained in a video, For now I'm going to finish the Compass and try to make the gyro more stable because it is still very unstable, especially with PIDs.

I will try to do all of this as quickly as possible but it will take me some time because I have to learn a lot of things on the job

----------- Goals And Ideas :

-- a mountable grabber of 1*2 block with the appearance of a portal gun which would be a
gravity gun controllable with number logic

-- a rope spring thing displayed with effects and a dynamic catenary curve to give a realistic rope look

-- a Conic Sensor adjustable with number logic, with multiple modes

-------------------------------------------------------

The Mod is still in development so it will probably still have some bugs, if you find some weird behavior that are not mentioned in the warnings or bugs tell me in the comment of the mod, also there may be new parts that will be added over time.

Also anyone can reuse code or assets from the mod, If you do so i would be happy to be credited but it's optional.

And if anybody wants to help me whether it is for the code, modeling or just to give ideas im open.
If you want to ask me something or talk about suggestions you can dm me on my discord : _mahorin_

-------------------------------------------------------
14 Comments
Alicja Jul 13 @ 11:02am 
ah, it would be brilliant if you could separate the gimbal mode for pitch and yaw in the thruster so it could be used easily with the modpack's orient block in local mode for missiles or whatnot
Glampi Apr 19, 2024 @ 11:52am 
Finally someone did the reaction wheel mod! Thank you! Now I won't have to use the suspension glitch to keep my creations stable(I hate using glitches). Also the fact that it's compatible with the Modpack is great, because 00fant made a gyroscope as well but I don't want to use it because you can't configure its power with logic.
XavyGamer Apr 5, 2024 @ 7:07pm 
very cool
_/Mahorin/_  [author] Apr 3, 2024 @ 4:36pm 
ok nice that's a good idea indeed, plus I know a custom game called "Deconstructria" which adds a wide sensor which looks like what you describe, which means that this idea is certainly feasible, so I'll see to add that, that said it will probably take a little time because for the moment I still have issues with the multiplayer and I still have to get the Compass working, but I'll keep that aside, I'll put it in the list goals ;)
Kototop_CMB Apr 3, 2024 @ 10:59am 
so cone sensor
works similliar to smart sensor but scanning not straight line, angle can be setted with number logic
also will have some modes, for example:
closest range in cone
average range in cone
signal than bigger than target closer to cone center
signal depends of target position regarding position from center(X Y)

and target types(can be selected more than 1 at time)
blocks
players
ground
mobs
colour

im tried to make radar with usual smart sensors but it work tooooooo bad for any usage
Kototop_CMB Apr 3, 2024 @ 10:53am 
okay(
_/Mahorin/_  [author] Apr 3, 2024 @ 10:24am 
sorry Kototop_CMB but the welder is not going to be possible to be done, I asked other moders more experienced than me and apparently the only way to weld 2 creations is to destroy and rebuild the blocks of one creation on the other, it works but it is impossible to transfer the block parameters due to modding limitations, so the parts would be reset, which makes the thing very little useful...
Kototop_CMB Mar 28, 2024 @ 12:13pm 
okay will write later
_/Mahorin/_  [author] Mar 28, 2024 @ 12:07pm 
I will see if this is possible and do tests for the welder block and the air friction block, I know that there is already a mod to remove the air drag made by das etwas which has an effect similar to what you describe, but I can still try to add a controllable version if you want, also I don't know how to do the welder block but I'm going to look to see how to do it, also if you want write me on discord to describe it a little more the welder block because I don't understand all the details
Kototop_CMB Mar 28, 2024 @ 10:08am 
another suggestion: friction control block, works like gravity module but with air friction