I recently had an idea with this already existing feature, the flashing capped population box:
To further utilize it, I thought it would be beneficial to have more things to be “flashy” on the UI. Like for example, every resource stockpile that exceeds 500 (e.g. white colored flash), to remind the user to avoid the stockpiling of resources.
In the resourcepanel.json, line 520 to 545, there is this text:
{
"Widget": {
"Type": "Base",
"Name": "PopulationFlash",
"ViewPort": {
"xorigin": 900,
"yorigin": 60,
"width": 140,
"height": 72,
"alignment": "CentreLeft"
},
"ZPlaneLocalOffset": 1,
"StateMaterials": {
"StateNormal": {
"Material": "FlatColorWithAlpha",
"Color": {
"r": 1,
"g": 1,
"b": 0,
"a": 0.7
}
}
},
"ChildWidgets": []
}
},
{
I duplicated this entry to see what will happen, but only I got is an additional identical yellow overlay, non-flashing, always visible.
Does anyone know how to 1) reproduce properly this function, and how to 2) correlate it with different elements of the resource panel (like a resource stockpile), or other panels, or idle buildings to remind you to use them (e.g. a 1920x1080 pixels flash overlay on your whole screen when you forget to produce villagers ).