I tried making my own level-able ability in the same the the hero stimpacks were done in Bifuu's complete hero tutorial. However, the level 1 of my ability starts off on my command card unlike the stimpacks ability which requires it to be leveled first before it shows up. I can't figure out why this is happening and what the difference is between my ability and the stimpack ability.
1. You need to put a show requirement on your ability. This can be done in the requirement section of data editor.
2. Then you need to make sure that when you actually put the icon on the unit's command card, you correctly select the requirement you made or modified in step 2.
In order to let your own Learning Abilities work you need to match an id-pattern (currently #30th of April, 2010) which is "AS"+Anything you want ("AS" can actually differ but if your's don't work use "AS")
ie.: ASHero1Learn, or ASTheWizard
note this still is fact
HeroLearn ie works, but TheWizard properly will not, to actually make sure all your's will work try to use the pattern,
it might work too with other combinations other than "AS" but i haven't found any were it doesn't work
The ability itself works fine and it levels up properly and the command card also shows the level of the ability correctly, the only problem is that you initially start with the ability at level one unlike the stimpacks ability. So learning the level 1 ability does nothing since it's already there, unlike learning level 1 of stimpacks which causes it to show up on the command card.
1. You need to put a show requirement on your ability. This can be done in the requirement section of data editor.
2. Then you need to make sure that when you actually put the icon on the unit's command card, you correctly select the requirement you made or modified in step 2.
1. What do I put in the show requirement for my ability?
2. Why isn't there a show requirement for stimpacks and on the command card the requirement is also set to none?
I'm having this exact same problem. In all the demos I see and other people's maps that I've downloaded, they do not have requirements set to display/use the ability and yet it only displays once it has been learned. However, for some of my skills I get this behavior, and others the ability is already usable before being learned.
I tried adding requirements but they didn't seem to do anything. I was doing "CountAbility{<name>, CompleteOnlyAtUnit} > 0". Is CountAbility the right way to query the level of an ability on a unit?
As for xhatix's comment I didn't fully understand: Do you mean the name of the 'learn' ability needs to be AS<name>, or the abilities that it links to? I have four abilities in my "LearnTest" ability: sprint, m203, hand grenade, and lay mine. The first two work properly and aren't displayed until learned, the 2nd two are immediately available.
I'm still debugging it, but little help please! :)
To compound the confusion a little more, I tried remaking the two broken abilities (in the abilities tab, and just linking their effects and data up to the existing stuff.) It fixed one of them and it doesn't show up before being leveled anymore, but the other one no luck.
This seems like an editor bug. Time to go find the blizzard editor bug report forum... But if anyone else knows a workaround, please inform
Yea, I just turned another one of my abilities into a multiple level ability and it works perfectly just like the stimpack ability, and yet the ability I made before that still doesn't work properly, even though I did exactly the same thing. It doesn't make sense.
oops! you shouldn't put requirements on the ability in the command card; that just ends up blocking the cost (vital or resource) requirements. Or at least that's all it does for me. The only time I ever use requirements on the units' command card is when I have passive buttons that I only want to show once that passive ability (aka a behavior) is learned.
Rather the requirement should be placed on the ability itself:
while the requirement should looking something like
That's basically what you need, though I am not entirely sure about what exactly is required for hero unit abilities as I don't use heroes myself. ...only villains here
No the pattern is AS<id> of the LearningAbility - the id can be set by Modify in Data Editor (when you create new stuff)
sometimes if you got all right, and your ID just is not matching a "pattern" it simply don't work, so your abilities show up before you even learned them
Why that is the case i don't know :) - but adding AS to the front of the ID simply works like a charm
made some quick pics explaining the thing and attached them
Thank you very much Xhatix, you just fix my problem. I thought I did something wrong but I couldn't see what until I saw your post.
(How the hell did you find this tip???)
I've messed with CAbilLearn while the non-Editor period (or simply XML period), and i tried to created my own hero from the scratch there.
Then I've had this odd issue quite a long, didn't figured out why it worked etc. so i looked at the chinese guys thing / other's posted here, most used HeroLearn (which actually works, weird world) but the chinese guy had smth like AHLearn. So i simply tried out various of those kind of patterns, the "pattern" actually is
^^id
where ^ is refering to a upper-Case letter (just for personal purposes)
Ok, then I'm happy I had my key after the xml period xD
I can already confirm your solution works perfectly with the french editor (It can seems obvious to you but I was afraid It will not since I don't know a lot about these things)
So thanks again for solving one of my two last problem with hero system.
I just had an interesting error. I have 9 abilities in total for my hero. 4 of them were displaying the bug, so I added "AS" to the their ID. All 4 of them stopped initially appearing before they were learned, however one of the abilities failed to even show up after its learn ability was used. I went back and removed the AS from that one ability's id and it started working properly, which is weird because the first time prior to adding AS the ability was showing up before it was learned, but after I added and then removed the AS it was fine.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I tried making my own level-able ability in the same the the hero stimpacks were done in Bifuu's complete hero tutorial. However, the level 1 of my ability starts off on my command card unlike the stimpacks ability which requires it to be leveled first before it shows up. I can't figure out why this is happening and what the difference is between my ability and the stimpack ability.
@devilesk: Go
1. You need to put a show requirement on your ability. This can be done in the requirement section of data editor.
2. Then you need to make sure that when you actually put the icon on the unit's command card, you correctly select the requirement you made or modified in step 2.
In order to let your own Learning Abilities work you need to match an id-pattern (currently #30th of April, 2010) which is "AS"+Anything you want ("AS" can actually differ but if your's don't work use "AS")
ie.: ASHero1Learn, or ASTheWizard
note this still is fact
HeroLearn ie works, but TheWizard properly will not, to actually make sure all your's will work try to use the pattern, it might work too with other combinations other than "AS" but i haven't found any were it doesn't work
also note that what xenrathe said
The ability itself works fine and it levels up properly and the command card also shows the level of the ability correctly, the only problem is that you initially start with the ability at level one unlike the stimpacks ability. So learning the level 1 ability does nothing since it's already there, unlike learning level 1 of stimpacks which causes it to show up on the command card.
1. What do I put in the show requirement for my ability? 2. Why isn't there a show requirement for stimpacks and on the command card the requirement is also set to none?
I'm having this exact same problem. In all the demos I see and other people's maps that I've downloaded, they do not have requirements set to display/use the ability and yet it only displays once it has been learned. However, for some of my skills I get this behavior, and others the ability is already usable before being learned.
I tried adding requirements but they didn't seem to do anything. I was doing "CountAbility{<name>, CompleteOnlyAtUnit} > 0". Is CountAbility the right way to query the level of an ability on a unit?
As for xhatix's comment I didn't fully understand: Do you mean the name of the 'learn' ability needs to be AS<name>, or the abilities that it links to? I have four abilities in my "LearnTest" ability: sprint, m203, hand grenade, and lay mine. The first two work properly and aren't displayed until learned, the 2nd two are immediately available.
I'm still debugging it, but little help please! :)
To compound the confusion a little more, I tried remaking the two broken abilities (in the abilities tab, and just linking their effects and data up to the existing stuff.) It fixed one of them and it doesn't show up before being leveled anymore, but the other one no luck.
This seems like an editor bug. Time to go find the blizzard editor bug report forum... But if anyone else knows a workaround, please inform
Yea, I just turned another one of my abilities into a multiple level ability and it works perfectly just like the stimpack ability, and yet the ability I made before that still doesn't work properly, even though I did exactly the same thing. It doesn't make sense.
@devilesk: Go
oops! you shouldn't put requirements on the ability in the command card; that just ends up blocking the cost (vital or resource) requirements. Or at least that's all it does for me. The only time I ever use requirements on the units' command card is when I have passive buttons that I only want to show once that passive ability (aka a behavior) is learned.
Rather the requirement should be placed on the ability itself:
while the requirement should looking something like
That's basically what you need, though I am not entirely sure about what exactly is required for hero unit abilities as I don't use heroes myself. ...only villains here
@sdragoon7: Go
No the pattern is AS<id> of the LearningAbility - the id can be set by Modify in Data Editor (when you create new stuff)
sometimes if you got all right, and your ID just is not matching a "pattern" it simply don't work, so your abilities show up before you even learned them
Why that is the case i don't know :) - but adding AS to the front of the ID simply works like a charm
made some quick pics explaining the thing and attached them
Thank you very much Xhatix, you just fix my problem. I thought I did something wrong but I couldn't see what until I saw your post. (How the hell did you find this tip???)
Oh wow, thanks a lot xhatix! Such a simple, yet odd fix that I never would have figured out on my own.
@AnyILL: Go
I've messed with CAbilLearn while the non-Editor period (or simply XML period), and i tried to created my own hero from the scratch there.
Then I've had this odd issue quite a long, didn't figured out why it worked etc. so i looked at the chinese guys thing / other's posted here, most used HeroLearn (which actually works, weird world) but the chinese guy had smth like AHLearn. So i simply tried out various of those kind of patterns, the "pattern" actually is
where ^ is refering to a upper-Case letter (just for personal purposes)
it's already reported in the Editor Bugs thingy
Ok, then I'm happy I had my key after the xml period xD
I can already confirm your solution works perfectly with the french editor (It can seems obvious to you but I was afraid It will not since I don't know a lot about these things)
So thanks again for solving one of my two last problem with hero system.
I just had an interesting error. I have 9 abilities in total for my hero. 4 of them were displaying the bug, so I added "AS" to the their ID. All 4 of them stopped initially appearing before they were learned, however one of the abilities failed to even show up after its learn ability was used. I went back and removed the AS from that one ability's id and it started working properly, which is weird because the first time prior to adding AS the ability was showing up before it was learned, but after I added and then removed the AS it was fine.