bugFreeciv - Bugs: bug #22015, Nation color in ruleset based on...

 
 
Show feedback again

bug #22015: Nation color in ruleset based on most common color from nation flag

Submitted by:  Andreas Røsdal <andreasr>
Submitted on:  Tue 06 May 2014 07:21:59 PM UTC  
 
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 15 May 2014 03:12:33 PM UTC, comment #2:

Maybe the color of each nation could be picked from standard ones, but selecting the one matching the nation flag best?

pepeto <pepeto>
Project Member
Mon 12 May 2014 12:04:33 AM UTC, comment #1:

The freeciv engine feature exist already, but we can't really use it with the default nation list. With well over 500 nations you cannot hardcode colors for each nation and get all two nation pairs to have clearly distinguishable colors if they appear in the same game.

Marko Lindqvist <cazfi>
Project Administrator
Tue 06 May 2014 07:21:59 PM UTC, original submission:

I would like the player's nation color to be chosen from one or a few of the most common colors in the nation's flag, and that color stored in the ruleset. For Freeciv players it will be easier to find players on the minimap. It will also be easier to remember players in the game if their color is based on their flag. At the moment there is a separate column in the nations dialog listing each players color, and this extra color is extra information about a player which adds no value.

When selecting a nation color, steps would have to be taken to reduce the number of color collisions between nation colors.

Perhaps a script could be created to iterate over all the nations, determine a nation color based on the nation's flag, while also keeping the number of color collisions to a minimum, then write that color back to the nations ruleset file.

Andreas Røsdal <andreasr>
Project Member

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pepeto (Posted a comment)
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by andreasr (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup