I'm trying to create spells that, like the Polymorph spell in the base game, have multiple alternate spells to be cast from the same "master" spell. I've got the spells I want under the "SubRadSpell" columns in the spells.2da, and they all appear on the radial menu. However, when added to the quickbar or actually cast, only the first spell is ever used. Is there another part of the 2DA that has to be edited to fix this, or am I doing something wrong? (Or is it a bug?)
Edit: The problem I was having stemmed from using feats to grant the spells in question, which apparently needs a few extra steps (quoted in the post below). I managed to get away without having a masterfeats.2da, but everything else seems to be necessary.
Alex Warren wrote...
You want to make a feat, not a spell, right?
Here's a quote from PRC manual:
Creating Multi-Function Feats (Sub Radials)
Somtimes you want to create an ability or spell that has multiple possible uses. Good examples of such an ability is the Orc Warlords Gather Horde ability. This class can summon an orc, and uses sub-radials to allow the player to summon several different types of orcs. The following instructions will help you create feats/spells that can do this as well.
Make an entry in masterfeats.2da for you feat/spell.
Create an entry in feat.2da for your ability.
Set the MASTERFEAT entry to the entry number of your entry in masterfeats.2da.
Set the SPELLID to the line number you plan to use for the master spell in spells.2da
Create a master spell entry in spells.2da.
You can copy an example one. If you have the PRC, copy line 2715 or 2716.
Set the SubRadSpell 1-5 entries to the appropriest spell entries.
(Typically I used the lines directly below the master spell).
Set one SubRadSpell entry per function the spell has.
Create the sub-spell entries.
When making a sub-radial you will want to pick unique numbers over 5000. This are your SubRadialNumbers.
Set the FeatID to (65536 * SubRadialNumber) + Feat Entry Number.
For example:
(65536 * 5001) + 898 = 327746434
(65536 * 5002) + 898 = 327811970
898 would be the line for the feat in feat.2da and 5001 and 5002 would be the unique numbers chosen for these two sub-radial items.
Once all the entries are done it should be ready for testing.
Modifié par jackkel dragon, 07 juillet 2012 - 04:31 .