Page 1 of 1

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

Posted: Thu Apr 11, 2019 11:25 pm
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.

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

Posted: Fri Apr 12, 2019 1:58 pm
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.