Koder-Teh / Boombox-Controller

Allows you to easily upload a track to the boombox by specifying a link. Game: Lethal Company
MIT License
6 stars 3 forks source link

Weight gets stuck to 105-110 lb after holding the boombox #57

Open michaelbertoni opened 2 months ago

BeanM023 commented 2 months ago

I had the same thing, think new update broke something.

EliwsEverywhere commented 2 months ago

New update definitely broke the weight, same issue for me

looklocke commented 2 months ago

It looks like the most recent update fixed a glitch involving negative weight. This mod attempts to set the boombox's weight to 0. I think the new update makes this do funky things???

According to the source posted on thunderstore, the only line of code effecting weight is this: ((GrabbableObject)instance).itemProperties.weight = 0f; I bet it could be effectively fixed by changing it to ((GrabbableObject)instance).itemProperties.weight = 0.1f; Making the boombox weigh a fraction of the weight instead of 0. I could just be dumb and wrong though. I can't test because I don't know how to edit the mod.

Precisi commented 2 months ago

Yes, another mod had the same issue and they updated it and the items no longer weigh 100lbs each.

byxea commented 1 month ago

Still happening on v61, dropping the boombox sets the player's weight to about 100 lbs then picking it back up sets it back to normal, only dying seems to reset the weight.