Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#1849 closed enhancement (fixed)

[PATCH] Darken the icons of unavailable buildings/units/technologies

Reported by: wraitii Owned by: wraitii
Priority: Nice to Have Milestone: Alpha 13
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description

This small patch darkens (50% grey) the icons of buildings, units and technologies when they are not available (ie the condition to build/train/research them are not them), as well as grayscale them. This makes it easier to tell if something is actually unavailable in case the icon is mostly gray (see, for example, the "Age II" technology. Works using the same overlay as the red "not enough resources" overlay.

Attachments (3)

darkenUnavailable.patch (4.4 KB ) - added by wraitii 11 years ago.
darkenUnavailable.2.patch (7.7 KB ) - added by wraitii 11 years ago.
Better version
tech_pair_would_be_unavailable.png (3.9 KB ) - added by wraitii 11 years ago.
possible new overlay for tech pairs

Download all attachments as: .zip

Change History (6)

by wraitii, 11 years ago

Attachment: darkenUnavailable.patch added

by wraitii, 11 years ago

Attachment: darkenUnavailable.2.patch added

Better version

by wraitii, 11 years ago

possible new overlay for tech pairs

comment:1 by wraitii, 11 years ago

New patch, which should work properly (tested most stuffs I could think of).
In this version I also slightly lightened the red overlay indicating "not enough ressources", made technologies use the same gradual reddening as the training/construction ones (ie the more resources you lack, the redder it gets).
Changed tech pairs to show a red cross (the png, which should go in ui/sessions/icons) instead of a red overlay (as that could be confusing).
Removed the "selection" overlay on techs as it is thus no longer needed.

Review: the red cross (whether it sits in well or not), and generally if you like the GUI behavior with this patch.
(check for example with the persians and contrast how the "Age II" icon is clearly unavailable while the "persian masonry" or whatever on the right is available, while both lack colors.)

comment:2 by wraitii, 11 years ago

Resolution: fixed
Status: newclosed

Committed as of [13212], forgot to change.

comment:3 by sanderd17, 8 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.