Page 1 of 1

Reading game resource and enemy settings

Posted: Mon May 18, 2015 10:10 pm
by orzelek
I'd like to know if it's possible to read settings that user chose for resources and enemies on new game creation screen.
I looked on the modding wiki but couldn't find those.

Re: Reading game resource and enemy settings

Posted: Mon May 18, 2015 11:08 pm
by L0771
game.mapsettings
Can see Factorio\data\base\prototypes\mapsettings.lua, for example:
game.mapsettings.steering.default.radius return 1.2 (i don't know what is, but work xD)

hmmm but isn't what you want i think, game.difficulty maybe?

Re: Reading game resource and enemy settings

Posted: Mon May 18, 2015 11:30 pm
by orzelek
I looked at map settings but I don't think it has the resource and enemy spawn parameters that you can set up in new game window.
It has biter behavior controls and evolution stuff.

I'm interested in map generator settings.

Re: Reading game resource and enemy settings

Posted: Fri May 29, 2015 10:07 am
by Triariy
Mayby the same question of the topic, but I'd ask whatever.
Is it possible to save map generator settings?
Mods have their own settings, and it's annoying to me changing them every time I'm launching the game :evil:

Re: Reading game resource and enemy settings

Posted: Fri May 29, 2015 5:45 pm
by L0771
if you add a resource (or fluid) with autoplace, the game adds automatically this options, i think you can't save that settings.