NEED NWNX(http://nwnx.org/index.php?id=home) and MaxRock's nwnx_funcs plugin (http://nwvault.ign.com/View.php?view=Other.Detail&id=1447)
1. DESCRIPTION
I've always wanted to see wizards using spell points in order to cast spell instead of the common "spell slot", but implementing a clean and user-friendly spell points system wasn't possible in nwn... until I discover MaxRock's nwnx_funcs (Link).
So here is my small spell points system using the nwnx_funcs plugin for nwnx.
The spells are still used as usual : all caster (except Bard and Sorcerer) still need to memorize spell in order to cast it, spells can still be countered...
But in order to cast a spell, the caster needs spell points.
In my implementation (and the demo module), the following caster classes use spells points (it can be configurate to limit the spell points system to less classes):
- Bard
- Cleric
- Druid
- Paladin
- Ranger
- Sorcerer
- Wizard
The number of spell points a character can have depends of the caster class and the bonus point of the attribute linked to the caster class :
- Bard : (8 + Charisma modifier) for each Bard level
- Cleric : (10 + Wisdom modifier) for each Cleric level
- Druid : (10 + Wisdom modifier) for each Druid level
- Paladin : (6 + Wisdom modifier) for each Paladin level
- Ranger : (6 + Wisdom modifier) for each Ranger level
- Sorcerer : (12 + Charisma modifier) for each Sorcerer level
- Wizard : (10 + Intelligence modifier) for each Wizard level
After casting a spell, the caster memorizes back the spell (except for Bard and Sorcerer who get back 1 spell slot for the appropriate level), so he can cast the spell again (if he has enough spell points...).
It's only possible thanks to the nwnx_funcs.
2. CONTENT
The zbl_spell.erf contains the spell point system script files and the nwnx_funcs script files. However it may be a good idea to get the last nwnx_funcs version as MaxRock is still working on it (and you may found useful functions).
The demo_module.zip contains a demo module where the spell point system is active. Don't forget to use nwnx and the nwnx_funcs plugin in order to run it!
The README.txt file contains all the steps in order to install the spell point system in your module.
You can modify the "zbl_spell_inc" script if you want to limit the spell points system to less caster classes, to modify the spell points gained per level or to change the spell cost.
As it's just a plain system, it may be not balanced ; feel free to give me any comment to adjust it.
3. CHANGELOG
v1.1a (05-03-2011):
- modification of a function in order to easily make spell points potions
v1.1 (04-27-2011):
- addition of the Bard and Sorcerer to the system
v1.0 (04-25-2011):
- first release
Posted by Fleshmelter at 2011-07-12 13:43:19 Voted 9.00 on 04/25/11
Forgive my previous post, it works fine. However I do think it has problem with spells that can have variations like Protection from X spells.
However that's a small price for such coolness. _________________________ PW Action Server:
| Chaosgate |
Posted by Fleshmelter at 2011-07-07 00:27:38 Voted 9.00 on 04/25/11
I finally pulled out the old module, and set out to add this into it, but I can't seem to get it to work. It doesn't refresh the spells for recasting, although everything else works....oddly.
I used your demo mod, and added the nwnx funcs as per install instruction. Any ideas? _________________________ PW Action Server:
| Chaosgate |
crazedmages> I'm glad if it's useful to someone :)
Posted by crazedmages at 2011-05-13 16:19:55 Voted 10.00 on 05/13/11
Bloody.Freaking.Brilliant.
We use this to set our Sorcs and Bards a part as thier magic is different than a mages. I think this is a homerun system and I thank you in spades for releasing this. _________________________ People react violently to fur rather than leather because it is easier to pick on rich chicks with bad taste than biker gangs.
Posted by Fleshmelter at 2011-05-04 16:08:43 Voted 9.00 on 04/25/11
Smells like more awesome! _________________________ PW Action Server:
| Chaosgate |
Fleshmelter> I haven't added such things but adding such potions wouldn't be difficult. I'll try to add some in my demo module ASAP as an example.
Yes, resting gives back all the spell points.
Posted by Fleshmelter at 2011-05-02 11:03:04 Voted 9.00 on 04/25/11
Added some spark to me for potentially putting my PW backup....I kinda wanted a more MMO feel to my world, and spell pts would fit nicely in regards to casters.
Have you thought of adding things like Spt potions, or maybe alter regeneration effect to restore Spts. Does resting restore Spts? _________________________ PW Action Server:
| Chaosgate |
Posted by OldTimeRadio at 2011-04-30 17:01:03 Voted 9.50 on 04/30/11
I've updated the erf and demo module.
Bards and Sorcerers are now included in the spell points system (I had forgotten the Bard didn't memorize spells -_-' )
Fleshmelter>Indeed.
For Sorceror, it would need using others nwnx_funcs functions.
But, as the Sorceror is the only caster who doesn't use spell slots, I was wondering if he should also be given the possibility to use spell points.
Why not? I could update the system in order to add the Sorceror.
Posted by Fleshmelter at 2011-04-27 02:12:58 Voted 9.00 on 04/25/11
I notice you didn't have sorceror up there so i'm guessing because they don't memorize spells they aren't under the same constraints? _________________________ PW Action Server:
| Chaosgate |
wmb1957> if the linux version contains functions similar to NWNXFuncs_GetMemorizedSpellSlot and NWNXFuncs_SetMemorizedSpellSlot, then you can create a similar system!
Posted by wmb1957 at 2011-04-26 17:10:32 Voted 9.75 on 04/26/11
Nice use of nwnx. Although MaxRock has the windows nwnx funcs, I hope this will work on the linux one as well.
jdeavila> To the contrary of the huge work of Mr Nathan, this spell points system doesn't use any hak and doesn't contain any new feat. (my system is pretty plain and more or less a proof of concept)
I should have written in the description that the spells are still used in the usual way : you still need to choose which spell you want to memorize in order to be able to cast it, you can still be counterspelled, you can still learn new spell from scrolls if you're a wizard, etc...
The only difference is that every time you try to cast a spell, the spell slot isn't "used" (thanks to the nwnx_funcs) ; instead of "using" a spell slot you just lose spell points. That's all.
This looks really interesting. _________________________ PW Story server Narfell - Since 2002
Posted by Fleshmelter at 2011-04-25 19:47:39 Voted 9.00 on 04/25/11
Looks like a simple alternative resource spell-casting system, great addition to tinker with. _________________________ PW Action Server:
| Chaosgate |
Posted by jdeavila at 2011-04-25 18:37:48 Voted 9.00 on 04/25/11
Very similar to "Mr Nathan's" Psionics system of points. _________________________ Imtherealthing