Modding:How To Find A Virtual Texture: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 36: Line 36:
                     <attribute id="MaterialType" type="uint8" value="44" />
                     <attribute id="MaterialType" type="uint8" value="44" />
  '''                  <attribute id="Name" type="LSString" value="HUM_M_ARM_Bandit_C_Body" /> (bolded for importance!)'''
  '''                  <attribute id="Name" type="LSString" value="HUM_M_ARM_Bandit_C_Body" /> (bolded for importance!)'''


We scroll down and find
We scroll down and find
Line 45: Line 44:
             </node>
             </node>


The material ID is what we need. We scroll back up to the start of the file and search that.
This material ID is what we need. We scroll back up to the start of the file and search that.


We find
We find
Line 54: Line 53:
                     <attribute id="MaterialType" type="uint8" value="22" />
                     <attribute id="MaterialType" type="uint8" value="22" />
                   <attribute id="Name" type="LSString" value="HUM_M_ARM_Bandit_A_Body" />
                   <attribute id="Name" type="LSString" value="HUM_M_ARM_Bandit_A_Body" />
And we do see that it shares a texture with the other bandit models.
At the end of the material we find
At the end of the material we find


Line 66: Line 63:
             <attribute id="ParameterName" type="FixedString" value="virtualtexture" />
             <attribute id="ParameterName" type="FixedString" value="virtualtexture" />
                </node>
                </node>




So we search d53fa1a1-aa8e-2564-1077-42f6c36086c5. Luckily for us it is in the same file. (If it isn't you may need to search the multitool with it.
So we search d53fa1a1-aa8e-2564-1077-42f6c36086c5. Luckily for us it is in the same file. (If it isn't you may need to search the multitool with it.


  <node id="Resource">
  <node id="Resource">
Line 86: Line 83:


b049a62336641c449903f6ec8b4dae67 is the correct string. Now you can extract it from the virtual textures.
b049a62336641c449903f6ec8b4dae67 is the correct string. Now you can extract it from the virtual textures.
And we do see that it shares a texture with the other bandit models- it is the part under the armour. We will need to go back and extract the armour and accessories seperately by looking at the materials under the different mesh chunks listed in the mesh entry.


===Lslib===
===Lslib===

Navigation menu