Minimap colors

Minimap colors

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
the-middleman
Posts: 190
Joined: 24 Jul 2007, 12:18

Minimap colors

Post 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.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Minimap colors

Post by trepan »

to toggle:
/minimap simplecolors
User avatar
the-middleman
Posts: 190
Joined: 24 Jul 2007, 12:18

Re: Minimap colors

Post by the-middleman »

cool can I bind that to a key somehow?
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Minimap colors

Post 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.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Minimap colors

Post by trepan »

teamcolors.lua ;-)
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Minimap colors

Post by TradeMark »

i cant find such file...
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Minimap colors

Post 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
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Minimap colors

Post by TradeMark »

soo... how do i set enemies into triangles and allies into circles no matter what icons the mod uses for units?
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Minimap colors

Post 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.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Minimap colors

Post by TradeMark »

would it take much time to make it possible? :(
Post Reply

Return to “Feature Requests”