I was contacted by KevLs who was interested in updating my little project. Since it's been a very long time since I played NWN2, and am not likely to start to playing again, I gladly gave him my blessing.
If you enjoyed this mod, please give his a try, you can find it here:
The "Rod of Preparation" helps you quickly and consistently recast the same party-buff spells and feats.
This is the second preview release for 0.04. Fixed a number of bugs from the first preview found through testing. Further feedback is appreciated.
Note that if you used the previous preview release, this version will delete the "Book of Preparations" the old release created.
------------------------------------------------------------
New in Version 0.04 (preview 2):
- Updated for Storm of Zehir expansion.
- Now uses a custom "bag" for storing the preparation in each character's inventory. You can take preparation out of the bag to disable them, and either hold onto them for later, or delete them.
- Anyone in your party can use the rod, not just your main character.
Preparations will be automatically added to this notebook. You can remove individual preparations from the notebook to temporarily disable or delete them.
"An onrightclick context menu for books/preparations in the inventoryscreen.xml/container.xml to delete all or one of the preparations would be nice too :)" BTW: you can erase everything in a book by targeting it with the rod of preparation. (You'll get a confirmation box before they go poof.) Not as intuitive as an actual GUI would be, but it gets the job done.
Posted by LostCreation at 2009-06-0516:03:25
The problem is that you cannot detect what MMF was used to cast a spell after it has been cast (you can only detect it while it's being cast). I thought by using "metamagic_any" the engine would cast the spell no matter what MMF you memorized it with, but that doesn't work (at least in 1.22). You have to tell the game explicitly which MMF you want to use, "any" doesn't seem to work. I have an experimental version that works something like how you thought it did. I had tried this approach a while back and abandoned it for various reasons. Since I have time now, I want to play around with it again. This would fix several issues/shortcomings with the current design, but it is not sufficient to actually replace it. A better GUI is on my to-do list, but I need to do it in a way that doesn't require end users to modify any 2DAs or merge XML files.
Posted by Pinky's at 2009-06-0215:23:13
Sorry, I misunderstood how the rod was supposed to work ... I thought it registered all the spells I used after activation, not the active spells during activation. About metamagic feats, couldn't you add an override quickspell.xml to add extra callbacks for onleftclick for spells? (Extracting the metamagic feat and executing a script to pass it on to the rod.) An onrightclick context menu for books/preparations in the inventoryscreen.xml/container.xml to delete all or one of the preparations would be nice too :) I'll take a look myself, but I haven't done much NWN2 script/gui.
Posted by LostCreation at 2009-06-0113:54:12
Pinky: You're right. MMF do *not* work. I thought they had started working in earlier versions, but I've confirmed that spells memorized with MMFs do not cast at all in 1.22. Haven't seen the issue where you need to use the rod twice. TonyK's AI was included in patch 1.21, so I'm not sure if having it in the override as well could be causing your problem or not. I'll be keeping a closer eye on comments here, since I'm finally able to start looking at this extension again. As always, my email address is in the readme file, if you want to get my attention directly.
Posted by LostCreation at 2009-06-0113:27:04
MMF should work fine as long as that's the only copy of a spell you have memorized. I'll add that to my to-do list though, and verify. When you rest, all of the spell effects vanish, so you need to use the rod on itself *before* you rest. That will add all of the spells that are currently active on any of your party members to the casting characters book. Resting afterwords to "finalize" the spells is optional, just to make sure the game correctly identified the spells you want to cast.
Posted by Pinky's at 2009-05-2507:07:54
Oh I see in earlier discussions you can't detect the metamagic feats. Any chance of adding an activation menu to each book where you can specify a metamagic feat afterwards? :)
Posted by Pinky's at 2009-05-2506:42:10
Trying out 0.4 second preview and it's acting a bit weird. Playing MotB with SoZ installed, only other override is TonyK's AI. When I cast spells after activating the rod on itself spells cast don't immediately appear in the book. I have to activate the rod on itself a second time before they appear. I have to do this before I rest, after I rest they simply won't show up at all even if I activate the rod again. Metamagic feats don't seem to work either :/
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone