• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Multiple Minimap Icon System?

Status
Not open for further replies.
We have SetAltMinimapIcon to set one alternative icon at a time and UnitSetUsesAltIcon to make units use the alternative icon or not.

Then we have about 5 more rarely used minimap icons you can use for you own purposes if you want, e.g. the goldmine ones, and that's it.

To my knowledge nobody has made a system out of it and I don't see the point making one.
But you might want to clarify your question as I do not understand what you mean by "make a system that loops through tons of icons".
 
it's a single pointer to the path, which is applied to every AltIcon'ed unit. you can't create different icons for different units

You could very easily make a loop that checks for units and sets the path to several different icons for each different unit. It wouldn't be that hard to set up.

We have SetAltMinimapIcon to set one alternative icon at a time and UnitSetUsesAltIcon to make units use the alternative icon or not.

Then we have about 5 more rarely used minimap icons you can use for you own purposes if you want, e.g. the goldmine ones, and that's it.

To my knowledge nobody has made a system out of it and I don't see the point making one.
But you might want to clarify your question as I do not understand what you mean by "make a system that loops through tons of icons".


You can have custom imported icons be used for these functions. It wouldn't be the most useful thing in the word, but it would be useful for multiple different boss icons, or point-of-interest icons, like making new shops that have their own unique icons, as well as having all of these different icons on the minimap at one time.
 
I have a map right now I am working on where I use at least 5 different minimap icons. The way I do it is to replace the standard ones with my custom ones. For example, entangled goldmine has now become a cave entrance. I also use the chest icon for the chests. These can be moved around if you want too. The neutral building trigger is useless.
 
answer is "nohow"

There might be, I'll be looking into this.

I have a map right now I am working on where I use at least 5 different minimap icons. The way I do it is to replace the standard ones with my custom ones. For example, entangled goldmine has now become a cave entrance. I also use the chest icon for the chests. These can be moved around if you want too. The neutral building trigger is useless.

It's not totally useless, it lets you have one more minimap icon. Also this won't work if you want to keep all the original icons as well. I don't want to replace anything, I want to expand.
 
Also this won't work if you want to keep all the original icons as well. I don't want to replace anything, I want to expand.

Ah, I see. I don't say this much but I think it is impossible. You can have 1 as you noted but that's all.

You might try checking on the campaigns and see how they use the cave entrance icon. It might be the same way, but I know there are several "extra" minimap icons. Maybe there is some way to access them.
 
Ah, I see. I don't say this much but I think it is impossible. You can have 1 as you noted but that's all.

You might try checking on the campaigns and see how they use the cave entrance icon. It might be the same way, but I know there are several "extra" minimap icons. Maybe there is some way to access them.

there's a flag field inside unit's structure which stands for the icon it uses. wc3 allows only to use pre-made icons - tavern, gold mine, etc. you can't really access them anyway, and even if - there's only few flags
 
Status
Not open for further replies.
Back
Top