• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Need help with hiding icons

Status
Not open for further replies.
Level 4
Joined
Aug 14, 2005
Messages
49
Hello everybody.

I am currently making a new kind of footmen map (yeah I know, there are thousands out there, but I hope to go above the crowd a bit ;)).

The main problem which I have at the moment is that one of the buildings should have multiple abilities, upgrade possibilities, and hero rival too.

Sadly, the 4x3 grid is just too small. I would require at least 15 slots to fill all I need.

Now since increasing the slot number should be nearly impossible, I just though of "hiding" some of the icons.
What annoys me here is that for example "Life Regeneration Aura", passive ability, which fountains of life etc. posess, is, by standard, hidden. You don't see the icon in the interface of the fountain, even if it belongs to you.

What I was wondering now is how to do this with the other icons, mostly those which are useless (for example auras, true vision, etc.), but whichs effects need to be present in the game.

I also tried developing a "mega" ability, where sort of all the effects are combined, but I really don't know how, since the world editor has fixed fields here. (For example with the life regeneration aura: In the field "data" it just says: "Amount of hit points regenerated", and does not allow editing to another effect.)

So, I really hope that some of you can help me. Do you know how to hide some icons at will, so they don't get in the way of other icons, or can you tell me how to merge multiple abilities just into one.

I tried searching this forum already, but found nothing which clearly resembles my problem. If this is the 50th time this question has been asked, I apologize, then it seems that I can't use the search function well.

Yours, Ouguiya
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Make a spell book
put your spells in spellbook
and Disable it for everyplayer
spell book wont be visible-usable but spells in it will work (also you can order to cast active spells in it and autocasting spells will be casted too if autocast is on AFAIK)
 
Level 4
Joined
Aug 14, 2005
Messages
49
Thanks

Ah ok. I'll look into it then. Thanks for the help already, I will answer later if it did work out.

Yours, Ouguiya

Edit: I need a little help again ^^. I have been able to create a spellbook, and to add the spells which I want, but what I don't know yet, is to how to disable it for all players. I have found nothing for this in the object editor, and the "Ability properties" tab only includes non-custom, non-edited abilities, and no items.

Can you tell me how I can disable it?

Thx

Yours,

Ouguiya
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
[trigger="umm"]Events
Map initialization
Conditions
Actions
For each A integer from 1 to 10
Loop - Actions
Player - Disable <T3h SpellBook> for Player(Integer A)[/trigger]
 
Level 4
Joined
Aug 14, 2005
Messages
49
Aaaahhhh ok, trigger based. Thank you very much :). Now i'll try again.

Yours, ouguiya

Edit:

Yippie! It worked :) thanks again for the quick and efficient help. Now I can continue the development.

Thanks again, and so long!

Ouguiya
 
Last edited:
Status
Not open for further replies.
Top