Scaled resource panel [UI]

0

I was more on about these versions of color blindness, see also the section 'Causes'. That way anything relevant (like eco, hp bars, etc) can be made friendly towards each and everyone's color blindness.

A work of art is never finished, merely abandoned

0

@eternal Nice improvements. The mod has now been updated on the vault 😃

42c04837-5684-4ba6-869f-7832b323d96d-image.png

@jip said in Scaled resource panel [UI]:

What if we add the option to change the relevant colors for various color blindness to the game repo, as part as a game option? I don't know enough about color blindness to indicate which ones are relevant and what colors they should use - it isn't difficult to implement however.

That sounds like a good idea. Btw, regarding choosing colors that are good for colorblind users; the regular red and green that supcom use (for resource income/expense) have similar levels of red and blue but very different levels of green. I tried out various different colors in trying to get a good alternate for red. The pink I chose for the mod looked reasonable enough to me and has a much higher level of blue, which makes it more distinct from the supcom green for certain colorblind users. I included RGB levels and hex codes below for perspective. I'm not an expert though, so there might be better approaches/colors to use, but I'd figure that generally giving options for making R, G, and B values distinct in relatively important color-coded information might be the way to go to give options that work for people with different types of colorblindness. It would probably be good to see what more colorblind users think...

After talking more with Valki, I think that we might want to have options that also avoid having relatively important color-coded information with colors that have 0's (or near 0's) in two of the channels (R, G, or B) as that can potentially adversely impact readability of text/numbers in cases of color-weakness.

Supcom green
cd058416-cc2d-44e2-ad7f-10ec53a3b235-image.png
Supcom red
46cb015d-a542-410b-946f-7744c06d9bc2-image.png
Modded pink
55eaf577-b1ea-4709-88d3-98ab18011deb-image.png

For more perspective, here's some different examples of how the UI looks when missing color channels:

Regular UI - green removed
7f721b4f-a031-4f7e-8800-0dfb11e5ff3d-image.png

Regular UI - blue removed
2ece7f0e-33ca-4994-a6f7-4b2d9193dd36-image.png

Regular UI - red removed (this picture has all the same numbers as the others do, but without red, many numbers blend in here...)
f84b2b0a-b1e2-483f-8da8-3ee1ba7b304e-image.png

Modded UI - green removed
6d0de2c8-ab3e-4c75-a488-367dfad671f0-image.png

Modded UI - blue removed (this looks very similar to the regular UI because the regular UI didn't use much blue here)
1625b6ea-f5a1-4c26-90d2-ca6ce655ae3c-image.png

Modded UI - red removed
559d7507-b8dc-40db-8ac7-104782a8f058-image.png

1

I was thinking of copying the colors used in other games, but I'm not familiar with a game that has an extensive set of color blind modes. Any suggestions? With a bit of luck I can add it to the patch of November 🙂

A work of art is never finished, merely abandoned

0

You might find this image useful

0

How do I interpret that image?

A work of art is never finished, merely abandoned

0

it's 8 colours (9 if you include white) that are easy to tell apart for all types of colour blindness, I'm also looking up existing implementations but so far I've only found gripes rather than good practice

0

@eternal
SSB is essential, so I hope there'll be a fix or smth once

0

@spl the problem on SSB side. I can't fix that

0

Just tried this mod but it's not working quite right for me:

alt text

Any advice? Would love to get this up and running 😊

Resistance is futile

0

@scout_more_often ssb. Maybe be wrong

1

Okay it is not a SSB.
this code stopped to work UIUtil.UIFile('') :

	local path = UIUtil.UIFile('')
	local faction = string.sub(path,14,string.len(path))
	
	if faction=='nomads' then
		GUI.bg.panel:SetTexture(UIUtil.UIFile('/game/resource-panel/resources_panel_bmp.dds'))
	else
		GUI.bg.panel:SetTexture(UIUtil.UIFile('/mods/ScaledResourcePanel/textures/ui/'..faction..'/game/resource-panel/resources_panel_bmp.dds'))
	end
0

love the idea, will try it out

0

Small hotfix

  • Removed hand made texture with high quality

This is best i can do in this situation
@Scout_More_Often, @SPL

ScaledResourcePanel.rar HOTFIX

0

@eternal I had uninstalled this mod after my error as shown above. But it seems to have permanently modified my energy stat so it still shows as a percentage instead of telling me a plus or minus. Any idea how I can get it back to how it originally was?

Resistance is futile

0

You can click on it.

A work of art is never finished, merely abandoned

0

@jip said in Scaled resource panel [UI]:

You can click on it.

Geez, TIL ! Thanks 🙂

Resistance is futile

0

@scout_more_often does textures work?