Modding:VertexColorMaskSlots

From Baldur's Gate 3 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
Fixed String Description
Torso
Shoulders
upperarm
lowerarm
wrists
hands usually used by gloves
Thighs be careful using this as some shorter pants will show gaps if used
knees
shins
feet mostly used by shoes in the game
decolletage_01 the low neckline on an outfit
decolletage_02 the second low neckline on an outfit
Underwear_Bra this is for hiding the upper underwear
Underwear_Panties hides the lower underwear
Underwear_Panties_Tail same as above but I believe is for hiding specifically the Tiefling underwear
Private_Parts this hides genitalia
ModestyLeaf this hides the leaf using when playing the game without full nudity
Nipple Covers this hides the leaf using when playing the game without full nudity
Sleeves this is used mostly for Gloves to hide parts of sleeves of longer sleeved outfits
Never Hide Hair This is used on headwear where you don't want the hair being hidden.

Images

This image is for the Body Vertex Color Mask Slots and what is what. Bodyvertexmasks.webp

Other Ways to Hide Meshes

So as you know there are certain helmets in the game that hide Ears. First of you all this is done by the game searching the mesh names in 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.