Player Resource Consortium

Neverwinter Nights => Help => Topic started by: Raza on February 03, 2010, 11:45:35 AM

Title: Advancing Arcane Spells/Caster Level Question
Post by: Raza on February 03, 2010, 11:45:35 AM
I wanted to play a wizard/warlock character a la the Eldritch Theurge, so I changed the Classes.2da to let warlock advance arcane casting. This seemed to work at first, but I've just discovered that while I get additional spells/level, my Wizard caster level isn't increasing as I take Warlock levels.

Is this because the Warlock is itself an arcane caster, and it's limited to advancing one caster level at a time or something?

Also, I thought I'd bandaid-fix this by modifying the Practised Spellcaster (Wizard) feat to improve CL up to hit dice indefinitely rather than by up to 4, but I can't seem to find out where the feat is scripted. Where are PrC feat constants defined?
Title: Advancing Arcane Spells/Caster Level Question
Post by: Calirion on February 03, 2010, 03:36:34 PM
Quote from: Raza

I wanted to play a wizard/warlock character a la the Eldritch Theurge, so I changed the Classes.2da to let warlock advance arcane casting. This seemed to work at first, but I've just discovered that while I get additional spells/level, my Wizard caster level isn't increasing as I take Warlock levels.

Is this because the Warlock is itself an arcane caster, and it's limited to advancing one caster level at a time or something?

Also, I thought I'd bandaid-fix this by modifying the Practised Spellcaster (Wizard) feat to improve CL up to hit dice indefinitely rather than by up to 4, but I can't seem to find out where the feat is scripted. Where are PrC feat constants defined?


I'm gueesing the 2da changes by themselves wouldn't do  the trick because of the diferences between arcane casster levels and invoker levels, which don't stack under normal circumstances.

It may be too much to ask withe the PRC's work on NWN winding down, but it would be nice if someone with the requisite skills (which I lack) would create an eldritch theurge.  One of the problems with playing a warlock currently is that there are no prestige class options at all.  Eldritch Theurge would at least offer one option, and the PRC already has mystic theurge and psychic theurge, so the eldrictch theurge would be a logical addition.
Title: Advancing Arcane Spells/Caster Level Question
Post by: Raza on February 03, 2010, 07:11:58 PM
I'm not sure what you're saying. They're not supposed to stack; warlock is just supposed to advance wizard casting alongside its own class features. Usually this is achieved by changing a 0 to a 1 in classes.2da - I've never noticed CL issues with this, although I might have missed them.

I'd love official Eldtritch Theurge and Eldritch Disciple PrCs, but I think they stopped adding content? =(

Right now I'd be content finding out how to edit the Feat Constant of Practised Spellcaster (Wizard). I cannot for the life of me find a related file in the PrC HAKs.
Title: Advancing Arcane Spells/Caster Level Question
Post by: Raza on February 03, 2010, 09:57:18 PM
Heh. I was just messing around with spells.2da, and it turns out they at one point got started on the Eldritch Theurge, or at least had tangible plans to. There's a section of the file set apart for its would-be invocations.
Title: Advancing Arcane Spells/Caster Level Question
Post by: xwarren on February 04, 2010, 09:50:27 AM
You can find the code for practiced spellcaster feats in prc_inc_castlvl.nss file form prc_include.hak (PractisedSpellcasting() function).

You'll have to recompile all prc scripts (or at least all spells) to see any changes :/
Title: Advancing Arcane Spells/Caster Level Question
Post by: Raza on February 09, 2010, 01:18:25 PM
Thanks, found it!

I removed the "if (iAdjustment > 4) iAdjustment = 4;" line, which should do the trick for what I want.

How would I go about recompiling everything with this new change included? I'll be trying to find this out myself after I post this, but if it's possible to say in a few sentences I'd appreciate that a lot as a fall-back, regardless.


ETA: Messing with this now in the toolset, which is telling me it cannot compile the spell script because prc_inc_spells and inc_newspellbook include one-another circularly. If this is true and intentional, how do I get around this?

Could I get away with editing inc_newspellbook to not include prc_inc_spells for the duration of recompiling all spell scripts only, since prc_inc_spells is already included somewhere down the line?

ETA2: That isn't working; prc includes seem to circle-include each other all over the place. I have to assume that this isn't actually a problem for anything but the toolset script editor, then. Going to look for a way to turn this warning off, or possibly an alternate means of compiling scripts.

ETA3: Trying PRC Neverwinter Script Compiles x2.0 - this must be what you guys use. Weird interfaceless executable, documentation missing... trying the instructions from the Comments.
Title: Advancing Arcane Spells/Caster Level Question
Post by: Raza on February 09, 2010, 03:10:45 PM
A few trial-and-errors later I'm watching a list of scripts compile, and a matching bunch of .ncs files appear. I drag nw_sp0_magmiss.ncs into the spells hak and save, then load my wizard1/warlock7's last savegame and cast...

And watch four missiles slam into an unfortunate innocent bystander, implying a functional CL of 7 or 8.

AWW YEAH.

Issue resolved. I learned something today. Epic thanks to everybody on the internets that made this possible. <3