Garry's Mod

Garry's Mod

Stop Motion Helper
Melons aren't saved when animated :(
When I playback normal ragdolls after loading them, the mod works perfectly, but when I try the same with a melon only a single frame is saved and when I press the button for playback this error appears in the console:

[Stop Motion Helper] lua/smh/modifiers/bones.lua:36: attempt to index local 'd' (a nil value)
1. Load - lua/smh/modifiers/bones.lua:36
2. PositionEntity - lua/smh/server/positioning.lua:77
3. v - lua/smh/server/playback.lua:20
4. unknown - lua/includes/modules/hook.lua:84

Anyone know a fix? I think that perhaps the melon having no bones / being breakable is the problem but i can't do anything about any of those properties.
< >
Showing 1-9 of 9 comments
PenolAkushari  [developer] Sep 20, 2021 @ 6:26am 
that shouldn't really be a problem as breakable doesn't add any new bones, and SMH should be able to perfectly animate physics props which just have 1 bone. does it also throw an error if you try animating something like a bluebarrel?
swagityswougy Sep 20, 2021 @ 9:37am 
I will reply when I get the results
swagityswougy Sep 20, 2021 @ 11:02am 
So, I have experimented with a washing machine, a propane tank, a blue barrel, a glass bottle, a glass jug and a lamp shade and all of them loaded correctly (map gmocontruct). I tried to check the melon on the new map as well, but now I couldn't even save it.
PenolAkushari  [developer] Sep 20, 2021 @ 11:41am 
you're using the half life 2 physics prop watermelon, which is "models/props_junk/watermelon01.mdl" ? just tried it on my end with workshop version of smh, recording, save and load seemed to work fine on my end. perhaps there's some addon conflict? will it work fine if you disable all addons except for smh?
swagityswougy Sep 20, 2021 @ 12:35pm 
I am using that default melon in the garry's mod comic props section or whatever it was called, so you are probably correct about that. I have no idea how to disable addons so it will take some extra time before I can report if the problem is fixed.
PenolAkushari  [developer] Sep 20, 2021 @ 12:36pm 
in the addons tab in the main menu, you can disable stuff from there without a need to unsubscribe from stuff
swagityswougy Sep 20, 2021 @ 12:37pm 
Thanks! I will check it out tomorrow.
swagityswougy Sep 21, 2021 @ 5:01am 
I disabled and enabled all addons other tha smh and now it... works??? I don't know how toggling addons helped but now everything is working fine, even the old melon save. Thank's a lot for the help!
PenolAkushari  [developer] Sep 21, 2021 @ 5:03am 
huh. funny source stuff. maybe something got reordered after you switched some addons on/off, like think console variables seem to be persistent between games. i'd assume something conflicted with the addon, but can't say for certain.

you're welcome!
< >
Showing 1-9 of 9 comments
Per page: 1530 50