Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#642150 09/02/18 07:16 PM
Joined: Nov 2009
Z
Zolee Offline OP
journeyman
OP Offline
journeyman
Z
Joined: Nov 2009
My first question is about adding an origin character:
I'm using this guide: Link

I create the template by copying and modifying a hero template(i even created the character and added it to the map and made it global after, since there was no option to make root templates global). My problem is, that i cannot find the uuid. I have no idea where it is, i tried adding the guid instead(for both the root template and the character placed), but when trying to select the character on the character creation page, the game tries to select it(the character is invisible), but then quickly skips over to the next character. So my first question is, where can i find the template uuid.

My second question is, if i want to add new colors (skin, hair) to a custom character(not origin but one with which you can create a custom character on the character creation page before the 1st map loads), how do i do that in divinity engine 2(which visual sets need to be modified), or if not possible, which files can i modify to manually add these colors?

Thx for the answers.

Last edited by Zolee; 09/02/18 07:18 PM.
Zolee #642326 12/02/18 08:12 PM
Joined: Nov 2009
Z
Zolee Offline OP
journeyman
OP Offline
journeyman
Z
Joined: Nov 2009
After extracting and looking through the files, i've found a way to add custom skin and hair colors to the custom races(custom human, custom lizard etc.).

Here's how:
-First, extract the shared.pak and all of the patch.pak files including the hotfixes to get the latest possible relevant files necessary for this to work.
-Next, fire up divinity engine 2 and create a new project(named mine colors).
-Next, save the project to create the mod folder in your game directory/data/mods
-Navigate to the extracted files Mods\Shared
-Copy the CharacterCreation directory over to your mod directory
-Delete all directories except RacePresets
-Enter directory and open raceyouwanttoedit.lsx with your favourite text editor(recommend notepad++).

-Find entry <node id="SkinColors"> or <node id="HairColors"> depending on wether you want to add skin or hair colors

next copy 1 of this section within the file under the skin or hair node, then edit according to the explanation below.
<node id="ColorDesc">
<attribute id="ID" value="13" type="5" />
<attribute id="ColorName" value="Biotite" handle="h156c50begd220g4c63g9f0dg95b656de69b7" type="28" />
<attribute id="Value" value="0xff303032" type="5" />
</node>


<attribute id="ID" value="13" type="5" />
In this section you need to edit the value. Make the number 1 higher then the highest one amongst the colors(in my case the new number was 14, the next one would be 15).

<attribute id="ColorName" value="Biotite" handle="h156c50begd220g4c63g9f0dg95b656de69b7" type="28" />
Here, you will need to edit the value, which will determine the color's name during selection(this can be anything you want), and the handle. With the handle, just select some of the numbers and characters and replace them with random ones. Make sure that the new handle doesn't match with any of the other ones.

<attribute id="Value" value="0xff303032" type="5" />
Here you will need to edit the value again, you need to leave 0xff in there. Next, look for an html color code picker online, find the color you want, then paste the code in after 0xff

-Save.
-profit.

Still need help with finding template uuids please.

Last edited by Zolee; 12/02/18 08:43 PM.
Zolee #642352 13/02/18 07:57 PM
Joined: Nov 2017
L
member
Offline
member
L
Joined: Nov 2017
Hi!
Hopefully I can help you a bit with this:
Firstly, the terms UUID and GUID are generally used in the engine to refer to the same thing, as you said.
Secondly, when saying 'template', that wiki page refers to the character itself, not the root template.

Thirdly, assuming you filled in these things correctly:
Are you adding this character to the main Origins game? If so, there are some databases you'll need to set - DB_Origins, DB_OriginNPCAlignment (for the alignment which your character will have when they're not in the party) and DB_OriginInPartyDialog (for the dialogue which the character will have when in the party).

If that doesn't help, let me know!


Moderated by  Larian_KVN 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5