Train Builder and Destructor

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Train Builder and Destructor

Post by ssilk »

This weekend I played with logistic trains and I found that the combination LTN-mod with the train builder and -destructor is really a bad-ass.
You can read the full story here: viewtopic.php?f=214&t=51201 A perfect combination: Using Train Builder and Train Destructor

But I have put some energy into it, thinking about how that could work in vanilla and I found it too sad to loose that all. So here my suggestion:

Assumend I would have had time to program such a mod (*) that combines a train-builder/destructor which does not work like "magic", I would build some kind of large structure over the rails. On top of that a crane would drive back and forth (when building in anti-direction of train, when destruct in direction of train). So - logically - I can build/deconstruct trains only in the coverage of that structure and building/destructing takes some time, depending on speed of that crane.
I think it can look similar to this:
Image
So the "rails/road" for the crane are modified rail-signals (that look like small road/single rails).
A modified car sits on top of that - as the crane - and would move along, so that a "build/destruct" would look like a movement of the crane.

On map it would look so:

Code: Select all

                            Pseudo-vehicle as crane over rails
                                        v
 < < < < < < < < < < < < < < < < < < < < <            <--- new type of rail signals (<)
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-###+-+-+-+-    <--- rails
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-###-+-+-+- 
 > > > > > > > > > > > > > > > > > > > > $            <--- new type of rail signals (>) and train stop ($)
                                       # #            <--- requester and provider chests

Rules:
- The signals look like a road/rails for the crane (see pic). [signals are needed to ensure, that the area you want to build is really free in the moment you want to build]
- The crane moves on that rails back and forth and pics up the locos and wagons out of the requester chest or puts destructed items into the provider chest. Whatever this will look is implementation detail.
- The crane begins to build when the first matching item arrives - and so on. The longer the train, the longer it takes to build it, cause of the length that has to be moved back and forth.
- The whole structure (signals, stops and chests) belongs together.
- Removing the stop removes all. Maybe with some kind of safety question. :)
- You can extend "signals" at the end at (nearly) any time to create longer trains.
- The order (what to build/destruct, how to program the train) is done (more or less completely) by circuit network. I won't describe how that could work here, but I think it some ideas of the train builder mod are good and some are not so good :) (for example: with train builder you cannot build trains which have two locos in one direction).

But there are of course some "general" ideas, like:
- A train is only built, when really needed - maybe controllable over the train stop.
- If a train is built or destructed is decided via circuits. For example: positive value on "build train"- signal means build, negative means destruct. Zero means: Do nothing and work like a normal train stop.
- what is built on which position could be encoded just by setting the rail-signals to the right item-type (via circuit signal). Makes the composition simple and understandable: In the simplest case just place a constant combinator to every third rail-signal that emits the item-type of the wanted train-part. That would also enable to encode the direction of the loco in a very simple way. That makes it also compatible to mods, which have shorter length of loco/wagon.


PS: I wrote it so, that it would be possible to create a mod out of that description, but I put it into Suggestions and not Mod-requests, cause in long terms I would like to have some kind of support for large constructions in the vanilla game: Constructions, which belong together over some rules. Maybe I will explain that idea also here, cause I think that would make Factorio really fun.


(*) which I haven't; currently I'm working on a mod, that does a completely new way of radar

More pics:
Image
Image

Another option: Crane is fixed and train moves under the construtor until completed:
Image
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Train Builder and Destructor

Post by mrvn »

You are mixing things here: Train building and container shipping.

I'm perfectly happy with having fixed trains that you build yourself. But having container wagons and stations to quickly swap out and rearange containers on a train would be nice.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Train Builder and Destructor

Post by ssilk »

Oh, mrv, that pic is misleading. Replace any container in the pics with a locomotive or wagon!

But it lays on the hands, that containers and train building is more or less an equvalent job and so should be compatible to the others. :)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Train Builder and Destructor

Post by mrvn »

Well, train building would mean your huge stack of waiting bays gets compressed into a small wooden chest.

A container loader/unloader on the other hand would quickly swap containers on a train and the train can move on. But then you have to deal with the container. You have to unload and load containers then. Think of the container as buffer chest for a simple station. Advanced use would be moving containers from one train to the other and that could be real fun to program with circuits.
User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2920
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Train Builder and Destructor

Post by Optera »

All this talk about containers loading onto trains made me think of a chest with a train inside being loaded into a train then deconstructed in a chest, loaded into a train ... :roll:

Could be amusing to see if item-with-inventory actually does what the name suggests and how recursive it can get.
Post Reply

Return to “Ideas and Suggestions”