Modding Invisible Hats?

I was trying to mod hats to be invisible, and my first method wasn’t working.
My question is, if I break the link to the model (like changing the file name it’s pointing to) of an item, like say, the farmer bonnet, would it crash the game, or just make it invisible?

It would crash the game. If you though make a 1x1x1 invisible pixel .Qb, and point at that, that is fine.

Ty! I can’t figure out how to make the pixel invisible in Goxel, so I may have to get another program.
But I’m working on it.
Thanks!

No, it does not crash. Just tested. Rename the .qb file you don’t want, and that is it.

1 Like

Hi, thanks. I made the invisible pixel after all and I am now trying to determine how to set this up as a mod so I can share it with others.
I made a mod folder through the mod menu (create mod) and I’m trying to determine if the manifest operation would be override or mixinto.
Since I’m changing a base game asset, I was thinking override.
Can anyone tell me?
Thanks.

1 Like

https://stonehearth.github.io/modding_guide/index.html

Mixinto would be best, else you will be redoing the entire file, meaning that it can erase someone else change in that same file

1 Like

Ahhh thank you. I was just getting confused about the two operations. Thaaanks

@BrunoSupremo

What file would I find the info in to change how fast villagers are gained? Like to change the food/gold requirements so I don’t get them as fast?

In the /data/constants.json, there is a field immigration_requirements with the formulas

Thank you so much!
You’re so quick o_o
Thank you thank you!

I am not math enough to fix that haaa…

Maybe you can help me figure out one more thing?
I was editing the Farmer outfit (removing the hat since it’s part of the outfit) and after doing this, the outfit is not on the Ling anymore, but behind them, moving with them, but totally off their body. Any idea why and how to fix?

that is caused by the exporting setting of the voxel editor.
If you are using voxelshop, do not activated the recommended settings, they are wrong. Open, edit and save the model without moving it, using the checkboxes “origin at zero” and “righthand” only, leave the others unchecked.
If you are using magica, it can’t work. magica saves the whole thing as a single static piece.

I used Goxel to remove the hat, and Magic Voxel to change the colors. c_c I exported to .qb in both cases. I didn’t see settings.
I’m new to voxel editing.

Thanks for letting me know where to start.

yeah, magica condensed everything and messed the position.