Modding:Hair Mod Mesh Setup: Difference between revisions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
<categorytree hideprefix="1" hideroot="1" mode="pages">Modding resources</categorytree> | <categorytree hideprefix="1" hideroot="1" mode="pages">Modding resources</categorytree> | ||
</div> | </div> | ||
|}</div><div class="noexcerpt navigation-not-searchable" style="text-align:center"><span class="nodesktop"> [[Modding:Index|Modding index]] </span></div>So, you wanna make a hair mod for Baldur’s Gate 3. | |}</div><div class="noexcerpt navigation-not-searchable" style="text-align:center"><span class="nodesktop"> [[Modding:Index|Modding index]] </span></div>So, you wanna make a hair mod for Baldur’s Gate 3. How do you do that, though? This guide will show you how. | ||
First off, get yourself these tools. | First off, get yourself these tools. | ||
Line 23: | Line 23: | ||
* [https://github.com/Norbyte/dos2de_collada_exporter Mesh import/export Blender plugin] by Norbyte | * [https://github.com/Norbyte/dos2de_collada_exporter Mesh import/export Blender plugin] by Norbyte | ||
Because we’ll be using Blender to make the mesh for our hair mod, we recommend at least having a cursory knowledge of how to use Blender before attempting to follow this guide. If you don’t have that, we recommend [https://youtube.com/playlist?list=PLjEaoINr3zgEPv5y--4MKpciLaoQYZB1Z&si=GqdmSXxoU6_-RorW Blender Guru’s Donut tutorial series]. But any tutorial that teaches you the basics of how to move around, shape the mesh, create objects, etc, should be fine. | |||
Open up your Multitool and [https://bg3.wiki/wiki/Modding:Unpacking_and_converting_files unpack the Models.pak game files]. This should contain all of the vanilla hair models we are going to use. | Open up your Multitool and [https://bg3.wiki/wiki/Modding:Unpacking_and_converting_files unpack the Models.pak game files]. This should contain all of the vanilla hair models we are going to use. | ||
Line 38: | Line 38: | ||
Once finished, your hair should now display a texture in Blender. | Once finished, your hair should now display a texture in Blender. | ||
If you’re not really sure what you’re looking at, BG3’s hair models are composed of pieces called “hair cards” that are essentially just long strips of mesh, or planes, with a hair texture applied. This is a (comparatively) low-poly way of making hair. | |||
Now comes the fun part—playing with the hair in Blender. Make it longer or shorter, remove some parts, add some parts. There’s a lot you can do even without making any custom hair parts, so get creative! |
Revision as of 18:57, 29 December 2023
First off, get yourself these tools.
- Blender (version 3.6 recommended)
- Lslib by Norbyte
- BG3 Multi-Tool by ShinyHobo
- Mesh import/export Blender plugin by Norbyte
Because we’ll be using Blender to make the mesh for our hair mod, we recommend at least having a cursory knowledge of how to use Blender before attempting to follow this guide. If you don’t have that, we recommend Blender Guru’s Donut tutorial series. But any tutorial that teaches you the basics of how to move around, shape the mesh, create objects, etc, should be fine.
Open up your Multitool and unpack the Models.pak game files. This should contain all of the vanilla hair models we are going to use.
Open Blender 3.6 and install the Collada/GR2 exporter plugin. This will allow you to import and export .GR2s, which is the file type BG3 uses for its models.
Let’s load a hair mesh into Blender! Go to the Modding:Hair Meshes page and pick a mesh that you like. Take note of the Asset Name—that’s what it’s called in the game files. Open the Multitool and search the index for this Asset Name. It should have a .GR2 extension, e.g. Hair_GTY_F_GithyankiCut_Short_A_Spring.GR2. Once you find it, copy it to a project folder to make it easier to find. Then go into Blender, go to File, and Import the .GR2.
Here is an example video of installing the plugin and importing a GR2.
You should now see your mesh in Blender! But it looks all white… we should fix that and make it look closer to what it’s going to look like in-game.
To visualize the texture in Blender, follow this tutorial.
Once finished, your hair should now display a texture in Blender.
If you’re not really sure what you’re looking at, BG3’s hair models are composed of pieces called “hair cards” that are essentially just long strips of mesh, or planes, with a hair texture applied. This is a (comparatively) low-poly way of making hair.
Now comes the fun part—playing with the hair in Blender. Make it longer or shorter, remove some parts, add some parts. There’s a lot you can do even without making any custom hair parts, so get creative!