Originally Posted by ThisIsUlb
Hey, first off: Thanks a lot for this mod, this is awesome!
I am struggling a bit to add/edit in new stuff though, maybe someone can point me to where I mess up?

For example, I am trying to add the female tiefling head 2 as a new female elf head with this code:

Code
		   <node id="CharacterCreationAppearanceVisual"><!--Tiefling Head2-->
                    <attribute id="DisplayName" type="FixedString" value="Tiefling Head2"/>
                    <attribute id="Gender" type="uint8" value="1"/>
                    <attribute id="RaceUUID" type="guid" value="6c038dcb-7eb5-431d-84f8-cecfaf1c0c5a"/>
                    <attribute id="RootTemplate" type="guid" value="00000000-0000-0000-0000-000000000000"/>
                    <attribute id="SlotName" type="FixedString" value="Head"/>
	            <attribute id="UUID" type="guid" value="a0f108fa-0288-4bba-9fda-e668e19e523b"/>
                    <attribute id="VisualResource" type="guid" value="afb26b92-f5ea-bf44-6dcf-c9172481781f"/>
                    </node>


The first 6 lines are from another elf - female head while the last two are taken from the tiefling - female head2.
The problem is the head doesn't show up in the game.
If I replace the UUID value with one of the modded heads that are already there (for example I use the UUID for the Shadowheart head that this mod adds to female elves, then female tiefling head2 will show up instead of Shadowheart's head in game.
So this narrows it down to the UUID line of the original tiefling head being the issue, but I just can't figure out what exactly the problem is or even where these UUID values are defined in the game files?




Code
        <node id="CharacterCreationAppearanceVisual">
                    <attribute id="DisplayName" type="FixedString" value="★ Tiefling Head 2"/>
                    <attribute id="Gender" type="uint8" value="1"/>
                    <attribute id="RaceUUID" type="guid" value="6c038dcb-7eb5-431d-84f8-cecfaf1c0c5a"/>
                    <attribute id="RootTemplate" type="guid" value="00000000-0000-0000-0000-000000000000"/>
                    <attribute id="SlotName" type="FixedString" value="Head"/>
                    <attribute id="UUID" type="guid" value="0c81fa16-19fe-4d9b-9e28-dc903bfdcf6b"/>
                    <attribute id="VisualResource" type="guid" value="afb26b92-f5ea-bf44-6dcf-c9172481781f"/>
                </node>


Copy this code into your file and it should work, To understand why basically the UUID is a unique id string so that the game can reference the entry since we are adding a id for something new we just need to create a new unique id - https://guidgenerator.com/online-guid-generator.aspx , if the UUID is repeated it doesnt show up in the options due to the ID being taken already.


Last edited by AlanaSP; 19/10/20 07:46 AM.