Page 1 of 1

Minimap colors

Posted: 05 Jun 2008, 20:14
by the-middleman
I would like a function to toggle simplified minimap colors ingame.
Even better would be combination of both modes. Maybe unit icons in teamcolor with simplified color outlines.

I hope you get what I mean.

Re: Minimap colors

Posted: 05 Jun 2008, 21:09
by trepan
to toggle:
/minimap simplecolors

Re: Minimap colors

Posted: 05 Jun 2008, 23:11
by the-middleman
cool can I bind that to a key somehow?

Re: Minimap colors

Posted: 09 Jun 2008, 02:15
by TradeMark
could we also have this my old time ago suggested feature: enemies as triangles, allies as circles? this is because i dont want my color changes at radar, so i know which units are mine.

sometimes when there is same colors in allies and enemies, they gets easily mixed at radar, and i dont take enough attention at those enemies.

Re: Minimap colors

Posted: 09 Jun 2008, 02:30
by trepan
teamcolors.lua ;-)

Re: Minimap colors

Posted: 09 Jun 2008, 13:21
by TradeMark
i cant find such file...

Re: Minimap colors

Posted: 09 Jun 2008, 13:45
by trepan
It should be in your main spring directory, but it looks like I
forgot to include it in the installer. Here's the link for you to
get the SVN version:

https://taspring.clan-sy.com/svn/spring ... colors.lua

At the top of the file, you'll see the following line:

Code: Select all

local disabled = true       --<< *** NOTE *** >>--
Change the 'true' to 'false'.

If you look at the file, you can see the different parameters that
you can look for when determining what color each team will be.
The default configuration goes a little something like this:

your color: cyan
gaia color: off-white
ally color: variations on green
enemy color: variations on red

P.S. the latest commit adds teamcolors.lua to the installer,
thanks for pointing out that it was missing

Re: Minimap colors

Posted: 09 Jun 2008, 15:55
by TradeMark
soo... how do i set enemies into triangles and allies into circles no matter what icons the mod uses for units?

Re: Minimap colors

Posted: 09 Jun 2008, 15:59
by trepan
You can't (not easily anyways), you can only assign icons by unitDef.
If you use teamcolors.lua, you shouldn't have to. It also has the
advantage of providing a consistent ally/enemy color scheme no matter
what other players have selected for their colors in the lobby.

Re: Minimap colors

Posted: 09 Jun 2008, 16:01
by TradeMark
would it take much time to make it possible? :(