HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

[Ability] Item ability as Hero ability!?

09-24-2004, 11:24 AM#1
SilverRage
I tried to make an Item ability (Armor +10) as an Hero ability. Everthing works fine. I changed the Values, and the Icons, i set the Item ability to false and Hero ability to true. The Hero can learn the Ability and gains the Armor Bonus, but there is no icon which shows, that the Hero has learned the Ability.

Research Icon is there, Normal icon isn't showed.... Why not?

Isnt it possible to use Item abilities as Hero abilities? Why there is no Normal icon? Can i fix that?
09-24-2004, 11:59 AM#2
garith
Quote:
Originally Posted by SilverRage
Isnt it possible to use Item abilities as Hero abilities? Why there is no Normal icon? Can i fix that?

hmmm.. A much better idea would be to base your ability on the spiked carpace ability, and change the settings to accomidatge your situation. One of the best ways around ANY problem is to find an alternate route to the same effect!

Anyway, as far as i know, item abilities do NOT have icons.
A simple trigger around this is this:

Code:
 events:
A hero aquires "ability"

Conditions:
Learned ability is equal to "ability" (Booleen Comparison)

Actions:

Give Hero ability: "Dummy Icon Ability"

The dummy ability should just be an icon (Desired icon of your choice)

Thats not a real trigger but it shouldent be hard to folow.
ENJOY!
09-24-2004, 12:54 PM#3
SilverRage
But what happens, when a Hero unlears this ability? When a hero get this book to remove his added skillpoint?
09-24-2004, 12:58 PM#4
GreyArchon
Quote:
Originally Posted by SilverRage
But what happens, when a Hero unlears this ability? When a hero get this book to remove his added skillpoint?

Then you're 'fuxxored'. :)
Of course, you can make a new trigger to remove all dummy abilities of a hero that uses the 'Relearn Skills' book, or however it's called.

... It's still handier to base it off of Spiked Carpache.
09-24-2004, 02:35 PM#5
Anitarf
Most item abilities don't have icons; it is hardcoded into the abilities themselves, it has nothing to do with the fact that they are actually item abilities; if you change their classification, they will still be iconless. That is true for probably all passive item abilities that don't have an non-item counterpart; so, item auras or item-critical strike will still show an icon if transformed into a unit ability, but armor or damage bonus abilities, hit point or hp regeneration abilities, move/attack speed abilities, they all don't show icons when used on units.

The way around this is to either add/remove a dummy ability when a hero learns/unlearns your ability (needs some triggering, especially if the hero can morph), or, you can seek an alternative (in your case, devotion aura that only targets the hero, or spiked carapace without return damage; I don't know about spiked carapace, though, when I last tried to do something with it I couldn't get rid of the spiked effect, and the aura displays a buff icon in the unit's status bar, so these alternatives have their flaws).
09-24-2004, 09:35 PM#6
Master-O-Chaos
First choice
Theres a place in OE and it sais
Hero ability: False
Item ability: True

Change those around but u wont get an icon

Second choice
Make a Devotion Aura that only targets Self,Vulnerable,Invulnerable
Change the graphics to NONE and poof you did it
Also dont forget to go to Game Interface and change Text:Devotion aura (blablabla) to something like
Additional Armor
This unit is under the effects of additional armor,
It has bonus armor.

And thats best possible way unless you use a dummy spell..
09-24-2004, 09:44 PM#7
SilverRage
thx, so far.
09-25-2004, 09:50 AM#8
SilverRage
Next question :)

Now i use the "Devotion Aura" to raise the armor. But this always shows the Buff in the Status of the Hero.
Is it possible to remove the Buff form Status? I removed the Buff from the "Stats - Buff" field, but this doesnt work....

I hate Blizzard for those restrictions....


EDIT:
Spiked Carapace works much better! ;)
09-25-2004, 02:04 PM#9
garith
Quote:
Originally Posted by SilverRage
Spiked Carapace works much better! ;)

see arent we helpful
lol, anyway, u have to EDIT buffs!
i get annoyed that on maps, people thik people wont notice the small things!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ok.
to edit buffs, go into the buffs tab on the editor.
go to file and new custom buff
get devotion aura
rename it to whatever u want
click OK
Now, u can change whatever u want. I sugest the icon as a vital and the descriptions. I dislike those lame aura circles so get rid of them and make it something kool (id personally make a blue glow on target attachments: "chest" and mabye "hand", "left" and "right". this is the sort of thing that makees maps good, look at Enfo's, one of the few maps that has edited Buffs, and one of the most popular ever released!