Jump to content


Con bonus for classes - hardcoded (?)


  • Please log in to reply
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
  • 1178 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 on a Mac Pro 6,1 running Mac OS X 10.13.6 High Sierra, and a Mac Pro 3,1 running Mac OS X 10.11.6 El Capitan.

~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 sporadic development.

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


#3 aVENGER

aVENGER
  • Modder
  • 1680 posts

Posted 12 August 2011 - 09:57 PM

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

#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.

Deactivated account. The user today is known as The Imp.