Factorio

Factorio

View Stats:
Unik Aug 25, 2020 @ 8:08am
What is meant by "delete empty chunks" in the editor?
Can't find any information on search engines that clear up the question.

What are empty chunks?
< >
Showing 1-8 of 8 comments
Shurenai Aug 25, 2020 @ 8:12am 
Empty chunks are empty chunks. The world is made up of chunks; Any chunk that has a player entity is an occupied chunk. So to delete empty chunks is to delete everything that does not have player entities in it.

A chunk is a 32x32 square of tiles.
Unik Aug 25, 2020 @ 8:21am 
I probably don't understand what a game entity should be ...

But I put myself underneath e.g. a player-generated or rather built "entity", e.g. an assembler.

Then the chunk on which this entity sits is not empty.

But why should you want / have to delete an "empty" chunk, i.e. without a player entity, and how should that work?

Is that completely missing on the map?

I couldn't see any effects in the editor ...
Last edited by Unik; Aug 25, 2020 @ 8:24am
The Chaotic Coder Aug 25, 2020 @ 9:14am 
The main reason you'd delete empty chunks is so the map takes less disk space and memory.
Unik Aug 25, 2020 @ 9:58am 
If something is already empty, why should it be deleted? Makes no sense.
fractalgem Aug 25, 2020 @ 11:27am 
Originally posted by S6S6S6:
If something is already empty, why should it be deleted? Makes no sense.

A chunk full of water *still takes up memory*.

Deleting the chunk completely frees up some memory. The chunk turns back to being a black square.


Computer wise, an *array* filled with zeros still takes up just as much RAM as an array filled with 1's; so setting the array components to zero doesn't free up ram, while deleting (de-allocating) the array DOES free up memory.


Now do you understand?



Unik Aug 25, 2020 @ 11:40am 
okay yüüüüs

i tryed to do that so to delete empty chunks that they will be black on the map but that wasnt so, to also exclude this variable.

hm
Unik Aug 25, 2020 @ 11:47am 
no chunks are removed here

https://streamable.com/r3eoau
fractalgem Aug 25, 2020 @ 2:05pm 
Originally posted by S6S6S6:
okay yüüüüs

i tryed to do that so to delete empty chunks that they will be black on the map but that wasnt so, to also exclude this variable.

hm
Then either the map must be a different set of variables, or you have a radar in range of it.

I haven't played with the editor much so I'm not sure which.
Last edited by fractalgem; Aug 25, 2020 @ 2:06pm
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Aug 25, 2020 @ 8:08am
Posts: 8