If you want the same hero or unit to have different icons on the minimap depending on teams, I'm pretty sure you'd have to create a seperate unit for each team. I don't know how to change icons though, you mean like the 'boss-icon', right?
Custom minimap icons are set in the Unit Actor data, in the UI section. But Neonz is right, the icon cannot reflect the team color, so you would have to make a different hero for each team. Here's an idea: use triggers to create a permanent ping model that's attached to the hero, which is determined by its team. Ping models cant be made as easily as icons, but at least you can color-code them.
I was hoping you could have it like you do for WC3 I mean the squares are fine for small units and building but not for a hero sized unit.
But I think the duplicate unit idea will probably work the best.
I think this is probably going to the art area and I may find it before I get a reply but is there a tutorial on how to add team colours to texture/models so that you dont have to duplicate them as well.
I recently did this in my map. However, I only wanted 2 colors so it was easier for me.
Basically, I color-coded them myself. I exported them out of the editor, opened them in gimp and used the color tool to color them into a nice red, saved, colored it into blue, saved as another file. Imported them into the editor again.
I then made two upgrades, one that set the unit's minimap icon to the red icon and one that set the unit's minimap icon to the blue icon. I gave the first upgrade to player 1 and the second upgrade to player 2.
So I want to make a custom minimap icon for my heroes but I also want it to reflect the team colours.
Is there any way of doing this or even just changing them via triggers?
@Rileyb80: Go
If you want the same hero or unit to have different icons on the minimap depending on teams, I'm pretty sure you'd have to create a seperate unit for each team. I don't know how to change icons though, you mean like the 'boss-icon', right?
Custom minimap icons are set in the Unit Actor data, in the UI section. But Neonz is right, the icon cannot reflect the team color, so you would have to make a different hero for each team. Here's an idea: use triggers to create a permanent ping model that's attached to the hero, which is determined by its team. Ping models cant be made as easily as icons, but at least you can color-code them.
I was hoping you could have it like you do for WC3 I mean the squares are fine for small units and building but not for a hero sized unit.
But I think the duplicate unit idea will probably work the best.
I think this is probably going to the art area and I may find it before I get a reply but is there a tutorial on how to add team colours to texture/models so that you dont have to duplicate them as well.
I recently did this in my map. However, I only wanted 2 colors so it was easier for me.
Basically, I color-coded them myself. I exported them out of the editor, opened them in gimp and used the color tool to color them into a nice red, saved, colored it into blue, saved as another file. Imported them into the editor again.
I then made two upgrades, one that set the unit's minimap icon to the red icon and one that set the unit's minimap icon to the blue icon. I gave the first upgrade to player 1 and the second upgrade to player 2.
@Siretu: Go
Much easier than the way I was going to do it thank you very much :).
A follow up question would be is there any way to check the player's colour and not just their player number?