Page 1 of 1

Trains teleport between surfaces

Posted: Sat Jan 04, 2020 4:47 pm
by drdozer
Hi - I'd like to edit a game save I have to add additional surfaces, and trains that can carry materials between them. I have a nauvis map capped to 2k x 2k that will ultimately become purely a factory world, and I'd like to set up resource harvesting worlds with crazy biters and crazy resource depths, with trains that teleport from the edges of my manufacturing world to tracks in the starting area of these other worlds on other surfaces. I can see in the scenario editor how to set up multiple surfaces, but I can't find any mods or any mechanics to rout trains between them. I'm willing to write code if that's absolutely necessary.

Re: Trains teleport between surfaces

Posted: Mon Jan 06, 2020 9:02 am
by adamius

Re: Trains teleport between surfaces

Posted: Mon Jan 06, 2020 12:25 pm
by darkfrei
Maybe something like that https://mods.factorio.com/mod/beltlayer

Re: Trains teleport between surfaces

Posted: Wed Jan 08, 2020 6:13 pm
by Honktown
The idea of teleporting trains has been tossed about before: they don't navigate across surfaces. It's easy enough when a train is stopped to clone/teleport/whatever an entity, but while moving? Expect problems. Could make special train stations so when a train is stopped in one, it teleports the cargo to a stationary unloading train on a difference surface, or even special chests (lua side). Don't know how warptorio2 or the expansion mod for that handles it (they're covered under a "don't rip me off" license)

There's cave mods and others where there's linked chests, either one-way or shared. It'd be harder to do it while the game is running, but if you could figure out a convenient way to link and unlink teleporting chests (like a gui that opens a log of recorded chests) a lot of people might be interested.

Re: Trains teleport between surfaces

Posted: Sat Jan 11, 2020 10:48 pm
by hitzu
Have a look at this mod
https://mods.factorio.com/mod/traintunnels

And as far as I know, the Redmew community uses a modified version of this mod in their servers. Try to ask them.