HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Adding a Hero Ability to a hero's Learnable Spells

02-05-2007, 01:40 AM#1
Falitian
I'm trying to create a system where a hero can receive a hero ability into their pool of learn able abilities.

I've seen this done in games such s "Custom hero Arena", but I have not been able to find out how to do it myself. I've exhausted every method and trigger combination i can find, so anyone mind pointing me in the right direction?
02-05-2007, 01:40 AM#2
wyrmlord
I believe you will have to use a spellbook to do that. There's a few threads about how to add spells to spellbooks.
02-05-2007, 12:39 PM#3
StockBreak
Well, I normally use another method without the spellbook:
You can disable the hero ability at the beginning of the game (Player-Disable Ability X for Player X) and then re-enabling it when the hero "aquires" the new ability (Player-Enable Ability X for Player X). I used it many times and it works perfectly just like a default spell.
I hope it helps.
02-05-2007, 07:35 PM#4
Av3n
But how are u going to add all the hero abilties Stockbreak eh?

-Av3n
02-05-2007, 09:02 PM#5
StockBreak
Well, if I remeber well a hero can have 6 abilities, isn't it? They are quite enough...
02-05-2007, 09:32 PM#6
Joker
you can always remove like patrol and things if their not needed.
02-05-2007, 11:29 PM#7
Pyrogasm
I think he's talking about if he has a pool of, say, 30 different abilities (and since each hero can only have a max of ~6, you can't disble them all), which can be added to the hero depending on the player's choice.

You can't just add the abilties to the hero because then when the player opens the "hero abilities" button, the abilities don't show up. That's his problem, and quite frankly I don't know how to solve it.
02-06-2007, 05:42 AM#8
Av3n
Make different versions of each hero lol

-Av3n
02-06-2007, 05:48 AM#9
Falitian
Quote:
Originally Posted by Av3n
Make different versions of each hero lol

-Av3n

unfortunately, this is what I was thinking.
02-06-2007, 07:23 AM#10
StockBreak
Quote:
Originally Posted by Av3n
Make different versions of each hero lol

-Av3n
If you want to have so many abilities I think that this is the best way among with a spellbook (use some kind of Chaos ability, but remember to fill the field "Techtree-Dependency Equivalents" for each morphing unit to avoid losing stats).