mapseed, replay, cliff-settings in presets-file
Posted: Sat Dec 08, 2018 10:24 pm
Greetings, since ages i wanted to make a map generator preset and after some hiatus now got a few steps
closer to my goal.
Which specifically is to include all settings into the "data-final-fixes"-file that are exposed
in the Presets-GUI.
That is, all but three.
1. The Mapseed
There are various spellings in the core-files, be it map-seed, or map_seed, but none work in the basic_settings section.
2. The Replay
I would prefer replays to be enabled by default when i use my preset. But neither repaly_enabled or enable_replay
work in the basic_settings section.
3. Cliffs
The last part that i cannot figure out how to control via a map generator preset are the cliffs.
In map-gen-settings.example.json is written:
"cliff_settings":
{
"name": "cliff",
"cliff_elevation_0": 10,
"cliff_elevation_interval": 10
},
but i do not know how to translate that into working settings for a presets-file, nor what those mentioned labels
actually mean regarding the usual frequency, size, richness -values that work so fine with all the other fields
for resources and terrain.
Also in map-gen-settings.example.json "peaceful_mode": false is mentioned and in this case, i could successfully
translate that syntax to peaceful_mode = true to make it work, but that does not seem to work for the cliffs.
I included my data-final-fixes.lua which works nicely apart from my three problems. Maybe someone could help me out to leap over the finishline of my little project.
I am using the latest Factorio v16.51 without mods.
Further information will of course be provided, if requested.
I do not know however, what else to mention.
closer to my goal.
Which specifically is to include all settings into the "data-final-fixes"-file that are exposed
in the Presets-GUI.
That is, all but three.
1. The Mapseed
There are various spellings in the core-files, be it map-seed, or map_seed, but none work in the basic_settings section.
2. The Replay
I would prefer replays to be enabled by default when i use my preset. But neither repaly_enabled or enable_replay
work in the basic_settings section.
3. Cliffs
The last part that i cannot figure out how to control via a map generator preset are the cliffs.
In map-gen-settings.example.json is written:
"cliff_settings":
{
"name": "cliff",
"cliff_elevation_0": 10,
"cliff_elevation_interval": 10
},
but i do not know how to translate that into working settings for a presets-file, nor what those mentioned labels
actually mean regarding the usual frequency, size, richness -values that work so fine with all the other fields
for resources and terrain.
Also in map-gen-settings.example.json "peaceful_mode": false is mentioned and in this case, i could successfully
translate that syntax to peaceful_mode = true to make it work, but that does not seem to work for the cliffs.
I included my data-final-fixes.lua which works nicely apart from my three problems. Maybe someone could help me out to leap over the finishline of my little project.
I am using the latest Factorio v16.51 without mods.
Further information will of course be provided, if requested.
I do not know however, what else to mention.