Pocket Plane Group

Miscellany, Inc. => Infinity Engine Modding Q&A => Topic started by: Xenageo on October 23, 2004, 12:13:16 PM

Title: Creating a sorceror as a mage "kit".
Post by: Xenageo on October 23, 2004, 12:13:16 PM
Well, this might seem a little strange for a request.

It came up when discussing how to make a thief/sorceror, though it could have been an anything/sorceror.

I understand that it's possible to do through converting all the spells to innates, et cetera (I'm not a fan of doing this - it would "look" too different to all the other sorceror stuff.)

Is it actually possible to gain the sorceror style spellbook, and effectively *be* a thief/sorceror, with spells used through the divine button as a normal sorceror would?

In our discussion we were figuring that it might be possible via creating a mage kit, and having spells learned slightly differently?

Thanks for any help/ideas.
Title: Re: Creating a sorceror as a mage "kit".
Post by: igi on October 23, 2004, 02:06:22 PM
You could create an altered version of all spells for the 'sorcerer' and add a 'rest' effect to them, but you'd need a way to limit the number of spells cast from each level, which eludes me atm.
You could easily limit the total number of spells cast, by incrementing a local, and disabling the spell-cast button when it reaches a cut-off, but that would allow the 'sorcerer' to use 50 lvl 9 spells, rather than 5 lvl 1, 5 lvl 2, 5 lvl 3 etc...
Title: Re: Creating a sorceror as a mage "kit".
Post by: Avenger_teambg on October 23, 2004, 03:07:35 PM
You could set variables for each level.
Title: Re: Creating a sorceror as a mage "kit".
Post by: Xenageo on October 23, 2004, 04:39:45 PM
Would using the variables require editing each spell? Or is there a way to track when level X spells are cast and decrease the global according to that?

Also, what kind of script would be necessary for learning spells?
Title: Re: Creating a sorceror as a mage "kit".
Post by: igi on October 23, 2004, 06:06:16 PM
You'd need to edit each spell.

As for learning spells, you could scribe a set of spells to the spellbook on level-ups via the CLAB files, or allow spell-learning via scrolls, or, offer a selection of spells to choose from with the Use 2DA opcode, and add the selected spells.