[posila] [1.1.33] MapGenPreset's autoplace_controls behaving weird
Posted: Sun May 16, 2021 10:03 am
If you create a MapGenPreset with autoplace_controls of an empty table and have a map size limit, like this:
Factorio map generation screws up. https://discord.com/channels/1396775903 ... 0137196544 (Factorio discord) has a more in-depth explanation of what's happening, but I'll still explain.
The attached image shows the map with an expected size of 32x32, but something different happens. Factorio generates an area of 2x2 chunks (64x64 tiles) where you can play normally, blueprint, place etc. Then, there is a ring of chunks surrounding that ring. There, you can't place tiles, as it says it's not a charted area (placing normally, not through the map). Tile transitions still work there. After that ring, there is another ring, which is the same as the previous, except that tiles don't transition, at all.
I have attached an example save file and the minimal mod that it has, which creates that map (without Factorissimo factory, that is not necessary) like the preview image.
Code: Select all
{
basic_settings = {
default_enable_all_autoplace_controls = false,
autoplace_controls = {},
width=32,
height=32,
}
}
The attached image shows the map with an expected size of 32x32, but something different happens. Factorio generates an area of 2x2 chunks (64x64 tiles) where you can play normally, blueprint, place etc. Then, there is a ring of chunks surrounding that ring. There, you can't place tiles, as it says it's not a charted area (placing normally, not through the map). Tile transitions still work there. After that ring, there is another ring, which is the same as the previous, except that tiles don't transition, at all.
I have attached an example save file and the minimal mod that it has, which creates that map (without Factorissimo factory, that is not necessary) like the preview image.