• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Hiding requirements for hero abilities

Status
Not open for further replies.
Level 14
Joined
Aug 30, 2004
Messages
909
I followed the tutorial to make heroes who can level up abilities. I used a requirement attached to the learn ability ability. This hides the ability when it levels up (I think) and greys it out so that you have to level twice before you can learn the ability again, i.e. like WC3 heroes you can't get Storm Bolt (level 2) until you hit level 3.

My problem:

At level 2, when you look at the greyed out Learn ability button you see the ugly looking requirement printed there saying something about CountAbility2, LevelUp .... etc. Basically it shows the requirement but the requirement isn't a nice string like, "Requires another level" or something like that.

Is there a way to hide the requirement?
 
Level 14
Joined
Aug 30, 2004
Messages
909
You should be able to localize that into readable text (like "Your hero must be a higher level to learn this"). I believe this is done in the requirements data but I am not sure how.

You are right, thank you. There are tooltips for each section of the Requirement. I tested a bit and noticed that if you put the tooltip in the first requirement node it will be the only one that shows.

Thanks again, will +rep as soon as I can.
 
Status
Not open for further replies.
Top