Basically, I'm trying to create a modified classes.2da that removes Vancian spellcasting from NWN2 (don't ask me why...) I've created a cls_spkn_pal.2da for rangers and paladins, and repurposed a few other tables for the other classes. However, without "memorize to cast", clerics and druids (and likely high-level paladins and rangers) need to level up before they can recieve spells, since spontaneous casting doesn't seem to recognize the "all spells known" flag.
So to get to my question: is(are) there any script(s) that handle the wizard's ability to add scroll spells to their spellbook, or is that hard-coded? I'd like to give clerics the ability to add scroll spells to their spellbook, since I can't use the "knows all spells flag" on them, because otherwise they'd be underpowered compared to favored souls.
I suppose I could just create a spells known table specifically for clerics to give them more versatility, but I'd prefer to allow them to add scrolls to their spellbook if that's possible.
Question regarding wizard's ability to add scrolls to spellbook
Débuté par
jackkel dragon
, nov. 11 2011 09:04
#1
Posté 11 novembre 2011 - 09:04
#2
Posté 11 novembre 2011 - 10:27
Divine casters - Clerics - already have the entire spell list to choose from when memorising spells - at least the default spell list that is.
Favoured Souls Have the whole list to choose from as well but after they choose they do not get to choose again.
Am I making sense?
Favoured Souls Have the whole list to choose from as well but after they choose they do not get to choose again.
Am I making sense?
#3
Posté 11 novembre 2011 - 11:08
I think I'm the one being unclear. When I set the cleric's "memorizes spells" flag in the classes.2da to 0, the cleric couldn't cast any spells, period. If Iopened up the spellbook it would still show all the spells (as long as "knows all spells" is still 1), but there was no way to cast any of these spells.
#4
Posté 12 novembre 2011 - 02:00
Another route would be to somehow disable the whole spellbook GUI and then hack in your own non-vancian spellcasting GUI. I even heard of someone using the chat menu with certain key words to make their own spell casting system. It sounded pretty cool.
#5
Posté 12 novembre 2011 - 04:01
What I've done is geared Clerics up to cast spells like Sorcerers. I think you just have to set the right flag in the 2da, but I think it's tied to the one which lets you cast all spells. The other flag ("memorizes spells", I think) only disables the memorisation half of the spellbook GUI, nothing more.
#6
Posté 12 novembre 2011 - 04:45
I tried disabling "knows all spells" and using the favored soul spell known table for clerics, but characters created before I included the new 2da files still don't have any spells (at least until they level up and can pick spells, but then the spellbook still shows spells they don't have.)
I suppose I could create a spell known table for clerics that has exactly as many spells as the cleric has by default (to give them all spells), but that would still leave the problem of characters created without the new 2das not having any spells.
Maybe there's a way to add spells through script to get around that...
I suppose I could create a spell known table for clerics that has exactly as many spells as the cleric has by default (to give them all spells), but that would still leave the problem of characters created without the new 2das not having any spells.
Maybe there's a way to add spells through script to get around that...
#7
Posté 12 novembre 2011 - 11:34
I think the reason I didn't do that was actually because knowing all spells and then being able to cast them spontaneously if a bit overpowered compared with the default.
There is however a work-around by vitue of the SetSpellKnown() function. What I've done is given them a spells known 2da which allows them 255 per level. The problem with this is that it screws up the spell selection GUI on level-up and character creation (I don't know why it isn't showing for you - my issue was that it *was*, but that it wasn't working). You can never level up because it always wants you to pick more spells than exist. My intention is to create a fake screen, but if you want to add all the spells you should just be able to do that and then skip the screen for Clerics. It'd be a bit of work, though.
It sounds like you may just be able to add some spells for them each level, though.
There is however a work-around by vitue of the SetSpellKnown() function. What I've done is given them a spells known 2da which allows them 255 per level. The problem with this is that it screws up the spell selection GUI on level-up and character creation (I don't know why it isn't showing for you - my issue was that it *was*, but that it wasn't working). You can never level up because it always wants you to pick more spells than exist. My intention is to create a fake screen, but if you want to add all the spells you should just be able to do that and then skip the screen for Clerics. It'd be a bit of work, though.
It sounds like you may just be able to add some spells for them each level, though.





Retour en haut






