Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#616263 19/09/17 08:25 PM
Joined: Sep 2017
M
Mostick Offline OP
stranger
OP Offline
stranger
M
Joined: Sep 2017
Hi! Sorry for my bad English.

I'm new to modding! I was able to change some stats with Data.txt (Like Civil, Combat stats CAP)

But what I'm searching for is:

1. How can I change Social, Combat points that gives me per lvl up?

AttributeLevelGrowth - works perfect! Change value to 6 and it gives 6 attribute point per level.
But if I change
CivilAbilityLevelGrowth- It work not as AttributeLevelGrowth. After hours of research, i found that
key "CivilAbilityLevelGrowth","4"
4 is how many lvls should pass before you get a point. Good! I can max it out by changing 4 to 1.
But what about 2 points per lvl?

2. There is a visible range from enemies while sneaking, this range decreases when your sneaking skill grow. But there is a minimum range that can ve dercreased no matter what your skill lvl is, Sneaking 10 and Skeaking 200 shows same visible range from enemies. I found where to change speed boost per Sneaking perk, but visual range i can't find.

Can you help me please?
P.S. Again sorry for my bad English

Mostick #616566 20/09/17 04:55 AM
Joined: Sep 2017
Location: Finland
journeyman
Offline
journeyman
Joined: Sep 2017
Location: Finland
Have you tried..:

key "NumStartingCivilAbilityPoints","2" (probably means the number of civil points you start with)

and this:

key "CivilPointOffset","2"


And coming from a native english speaker, your english was perfect.

Last edited by Rasikko; 20/09/17 04:56 AM.
Mostick #617097 20/09/17 04:08 PM
Joined: Sep 2017
M
Mostick Offline OP
stranger
OP Offline
stranger
M
Joined: Sep 2017
Did not helped any of this keys... Please, if someone has idea how to do things in my first post, please help! I love modding! Mod support for Divinity 2 is 50% reason I bought this wonderful game.

Would love to create my own story mods with rebalance. Skill gain per level features is one of the most important things i plan to insert in my mod.

Mostick #617216 20/09/17 06:23 PM
Joined: Jun 2013
old hand
Offline
old hand
Joined: Jun 2013
You can always hack it in via story editor.

IF
CharacterLeveledUp(_Player)
THEN
CharacterAddAbilityPoint(_Player,2);


Those calls are an approximation, I'm going from memory. But it's pretty easy to do it.

Joined: Sep 2017
M
Mostick Offline OP
stranger
OP Offline
stranger
M
Joined: Sep 2017
Can you make some examle? Can't find any story events wiki. Blind research :(
After creating new script in story, trying to rebuild and get an error... some .div file can't be found.

Mostick #617393 20/09/17 10:11 PM
Joined: Jun 2013
old hand
Offline
old hand
Joined: Jun 2013
Originally Posted by Mostick
Can you make some examle? Can't find any story events wiki. Blind research frown
After creating new script in story, trying to rebuild and get an error... some .div file can't be found.


Did you generate definitions in the story editor?

Are you working within an add-on mod?
https://docs.larian.game/Working_with_projects





Joined: Sep 2017
M
Mostick Offline OP
stranger
OP Offline
stranger
M
Joined: Sep 2017
Thank you so much!!! It work's!

But very strange way.

Here is my script

IF
CharacterLeveledUp(_Player)
THEN
CharacterAddAttributePoint(_Player,16);
CharacterAddTalentPoint(_Player,5);

But in game, it adds me
AttributePoints = 20
TalentPoints = 5
Civil and Combat points = 2

Why the hell it gives me 20 Attribute? I mean i can understand if it gives me 18, because of standart +2. But why 20?

And where did it get civil and compat points? It's not even at my story script. And why 2? I start a new game, at hte beggining it realy gives me 1 combat and 1 civil. But why did it add +1 anyway? It's not in script...

Last edited by Mostick; 21/09/17 03:48 PM.
Mostick #618182 21/09/17 04:25 PM
Joined: Sep 2017
M
Mostick Offline OP
stranger
OP Offline
stranger
M
Joined: Sep 2017
OK! So I understand now why it gives me more pints then i espect.
Because of the key "NumStartingCombatAbilityPoints","2" in data.txt

I always start new game to be shure of changes. And those point's just not visible before I lvl up.

AttributePoints - 1 problem
TalentPoints - 1 problem

How can I add civil points. It seems game does not have event like CharacterAddCivilPoint

Mostick #618353 21/09/17 07:49 PM
Joined: Jun 2013
old hand
Offline
old hand
Joined: Jun 2013
Originally Posted by Mostick


How can I add civil points. It seems game does not have event like CharacterAddCivilPoint


I looked around for that as well and couldn't find any way to do it neatly.

I suspect you could manually add to the abilities though like
CharacterAddAbility(_Player,"Bartering",2);
CharacterAddAbility(_Player,"Lore",2);


And whatever the logical names are of the others are.

And then on level up, open a dialog and let you pick which one you want to increase based on which dialog option you pick. A little more complicated script wise of course and you'd have to block the dialog when the character hasn't leveled.



Larian might be able to actually add a call for AddCivilAbilityPoints, you could ask them :P. It does seem like an oversight.


Mostick #618454 21/09/17 09:55 PM
Joined: Sep 2017
M
Mostick Offline OP
stranger
OP Offline
stranger
M
Joined: Sep 2017
Big Thanks for your help! smile


Moderated by  Larian_KVN 

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