Guide:Hair Mod File Setup: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 46: Line 46:
== Localization/English/custom_name_here.loca.xml ==
== Localization/English/custom_name_here.loca.xml ==


Why is it named .loca.xml?
This is the file that tells your game what text to display for your hair--aka the name of the hair in Character Creation. If this file is broken or doesn't exist, your hair will show up as Not Found.


This is because if you package the Main folder (also known as your workspace folder) with multitool, it will auto convert the .loca.xml to .loca.
Why is it named .loca.xml? This is because if you package the Main folder (also known as your workspace folder) with multitool, it will auto convert the .loca.xml to .loca.


This way you don't have to manually do the conversions yourself. However if you prefer to do manual conversions change the extension to .xml only.
This way you don't have to manually do the conversions yourself. However if you prefer to do manual conversions, change the extension to .xml only.


Change custom_name_here to a custom name. It's best to add a prefix beforehand so there is no chance of your mod name clashing with another mod. For example I use my username Padme4000 but shorten it to P4.
Change custom_name_here to a custom name. It's best to add a prefix beforehand so there is no chance of your mod name clashing with another mod. For example, I use my username Padme4000 but shorten it to P4.


So for my viking braid my .loca.xml is called p4_viking_braid.loca.xml
So for my viking braid hair, my .loca.xml is called p4_viking_braid.loca.xml


[[File:Localisation.webp|750px]]
[[File:Localisation.webp|750px]]


So the first underscored (yellow) part labeled 1 is a handle. This is technically the same as a UUID except it has no - and instead has 3 extra random digits and adds a h at the beginning. So if you want you can use auto generated UUID's like you can make with notepad ++ or vscode and then remove the - and add a h at the beginning and add 3 more random digits.
In this screenshot, the first underscored (yellow) part labeled 1 is a handle. This is technically the same as a UUID except it has no - and instead has 3 extra random digits and adds a h at the beginning. The second underscored (pink) part labelled 2 is where we write what we want the game to show when the handle is active. For example when it comes to character creation mods, it is what shows up in character creation. This should be the name or description of your hair, e.g. "P4 Viking Braid".
 
For example:
 
644e4b68-7bdb-4b0a-98ff-9025ce6e20e6 turn this into h644e4b687bdb4b0a98ff9025ce6e20e6a4d
 
Now the second underscored (pink) part labelled 2 is where we write what we want the game to show when the handle is active. For example when it comes to character creation mods it is what shows up in character creation.


=== Using Multitool to Generate a Handle ===
=== Using Multitool to Generate a Handle ===
Line 72: Line 66:
[[File:Handle multitool.webp|600px]]
[[File:Handle multitool.webp|600px]]


So once you have multitool open make sure to click the box next to Handle so it has a tick inside. Then you can click Generate for the tool to generate a new handle. Clicking on the box that has the handle inside will copy it to your clipboard so you can go to your file and paste it in.
So once you have multitool open, make sure to click the box next to Handle so it has a tick inside. Then you can click Generate for the tool to generate a new handle. Clicking on the box that has the handle inside will copy it to your clipboard so you can go to your file and paste it in.


=== Using mini tool to create/edit the .loca ===
=== Using mini tool to create/edit the .loca ===

Navigation menu