Editing Modding:Editing a Character Creation Preset

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 1: Line 1:
{{Modding box}}File path: Shared\Public\Shared\Content\[PAK]_CharacterVisuals\_merged.lsf
{{Modding box}}{{Modding sidebar}}


Use the Find function to find your preferred preset by following this format: RACE_GENDER_SUBRACE_Player
File path: Shared\Public\Shared\Content\[PAK]_CharacterVisuals\_merged.lsf
 
Find your preferred preset by following this format: RACE_GENDER_SUBRACE_Player


Example: Elves_Female_High_Player
Example: Elves_Female_High_Player
Line 7: Line 9:
We find a Resource node similar to this:<syntaxhighlight lang="xml">
We find a Resource node similar to this:<syntaxhighlight lang="xml">
<node id="Resource">
<node id="Resource">
<attribute id="BaseVisual" type="FixedString" value="c05cb1dc-81eb-647b-3e03-e9bf4301fcc4" />
<attribute id="BaseVisual" type="FixedString" value="c05cb1dc-81eb-647b-3e03-e9bf4301fcc4" />
<attribute id="BodySetVisual" type="FixedString" value="9e43f0e4-d063-d85c-87b4-470d569645db" />
<attribute id="BodySetVisual" type="FixedString" value="9e43f0e4-d063-d85c-87b4-470d569645db" />
<attribute id="ID" type="FixedString" value="d67bd924-3c1f-c33a-5298-feca5bbdc284" /> <!--Leave this the same if you want to overwrite vanilla-->
<attribute id="ID" type="FixedString" value="d67bd924-3c1f-c33a-5298-feca5bbdc284" /> <!--Leave this the same if you want to overwrite vanilla-->
<attribute id="Name" type="LSString" value="Elves_Female_High_Player_f08563b3-748d-4783-837b-b8620bc60b22" /> <!--Example Player entry-->
<attribute id="Name" type="LSString" value="Elves_Female_High_Player_f08563b3-748d-4783-837b-b8620bc60b22" /> <!--Example Player entry-->
<attribute id="ShowEquipmentVisuals" type="bool" value="True" />
<attribute id="ShowEquipmentVisuals" type="bool" value="True" />
<attribute id="_OriginalFileVersion_" type="int64" value="144115207403209034" />
<attribute id="_OriginalFileVersion_" type="int64" value="144115207403209034" />
<children>
<node id="MaterialOverrides">
<attribute id="MaterialResource" type="FixedString" value="" />
<children>
<children>
<node id="MaterialPresets">
<node id="MaterialOverrides">
<attribute id="MaterialResource" type="FixedString" value="" />
<children>
<children>
<node id="Object">
<node id="MaterialPresets">
                                    <attribute id="ForcePresetValues" type="bool" value="True" />
<children>
                                    <attribute id="GroupName" type="FixedString" value="02Skin Properties" /> <!--Skin color-->
<node id="Object">
<attribute id="MapKey" type="FixedString" value="02Skin Properties" />
<attribute id="ForcePresetValues" type="bool" value="True" />
<attribute id="MaterialPresetResource" type="FixedString" value="73d00e6d-d66e-8a39-e1ae-5f6e47ab5a2e" />
<attribute id="GroupName" type="FixedString" value="02Skin Properties" /> <!--Skin color-->
</node>
<attribute id="MapKey" type="FixedString" value="02Skin Properties" />
<node id="Object">
<attribute id="MaterialPresetResource" type="FixedString" value="73d00e6d-d66e-8a39-e1ae-5f6e47ab5a2e" />
    <attribute id="ForcePresetValues" type="bool" value="True" />
</node>
    <attribute id="GroupName" type="FixedString" value="06Eyes" /> <!--Eye color-->
<node id="Object">
    <attribute id="MapKey" type="FixedString" value="06Eyes" />
<attribute id="ForcePresetValues" type="bool" value="True" />
    <attribute id="MaterialPresetResource" type="FixedString" value="5be2f4a9-7f1b-673b-8d90-f10bf748215b" />
