you need to rewrite almost the whole GUI, so you can account the new class.
By doing so, you could even define new 2da files with your new system.
Basically
you rewrite the GUI in order to call only scripted function for all wich is spell or spellbook related and not hard coded function. By doing so
the "limit" for new spell and spellbooks won't be what is hard coded,
but the limit of what you can do with NWNSCRIPT.
This is possible
since the patch 1.23 where OBSIDIAN gave the 4 or 5 core functions
needed to do a CUSTOM GUI that works with scripts and not hard coded
function.
So in order to do custom spellbooks, and so full custom caster class correctly (like the mistyc theurg or your spirit shaman implementation)
You need to do :
1

a full scripted version of the character creation process and full scripted GUI for that part.
2:) A full scripted version of the the character lvl up processand full scripted GUI for that part. (this has an impact on the "on heartbat" script of any creature that can lvl up where you need to check if the object is lvling up or no, and launching or updating the custom GUI with the information you fetched, this is just an exemple, there are many more impact).
3:) And a full in game scripted GUI for the element involved (character panel, spellbook gui and probably more).
By doing a full custom GUI it's probably possible to raise the lvl cap propelly as much as you wants as well since you'll fetch the information in new 2Da you'll have made yourself, and more importantly you'll be able to do what you want with those information.
Basically the first thing to do if you want to do something that goes beyond what is hard coded in the GUI, is a custom scripted GUI. Wich was nevers made up until now.
That GUI could be made by using the existing look and presentation, it's possible to use the current XML GUI file, and tweak them so they''ll receive scripted parameter instead of hard coded one, and that they'll call scripted function instead of hard coded one.
It's possible, it's not easy, and it's a really big work.
The one who will do it, (tweak the current UI so it won't call hard coded function, but scripted fucntion) will probably be a "community heroes" especially for all the poeple who wants "custom spellbooks", and those who wants to raise the lvl cap.
Modifié par Shallina, 18 juillet 2011 - 09:15 .