Page 1 of 1

[0.15.10] Setting tint does not work on roboport overlays

Posted: Mon May 15, 2017 10:20 pm
by justarandomgeek
Using this mod, the colors chosen work correctly on the chart, but the roboport's overlays in-world are both rendered as the untinted white sprites.

Re: [0.15.10] Setting tint does not work on roboport overlays

Posted: Mon May 15, 2017 10:23 pm
by Distelzombie
What does this mod do? How do you use it? Does it only change the little 16 pixel pictures that are used for the overlay of the roboports? I Assume you mean the different colored ranges of a roboport.

Re: [0.15.10] Setting tint does not work on roboport overlays

Posted: Mon May 15, 2017 11:11 pm
by Rseding91
That's working as intended. The in-game overlays are different compared to the chart overlays.

The in-game ones are defined in the utility sprites definitions.

Re: [0.15.10] Setting tint does not work on roboport overlays

Posted: Tue May 16, 2017 12:37 am
by credomane
Would be nice if it worked on those utility sprites too. Puts a real dampener on making a colorblind helper mod. :/

Re: [0.15.10] Setting tint does not work on roboport overlays

Posted: Tue May 16, 2017 1:38 am
by Rseding91
credomane wrote:Would be nice if it worked on those utility sprites too. Puts a real dampener on making a colorblind helper mod. :/
You can change them with a mod just like you changed the chart colors.

Re: [0.15.10] Setting tint does not work on roboport overlays

Posted: Tue May 16, 2017 2:20 am
by justarandomgeek
Rseding91 wrote:That's working as intended. The in-game overlays are different compared to the chart overlays.

The in-game ones are defined in the utility sprites definitions.
I must be changing the wrong utility sprites then...

Code: Select all

data.raw["utility-sprites"].default.logistic_radius_visualization.filename = "__palettecleanser__/graphics/visualization-roboport-radius.png"
data.raw["utility-sprites"].default.logistic_radius_visualization.tint = read_color_settings("roboport-logistic")

data.raw["utility-sprites"].default.construction_radius_visualization.filename = "__palettecleanser__/graphics/visualization-roboport-radius.png"
data.raw["utility-sprites"].default.construction_radius_visualization.tint = read_color_settings("roboport-construction")
The in-world overlays *do* change, but they change to white (my uncolored sprites) instead of the given tint (but the chart *does* use the tints set here?!?!). What should I be adjusting?

Re: [0.15.10] Setting tint does not work on roboport overlays

Posted: Tue May 16, 2017 2:20 am
by justarandomgeek
Distelzombie wrote:What does this mod do? How do you use it? Does it only change the little 16 pixel pictures that are used for the overlay of the roboports? I Assume you mean the different colored ranges of a roboport.
It's in progress still obviously, but the intent is to allow colorblind players (or anyone really) to adjust the color of problematic overlays.

Re: [0.15.10] Setting tint does not work on roboport overlays

Posted: Tue May 16, 2017 3:21 pm
by daniel34
Moved from Not a bug since this was solved in 0.15.11 (47689).