HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Multiple Spellbooks?

07-27-2004, 10:22 PM#1
Kirbot
Ok, I'm making a free for all type map where each player has a wizard with 7 different categories of spells, with 7 spells in each category (a category being something like Nature, Summoning, Destruction, etc.), for a total of 49 spells. Each time you level up, you can choose which category to improve, thus giving you access to the next most powerful spell in it.

However, I have a problem. The way I am doing this is making a spellbook for each of the categories, and making it so when you level up a category, it gives the player the next level of upgrade in that category (custom upgrades), which in turn allows you to cast its spell. However, when I tried making the second spellbook (so far I had completed the Nature spellbook with all 7 spells, the one I did next was Necromancy), it just combined both spellbooks. Both spellbooks were shown bottom right under the move, attack etc., but clicking on either one resulted in showing all 7 Nature spells, as well as the first Necromancy spell that I had completed.

Now, before you get after me for this, I did read the part in the FAQ how you cannot have more than 1 spell (the spellbooks being a spell) that have the same base spell per unit. However, I have seen in several maps such as NotD2 where they did have multiple Spellbooks, with seperate contents. NotD2 had Actions, Medals and Medkit, if you had one in your inventory, all with seperate contents.

If anybody could explain to me how to get the spellbooks to work, I would greatly appreciate it :)
07-28-2004, 04:55 AM#2
bile
where did it say you could only have 1 spellbook ability?
07-28-2004, 05:03 AM#3
Kirbot
Quote:
Q: Can a unit have two abilities that use the same base ability?

A: No. Only the first ability will display.

From the "Forum Rules" thread, 1st reply, TFT WE FAQ, first question/answer on list. If it meant something else, or I'm just stupid, please let me know now so I can slap myself :\

I'm still having the problem with the spellbooks combining spells. Also, two of my Nature spells (which both were created based on the Force of Nature spell) have a problem where, despite which one you click on, it will cast the one that costs more mana if you have the mana. If you don't, it casts the cheaper spell. I somehow get the feeling it's related to my problem, too...
07-28-2004, 06:15 AM#4
Pyrus
If a unit has multiple spells based off of the same spell all spells will "combine" and activate simultaneously when used.
07-28-2004, 06:22 AM#5
Mythmon
yes, hes right, but you mentioned that a map did that, that because it used items.
(it works!)
another option would be to make 1 spellbook then add the 7 spellbooks to that (it works!)

and about your force of nature.. i think there is some nuetral abilitys that are the exact same thing but unit abilities, base 1 of the spells off that and they wont collide
07-28-2004, 07:22 AM#6
Panto
Actually, the spellbook ability is nearly unique in that it allows you to change the order code that fires when the spellbook is used (the field is Data - Base Order ID or DataE1). Because the problem with having multiple abilities based of the same root derives from the fact that they're giving the same order code, changing this value in the Spellbook ability allows you to have more than one of the ability on a single unit.

This is also the case with the ability Channel, which is basically the dummy ability of choice; it can be modified in a number of ways to simulate different spell types, and one of the modifications you can make is the order code that it uses.

I appreciate that you looked through the forum stickies and the FAQ. I think that demonstrates your willingness to come to a conclusive answer and also shows your respect for the forum process.

And I hope this solved your problem.
07-28-2004, 02:45 PM#7
Mythmon
cool, i never knew that before, this will make making maps

you said channel can be modified to simulate different types of spells, does this mean you can make channel into a point target spell? or even a passive skill? or an autocast?

j/w
07-28-2004, 04:22 PM#8
bile
yes you can do all that except for the autocast thing i think. You should look through the ability before you ask that next time.
07-28-2004, 04:47 PM#9
Mythmon
sorry about that, im not too acoustemed (sic) to the tft editor yet and im still used to not being able to change any logic of the spells
07-28-2004, 05:39 PM#10
Kirbot
Thanks! I'll try changing the Base Order ID and see if it works. When I finish the map (hopefully soon), I'll mention everyone who helped me here in the credits ;) If that's alright with you, of course.

Also, Mythmon, if all else fails, I may go with your idea of nesting spellbooks inside a single spellbook, even though it's possible they would combine their spells as well.

[edit] I changed the second spellbook's Base Order ID to blackarrows, and now it works! You're awesome, Panto ^_^ The Force of Nature spells are still being touchy, but I can probably find a way around those.