Disco Science Lite


Science labs light up with the colors of the science packs they're consuming, instead of always blue. A variant of the original Disco Science mod by Daniel Brauer, featuring algorithmic UPS optimizations and Space Age mods support including Biolabs.

Tweaks
4 days ago
2.0
2.04K

g [FIXED] K2SO Advanced Labs look off

25 days ago

They seem to have a very, very dim glow when operating, which oscillates a bit and is only noticeable when zoomed out. More than that though, they seem to be overlaid on top of a black square, like the floor under them has been replaced with vantablack.

I suspect some manner of mod interaction on my end and I'll try disabling some things to see if I can pin it down.

25 days ago
(updated 25 days ago)

Actually, I can confirm that it happens with only K2SO, Disco Science, and Editor Extensions to let me quickly test it. In fact, while the Krastorio Advanced Lab is the only one that has a black background, they all seem kind of weird? It's like the colors aren't applying, and so the labs sort of stick to one color and flicker in brightness.

I took a screenshot of it and hosted it on imgur here: https://imgur.com/a/8nsgRwd

I'm running on Linux, and so I've tried a couple different renderers and toggling all the graphical settings I can find. I've also tried disabling the Sprite Atlas Cache from the hidden settings in case that was an issue. None of it seems to have changed things.

24 days ago

Thanks for the detailed report!

I believe I’ve fixed the issue and released it as version 0.1.1. Please give it a try. If the problem still persists, let me know. Sorry for the trouble.

Details: I wasn’t able to reproduce the issue on my end, but I found a likely cause: the working animation for the Advanced Lab wasn’t being modified as intended. To address this, I reworked the animation rendering approach from the ground up. Hopefully this resolves the issue.

24 days ago

Well, the colors are now applying to the Krastorio 2 Advanced Lab, but the hue issue persists! Certainly a significant improvement, though now my labs all just seem to be changing between grayscale and a sort of vibrant orange-gold color!

I'm headed to bed, but I'll attempt to investigate more on my end soon. It's certainly an interesting quirk, and I wonder what could be causing it since it's presumably not happening for anyone else.

24 days ago

Thanks for the additional report!

“The hue issue” might actually be working as intended. Since the Military tech card is gray, if it’s being used in the research, some gray should be mixed into the color animation. If what you’re seeing doesn’t match that and the colors really look incorrect, then sorry about that.

By the way, can I assume the issue with the background turning black has been resolved?

There’s also a chance this could be Linux-specific. If it doesn’t seem to match the expected behavior above, I’ll set up a Linux environment on my end and take a closer look.

24 days ago

Ah, yes indeed the black background is fixed. Sorry I wasn't clearer about that.

In my testing environment, I was doing research that had ten or so different sciences in it, I believe, and the colors just didn't seem to change at all. It was more like the saturation and brightness oscillated.

Sorry to put you to such trouble! I could include all sorts of details about my particular setup, but really, I think the most helpful thing would be for someone else to report the same issue, so we could work out what the commonalities are.

In case it matters, my OS is Bazzite, and I'm using an AMD graphics card, a 9070 XT. Hopefully, I can poke around some more and turn up some useful information to better define the issue and its possible causes. If it does wind up just being me, don't sweat it.

23 days ago

No problem at all! I’d like to properly support Linux as well, so your report is actually very helpful.

Glad to hear the black background issue is fixed. That said, it sounds like the main issue is still ongoing.

Inspired by this conversation, I’ve added a “Use rainbow color palette” option. When enabled, labs will be colored in a rainbow pattern regardless of the science pack colors. It would really help if you could share a screenshot of how it looks with this option enabled.

As for Bazzite, I have a Steam Deck, so I’ll try installing it there and see if I can reproduce the issue.

23 days ago

Oh, it seems to be working!

And I must now confess that apparently I said something very incorrect a few hours ago. Actually what had happened was, when selecting an infinite research, I had selected one of the military researches. After reading your comment about how it would only show the color(s) of the sciences that were being used, I started a different research which used all of them and saw that it was still only changing between grey and gold.

In fact, what I had done I realize now when I loaded the save is I had QUEUED another research which used all ten colors, but it was still working on an infinite military research which used only two colors of packs: grey and gold.

That's my bad! I assumed that this behavior was wrong because I thought I was researching with all the science packs and it looked more like it was brightening and dimming, because the grey science pack was very dark, nearly black.

The new setting worked perfectly to fix this, and then I looked at my research and realized the problem. Sorry for making you run in circles on that one! When I did my initial testing in my regular save I was researching with several sciences... but I was also having an issue with all of my Advanced Labs from Krastorio looking weird. Since I didn't go back to my regular save to test I didn't notice this.

In any case, everything seems to be working perfectly now, no need for you to reinstall your Steam Deck OS just to test.

23 days ago

Glad to hear that! No worries at all! This helped inspire a new feature, so it worked out nicely in the end.

I make the same kind of mistake with the research queue all the time too, lol.

23 days ago

Now I have to take all my labs out of my Factorissimo factories so I can enjoy them. Thanks for the mod, I always wanted to try the other Disco Science but I'm very leery of something cosmetic being so bad for performance. I'd heard it had gotten somewhat better over the years, but my initial impression of it was very bad because of it. Really nice to see a slimmer implementation.

New response