XP formulae

Post your tips, ideas for improvements, requests for new features, etc. here
Locked
Lokey
-2 Penalty in Daylight
Posts: 3094
Joined: Mon Dec 16, 2002 6:49 pm
Contact:

XP formulae

Post by Lokey »

Been some questions lately, here's the lame way we're doing it now:

Code: Select all

// NEW NEW XP FORMULA:
// HL = highest hitdie of party (ignore ECL here, pcs only)
// CR = Creature challenge rating

// Base XP award base(CR, HL):
// for CR >= HL: base = (25 + 6 * CR) * (0.3 * (CR - HL) + 1)
// for CR < HL: base =  (25 + 6 * CR) * (0.1 * (CR - HL) + 1)

// ECL adjustment: a % of the base award
//   = 0.1 * (10 - ECL) [i.e. ECL 1 has 10% penalty, ECL 2 20%...]

// Final XP calculation is player's hitdie/highest party member hitdie then * ECL adjustment
These were eyeballed from plotting some assumptions that got lost along the way, and probably don't match what wound up as the cr assignment to npcs. So question answered and discuss if we can do it better.

Quick spreadsheet (decimals are chopped at each step in nwn engine calcs since using ints and there's a few other factors, so not perfect):
Image
Tep wrote:I login and there's a dwarf to kill. You can't ask for much more than that.

Alkapwn wrote:NC has the most amazing melee build there is. Its a friggin unstopable juggernaut of pain.

Rainswept
Newbie Helper
Posts: 316
Joined: Sat Oct 18, 2008 10:32 pm

Re: XP formulae

Post by Rainswept »

I see HL adjustments, but I seem to remember testing and finding that there are times when adding someone of significantly lower level drops the xp the party is getting. It's been quite some time when I tested it, but I remember someone showed up to our HoD party as a lower level, just to tag along, and XP dropped. We then removed them from the party, killed a mob, noted the xp, then re-added him and killed the same mob type to confirm.

Is that reflected in these numbers?
Chernobyl_Glow wrote:the players in AO/RK are evil two headed trolls in real life who kick their dogs and speed through school zones
Shamedmonkey wrote:I can feel myself get stupider.

Amoenotep
Lord DM Supreme
Posts: 4717
Joined: Wed Aug 30, 2006 4:09 pm
Location: in the mists of eternity

Re: XP formulae

Post by Amoenotep »

that would be the party xp rounders.

these formulas are single player of a given lvl killing something of a given cr within so many lvls of themself.
Mask, Lord of the Shadows
Gruumsh, One-Eye
amoenotep@hotmail.com
----------------------------------
Image

Lokey
-2 Penalty in Daylight
Posts: 3094
Joined: Mon Dec 16, 2002 6:49 pm
Contact:

Re: XP formulae

Post by Lokey »

It's mostly the same. There were some other calcs that got dropped years ago because it was too much of a hassle to do something that provided a decent xp curve and didn't take forever to calculate.

There's something that might explain what Rainswept saw, I'm not sure what it's trying to do. Was there a larger than 9 level difference?
Tep wrote:I login and there's a dwarf to kill. You can't ask for much more than that.

Alkapwn wrote:NC has the most amazing melee build there is. Its a friggin unstopable juggernaut of pain.

Rainswept
Newbie Helper
Posts: 316
Joined: Sat Oct 18, 2008 10:32 pm

Re: XP formulae

Post by Rainswept »

Lokey wrote:It's mostly the same. There were some other calcs that got dropped years ago because it was too much of a hassle to do something that provided a decent xp curve and didn't take forever to calculate.

There's something that might explain what Rainswept saw, I'm not sure what it's trying to do. Was there a larger than 9 level difference?
Um, I'll have to retest to see. I want to say it was a 7 level gap, but I'm quite possibly mistaken.

TY for the replies tho.
Chernobyl_Glow wrote:the players in AO/RK are evil two headed trolls in real life who kick their dogs and speed through school zones
Shamedmonkey wrote:I can feel myself get stupider.

Locked

Return to “NS4 Ideas and Suggestions”