Garry's Mod

Garry's Mod

Stop Motion Helper
swagityswougy 20. sep. 2021 kl. 5:51
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.
< >
Viser 1-9 af 9 kommentarer
PenolAkushari  [udvikler] 20. sep. 2021 kl. 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?
swagityswougy 20. sep. 2021 kl. 9:37 
I will reply when I get the results
swagityswougy 20. sep. 2021 kl. 11:02 
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  [udvikler] 20. sep. 2021 kl. 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?
swagityswougy 20. sep. 2021 kl. 12:35 
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  [udvikler] 20. sep. 2021 kl. 12:36 
in the addons tab in the main menu, you can disable stuff from there without a need to unsubscribe from stuff
swagityswougy 20. sep. 2021 kl. 12:37 
Thanks! I will check it out tomorrow.
swagityswougy 21. sep. 2021 kl. 5:01 
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  [udvikler] 21. sep. 2021 kl. 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!
< >
Viser 1-9 af 9 kommentarer
Per side: 1530 50