Author Topic: Modifying a Prestige Class  (Read 501 times)

Legacy_The_Knight_980

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Modifying a Prestige Class
« on: July 06, 2014, 02:05:02 pm »


               

Hello all '<img'>


 


I put up an old server to have some fun with friends..and I got this idea to modify the Champion of Torm prestige class to make it a little more worth to take as a paladin development, by adding spell level progression.


 


To do that, I modified the classes.2da by adding the paladin spell progression to the Champion and by putting a "1" on DivSpellLvlMod.


 


But that broke down lots..on the tests I did, the Paladin now gets to the third tier of spells at level 7..and the Champion does not add any spellcasting level whatsoever..


 


Do I have to make a brand new prestige class or am I making something wrong with the modifications?



               
               

               
            

Legacy_MannyJabrielle

  • Sr. Member
  • ****
  • Posts: 275
  • Karma: +0/-0
Modifying a Prestige Class
« Reply #1 on: July 06, 2014, 02:08:35 pm »


               

Are you trying to add spell slots like how palemaster adds casting slots to the arcane casters?  Or are you trying to increase caster levels?  You'll have to add caster levels by modifying the relevant magic scripts.  Can't recall offhand which ones.



As for adding spell slots, I am not sure how to do that, or if it's even possible without a major workover similar to the PRC package.



               
               

               
            

Legacy_The_Knight_980

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Modifying a Prestige Class
« Reply #2 on: July 06, 2014, 02:18:39 pm »


               

I am trying to make so that if you take a level in the Champion of Torm, and your base class is a divine spellcasting one, you take one caster level too (so, adding spell slots and spell level, when adequate)



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Modifying a Prestige Class
« Reply #3 on: July 06, 2014, 02:21:28 pm »


               


Are you trying to add spell slots like how palemaster adds casting slots to the arcane casters?  Or are you trying to increase caster levels?  You'll have to add caster levels by modifying the relevant magic scripts.  Can't recall offhand which ones.


As for adding spell slots, I am not sure how to do that, or if it's even possible without a major workover similar to the PRC package.




Correct. ArcSpellLvlMod / DivSpellLvlMod adds new slots to the class, same way as Palemaster does.


 


This doesn't change caster level by itself though. To do that you need to change basically every spell script and add something like if(GetLastCastClass == paladin) casterlvl+GetLevelByCLass(torm);


 


certain unofficial patch allows to do this without need to modify spellscripts but thats maybe not your cup of tea...


               
               

               
            

Legacy_The_Knight_980

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Modifying a Prestige Class
« Reply #4 on: July 06, 2014, 02:24:16 pm »


               

Eh, I never dabbled in NWscript before '<img'>


As I heard that modifying NWN was easy, I tried '<img'>


Can you tell me what patch you are talking about, Shadoow?


 


 


edit: i saw now the links on your sign...that's the one? '<img'>



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Modifying a Prestige Class
« Reply #5 on: July 06, 2014, 02:31:18 pm »


               


Eh, I never dabbled in NWscript before '<img'>


As I heard that modifying NWN was easy, I tried '<img'>


Can you tell me what patch you are talking about, Shadoow?




the one I have link in my signature '<img'>


 


With this patch there is a variable you can put on a player/creature which will be included in caster level calculation, this still needs some scripting knowledge but no longer require to modify every spells. Depends for what purpose you are doing this (PW, SP, global change independant on module) I can further instruct you how to do that.


               
               

               
            

Legacy_MannyJabrielle

  • Sr. Member
  • ****
  • Posts: 275
  • Karma: +0/-0
Modifying a Prestige Class
« Reply #6 on: July 06, 2014, 02:41:02 pm »


               

Modifying NWN is easy, and yet hard.  It all depends on what you are trying to do exactly.


If you go to the new vault (link in my signature), you can find resources to help learn.  I know Carcerian (same as the Carcerian here) has uploaded two different projects which bundle up loads of modding tools and information.



               
               

               
            

Legacy_The_Knight_980

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Modifying a Prestige Class
« Reply #7 on: July 06, 2014, 02:45:20 pm »


               

It was an Italian PW, back in the day..


The admin gave it to me, and I'm hosting it to play on it with my friends..so it's something small and limited.


I don't plan to open it to the public '<img'>



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Modifying a Prestige Class
« Reply #8 on: July 06, 2014, 03:08:50 pm »


               


It was an Italian PW, back in the day..


The admin gave it to me, and I'm hosting it to play on it with my friends..so it's something small and limited.


I don't plan to open it to the public '<img'>




Oh in this case it is possible that my patch wont be able to help you. Depends on many factors.


 


Because usually, PWs changes lots of spells with their own balance changes and sometimes to enforce changes like yours. So its very possible that the module you are working on has a multiple spellscripts modified inside.


 


Search for _s0_ in the script editor - those are spell scripts. The problem is that my patch has lower priority than module so the spellscripts from module will be always in use. And these spellscripts are not using the new spell "engine" that allows all this goodies. Thus additional edit will be required: either to rewrite them onto new engine from CPP or to add the caster level code here manually.


               
               

               
            

Legacy_The_Knight_980

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Modifying a Prestige Class
« Reply #9 on: July 06, 2014, 03:14:05 pm »


               

Aah, yes, I understand '<img'>


I'll see what I can do and post again...


In the meantime, really, thanks for the help '<img'>