TL;DR
I have been experimenting with the modkit (love it by the way - thank you, inZOI/Krafton team!) to model temporary visual effects to Zois’ skins and faces, but the only reliable way I have found to have this work in-game has been to borrow an existing clothing/body part slot (necklace/stocking/mustache on the face) the player may already be using.
Details
For example, I had to add a new visual effect I modelled to a Zoi by having that effect take up a mustache slot - but doing this removes the actual mustache from the Zoi while the effect is active.
Each of these effects has to save the player’s item, swap it out, and restore it afterwards.
Example: Adding temporary dirt or weather effects to the face. Right now, I can do this, but at the cost of taking up like a mustache or scar slot.
And if two mods were to do this at once, they could overwrite each other’s saved state, and then a crash or reload mid-effect can leave the player’s Zoi without their stockings, scar, mustache, etc. → No bueno.
Things I have considered as potential solutions
- Stackable mod overlay layers. E.g. a few extra layers in the skin materials with the same inputs the Stockings and Scar layers use (mask, colour, roughness, normal), but kept as separate from the wardrobe/appearance slots. Basically drawing on top of whatever the Zoi is wearing.
- A “face-customization-agnostic” attachment method. Something like
AttachMesh, but actually able to follow the head’s facial bones the way facial hair does, like the face-shape sliders and expressions. I have had a hard time making meshes that conform to EVERY variation of face; I’ll do it for one Zoi, and then I get to where I’m happy with it, and then try it on another Zoi, and the facial customization differences can throw the mesh off because it doesn’t move with the face customizations. - Lua calls to add and remove these effects by ID at runtime, without changing the Zoi’s outfit or appearance data, so effects can come and go during gameplay and nothing has to be restored. This would soooo simplify the workflow I’ve had to use so far.
And maybe there are ways around these issues that I’m just getting wrong - I admittedly do not model often at all and am using this as a learning experience!
What else this could help
Any mod that adds temporary visual states: Weather, wetness, sweat, dirt, paint, food splatter, tears, injuries, body paint, and seasonal/event makeup are some of the other things I could think of that would have to follow these same patterns. It would also help make such mods safe to use together without fighting over the same slot.
Thanks for the consideration and time! <3