• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Is there a way to put more than 5 Hero abilities on a Hero?

Status
Not open for further replies.
I have been working on this very same issue today.

While there is no way to add more than 5 in OE, it is certainly possible with triggers. Spellbooks will work but will not give you a perfect look. To start let's deal with some basics up front.

1. Make enough room for the abilities.

http://www.hiveworkshop.com/forums/lab-715/removing-standart-command-buttons-commandfunc-txt-261559/

Now, how do you want to display the learn skillz button? I was using a system where the default hero abilities learned attribute bonuses. They were based on the standard attribute bonus but set to give only 1 attribute a boost. Then I wanted to add 3 other abilities, but this wouldn't work. So, I used an ability to trigger selection of a dummy unit. The dummy unit had free units for sale that looked like abilities with all the right tooltips. When a unit was trained, I ordered the training to stop and added the ability to my hero. Now, it gets trickier when you want to level it up. It also is trickier if you want to have the new Hero Abilities icon show the number in the corner. In the test map I attached, I was able to do this by adding sell item to my hero and adding an item that looked like the hero ability icon. This way, I could get it to show the number of skill points in the corner. When the skill points were used up, I swapped it out with a dummy ability. That way it would have no number. But, I made it so the new dummy ability would trigger the same learning dummy as the sell item dummy. Then it started to get messy. So the map I attached is a good start but does not complete the task. It does let you learn 6 abilities, but the 3 levels of the new ability are not finished.

There is also another way using Engineering Upgrade. http://www.hiveworkshop.com/forums/...adding-spell-hero-ability-218522/#post2175304

My final suggestion after going through all of this myself is this:

If you want them all in the same learn hero skillz menu look into the tinker upgrade more.

If you just want to add more skills then use a dummy unit to train dummy units. Check for skill points. If there are free skill points then -1 and add the ability and check for level of the ability. If level is < 0 then increase the level of the ability to (level of ability) +1.

One last final thought. I tried to find a way to trigger an order to open hero ability menu. I found nothing. BUT! If someone can find it or knows it, then you could just use a dummy hero and click a button and switch to the dummy and learn the ability and then add the ability to the first hero as a non-hero unit ability with identical stats as the hero ability. I n fact, it could be a copy of the hero ability with the data set to is a hero ability - false. Then you could just level it up whenever your dummy levels the ability up.
 

Attachments

  • Double Abilities.w3x
    45.1 KB · Views: 86
Status
Not open for further replies.
Top