924
editsAd placeholder
Modding:Editing a Character Creation Preset: Difference between revisions
Jump to navigation
Jump to search
Modding:Editing a Character Creation Preset (edit)
Revision as of 18:11, 18 January 2024
, 18 Januaryno edit summary
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
File path: Shared\Public\Shared\Content\[PAK]_CharacterVisuals\_merged.lsf | {{Modding box}}File path: Shared\Public\Shared\Content\[PAK]_CharacterVisuals\_merged.lsf | ||
Find your preferred preset by following this format: RACE_GENDER_SUBRACE_Player | Use the Find function to 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 7: | ||
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="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="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="_OriginalFileVersion_" type="int64" value="144115207403209034" /> | |||
<children> | |||
<node id="MaterialOverrides"> | |||
<attribute id="MaterialResource" type="FixedString" value="" /> | |||
<children> | <children> | ||
<node id=" | <node id="MaterialPresets"> | ||
<children> | <children> | ||
<node id="Object"> | |||
<attribute id="ForcePresetValues" type="bool" value="True" /> | |||
<attribute id="GroupName" type="FixedString" value="02Skin Properties" /> <!--Skin color--> | |||
<attribute id="MapKey" type="FixedString" value="02Skin Properties" /> | |||
<attribute id="MaterialPresetResource" type="FixedString" value="73d00e6d-d66e-8a39-e1ae-5f6e47ab5a2e" /> | |||
</node> | |||
<node id="Object"> | |||
<attribute id="ForcePresetValues" type="bool" value="True" /> | |||
<attribute id="GroupName" type="FixedString" value="06Eyes" /> <!--Eye color--> | |||
<attribute id="MapKey" type="FixedString" value="06Eyes" /> | |||
<attribute id="MaterialPresetResource" type="FixedString" value="5be2f4a9-7f1b-673b-8d90-f10bf748215b" /> | |||
</node> | |||
<node id="Object"> | |||
<attribute id="ForcePresetValues" type="bool" value="True" /> | |||
<attribute id="GroupName" type="FixedString" value="05Makeup" /> <!--Eye makeup--> | |||
<attribute id="MapKey" type="FixedString" value="05Makeup" /> | |||
<attribute id="MaterialPresetResource" type="FixedString" value="e22ca76f-ff27-ee34-4fea-266a2a8d8ee3" /> | |||
</node> | |||
<node id="Object"> | |||
<attribute id="ForcePresetValues" type="bool" value="True" /> | |||
<attribute id="GroupName" type="FixedString" value="03Hair" /> <!--Hair color--> | |||
<attribute id="MapKey" type="FixedString" value="03Hair" /> | |||
<attribute id="MaterialPresetResource" type="FixedString" value="742499c5-9a8c-ce4c-974f-78f3d652e10e" /> | |||
</node> | |||
<node id="Object"> | |||
<attribute id="ForcePresetValues" type="bool" value="False" /> | |||
<attribute id="GroupName" type="FixedString" value="02 Colour" /> <!--Hair accessories color(?)--> | |||
<attribute id="MapKey" type="FixedString" value="02 Colour" /> | |||
<attribute id="MaterialPresetResource" type="FixedString" value="00000000-0000-0000-0000-000000000000" /> | |||
</node> | |||
</children> | |||
</node> | </node> | ||
<node id="ScalarParameters"> | <node id="ScalarParameters"> | ||
Line 167: | Line 167: | ||
<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" /> | <attribute id="Parameter" type="FixedString" value="Highlight_Intensity" /> <!--Hair highlight intensity--> | ||
<attribute id="Value" type="float" value="0" /> | <attribute id="Value" type="float" value="0" /> | ||
</node> | </node> | ||
Line 308: | Line 308: | ||
</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:Race and class modding]] |