Scrap Mechanic

Scrap Mechanic

Not enough ratings
StabiliZING Mug
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.017 MB
27 Jun, 2023 @ 7:16pm
13 Apr, 2024 @ 2:59pm
5 Change Notes ( view )

Subscribe to download
StabiliZING Mug

In 1 collection by Sir Budgerigar
StabiliZING Mug
8 items
Description
An interactable mug who is determined to stay upright!

You can connect a logic signal to turn it on or off, or just leave it at its default of being on.


STABILIZING MUG:

The StabiliZING Mug has two key features. It's main feature is trying to always point upward whenever it is on. It also has a subtle angular velocity dampening effect, which can be used to slow down the rotation of parts or vehicles.

While Suspension Glitch is great at stabilizing, there are four reasons why I created the Stabilizing Mug:

1. The StabiliZING Mug will always try to point upwards, while a suspension glitch will slowly veer from perfect alignment.
2. The StabiliZING Mug can be customized in stiffness. A suspension glitch is essentially perfectly stiff, with no way to make it feel more natural.
3. It is easy to keep it compact. The smallest a suspension glitch can get is 2x1x1, and that's only if you use glitchwelding.
4. It can be turned on and off with just a logic signal. You don't need to have any kinematics to restrict the suspension glitch, reducing volatility.


SLOWING MUG:

The slowing mug has a feature that can not be easily replicated: responsive vector-based velocity dampening. Instead of slowing down with sensors/input, it will automatically slow down your creation from the point it is placed.

Often works better with more than one slowing mug, but it depends on your use case.


DEMOS:

I've made a few vehicles to showcase all of the possible ways you could use this tech, and might make a few more. Here is the collection:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3010223930


This mod uses coding inspirations from "Hoverpads" by 00Fant. I was trying to figure out how everything in Scrap Mechanic Modding worked, and there were some questions that weren't answered by the Scrap Mechanic Lua API Reference.
26 Comments
MR.Spudtastic! 4 Feb @ 9:53pm 
there are some pretty unavoidable glitches I think recent game updates are introducing, maybe the mod needs an update to catch up?
#D402DA Lemme Smash #ffffff 15 Apr, 2024 @ 9:58am 
awesome, thanks
Sir Budgerigar  [author] 13 Apr, 2024 @ 3:04pm 
@#D402DA Lemme Smash, I added a recipe for the slowing mug, and the change is currently pending. It should be the same recipe as the stabilizing one.
#D402DA Lemme Smash #ffffff 9 Apr, 2024 @ 9:10am 
just a bit of a request: add a recipe for the slowing mug too, currently you only have the stabilizing one as craftable
00Fant 6 Apr, 2024 @ 1:50pm 
hey men, i found a small "client side" bug.
only the Host can Open the Mug to change the Strength because its only Serverside defined.

in Line 215 you try to read thet value "clientside" and it crashes client the script because its a "nil" error call.

you have to send the value with "self.network:sendToClients..." to all clients too. then it will work for them too.

I hope that helps you ;)
ltryjan 6 Jan, 2024 @ 7:13am 
i have NO idea why it doesnt work
ltryjan 6 Jan, 2024 @ 7:13am 
So for me the stabilizing mug doesnt work and the slowing mug doesnt work too
Witok5ok 1 Nov, 2023 @ 6:06pm 
mug power!
amyrbigbie 6 Oct, 2023 @ 5:15pm 
why do i feel like i have heard that before
Sir Budgerigar  [author] 5 Sep, 2023 @ 5:50pm 
That is good news! Weird how something like that is even possible :/