Opened 3 years ago

Closed 3 years ago

Last modified 10 months ago

#4747 closed enhancement (fixed)

Diplomacy colors

Reported by: temple Owned by: temple
Priority: Should Have Milestone: Alpha 23
Component: UI & Simulation Keywords:
Cc: Patch: Phab:D754


Add a button to toggle between normal and "diplomacy" colors:

  • When playing, players are colored according to your stance towards them: green are allies, yellow are neutral, red are enemies, and blue is you.
  • When observing, players are colored according to their team. (e.g. in a 4v4 one team could be blue and the other red.)

Work in progress at

Change History (9)

comment:1 by elexis, 3 years ago

Priority: Nice to HaveShould Have

comment:2 by elexis, 3 years ago

In 20609:

Move viewed player dropdown update to a separate function in preparation of D754.

Differential Revision:
Patch By: temple
Refs #4747

comment:3 by bb, 3 years ago

In r20797

Stop serializing minimap playercolors

Patch By: temple
Comments By: elexis
Differential Revision:

Last edited 3 years ago by bb (previous) (diff)

comment:4 by temple, 3 years ago

Owner: set to temple
Patch: Phab:D754
Status: newassigned

comment:5 by elexis, 3 years ago

In r21005 by temple:

Move minimap color deserialization fix out of the gui

Differential Revision: ​
Reviewed by: elexis

comment:6 by temple, 3 years ago

Resolution: fixed
Status: assignedclosed

In 21107:

Diplomacy Colors

Add a button to toggle between normal and "diplomacy" colors.
Reviewed by: elexis
Comments by: leper, ffffffff, Stan
Fixes: #4747

Last edited 3 years ago by temple (previous) (diff)

comment:8 by elexis, 2 years ago

In 21527:

Implement basic color editing in the options page and use it for the diplomacy colors, refs #4747, rP21107.
Update the RangeOverlay config option only when the options dialog was closed, not each turn, refs rP19519.

Patch By: temple
Differential Revision:

comment:9 by elexis, 10 months ago

In 23091:

Make options page agnostic of session page and implement RangeOverlayManager GUI class, refs #5387, #4747.

Avoids further session commits that missed to keep options.json session code in sync,
enables use of anonymous or object owned config callback handlers and
encourages session developers to make the GUI more reactive to changing options.

Update RangeOverlays when reseting to default, and update
RangeOverlays of selected entities upon closing the page too (not only hotkey).

Differential Revision:

Note: See TracTickets for help on using tickets.