HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help with icons to spell. Icons created by triggers!

01-20-2005, 01:40 PM#1
Undifty
Hi. I am using the ring of regeneration as a hero spell in one of my maps. In-Game the icon isn't showed. Becouse of that i've created 3 other spells. (not hero spells) The spells is Ring of Regeneration(icon) lvl1,(icon) lvl2 and (icon) lvl3. I now want that when the hero learns the ring of regeneration the ring of regeneration (icon) appear. And when the hero gains another level of the ability i want that the ring of regeneration (icon) level 2 shall appear and that the lvl 1 shall be removed. HOW TO DO? :\
01-21-2005, 10:37 PM#2
HEZZA
check all the fields for:
art - icon

are with ur icon
like:

art - icon (normal)
(research)
(on/off)
01-22-2005, 02:30 AM#3
Kishe
There is a field in the object editor that says something like Item Ability- True. Change that field to False, and you should be able to see the icon in game.
01-22-2005, 09:25 AM#4
xGT4x
No it won't, it's hardcoded that all abilities which are only item abilities in the melee game can't have an icon, even if you change the icon and set item ability to false.
You better make it a bit different:
1. Create an ability basing on, for example, evasion.
2. Change chance to avoid to 0% and make it have 3 levels and make it a unit ability.
3. Change the icons and tooltips of it as you want, this is now the "Dummy Ability".
4. Create following trigger(not exact but you should find it):
Quote:
Originally Posted by Me:D
Event: A unit learns an ability.
Conditions: (Learned ability) equal to (Your Hero Ability)
Actions: If (Level of Ability being learned) is equal to 1 then do (Add (Dummy Ability) to (Triggering Unit) else do (Set Level of (Dummy Ability) for (Triggering Unit) to (Level of (Ability being learned))
01-22-2005, 05:23 PM#5
Kishe
Ah, well I haven't worked much with using item abilities like that. I guess you learn something you new everyday! Thanks for correcting me, btw.
01-23-2005, 10:49 PM#6
Vexorian
The item ability . true thing is only valid for some few exceptions which are mostly the scroll / potion abilities.
01-24-2005, 03:44 PM#7
Undifty
Wow. Thanks! I figured out that i could create dummy spells but... i created 3 different dummy spells.. lvl1 lvl2 lvl3... instead of using 1 spell that has 3 levels... this will now be much more easier than before... THANKS
01-24-2005, 04:14 PM#8
logik
couldnt you just base the ability off of unholy aura and change the regen rate to hitpoints, not percentage.
01-24-2005, 05:21 PM#9
Undifty
Quote:
Originally Posted by logik
couldnt you just base the ability off of unholy aura and change the regen rate to hitpoints, not percentage.
Thanks! i will use this the next time i create such a spell.. ^_^

(i won't use it now and just remove the spell i worked so hard for ;) )
01-25-2005, 12:13 PM#10
logik
yeh, i can relate to that... plus it will allow stacking with unholy aura.