Author Topic: Adding Removing Spells from classes  (Read 702 times)

Legacy_Der_Arschgeiger

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
Adding Removing Spells from classes
« on: May 12, 2012, 10:28:49 pm »


               Hi there! I'm new NWN modding. I'm wondering if it is possible to edit the 2da files to add/remove spells from certain classes? I've been fiddling around with it myself. I'm basically trying to make it so that druids and rangers have certain spells they should have and to remove spells from cleric and make them based entirely on what domains they take. (I'm making their domains give them their 'bonus' cool spells 1-9).

Any insight on how to do this? I'm dumb with scripting at this point. So if I can do this by simpling just tweaking 2das that would be awesome.

Thanks! ':lol:'
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Adding Removing Spells from classes
« Reply #1 on: May 12, 2012, 10:59:03 pm »


                You will need to copy spells.2da and make your edits there.

Here's some info on it

This means that this is not a scripting challenge, but a custom content one. You can make many changes to the game just be editing the 2da files.
               
               

               
            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0
Adding Removing Spells from classes
« Reply #2 on: May 13, 2012, 01:12:46 am »


               

Der_Arschgeiger wrote...

Hi there! I'm new NWN modding. I'm wondering if it is possible to edit the 2da files to add/remove spells from certain classes? I've been fiddling around with it myself. I'm basically trying to make it so that druids and rangers have certain spells they should have and to remove spells from cleric and make them based entirely on what domains they take. (I'm making their domains give them their 'bonus' cool spells 1-9).

Any insight on how to do this? I'm dumb with scripting at this point. So if I can do this by simpling just tweaking 2das that would be awesome.

Thanks! ':lol:'


  I did some of this in my mod.  Aside from the summons spells and cure spells, if it was a domain spell in PnP, I removed it from the standard cleric spell list, to add more diversity in clerics based on domain selected.
  The thing you really have to watch for, is that you don't remove all of the useful spells from a given level while doing it.  There are 20 odd domains, each of which can have a spell at each level.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Adding Removing Spells from classes
« Reply #3 on: May 13, 2012, 01:55:48 am »


               

Failed.Bard wrote...

I did some of this in my mod.  Aside from the summons spells and cure spells, if it was a domain spell in PnP, I removed it from the standard cleric spell list, to add more diversity in clerics based on domain selected.
  The thing you really have to watch for, is that you don't remove all of the useful spells from a given level while doing it.  There are 20 odd domains, each of which can have a spell at each level.

I also didn't know the reason why some domains grant the spell of the same level, then I found out in DnD rules: By rules the extra slot that cleric has at each level (compared to other classes) is so called domain slot where he may put only spell from domain. This can be even translated into nwn except the fact that domains in nwn doesnt grant spell thorough all spell levels so this must be changed first.
               
               

               
            

Legacy_Der_Arschgeiger

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
Adding Removing Spells from classes
« Reply #4 on: May 13, 2012, 05:29:57 am »


               Thanks guys! This has helped me a lot! Now to go ask another question..
               
               

               
            

Legacy_SKIPPNUTTZ

  • Full Member
  • ***
  • Posts: 148
  • Karma: +0/-0
Adding Removing Spells from classes
« Reply #5 on: May 13, 2012, 07:46:38 pm »


               So would it be possible on a PW server to change what bonus spells Cleric domains reward?
Without the use of custom 2das on the client side that is.
               
               

               
            

Legacy_Der_Arschgeiger

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
Adding Removing Spells from classes
« Reply #6 on: May 13, 2012, 08:38:16 pm »


               Server side I think you could choose domains, but without a client side 2da you can't choose before you enter. So you'd have to level up as a cleric later or create some complicated script process that allows you to trade domains in game.
               
               

               
            

Legacy_SKIPPNUTTZ

  • Full Member
  • ***
  • Posts: 148
  • Karma: +0/-0
Adding Removing Spells from classes
« Reply #7 on: May 13, 2012, 10:31:28 pm »


               Actually I'm searching for some sort of letoscript routine to do that very thing.

Cleric domain changer.

-----

But allowing a better list of spells on our PW for certain cleric domains would be amazing if possible server side only.
               
               

               
            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0
Adding Removing Spells from classes
« Reply #8 on: May 14, 2012, 12:12:23 am »


               Domain bonus spells are handled in domains.2da.  I don't know if you can change that just server side or not, I included mine in the mods top hak since I'd also added more domains.

As for changing domains in game, NWNX allows that.
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Adding Removing Spells from classes
« Reply #9 on: May 14, 2012, 12:21:58 am »


               

Der_Arschgeiger wrote...

Server side I think you could choose domains, but without a client side 2da you can't choose before you enter. So you'd have to level up as a cleric later or create some complicated script process that allows you to trade domains in game.


The "client side" 2da in this instance needs to be placed in the player's override folder if it is to affect character creation. Having a clientside Hak does not affect character creation in multiplayer games.