<attribute id="GroupName" type="FixedString" value="06Eyes" /> <!--Eye color-->
</node>
<attribute id="MapKey" type="FixedString" value="06Eyes" />
<node id="Object">
<attribute id="MaterialPresetResource" type="FixedString" value="5be2f4a9-7f1b-673b-8d90-f10bf748215b" />
<attribute id="ForcePresetValues" type="bool" value="True" />
</node>
<attribute id="GroupName" type="FixedString" value="05Makeup" /> <!--Eye makeup-->
<node id="Object">
<attribute id="MapKey" type="FixedString" value="05Makeup" />
<attribute id="ForcePresetValues" type="bool" value="True" />
<attribute id="MaterialPresetResource" type="FixedString" value="e22ca76f-ff27-ee34-4fea-266a2a8d8ee3" />
<attribute id="GroupName" type="FixedString" value="05Makeup" /> <!--Eye makeup-->
</node>
<attribute id="MapKey" type="FixedString" value="05Makeup" />
<node id="Object">
<attribute id="MaterialPresetResource" type="FixedString" value="e22ca76f-ff27-ee34-4fea-266a2a8d8ee3" />
<attribute id="ForcePresetValues" type="bool" value="True" />
</node>
<attribute id="GroupName" type="FixedString" value="03Hair" /> <!--Hair color-->
<node id="Object">
<attribute id="MapKey" type="FixedString" value="03Hair" />
<attribute id="ForcePresetValues" type="bool" value="True" />
<attribute id="MaterialPresetResource" type="FixedString" value="742499c5-9a8c-ce4c-974f-78f3d652e10e" />
<attribute id="GroupName" type="FixedString" value="03Hair" /> <!--Hair color-->
</node>
<attribute id="MapKey" type="FixedString" value="03Hair" />
<node id="Object">
<attribute id="MaterialPresetResource" type="FixedString" value="742499c5-9a8c-ce4c-974f-78f3d652e10e" />
<attribute id="ForcePresetValues" type="bool" value="False" />
</node>
<attribute id="GroupName" type="FixedString" value="02 Colour" /> <!--Hair accessories color(?)-->
<node id="Object">
<attribute id="MapKey" type="FixedString" value="02 Colour" />
<attribute id="ForcePresetValues" type="bool" value="False" />
<attribute id="MaterialPresetResource" type="FixedString" value="00000000-0000-0000-0000-000000000000" />
<attribute id="GroupName" type="FixedString" value="02 Colour" />
</node>
<attribute id="MapKey" type="FixedString" value="02 Colour" />
</children>
<attribute id="MaterialPresetResource" type="FixedString" value="00000000-0000-0000-0000-000000000000" />
</node>
</children>
</node>
</node>
<node id="ScalarParameters">
<node id="ScalarParameters">
Line 167: Line 169:
<attribute id="Custom" type="bool" value="True" />
<attribute id="Custom" type="bool" value="True" />
<attribute id="Enabled" type="bool" value="False" />
<attribute id="Enabled" type="bool" value="False" />
<attribute id="Parameter" type="FixedString" value="Highlight_Intensity" /> <!--Hair highlight intensity-->
<attribute id="Parameter" type="FixedString" value="Highlight_Intensity" />
<attribute id="Value" type="float" value="0" />
<attribute id="Value" type="float" value="0" />
</node>
</node>
Line 308: Line 310:
</node>
</node>
</children>
</children>
</node>
</syntaxhighlight>The MaterialPresetResource and VisualResource IDs can be found in a variety of places. Some of them are here on the wiki: [[Modding:Hair Meshes|Hair Meshes,]] [[Modding:Head Models|Head Models,]] [[Modding:NPC Head Models|NPC Head Models,]] and others are external: [https://docs.google.com/spreadsheets/d/1xb7Hh1KjVRARdmu7A_YlcoqS8tklEoFjwA1oYLn1Etk/edit Eye Makeup Reference].
Finally, with some clever searching you can usually find what you need using the Multitool and searching the game files.
Some other useful parameters for customizing CC presets:
Hair highlight color:<syntaxhighlight lang="xml">
<node id="Vector3Parameters">
<attribute id="Color" type="bool" value="False" />
<attribute id="Custom" type="bool" value="True" />
<attribute id="Enabled" type="bool" value="True" />
<attribute id="Parameter" type="FixedString" value="Highlight_Color" />
<attribute id="Value" type="fvec3" value="0.6392157 0.2392157 0" /> <!--Hair highlight color (in SRGB form)-->
</node>
</syntaxhighlight>Face tattoo: (note: there seems to be an issue where presets will only use the first 16 face tattoos, and no fix is known at this time)<syntaxhighlight lang="xml">
<node id="Object">
<attribute id="ForcePresetValues" type="bool" value="True" />
<attribute id="GroupName" type="FixedString" value="04Tattoo" />
<attribute id="MapKey" type="FixedString" value="04Tattoo" />
<attribute id="MaterialPresetResource" type="FixedString" value="2c477c0d-15a8-0591-bd94-6acc583666ea" /> <!--Face tattoo ID-->
</node>
</node>
</syntaxhighlight>
</syntaxhighlight>
[[Category:Modding guides]]
[[Category:Modding guides]]
[[Category:Race and class modding]]
Please note that all contributions to Baldur's Gate 3 Wiki are considered to be released under the CC BY-NC-SA license, except when noted otherwise (see BG3Wiki:Copyrights for details). If you do not want your writing to be edited and redistributed at will, do not submit it here. Per our Content Rules, you are promising that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)