Where can I find the fomulae the game uses to calculate XP based on the creature's challenge rating and the party's level? I've found a few XP calculators on the internet, but none of their results match what you get in NWN2.
Also - how do I search these forums? I can't seem to find a button or link with the word 'search' anywhere.
For my next module, I've decided to use a mixture of placed NPCs (who level up to the party's average level) and encounter-spawned creatures. I can control the challenge ratings of the encounter blueprints, but there seems to be no way of changing the CR of a placed NPC after leveling them up. Therefore I've decided to fake things, and give the leveled-up NPCs OnDeath scripts that give the right amount of XP if you kill them.
Calculating XP
Débuté par
Dann-J
, mars 20 2011 10:20
#1
Posté 20 mars 2011 - 10:20
#2
Posté 20 mars 2011 - 10:59
The game uses the xptable.2da for xp calculations.
#3
Posté 20 mars 2011 - 11:15
Great - it's a 2DA. So now all I have to do is analyse the values and try to reverse-engineer an algorithm that replicates it...
Modifié par DannJ, 20 mars 2011 - 11:15 .
#4
Posté 20 mars 2011 - 11:43
I've just realised there is no need to create a complex algorithm to replicate the entire 2DA. Since I'm leveling NPCs up to match the average party level, there will only ever be one XP value per level. A simple 'switch' list from 1 to 30 should suffice.
Alternatively I could extract each value from the 2DA (level1:C1, level2:C2, etc), plot the distribution in Excel, and derive a formula to approximate it.
Thanks Shaughn78. I was able to find an NWN version of the 2DA online. I'm hoping the NWN2 version isn't too different (appart from not going up to level 40). It seems to have some curious quirks though - it seems that a level 4 character killing a CR4 creature gets less XP than a level 3 killing a CR3.
[Edit: If I'm reading the NWN 2DA correctly, then a linear relationship of XP = AveLevel X 10 + 60 seems to roughly fit. Lower level characters get a bit more than usual, with higher level characters a bit less, but I can live with that.]
[Edit 2: AveLevel x 11 + 45 is a bit better. By the gods I need a life...]
Alternatively I could extract each value from the 2DA (level1:C1, level2:C2, etc), plot the distribution in Excel, and derive a formula to approximate it.
Thanks Shaughn78. I was able to find an NWN version of the 2DA online. I'm hoping the NWN2 version isn't too different (appart from not going up to level 40). It seems to have some curious quirks though - it seems that a level 4 character killing a CR4 creature gets less XP than a level 3 killing a CR3.
[Edit: If I'm reading the NWN 2DA correctly, then a linear relationship of XP = AveLevel X 10 + 60 seems to roughly fit. Lower level characters get a bit more than usual, with higher level characters a bit less, but I can live with that.]
[Edit 2: AveLevel x 11 + 45 is a bit better. By the gods I need a life...]
Modifié par DannJ, 21 mars 2011 - 04:14 .





Retour en haut






