Jump to content


Con bonus for classes - hardcoded (?)


3 replies to this topic

#1 -CrossedSabres-

-CrossedSabres-
  • Guest

Posted 31 July 2011 - 06:57 PM

The Con bonus behavior appears to be hardcoded as it relates to classes (warriors and clerics for 9 levels, mages and rogues for 10 levels).

So, if one were to say, modify clerics 10 hit dice (1d8 per level, up to level 10 instead of level 9), or fighters only up to level 8, vice level 9, it doesn't change the Con bonus - they still get the Con bonus up to level 9, regardless of what is in the HPwar.2DA, HPprs.2DA, etc.

Any idea how this is actually hardcoded in the Infinity Engine? Any fix available? (like how ToBEx externalizes the HPclass.2DA and HPbarb.2DA, for example).

(I've been searching the threads for a while, but perhaps my Google-fu isn't strong enough to find a thread on this topic)

Thanks in advance.

#2 Eric P.

Eric P.

    Journeyman Modder

  • Member
  • 1176 posts

Donator

Posted 12 August 2011 - 07:12 PM

The Con bonus behavior appears to be hardcoded as it relates to classes (warriors and clerics for 9 levels, mages and rogues for 10 levels).

So, if one were to say, modify clerics 10 hit dice (1d8 per level, up to level 10 instead of level 9), or fighters only up to level 8, vice level 9, it doesn't change the Con bonus - they still get the Con bonus up to level 9, regardless of what is in the HPwar.2DA, HPprs.2DA, etc.

Any idea how this is actually hardcoded in the Infinity Engine? Any fix available? (like how ToBEx externalizes the HPclass.2DA and HPbarb.2DA, for example).

(I've been searching the threads for a while, but perhaps my Google-fu isn't strong enough to find a thread on this topic)

Thanks in advance.


If it's true to PnP, a Fighter's CON bonus to HP is supposed to apply for every Fighter level gained, up to whatever level cap may be imposed (and PnP had a provision for reaching 100th level, as seen in the Bloodstone series of game modules). I don't recall it having worked that way for any other class under 2nd Edition AD&D rules, which are, in some form, the rules BG2 uses.

Working and playing under Windows 7 Ultimate on a Mac Pro 3,1 running Mac OS X 10.9.4 Mavericks.

~Buion na 'ell! I serve with joy! Your eyes and ears I shall be. Let us hunt together!~
- Erysseril Gwaethorien: a joinable, romanceable NPC mod for BGII - SoA/ToB, in active development.

A female elf warrior and a Bhaalspawn cross paths during their quests, joining forces to share adventure and companionship. Will they find more?


#3 aVENGER

aVENGER

    Sneaksie!

  • Modder
  • 1673 posts

Posted 12 August 2011 - 09:57 PM

IIRC, the Constitution-based HP bonus can be modified via HPCONBON.2DA.
Retired modder

Rogue Rebalancing - Author
aTweaks - Author
Wizard Slayer Rebalancing - Co-Author
BG2 Fixpack - Contributor

#4 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 13 August 2011 - 12:18 AM

IIRC, the Constitution-based HP bonus can be modified via HPCONBON.2DA .

Ah, but the point is that the base setup(level cap) is hardcoded... as in the warriors will always get the conbonus at the first 9 levels, no matter what. Well if it isn't zero, in which case it wouldn't just matter.

Edited by Jarno Mikkola, 13 August 2011 - 12:19 AM.

Cerberus v1.05, MegaModKits v1.01L, iiSpellSystemAdjustments v7.1; mods by Jarno Mikkola the Imp. FAQ for the Megamods. The Frequently Answered Questions.
BWS - Standard = not imba items spells or cheats. Tactical = AI hardly stupid = stupid hard. Expert = broke.
In case the BG2 game crashes post the content of your baldur.err file. To get it to record stuff, open up the 'baldur.ini' in your game folder with Notepad, and under the [Program Options] section in the file, make a new line and type in 'Logging On=1' (without the '' quotes, unless the line is already there)... Save the file and exit. Now go back into the game and try to reproduce the crash. Then look in your game folder again for the Baldur.err file and open it with the Notepad to analyze its contents, or let us do it.
Posted Image

I am afraid of nothing.




Reply to this topic