Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#627614 07/10/17 06:06 AM
Joined: Oct 2017
O
stranger
OP Offline
stranger
O
Joined: Oct 2017
I am attempting to mod the game so that all characters start with 0 or 1 stat points in Strength, Intelligence, Finesse, and Constitution, but have a pool of points (thinking 30) to assign as they wish. I have found the lsx files to edit it by race or by class, but putting the following code in either of those in the mod, and enabling it in my own game doesn't work.


<attribute id="Strength" value="0" type="4"/>
<attribute id="Dexterity" value="0" type="4"/>
<attribute id="Intelligence" value="0" type="4"/>
<attribute id="Constitution" value="0" type="4"/>

<attribute id="NumStartingAttributePoints" value="40" type="4" />

Would anyone happen to know why, or how i could make it work?

Joined: Oct 2017
J
stranger
Offline
stranger
J
Joined: Oct 2017
I'm unsure where the direct LSX file is, but the file pulled in the stats editor under Shared->ExtraData->Data has a values "AttributeBaseValue" (10) "AttributeCharCreationBonus" (1) "AttributelevelGrowth" (2) among others.

Changing the "attributeBaseValue" to 5 sets all starting attributes to 5. I'll also note that the number you set is considered the neutral zero point such that any points above will start increasing 5% and below -5%. Something tells me you should be careful to not allow negative numbers in a stat field, remember some items and debuffs can reduce stats.

Changing the "attributeCharcreationBonus" however did not give me additional points to spend (tried 10 and 30) in the creation screen nor when I was in game. So you might have to do some more digging there, it may just need to be fixed on Larian's side.

The files you are currently in, to my understanding are primary used as a global modifier to apply traits across groups of units. Such as the lizard and undead sections define specific footstep parameters. Then further down you'll see other undead inherit these traits while adding their own.

Joined: Jul 2014
Location: East Coast
journeyman
Offline
journeyman
Joined: Jul 2014
Location: East Coast
Why don't you just check for when the tutorial ship is loaded (and when someone enters the party) and set a flag on that character. Then you just set all their attributes to 1, and give them attribute points equal to the difference. This approach is going to be far more compatible.

Also keep in mind that the game is designed around having 10 as a base-line. This would create massive imbalance between certain specializations (it would heavily favor Strength fighters as you can have 1 int/fin without reprocussions, but you can't have 1 str and expect to be able to play the game due to weight limit). You are always going to keep Memory at 10, otherwise you won't be able to equip abilities. You will want to keep vitality up because the penalty for having vitality below 10 is pretty huge.


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