[2.0.69] map_gen_settings width height not work
Posted: Sun Oct 12, 2025 9:53 am
I am not able to write in English myself, so I am using ChatGPT for help. Please excuse any awkward phrasing.
I’m trying to limit the size of a planetary surface that I’m developing.
To do this, I set the width and height values in the planet’s map_gen_settings.
However, when I check in-game, it seems that these values have no effect at all.
All other members besides width, height, and seed seem to be applied correctly in my code. So I wondered if these values simply aren’t applied at the prototype stage. I tried setting width and height again during the on_surface_created event, but I got the same result.
How can I set the width and height of a surface? I have checked the documentation, but I haven’t been able to figure out how to do it on my own. If this is a technical limitation of Factorio, I would greatly appreciate any guidance or help.
I’m trying to limit the size of a planetary surface that I’m developing.
To do this, I set the width and height values in the planet’s map_gen_settings.
However, when I check in-game, it seems that these values have no effect at all.
All other members besides width, height, and seed seem to be applied correctly in my code. So I wondered if these values simply aren’t applied at the prototype stage. I tried setting width and height again during the on_surface_created event, but I got the same result.
How can I set the width and height of a surface? I have checked the documentation, but I haven’t been able to figure out how to do it on my own. If this is a technical limitation of Factorio, I would greatly appreciate any guidance or help.