Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Sep 2017
C
stranger
OP Offline
stranger
C
Joined: Sep 2017
Hello!
I'm trying to mod the amount of civic points gained per level, so I won't have to manually move every item I want to sell to the character with the highest 'barter' skill.

My intent is to double the amount of civic points when they are gained to be able to have all my characters max out 'barter' + another civic skill.

I'm trying to find out where such changes can be made, but so far with no results. I've looked in the 'Stats' editor and in the 'story' editor, but did not find anything relevant. I also tried to look in the 'Script' editor but it is empty :(

Ideally I imagined I'd find some kind of XP table where it's written how many Attribute\Skill\Talent points the player characters get per level and just modify that.

Does such a thing exists ?

Any help would be greatly appreciated :)

P.S
I've just downloaded the 'Editor' a few hours ago, so I apologize if my question seems trivial.

P.P.S
I've also tried to look for the answer online, and in the forms but I failed to find an answer.

Joined: Sep 2017
X
journeyman
Offline
journeyman
X
Joined: Sep 2017
This particular value can't be changed in the editor, you will need to use the PAK extractor to manually extract the file. The file in particular you are looking for is Data.txt in

Shared.PAK/Public/Shared/Stats/Generated/Data/Data.txt

The mod needs only contain the line(s) you want to change.

To save you the trouble though, someone has already made a mod doing just this at
http://steamcommunity.com/sharedfiles/filedetails/?id=1149996340&searchtext=

Joined: Sep 2017
C
stranger
OP Offline
stranger
C
Joined: Sep 2017
[quote=Xaelyn]This particular value can't be changed in the editor, you will need to use the PAK extractor to manually extract the file. The file in particular you are looking for is Data.txt in

Shared.PAK/Public/Shared/Stats/Generated/Data/Data.txt

The mod needs only contain the line(s) you want to change.

To save you the trouble though, someone has already made a mod doing just this at
http://steamcommunity.com/sharedfiles/filedetails/?id=1149996340&searchtext= [/quote]

Thank you.
I already know there is a similar mod. But I want to figure out how to do this myself in case I want to do further modifications.

I've extracted Data.txt and found the following lines related to civic points:

[code]
key "CivilAbilityCap","5"
key "CivilAbilityLevelGrowth","4"
key "CivilPointOffset","2"
[/code]

The only relevant one it seems to me is CivilAbilityLevelGrowth. However it seems to me it governs over the level interval in which you get civil points, and not the amount you get. Which means you get 1 Civil point every 4 levels. I wonder how can I make it be 2 Civil points every 4 levels. I hope this value isn't hardcoded.

Btw that is what the mod you linked does, it gives you a civic point every 2 levels instead of every 4.

I hope to get 2 civic points every 4 levels.

Joined: Sep 2017
X
journeyman
Offline
journeyman
X
Joined: Sep 2017
Afraid that line is the only easy mechanism for changing it.
I'm almost certain you could write a script that doles out an extra civil point at the appropriate levels, but I've not delved into the scripting system enough to help you much with that. Also more trouble than it's worth IMO, given that there is functionally so little difference between 1 point every 2 levels and 2 every 4.

Joined: Sep 2017
C
stranger
OP Offline
stranger
C
Joined: Sep 2017
Yes, but scripting approach has much greater flexibility. Let's say I want to have 3 Attrib points instead of 2 per level.

But sadly I'm not familiar enough with the Editor to do this. Any help on who to write a script that would achieve that would be greatly appreciated.

Joined: Sep 2017
X
journeyman
Offline
journeyman
X
Joined: Sep 2017
Well you can get 3 attribute points per level just by changing the appropriate line in the data.txt.
As far as scripting I honestly have no real idea, you're going to need help from someone with more experience than I.

Joined: Sep 2017
C
stranger
OP Offline
stranger
C
Joined: Sep 2017
[quote=curtwagner1984]Yes, but scripting approach has much greater flexibility. Let's say I want to have 3 Attrib points instead of 2 per level.

But sadly I'm not familiar enough with the Editor to do this. Any help on who to write a script that would achieve that would be greatly appreciated. [/quote]

EDIT:

This shouldn't be too difficult to achieve. Something along the line of:

(Pseudocode)
[code]
ON EVENT (LEVEL_UP)
{
FOREACH (CHAR) IN (PARTY)
{
IF (CHAR_LEVEL) % 4 == 0
{
CHAR_CIVIC_POINTS = 2;
}
}
}


[/code]

But I don't really know how to start such a script in the editor. Like I said before, any help or pointers would be appreciated.


Joined: Jun 2013
old hand
Offline
old hand
Joined: Jun 2013
Unless it's changed in the last few days, there's no way to manually add civil ability points via script at the moment.

Last edited by SniperHF; 30/09/17 07:24 AM.
Joined: Sep 2017
C
stranger
OP Offline
stranger
C
Joined: Sep 2017
That's unfortunate. Thanks for the reply.


Moderated by  Larian_KVN 

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