Aller au contenu

Photo

my custom spell can't be learned????


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Roddish

Roddish
  • Members
  • 41 messages
Hello again. I've been trying my hand at creating new spells, i think i've filled in all the 2das i need to, but i couldnt find any tutorials for making spells and/or feats.

anyway, so i made the spell icon, the scroll icon, the impact script (which is having its own problems, meh!)
and i made references to it in my tlk and in the following 2da files;

iprp_onhitspell2, iprp_spellcost, iprp_spells , spells.

all spellcasty classes get the spell, so i also added entries in ALL the packsp*.2das

in the module, i compiled the scripts, saved then used nwn explorer to export the compiled and uncompiled scripts, which i put in a hakpak alond with the new 2das and the tga icons (one thing, maybe off-topic, are the spell icons meat to have transparency? obviously the scroll is, but the spell icon itself?)

now, as a paranoid, i decided it might be in my best interests to put all the new files i put in the hakpak ALSO in my override folder, for testing.


so, all that said and done, i can access the spell in the toolset, to put it on scrolls and items and such, but none of the classes ever recieve the spell as a choice, ever. even though i specified at what level they all get it in spells.2da and in their package 2das

what the devil have i done now?.

#2
Alex Warren

Alex Warren
  • Members
  • 179 messages
Probably some kind of error in spells.2da. Clerics/Druid know all spells from their spell list, so I would suggest testing with those classes.

Are you sure there aren't any spells.2da overriding your new file?

Try copying existing spell and replace only impact script, icons and names.

#3
Roddish

Roddish
  • Members
  • 41 messages

Alex Warren wrote...
Probably some kind of error in spells.2da. Clerics/Druid know all spells from their spell list, so I would suggest testing with those classes.


thanks. good idea.

Are you sure there aren't any spells.2da overriding your new file?


did i mention i was paranoid? i am absolutely certain that mine has priority. my hak sits at the top of every hak list, and i also drop copies in the override folder for testing. my 2da is boss-hog round these parts pilgrim.

Try copying existing spell and replace only impact script, icons and names.


thats how i made it, i just copied the cure wounds spells, with new icons and scripts for target caster only, that was the only tweak.

i'll go have a fiddle with a cleric now though. thanks man




EDIT------------------------------
just trying to avoid a repost here. 

tried it with a cleric, guess what i learned.


I learned that i am a moron.


cleric learned the spells fine, so i went back and checked my spells.2da


turns out, i hadn't entered any numbers in the iz/sorc field, and had been testing with both of them.



oops.



lesson learned. lol.

thanks man

Modifié par Roddish, 28 août 2011 - 09:43 .


#4
Alex Warren

Alex Warren
  • Members
  • 179 messages
Lol!
You're welcome :)