Hi guys i’m new here and i make models,i tried to make a mod and it go all fine. but one thing i don’t like the sword wasn’t in hearthling hand PS:I use MagicaVoxel not Qubicle and thats not for sword thats for all items i make so any one can help me?
and also happen in the newest version of stonehearth
could you perhaps provide a screenshot? seeing as your new you wont be able to upload it directly to the discourse, but if you upload it to imgur.com ,or your preferred site, and provide the link, then i could emended it for you.
You most likely need to do model origin stuff
It’s very complicated and I’m not sure how to easily change the Axis point from MagicaVoxel. You’ll might need to find another program that lets you do it.
The next picture shows various options you use to help.
In the bottom right click to enable Frame to show the matrix box thing.
In the upper right click Shrink Size to shrink the size of the matrix to fit your object (this will help later. You can also manually change the numbers to the left of the button to change the size.)
4. Export your model as a qb 5. Open Voxelshop and Import your model and it will appear as like this next picture.
Mine may look different because I messed up the window arrangement
It may be hard to see but your goal is to put the center of the model where the black crosshairs are. 6. Select everything by pressing Ctrl A or find the Select button and highlight everything. 7. Drag the object with the mouse to the center . Use the various camera modes on the left to help you.
thanks so much for the tutorial on how to center weapons and such @PegLeg, it was very helpful/informative and has allowed me to actually have a mod worthy of V1 release
If you made the object positioned in the center of VoxelShop, and exported with the origin set to 0, then it should be centered in the game, unless your json file for that object is shifting its position.
You can also change the size of that voxelshop grid to have it matching the object size, making it easier to see if it is centered or not.
For it to show in the menu it must have a correct image and stockpile tags.
Other than region_collision_shape there’s nothing that looks like it could lead to some off-centering. Tried to set everything to 0 (no clue what I’m doing) but that didn’t work.
At least it showed up in the menu after I issued a declaration and named the village.
Check this. When a file has this “mixins”, it is importing the contents of another. So it means this object has more code in other places. Usually those positions code are left in the ghost, so both the ghost (the transparent object marking where it will be placed) and the object itself will have the same position, and you will not need to set it in two files
If I check “Use bounding box as matrix” the item will be centered. But it looks like the center is actually a kinght’s move away. Unfortunately I don’t see any bounding box options that I could set to 31 41 31. Does Quibcle’s export work better? I’m willing to fork out money just to avoid spending more time.
Plus I’m not sure if the settings in the ghost.json are correct now. So there are multiple options that I would usually change one by one but it’s driving me insane right now.