Author Topic: Spellknowntable, cls_spkn_sorc 2da... Limiting custom spells (Headache)  (Read 363 times)

Legacy_Dwivilvighuy

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0


               Hello to all nwn community

(First of all sorry cause my english is bad, i try to explain me the best i can, sorry).

I post to you cause i´m trying to solve a problem one week ago, searching everywhere and i cant. The problem is:

I´m building a nwn1 module for pleasure, 1 week ago i finished my custom spells for wizards class (important: wizard,i dont use sorcerer), well i wanted to organize that the custom spells couldnt be adquired by player when level up or/and character creation,but players can memorized via scroll, and thats the problem, i cant.

These are the steps i´ve tried:

-In spells 2da, in the column wiz/sorc,i remove the level of custom spells with **** believing that would not appear (thats the way i resolved the nwn default spells dont appear), the problem is spells dont appear but when you test to memorize the scroll it detect isnt a arcane spell and dont let you memorize.

-Then i try in class 2da and cls_spknsorc 2da (which specifies the number of spells that sorcerer learns by level) the problem is that there a bard and sorcerer spkn but not for wizard, well i took class 2da in wizards line and spellknowntable column and write the cls_spkn_sorc (by default ****) looking for that wizard would use the spkn_sorc 2da file of sorcerer, and then i modified the cls_spkn_sorc 2da itself, well it didnt work too. Then i tested with sorcerer to see if it works, and surprise it worked with sorcerer, so something happens with wizard class.

-I try to modify the file classwizard.ini in lines concerning to spells (spellcount, spelllevel1 etc...), it didnt works too.

I also read on google in nwn2 post that removing columns of the packspwiz 2da it doesnt appear, but it works with default spells,not with custom spells.

So the question is what im doing wrong?, which is the way to do it?

What i want is dont let player to adquire my custom spells via character creation/level up and let them to memorize via scroll for use on the spellbook

Well, Thank you all, and really sorry for my english i know can be hard to understand, thanks for the effort to read it.

Dwivilvighuy.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Spellknowntable, cls_spkn_sorc 2da... Limiting custom spells (Headache)
« Reply #1 on: November 04, 2012, 12:37:15 pm »


               

Dwivilvighuy wrote...

-In spells 2da, in the column wiz/sorc,i remove the level of custom spells with **** believing that would not appear (thats the way i resolved the nwn default spells dont appear), the problem is spells dont appear but when you test to memorize the scroll it detect isnt a arcane spell and dont let you memorize.

This wont work this way at all, though one silly idea of my is to set Wiz_Sorc collumn to 10, spell maybe will be memorised but probably not appear anywhere. Try it to be sure, but I dont really believe this could work.

-Then i try in class 2da and cls_spknsorc 2da (which specifies the number of spells that sorcerer learns by level) the problem is that there a bard and sorcerer spkn but not for wizard, well i took class 2da in wizards line and spellknowntable column and write the cls_spkn_sorc (by default ****) looking for that wizard would use the spkn_sorc 2da file of sorcerer, and then i modified the cls_spkn_sorc 2da itself, well it didnt work too. Then i tested with sorcerer to see if it works, and surprise it worked with sorcerer, so something happens with wizard class.

wizard doesnt use spell known 2DA, those two spells you can take are hardcoded and the whole process could be removed only via nwn client hackedit

-I try to modify the file classwizard.ini in lines concerning to spells (spellcount, spelllevel1 etc...), it didnt works too.

this file isnt used for this purpose but for others - im now not sure which is which, but either its file used by toolset's creature wizard or its pre-setup build package for players

I also read on google in nwn2 post that removing columns of the packspwiz 2da it doesnt appear, but it works with default spells,not with custom spells.

this is nonsense, not sure how it works in nwn2, but in nwn1 this has no impact on the choosing spells process


If it would be online server where player can login, it could be probably possible if the server's spells.2da contained these spells with Wiz_Sorc = correct level, but in client's spells.2da version there would be ****

Other way would be to use NWNX which can modify, add, remove known spells. So after level-up you would removed the spells that were acquired.

If this is for singleplayer, then I fear there is no way to do it.
               
               

               
            

Legacy_Dwivilvighuy

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Spellknowntable, cls_spkn_sorc 2da... Limiting custom spells (Headache)
« Reply #2 on: November 10, 2012, 05:41:15 pm »


               Thanks Sadow for your answer.

I tryed for singleplayer but at least i know there s a way for multiplayer if someday i want to prove it there.

Thanks for your meticoluos and clarifying reply.

Dwivilvighuy.