Summary: plrcolormode setting to take colours from nations
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Tue Jul 24 22:34:10 2012
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.5.0



plrcolormode in 2.4 has modes where colouring is based on player number and on
team number.

For scenarios / rulesets like Alien World where a small number of nations are
defined, it would make sense to allow a given nation to always have its
characteristic colour (so, say, "J&W Corporation" is always blue).

This would require:
* New value for plrcolormode, NATION_ORDER.
* Nation specs to be able to optionally specify a colour.
** If one isn't specified in the ruleset file (as will be the case for our
"standard" nations), then this nation will use a randomly selected colour from
the game set (similar to PLR_SET).
* Setting plrcolormode=NATION_ORDER should warn if *no* nations in this
ruleset have colours defined, as completely random colours is probably not
what the user expected.


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to