I'm making my first mod, and I wanted to add a biker jacket featuring the Virginia Opossum, but I'm a bit stumped, as I feel like I'm following a couple of tutorials well, but it doesn't seem to work.
I've done the artwork and added —what I think should be all— the necessary files, but my main problems are as follows:
When I equip the jacket, my body where the jacket should be becomes transparent.
When I drop the jacket on the floor the proper texture is missing.
I've added a screencap of both of these behaviors:
Here's a link to a google drive folder of what I have so far, to help troubleshoot, but the code is as follows:
Jacket_LeatherGarbageCats.xml
OPOJACKET-ProceduralDistributions.lua
opossum-jacket.txt
fileGuidTable.xml
Here's a picture of my file structure:
I also have some concerns about loot tables as I could only find the vanilla biker jackets in the "SafehouseArmor" table —to which I added my new jacket. As I understand it, the clothing zomboids wear is based on outfit tables, but I am completely unable to find where they are. (In fact, I couldn't find the vanilla icons for the jackets anywhere in the base game files; I had to pull them from the wiki!)
Finally (for now) I'm worried that my mod is bloated with unnecessary files that will affect the mod size and compatibility; I made progress troubleshooting myself doing so, but I feel like I shouldn't need to include the vanilla mask or model files if I'm not changing them.
As the posting guidelines said, I don't expect y'all to write my files for me, but I would super appreciate it if someone could let me know what I've done wrong and how to proceed.