Editing Modding:Creating hair merged.lsf with custom texture
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
|description=This page is a hub for everything related to Modding Baldur's Gate 3. Check out the following guides to learn how to mod BG3. | |description=This page is a hub for everything related to Modding Baldur's Gate 3. Check out the following guides to learn how to mod BG3. | ||
|image=Modding_resources.webp | |image=Modding_resources.webp | ||
}}{{ | }}{{NavModding}} | ||
This page shows an example of a _merged.lsf.lsx file that can be used to set up a custom texture for your [[Guide:Hair Creation|custom hair]]. | |||
<syntaxhighlight line="1"> | |||
<syntaxhighlight line="1 | |||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<save> | <save> | ||
Line 21: | Line 16: | ||
<attribute id="DiffusionProfileUUID" type="FixedString" value="" /> | <attribute id="DiffusionProfileUUID" type="FixedString" value="" /> | ||
<attribute id="ID" type="FixedString" value="MATERIALUUID" /> | <attribute id="ID" type="FixedString" value="MATERIALUUID" /> | ||
<attribute id="MaterialType" type="uint8" value="18" /> | <attribute id="MaterialType" type="uint8" value="18" /> | ||
<attribute id="Name" type="LSString" value="HAIR_Test_A" /> | <attribute id="Name" type="LSString" value="HAIR_Test_A" /> | ||
Line 294: | Line 288: | ||
<attribute id="ExportAsPreset" type="bool" value="True" /> | <attribute id="ExportAsPreset" type="bool" value="True" /> | ||
<attribute id="GroupName" type="FixedString" value="01Texture Maps" /> | <attribute id="GroupName" type="FixedString" value="01Texture Maps" /> | ||
<attribute id="ID" type="FixedString" value=" | <attribute id="ID" type="FixedString" value="f91890c4-306d-4f61-95cf-66426a13d04b" /> | ||
<attribute id="ParameterName" type="FixedString" value="ID_Depth_Root_Alpha_MSKA" /> | <attribute id="ParameterName" type="FixedString" value="ID_Depth_Root_Alpha_MSKA" /> | ||
</node> | </node> | ||
Line 394: | Line 387: | ||
<attribute id="Depth" type="int32" value="1" /> | <attribute id="Depth" type="int32" value="1" /> | ||
<attribute id="Height" type="int32" value="2048" /> | <attribute id="Height" type="int32" value="2048" /> | ||
<attribute id="ID" type="FixedString" value=" | <attribute id="ID" type="FixedString" value="f91890c4-306d-4f61-95cf-66426a13d04b" /> | ||
<attribute id="Localized" type="bool" value="False" /> | <attribute id="Localized" type="bool" value="False" /> | ||
<attribute id="Name" type="LSString" value=" | <attribute id="Name" type="LSString" value="Em_New_Hair_Template_MSKA" /> | ||
<attribute id="SRGB" type="bool" value="False" /> | <attribute id="SRGB" type="bool" value="False" /> | ||
<attribute id="SourceFile" type="LSString" value="Generated/Public/ | <attribute id="SourceFile" type="LSString" value="Generated/Public/Em_New_Hair_Template/[PAK]_Em_New_Hair_Template/Em_New_Hair_Template_MSKA.DDS" /> | ||
<attribute id="Streaming" type="bool" value="True" /> | <attribute id="Streaming" type="bool" value="True" /> | ||
<attribute id="Template" type="FixedString" value=" | <attribute id="Template" type="FixedString" value="Em_New_Hair_Template_MSKA" /> | ||
<attribute id="Type" type="int32" value="1" /> | <attribute id="Type" type="int32" value="1" /> | ||
<attribute id="Width" type="int32" value="2048" /> | <attribute id="Width" type="int32" value="2048" /> | ||
Line 431: | Line 420: | ||
<attribute id="Localized" type="bool" value="False" /> | <attribute id="Localized" type="bool" value="False" /> | ||
<attribute id="MaterialType" type="uint8" value="0" /> | <attribute id="MaterialType" type="uint8" value="0" /> | ||
<attribute id="Name" type="LSString" value=" | <attribute id="Name" type="LSString" value="Em_New_Hair_Template.GR2" /> | ||
<!-- ^ Name of your GR2. --> | <!-- ^ Name of your GR2. --> | ||
<attribute id="NeedsSkeletonRemap" type="bool" value="True" /> | <attribute id="NeedsSkeletonRemap" type="bool" value="True" /> | ||
Line 443: | Line 432: | ||
<attribute id="Slot" type="FixedString" value="Hair" /> | <attribute id="Slot" type="FixedString" value="Hair" /> | ||
<attribute id="SoftbodyResourceID" type="FixedString" value="" /> | <attribute id="SoftbodyResourceID" type="FixedString" value="" /> | ||
<attribute id="SourceFile" type="LSString" value="Generated/Public/ | <attribute id="SourceFile" type="LSString" value="Generated/Public/Em_New_Hair_Template/[PAK]_Em_New_Hair_Template/Em_New_Hair_Template.GR2" /> | ||
<!-- Make sure this matches your folder structure | <!-- Make sure this matches your folder structure. --> | ||
<attribute id="SupportsVertexColorMask" type="bool" value="False" /> | <attribute id="SupportsVertexColorMask" type="bool" value="False" /> | ||
<attribute id="Template" type="FixedString" value="Generated/Public/ | <attribute id="Template" type="FixedString" value="Generated/Public/Em_New_Hair_Template/[PAK]_Em_New_Hair_Template/Em_New_Hair_Template.Dummy_Root.0" /> | ||
<!-- Make sure this matches your folder structure | <!-- Make sure this matches your folder structure. --> | ||
<attribute id="_OriginalFileVersion_" type="int64" value="144115205255725060" /> | <attribute id="_OriginalFileVersion_" type="int64" value="144115205255725060" /> | ||
<children> | <children> | ||
Line 454: | Line 443: | ||
<attribute id="LOD" type="uint8" value="0" /> | <attribute id="LOD" type="uint8" value="0" /> | ||
<attribute id="MaterialID" type="FixedString" value="MATERIALUUID" /> | <attribute id="MaterialID" type="FixedString" value="MATERIALUUID" /> | ||
<!-- | <!-- Use from a material you like. --> | ||
<attribute id="ObjectID" type="FixedString" value=" | <attribute id="ObjectID" type="FixedString" value="Em_New_Hair_Template.Em_New_Hair_Template_Mesh.0" /> | ||
<!-- Make sure this matches your GR2 name. --> | <!-- Make sure this matches your GR2 name. --> | ||
<attribute id="Physics" type="FixedString" value="" /> | <attribute id="Physics" type="FixedString" value="" /> | ||
Line 467: | Line 456: | ||
</save> | </save> | ||
</syntaxhighlight> | </syntaxhighlight> | ||