Crusader Kings II

Crusader Kings II

34 ratings
Better Button Contrast
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
420.659 KB
Nov 17, 2020 @ 4:01pm
Nov 26, 2020 @ 10:47am
2 Change Notes ( view )

Subscribe to download
Better Button Contrast

Description
INCREASE CONTRAST OF ALL USER INTERFACE BUTTONS, DARKER DISABLED MENU ITEMS & ICONS

Ever frustrated by low contrast in default CK2 user interface buttons? Playing late at night with Night Time (Win) or Night Shift (Mac) enabled and can't see if the diplomacy button is light grey or light blue due to orange screen shift making them look the same? Or just want to see at first glance if some diplomacy action is available or not? This could help!

Works for Menus, Decisions, Character Diplomacy right-click menu, Levies icons (available or greyed-out) and ANY
possible existing UI button or icon in CK2 that has button-like functionality - normal, disabled (greyed-out or unavailable) & mouse-over state.

What it currently does is modify few RGB shader values just for buttons and button-like icons, making the mouse-over state lighter and disabled (unavailable) state darker.

Compatibility:
* Ironman & Achievements: compatible.
* Multiplayer: untested (possibly incompatible, as it modifies shaders).
* Other mods: 99% compatible (tested with HIP, Bigger Interface and others - anything that doesn't modify 3 buttonstate lua files should be compatible, although with mods that replace button images to weird colour some buttons or icons could possibly look weirder).

Release notes:

* 0.1 - first release, simple shader RGB values mod
* 0.2 - tweaked (less black disabled buttons), better greyscale for disabled items

Current issues:

* Diplomacy menus work well with white text on darker background for disabled items. But in diplomacy windows with "Send", the Send button has grey text on dark background. Still easier to differentiate than default.
* Some "passive" icons like skull on dead relatives portraits are affected (darker). Workaround could mess other things.
* Portraits with overlaid icons or borders (heir, king, duke,...) use default brightness values on mouse over, portraits without icons use mod values.
2 Comments
L4C_Fantome Nov 28, 2020 @ 5:54pm 
hi, can i put that in my mod? :o :D
ahistorically correct  [author] Nov 26, 2020 @ 11:28am 
Let me know in the comments if updated version looks better - buttons should be still dark but move discernible.