HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to show/hide ability icons?

01-14-2005, 12:07 PM#1
Undifty
hi. i are using some spells in my maps that doesn't have any icon and also abilities that i wan't that they shall not have icons.. how to enable/disable iconwievs?
01-14-2005, 01:35 PM#2
Bibendus
You cant... they are harcdoded!
You can still use the "Channel" ability and hide/show his icon but you must use triggers to script your abilities.
01-14-2005, 01:43 PM#3
Undifty
Quote:
Originally Posted by Bibendus
You cant... they are harcdoded!
You can still use the "Channel" ability and hide/show his icon but you must use triggers to script your abilities.

Okay... i hate to run spells by triggers... but thanks for asnwer this thread.
01-20-2005, 12:43 AM#4
ZhadowAzzazzin
Theres another option, tho its a bit less practical. If don't need the space where the icon is you can just change the icons texture to textures\black32 i think it is.
01-20-2005, 04:00 AM#5
Quickshok
Quote:
Originally Posted by Bibendus
You cant... they are harcdoded!
You can still use the "Channel" ability and hide/show his icon but you must use triggers to script your abilities.
Unless I'm mistaken, you can only run the a hidden channel spell through triggers, meaning the actual player will not be able to activate it. Therefore hiding the spell will result in a nearly completely useless dummy spell, since it can only be used by triggers. The problem with hiding spells is even with an empty tooltip, a little blank box will show up.
01-21-2005, 01:20 AM#6
Kalvorod
but what you could do is remove the box.

Or you could set the spell to a base spell something like Mana Shield. Then set the "turn off" button to the black, or none or something.
01-21-2005, 11:33 AM#7
Undifty
Quote:
Originally Posted by Kalvorod
but what you could do is remove the box.
Err... what "box"?
Quote:
Originally Posted by ZhadowAzzazzin
Theres another option, tho its a bit less practical. If don't need the space where the icon is you can just change the icons texture to textures\black32 i think it is.
If i change the icon to something invisible.. will the tooltip still be popped up?
01-21-2005, 06:27 PM#8
xGT4x
That's what he meant, the tolltip box WILL POP UP even if it has no tooltip and the black icon... So you won't be able to use the button position of it for another spell and you will see that annoying tooltip box...
01-22-2005, 05:09 AM#9
Quickshok
The problem is that as long as there is an icon there, a tooltip box will show up. No matter what is in the image of the icon a tooltip will show up, and even if you set the icon path to an invalid path, you get the infamous green icon.

The only thing I can imagine you could do is if there is a possibility that there is an mdx file somewhere that you can manipulate in order to prevent any icon from being recognized. Though even if there was, I'm sure messing with it would affect all icons, forcing you to use all or none.
04-19-2005, 01:24 PM#10
Guest
Hi, I know that this is an old post, but I know a way to hide icons: u just have to disable them (Player - Disable Ability):

- add the spell u want to disable icon to an ability called Spellbook (on items spells);
- disable the spell Spellbook (f.e. with triggers);
- add the spell Spellbook to a unit;
- the icon won't appear but the ability can still be used with triggers OR if the ability is passive, it will be used passively.

I hope this could help^^
04-19-2005, 10:04 PM#11
BBDino
Thats pretty cool. Ill test it at some stage, sure it will be useful!
04-19-2005, 11:25 PM#12
Guest
Wow, way to bump an old topic.

The easiest way to do this is in the Object Editor is to change the icon to "NONE." Problem solved. And I'm pretty sure you can still use hotkeys as well. I hope you can, at least...
04-20-2005, 12:09 AM#13
Vexorian
Quote:
Originally Posted by Lord_Carbo
Wow, way to bump an old topic.

The easiest way to do this is in the Object Editor is to change the icon to "NONE." Problem solved. And I'm pretty sure you can still use hotkeys as well. I hope you can, at least...
Do you test stuff before posting?

UIsing NONE there will make the spell show an ugly green icon, the best solution is the spell book one