Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#554658 16/09/14 03:30 AM
Joined: Sep 2014
M
mander Offline OP
apprentice
OP Offline
apprentice
M
Joined: Sep 2014
I am trying to set the starting stats for my mod, which has Madora as the main player. She starts at level 10, and her stats should be the same as Madora's initial stats, plus 4 strength from the level ups.

I went to Character.txt and found:

Code
new entry "Henchman_Madoc_Paladin"
type "Character"
using "_Hero"
data "Act part" "3"
data "Strength" "7"
data "Dexterity" "4"
data "Intelligence" "4"
data "Constitution" "6"
data "Speed" "5"
data "Perception" "4"


So I copied this and made my own version:

Code
new entry "MJ_Madora_Stats"
type "Character"
using "_Hero"
data "Act part" "10"
data "Strength" "11"
data "Dexterity" "4"
data "Intelligence" "4"
data "Constitution" "6"
data "Speed" "5"
data "Perception" "4"


When I assign these to my character, in game I see she has stats:
Strength 9
Dexterity 7
Intelligence 7
Constitution 10
Speed 9
Perception 7

Moreover, when I look at the real Madora's ingame starting stats I see:
Strength 8
Dexterity 5
Intelligence 5
Constitution 7
Speed 6
Perception 5

So all the numbers I see are different. The ratios are roughly the same, but I can't figure out how to get the exact values that I want.

Joined: Aug 2014
K
apprentice
Offline
apprentice
K
Joined: Aug 2014
I am not sure if i can help, but have you tried deleting the old madora entry? and keeping just the new?

Joined: Sep 2014
M
mander Offline OP
apprentice
OP Offline
apprentice
M
Joined: Sep 2014
I just tried it - no change.

The new character doesn't really reference the old stats in any way. Her Stats value is set to MJ_Madora_Stats.

Joined: Sep 2014
M
mander Offline OP
apprentice
OP Offline
apprentice
M
Joined: Sep 2014
As a workaround, I tried setting all the stats to 0, and then using
Code
CharacterAddAttribute(CHARACTER_MJ_MADORA,"Strength",11);
CharacterAddAttribute(CHARACTER_MJ_MADORA,"Dexterity",4);
CharacterAddAttribute(CHARACTER_MJ_MADORA,"Intelligence",4);
CharacterAddAttribute(CHARACTER_MJ_MADORA,"Constitution",6);
CharacterAddAttribute(CHARACTER_MJ_MADORA,"Speed",5);
CharacterAddAttribute(CHARACTER_MJ_MADORA,"Perception",4);


This _seems_ to work, but when I mouseover the stats on the character page it says "Boost +11" instead of "Base: 11" (i.e., the base value is 0 and it is boosted by 11). I am worried some spell or effect will calculate using the base value instead of the boosted one and my character will be underpowered.


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