Modding:How To Find A Virtual Texture

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search

This tutorial requires Modder's Multitool, LSLib v19 and a knowledge of how to find things with the multitool.

How to do it

First thing you need to find the item is its name.

Put the name(or the NPC's name, to lead you to their CharacterVisuals entry) in the modder's multitool. This should lead you to its entry in the english.loca file.

Take the handle - a handle is h(string of numbers)- and search that.

This should lead you to the roottemplate of the item. (if it doesnt have one in the roottemplate, it's in the parenttemplate's file instead)

You can then find its mesh mapkey. Search that and you should find the meshes lsx entry.


(You can skip the above if you know the mesh name.)

Search the mesh name. You may need to append it with HUM_M_ as most of the gtex are under hum m arm meshes.

search gtex in that same file and you should start seeing applicable codes.

Lslib

Lslib v19 lets you unpack just specific gtp files via the gtex name.

Alternately you can just unpack all the VT into one folder, but this is extremely file intensive and not recommended.