Ad placeholder

Modding:Creating hair merged.lsf with custom texture: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 6: Line 6:
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]].
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" lang="xml">
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<save>
<save>
Line 436: Line 436:
<attribute id="SupportsVertexColorMask" type="bool" value="False" />
<attribute id="SupportsVertexColorMask" type="bool" value="False" />
<attribute id="Template" type="FixedString" value="Generated/Public/Em_New_Hair_Template/[PAK]_Em_New_Hair_Template/Em_New_Hair_Template.Dummy_Root.0" />
<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. Should have Dummy_Root.0 at the end and does not need .GR2. -->
<attribute id="_OriginalFileVersion_" type="int64" value="144115205255725060" />
<attribute id="_OriginalFileVersion_" type="int64" value="144115205255725060" />
<children>
<children>
Line 443: 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. -->
<!-- Use from a material you like. In this case this is our custom material from the MaterialBank above. -->
<attribute id="ObjectID" type="FixedString" value="Em_New_Hair_Template.Em_New_Hair_Template_Mesh.0" />
<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. -->
Line 455: Line 455:
</region>
</region>
</save>
</save>
</syntaxhighlight>
</syntaxhighlight>Make sure you use the Replace function to replace MATERIALUUID with a new UUID.

Navigation menu