Features:
- Assigns consecutive colors to teammates from a colorwheel that I put together.
- If two people are using this widget they will both see the same colors assigned to the game's teams.
- Colors should change from game to game (see technical info).
- Works with ZK's Simple Team Colors minimamp button.*
I did my best to throw together a color wheel where the colors are distinct enough. I used HTML color code names. Type /luaui commoncolors to see the color names and to whom they are assigned.
Technical stuff:
In order to maintain variety between games it needs to choose a random starting position on the colorwheel, but that random spot must be the same for all users of the widget so it needs a common piece of info. Since the GameID is almost impossible to get and many other methods were deemed unfit (for example player names and IDs may change throughout the course of the game if people drop or midgame-join) the only two stable criteria I could think of were map name and team count. If any of map name, player count, or player team ID assignments change at all then you'd have variety between games.
Version 0.004