Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Jan 2021
S
stranger
OP Offline
stranger
S
Joined: Jan 2021
Hello! I intend to finally find the location of the game's original talents. I just do not believe that they cannot be changed or just add new ones, this is nonsense.

Let's take a little look at the process of starting the game:
-You run the game through an executable file
-The executable file loads all resources
-These resources include talents
And i have one question. WHERE THIS FILE TAKING THESE TALENTS?
When we answer this question we can change talents. I think this is a completely logical conclusion. Tell me, i'm right or wrong?

I also want to note that I am not afraid of how difficult it will be to change these talents. I just want to find where they are.
If you have any information about this topic, I would be happy to read it. Thank you.

WHAT DO I KNOW RIGHT KNOW I found a mention of talents in the scripting section https://docs.larian.game/Scripting#Variables. It's named TALENT_TYPE and it seems that I should be looking for this, but search for "TALENT_TYPE" on all unpacked files from game .pak files don't give me any result.
My other tryes for search mention by talents's names get me only strings where talents just give to character or something like this. I'm never get info about creating this talents.

Last edited by SweetBaget; 10/05/21 08:04 PM. Reason: Update
Joined: Jan 2021
S
stranger
OP Offline
stranger
S
Joined: Jan 2021
Okay, after reading https://docs.larian.game/Osiris_Overview I know the place where I should search for a list of all talents, invoked by a command like "CharacterAddTalent ((CHARACTERGUID) _Character, (STRING) _Talent)", and them effects. I need to get certain databases where they are hidden and just edit them

Last edited by SweetBaget; 15/05/21 06:38 PM.
Joined: Jan 2021
S
stranger
OP Offline
stranger
S
Joined: Jan 2021
Ok, after a long time searching div logs, i'm finally understood, that this list of talents is not DataBase.. This is a Function(!!!). To be more precise - they IN a function. Maybe with effects, i don't know right now. And this function was in my previous post - "CharacterAddTalent ((CHARACTERGUID) _Character, (STRING) _Talent)"

I chose this function, because talent has nowhere to come from more else, judging by the logs. Another reason why I'm sure of this, is the description of this command on the official wiki from Larian https://docs.larian.game/Osiris/API/CharacterAddTalent. It has "If the Talent to be added or the Character are not valid, nothing happens." This happening because all code of this game based on databases and source must add or remove or check this databases. On this example she check conformity with two arguments, players and talents. Command doesn't work on other chraracter or talent because is not recorded in this function.

Now, i want to try edit this function or create a new one with copy of original function body. The problem is i don't know body of this function smile I think I should really tryhard to find out what exactly is hidden there. Any Help?

Last edited by SweetBaget; 16/05/21 04:11 AM.
Joined: Mar 2016
Location: Belgium
T
addict
Offline
addict
T
Joined: Mar 2016
Location: Belgium
The talent effects are in fact hardcoded in the game engine. There is no way to modify them through data. The only thing you can do react in script when a talent gets added and apply additional modifications (like changing attribute points, or adding a skill). It is not possible to prevent a talent's effects from being applied at all though.

You can find the list of talents at https://docs.larian.game/Talent_list, and the event to react to a talent being added to a character at https://docs.larian.game/Osiris/API/CharacterUnlockedTalent .


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