ChunkyChunks - Configurable Gridlines

by Qon

Chunk aligned blueprints? Display chunk lines without the annoying tile lines that the debug option adds. Configurable grids at any sizes if your blueprints are substation, chunk, roboport or radar sized (or any other size)!

Utilities
22 days ago
0.17 - 2.0
8.40K

i [Implemented] Independent color, do not rely on player color.

5 years ago

I use TJ's custom character,
https://mods.factorio.com/mod/TjCustomPlayer

Then create my own, it look like this :
https://i.imgur.com/pdKlXHC.jpg

To retain character color, i set color to black with zero alpha
/color 0 0 0 0

Problem was, ChunkyChunk is also gone with that command

I can set it to /color 127 127 127 100, my character is slightly brighter, i'm okay with that. But ChunkyChunk becoming white lines.

I really like the original player vanilla color, that yellow/orange lines that ChunkyChunk use.
I wish i can set it independently from my character player.

5 years ago

I could force the alpha of the ChunkyChunks colour to always be 100% as a simple fix to start with. So you can use 0 alpha for your character but still get visible lines.

I'll qonsider making line colour separate from character colour if that isn't enough.

5 years ago

ChynkyChunks v1.0.3 now always has 100% alpha regardless of the player character colour as a quick fix for now.

5 years ago

It would be possible to have a slider\color palette on mod's settings to manage it independently from player? And differs between grid 1 and 2

5 years ago

Due to popular demand, it's now possible to specify grid colours in settings in ChunkyChunks v1.0.4!

It would be possible to have a slider\color palette on mod's settings to manage it independently from player?

Sliders and palette selector are impossible in mod settings menu. But it's possible with a colour string.

And differs between grid 1 and 2

Yes.

5 years ago

Thanks for the new features !
Question regarding color input, "range from 0-1"
Was that an equivalent of max RGB color ? Or does it mean accept a decimal value ?
Like in the given example of Red being 1 0 0 is the equivalent of 255 0 0 in RGB ?
But how about say..Grey color, in RGB it's 127 127 127.
In ChunkyChunk format it's become 0.5 0.5 0.5 ?
Or it cannot accept value other than 1 or 0 ?

I know i can test this out, but i'm afraid i will break something,... so, it's better to ask directly to you.

Thank you once again, this is awesome !

5 years ago

0.5 0.5 0.5 is grey, and it is RGB. The first number is the red component etc.
Just that it goes from 0 to 1 (decimal numbers) instead of 0 - 255 (integers). Anything between 0 and 1 is ok, 0 and 1 included.
RGBA is also available if you want to specify an alpha value. so you can have transparent green if your write 0 1 0 0.25 or something.

If the format is wrong then it will just default to the player color.

5 years ago

That will be enough. Thanks a lot!

New response