Modding:VertexColorMaskSlots

From bg3.wiki
Jump to navigation Jump to search

Bgwiii.png CommunityGuidesModding

Modding guides
Modding resources


VertexColorMaskSlots

So when creating outfits/armours/helmets and such we sometimes will want to hide certain parts of the body or make it so those parts aren't hidden such as wanting a tiara not to hide hair.

You will see something like this in the merged.lsf files:

<node id="VertexColorMaskSlots">
<attribute id="Object" type="FixedString" value="Torso" />
</node>

This is the values you can use:
these are case sensitive so must be used how they are written

VertexColorMaskSlots Table

VertexColorMaskSlots
Fixed String Description Colour Hex Code
Torso hides majority of the torso, used by most _body armor #013201
Shoulders #011E01
upperarm #014101
lowerarm #015001
wrists usually used by gloves #013A01
hands usually used by gloves #015F01
Thighs be careful using this as some shorter pants will show gaps if used #01B901
knees #011001
shins #012401
feet usually used by boots #019601
decolletage_01 hides the low neckline on an outfit #018201
decolletage_02 hides the second low neckline on an outfit #016E01
Underwear_Bra hides the upper underwear #02AA02
Underwear_Panties hides the lower underwear #02AA02
Underwear_Panties_Tail same as above but I believe is for hiding specifically the Tiefling underwear #02AA02
Private_Parts hides genitalia ?
ModestyLeaf hides the leaf when playing the game without full nudity ?
Nipple Covers hides the nipple covers when playing the game without full nudity ?
Sleeves used mostly for Gloves to hide parts of longer sleeves when equipped ?
Pants same as above but for Boots and longer pants ?
Never Hide Hair This is used on headwear where you don't want the hair being hidden. ?

Image References

This image is for the Body Vertex Color Mask Slots and what gets hidden when using them.

Bodyvertexmasks.webp


Other Ways to Hide Mesh Parts

So as you know there are certain helmets in the game that hide Ears.

First of you all this is done by the gr2 as if you accidentally name any part of your head Ears other than the ears themselves both will be hidden by these helmets.

If you want to purposefully do this, make sure to have Ears in the name in the data tab and object tab in blender of your mesh in blender.