Page 1 of 1

Moving a factory to a new map

Posted: Sat Feb 18, 2017 5:03 am
by NiftyManiac
Is there any way to move a factory to a new map, or else fully regenerate a map without affecting player entities?

I built a self-expanding factory, and I'd like to make (and share, if possible), a version that can be run on many different maps. Using blueprints for this is a pain, as there are a lot of non-blueprintable components: trains with wagon filters, specific power lines, and important items in chests. Is there any way to serialize and load a big set of entities? I suppose it could be possible to serialize and load the tiles from another map, but could the seed be changed so that new chunks work properly?

Re: Moving a factory to a new map

Posted: Sun Feb 19, 2017 9:49 pm
by ssilk
Well blueprints are the way to do the basics. And adding all the vehicles is surely somehow possible at least by creating a mod, that does this as "another type of blueprint" (cause AFAIK technically blueprints are some kind of "program" that calls the needed methods to place entities).

Re: Moving a factory to a new map

Posted: Thu Feb 23, 2017 11:21 am
by Steelsky
NiftyManiac wrote:Is there any way to move a factory to a new map, or else fully regenerate a map without affecting player entities?

I built a self-expanding factory, and I'd like to make (and share, if possible), a version that can be run on many different maps. Using blueprints for this is a pain, as there are a lot of non-blueprintable components: trains with wagon filters, specific power lines, and important items in chests. Is there any way to serialize and load a big set of entities? I suppose it could be possible to serialize and load the tiles from another map, but could the seed be changed so that new chunks work properly?
I just asked this exact question in your GreyGoo thread :-)

/S