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.
< >
Näytetään 1-9 / 9 kommentista
PenolAkushari  [kehittäjä] 20.9.2021 klo 6.26 
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?
I will reply when I get the results
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  [kehittäjä] 20.9.2021 klo 11.41 
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?
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  [kehittäjä] 20.9.2021 klo 12.36 
in the addons tab in the main menu, you can disable stuff from there without a need to unsubscribe from stuff
Thanks! I will check it out tomorrow.
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  [kehittäjä] 21.9.2021 klo 5.03 
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!
< >
Näytetään 1-9 / 9 kommentista
Sivua kohden: 1530 50