If you’ve been following my Qubicle creations thread, you know that I’ve had modding aspirations for a while. I wanted to start by adding my ocarina as essentially, a piece of furniture crafted by the mason. No behaviors, no animations, no fancy stuff at all. Easy enough, right?
I started by simply copying the stone table files, replacing relevant things for my ocarina, and then following that tutorial that I think I’ve linked a bunch of aspiring modders to. I messed up somehow. Can anyone find out what I’ve done wrong? [And, yes, the first time I tried to run it, I forgot to rename it into a .smod, but even after that it wouldn’t work.]
I thought I’d made the necessary changes, but for some reason, Stonehearth won’t load to the title screen in a reasonable amount of time when my version of my mod’s loaded. @BitterRob’s version works fine. What did I mess up this time? The updated link to my version is here.
Well, actually, there’s one problem with @BitterRob’s fix. Namely, that’s not how you hold an ocarina! The backwards model is entirely my fault, and I’ve fixed it in my version.
It’s not that I’m not grateful for the fixing, I’d just like to know what’s going on a bit more. I want to understand modding, and be able to do more of it myself, rather than fumbling through the whole thing.
Thanks for the props; and many apologies for jumping in and fixing it up; fixing what was wrong with your mod made it “click” for me and so I was able to get my shop mod working.
I used the stonehearth.log file to ensure that the mod actually loaded; which is when I got the same black screen as you.
I hope that you get the same errors in your log that I am getting?
std::exception: ‘‘musician’ has no alias named ‘furniture:ocarina’ in the manifest.’
I have in my version of the manifest: “furniture:ocarina”: “file(entities/furniture/ocarina/ocarina.json)” and you have “ocarina”: “file(entities/furniture/ocarina/ocarina.json)”
There was also a syntax error that I’d put in there by erroneously adding in an extra comma, that passed the “do these files reference each other correctly” validation, and therefore the game loaded, but got an error on trying to actually place that item.
It would appear that “bad” mod file references will cause the game to not load with a black screen and produce errors in the log file; and if there are syntax errors with the file then you will see an in game error with the line that is at fault.