Syndrome
You can change this now in User CP.
- Reaction score
- 126
Ability Addition System
By GeoffREAK
Updated Saturday, September 1, 2007 11:30 PM
Fixed Memory Leaks
Added Pictures
More Clarification
Added Pictures
More Clarification
What does it Do?
Basically, when you pick up an item, it disappears and you gain an ability. If you already HAVE the ability, it will level it up for you. It uses GUI, and has a maximum total of 1000 spells.How does it Work?
First, when you pick up an item, it checks how much charges that item has and uses that as an integer. It compares that integer to a Catalog which automatically adds the corresponding spell [or level it if you already have it]. Quite simple since all you have to do is make 2 things and change 2 things..How do you Use it?
I made this system with simplicity in mind. All you have to make is:- A Spell
- An Item to learn the Spell
- A Hero to actually Learn the spell...
I will explain how to use it in 3 easy Steps.
REQUIREMENTS:Ability Addition System [Located at the Bottem of the Post]
World Editor
STEP 1: The Spell
Alright, prepare yourselves for the most grueling... torturing part of this system. ACTUALLY MAKING THE SPELL! [Really scary music plays] NUUUUUUU!!
STEP 2: The Item
Ok, you need to make an item and make sure it is Perishable and is a Powerup! This is because this System will only be activated if the Manipulated Item-Class is Power Up.
There you have it, 2nd step done
STEP 3: The Catalog
Next, open up the Trigger Editor and go to the Ability Catalog and there you can see 3 examples. But to clarify it, this is how it works.
First, set the variable ASCatalogAbility[This number has to correspond to the Item Charges, for more info see above] to the Ability.
ENJOY!
Trouble Shooter
Problem: I learnt my spell, but when I got the item again, the spell disappears! HELP MEH!
Solution: The MaxLevel wasn't properly set, if you hit the max level and tried leveling it up without setting the MaxLevel Variable in ASCatalog, it will remove itself.
Problem: I learnt a different spell even though I got the Corresponding Item! NUUUUUU!!
Solution: There are two ways this could've went wrong:
- The Charges in the item did not correspond to the Catalog
- The Catalog did not match the Charges
Solution: The item might not be a PowerUp, this system uses all Powerups to actually function. Or you didn't add the ability to the Catalog.
Problem: I used an Item that shouldn't give me a spell, but it disappeared and gave me a spell anyways! SAVE MEEEE!!!
Solution: The item might be a PowerUp, since this system is based on PowerUps alone, it will screw up. Try changing the classification of the Item that you don't want to give off a spell to something other then PowerUp.
Problem: Instead of using Powerups, I set the trigger to use Miscellaneous item classes, but now the system doesn't work! t3h suxx0rz!
Solution: Miscellaenous Item-Class is bugged, it will NOT work for triggers WHATSOEVER, I tried making an equipment system, and found out the hard way that Miscellaneous will not work as an item class.
----- >Any Other Problems?< -----
Post them in this Forum and I'll get back to you As Soon As Possible.