- Joined
- Feb 5, 2009
- Messages
- 4,630
Similar Spells On Same Unit
Many people have asked the question 'How do I get 2 abilities based off of the same one to work on the same unit?'. I too asked myself this question, as I wanted to do this for myself. I figured out a way, and have told people my method. However, it is tiring typing it again and again, so I thought seeing as how so many people ask the question, perhaps a tutorial would be of greater assistance.
History
When I first started working out how I was going to do this method, I wanted to have groups of spells in different spellbooks. After tinkering around, I figured out how to have multipled spellbooks on the same unit (understand I have never needed to do this before). I wanted to get as many spells as I could that were like Infernal so that I could summon units without fear of the player being able to target higher ground, causing the unit to be trapped. Well, I naturally tried Blizzard, Cluster Rockets, the works. They were no where near as effective as Infernal. Infernal was my dream ability for what I wanted to accomplish. Then it struck me.I had, after all, put spells like Blizzard and Cluster Rockets in more than just the one spell book, and after a bit of tinkering, got them working on their own. With this in mind, I figured out my method, which I will give to you now...
The Method
As I wanted Infernal to be the only ability I was basing things off, this was perfect for me. Use this method on whatever spell you want to double up.First, depending on how many abilities you have (if you are using this method, you most likely want to do this anyway). you should create your base spellbooks. These will contain your 'spells'. Why do I quote spells? You will see.
For spellbooks have something unique to them. They have something called the Spellbook ID. If you want more than one spellbook on the same unit, they must have different Spellbook ID's, or their spells will clash into one giga-spellbook, which is terrible as it cuts out abilities and gets you nowhere.
For each spell, create a spellbook, using a different Spellbook ID each time. The spellbook most likely should have the same name and tooltips as the spell it contains, but that is entirely up to you. Then, put the minor spellbooks (I will call the spellbooks containing the spell that for convenience) inside the bigger spellbooks (the ones you originally created). Double check you have not repeated a Spellbook ID for any spellbook, whether it be major or minor, you can not risk doubling up even once.
Well, now you are done. Sure, you still have to give the major spellbook ability to the unit/hero/building/whatever you want to have it, but other than that, you are done. What have you achieved? Well, for me, it was having as many Infernal-based abilities as I want on the same unit, working individually without any risk of overlapping whatsoever. I hope this has been of help to some of you hivers out there. Good luck!
Okay, here is a step-by-step tutorial for those who still have no idea of what I'm saying.
- Create your abilities off of the same ability. Name them what you want, give them whatever stats you want, they'll most likely be dummy abilities if you're using this method, anyway, so setting the stats is optional (if triggered properly, the effect won't even play out).
- Create a spell book for each and every spell you just made. Keep the same tooltips (just for look, only optional) and use the same name of the respective ability (this is imperative).
- Place each spell in their respective spell book, making sure each one is in its correct spell book and that it's the only one.
- Make each and every spell book have a unique Spellbook ID. THIS IS VERY IMPORTANT. Not doing so will result in spells overlapping across spellbooks, defeating the purpose of having two spell books on the same unit.
- Create a new spell book ability. Place the other spell book abilities inside of it. Give this 'master' spell book a unique Spellbook ID just to be sure that nothing overlaps. And yes, I do count this as one step.
- Place 'master' spell book ability on desired unit/building/whatever. Test the map, look in awe at what you have accomplished, I feel an overwhelming sense of Deja Vu (have I said something like this before? Perhaps I have... )
I hope this is explanatory enough. If not, just give me a yell and let me know what you didn't understand. I'll try and change it so that it's as easy as possible to understand. Also, there is a demo map attached to this for those who want to see how the system works. And finally, thankyou for reading this tutorial!
Attachments
Last edited: