--scenario2map doesn't use -map-gen-seed

Bugs that are actually features.
klugemonkey
Inserter
Inserter
Posts: 24
Joined: Tue Jun 12, 2018 5:07 am
Contact:

--scenario2map doesn't use -map-gen-seed

Post by klugemonkey »

How does one generate a random seed for a map that is created by using the --scenario2map command line option?

It doesn't seem to be looking at the data/map-gen-settings.json file and it's seed value. Nor does a scenario created with it have any means to use a randomly generated seed value in the map_gen_settings for a surface.

AFAIK, the only way to give a unique seed to a surface would be to hard code it each time in the scenario under map_gen_settings.seed for the surface.

Wouldn't it make sense to have the --map-gen-seed SEED command line parameter also apply to maps generated using --scenario2map? This seems like a bug or limitation, and most certainly an inconsistency.

This applies to all 0.17.x, currently at 0.17.28 and possibly 0.16.51 as well.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15889
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: --scenario2map doesn't use -map-gen-seed

Post by Rseding91 »

Thanks for the report. The "scenario2map" and "map2scenario" command line options are legacy and I will probably be removing them. The "scenario2map" was never designed to care about --map-gen-seed so that's why it doesn't use it.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”