View Full Version : Learning Abilities with Items
gamer102
11-02-2005, 11:44 AM
How do I turn an ability into an item. so that it can be used to give that ability to the player that used the item.
Like HeroCraft Maps if you've ever heard of them.
Basan
11-02-2005, 12:11 PM
I do recall that a few Lord of the Rings maps at WC.org had those. But if you're in a hurry, see the Orc bonus campaign maps at TFT, since I recall that some items did give abillities and auras to heroes. ;)
Zipsco
11-02-2005, 1:50 PM
Easy, trigger it... when a hero picks up an item:
if item equal to (redo if statement for all skills/items you want intergrated) then, add someskill to the triggering hero, else do nothing...
Also make more conditions (by using the AND condition) also you might wanna remove the item afterwards, or he could just put it down and pick it up again.
For a specifik issue doing this, feel free to ask again, and i will be more specifik about it.
Hope it is what you are looking for, Zipsco
killer-penguin
11-02-2005, 3:17 PM
Why not just give the item an ability and when they have it in their inventory you click the item and voila! Ability. I remember I tried to create a flamestrike that took up the entire map and dealt 40,000 damage to everything (including trees and objects) unfortunately my computer couldn't handle it :(. Woulda been pretty freaking funny too.
Zipsco
11-02-2005, 4:26 PM
Well, making an item function as an artifact with magical powers are one way to go, but what i will not is: function as a skill, that requires things to be used such as mana, and hero level, aso. Also i believe you will have much more control over it, by granting the skill insteed of having the artifact be you emitter. It is actually quite easy, assign the skill when a hero picks up an item as the one granting the specified skill, also as i set before remove the item, but then again, if you would want them to loose the ability when loosing the item, don't remove the item, keep it in the inventory and make a similair trigger that unassigns the skill from the triggering hero, when such an item is dropped, also you could if removing the ability, put a requirement on how many diffrent skills the hero have, by each time he picks up a skill like those, add one to a variable, and when that variable becomes greater than the maximum allowed skills he can have, don't do anything, and let him keep it in the inventory, also you could make so that picking up an item to a skill already earned, they get level up, which you can also trigger under the category hero -... Maybe you do not want it to be so easy to skill level, then you simply make an item for each skill level, so that picking up the same level item of a skill will result in it just being in his inventory, and maybe you want him to actually use the skill item before he gets it so that he can keep them in his inventory without getting the skill.... And i would be able to go on forever with these opertunities, the question is, what do you want, and if you figure it out, or if you havent changed your mind of what you said first, then nothing, but if you have, i could easily help you implement some of these idea's insteed.
Sorry for the long post, and if i made some mistakes along the way, it's 10:26 pm you know :D kinda tired.
gamer102
11-02-2005, 5:14 PM
Im Making this map with lots of dialog triggers its really cool. ive mastered dialogs
its my version of making your own hero. ill have it out so you guys can test it
ive got a ......Dialog::::Ban System,Cheating System,Hero Creator,and money system.you know like if you want to give TeaM8s money.but i dont know how to get abilities. i have the map from it i think.here it is but the units are gone..try something with the triggers.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.