| 11-08-2003, 03:32 PM | #1 |
I'm trying to make a 3 level hero ability that grants different levels of sight radius increase. I based the ability off of "Item Sight Range Bonus" in the Object Editor, because I couldn't think of anything else that would give the desired effect (mobile, temporary sight range increase on the unit). The problem is that when I made it a hero ability, gave it 3 levels, changed the level 1 / 2 / 3 sight radius increase, it still acts as only a 1 level ability. On top of that, it doesn't appear as a button once it is learned, but instead just applies the bonus to the unit. (ONLY the first level of the ability works, the other 2 do nothing once researched.) So, basically, at hero level 1 you learn the ability Level 1, and instantly your sight increases a small bit. You get to level 5 and decide to put 2 more points into it, and nothing happens at all. I want it to be a useable ability with a cooldown but I can't figure out how to do it. (I have thought to try to make a dummy ability and just use triggers to apply / remove the item ability bonus and just make 3 separate new abilities with different sight range increases.. but, it is a bit complicated and I'd prefer to keep it just a single hero ability IF that is possible.) Another problem, that I keep having with all of my abilities - is buggy tooltips, the text isn't showing at all on most of the ones I edit/create. And the hotkeys I assign don't activate the abilities when clicked... I really can't figure this one out - PLEASE help ;) EDIT: I cleaned up the triggers a bit and will attach the map below if you want to see the tooltip problems first hand. You can see my Feign Death skill in action as well. |
| 11-08-2003, 05:41 PM | #2 |
Note that the tooltip fields in the object editor that are BLANK, shouldn't be... It clears them automatically sometimes. (20k) |
| 11-08-2003, 07:16 PM | #3 |
Item abilities that are not themselves based off unit/hero abilities (ie evasion, silence) do not turn into hero skills well. They always ignore levels above 1. There are three possibilities: 1) Many item abilities stack, so you can add them more than once. Say you want to increase damage by 5 per level, just add the +5 damage item ability everytime the hero learns the skill (and give the skill ability itself no effect). I'm not sure if sight range bonus fits in this category. 2) Do it manually with adding/removing. It's not that hard and a useful technique to learn, arrays help because you just set up the array and dont need multiple triggers or if/then/else to add the proper ability. Ie the learn trigger would look like this: E- Learns skill A -Remove SightArray[level] A -Set level = level +1 A -Add SightArray[level] 3) Create 4 versions of the unit with different sight radius and use Chaos ability to evolve them. Seems like more work than #2 and it is, but it's a possibility and give lots of flexibility |
