What does model_variants do?

"model_variants": {
         "default": {
            "layer": "armor",
            "transparent": "false",
            "models": [
               "file(cloth_padded_vest.qb)"
            ]
         },
         "female": {
            "layer": "armor",
            "transparent": "false",
            "models": [
               "file(cloth_padded_vest_female.qb)"
            ]
         }
      }

I mean I know that it controls variety of the item’s modeling and such, but what does 'transparent" do?
where can I control its components?

I think I need to change this to make a semi-transparent entities, but don’t know how.

I think that transparent actually controls whether the armor’s voxels entirely replace or are just added over the regular Hearthling voxels, if I remember Tom’s streams before the Hat update correctly.

Yeah, I actually tried it out and it happens to be irrelevant to making the modeling transparent.

Is there a way to say for example use “transparent”: “true” only for clothing and for the hat, that is in the clothing.qb, to be “false”?

I try to make a new farmer with sandels and hat so I need the feet from the default body -> “transparent”: “true” but for the hat of the farmer I need it to be “false” so the hair is not clipping through it.

You can try having them in separate json files, and specifying both in the equipment list in the job description json file.

1 Like

Ok I will try, thanks :slightly_smiling_face: