Logic Trains: How to build sync train releaser

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
NetworkInventor
Engineer
Engineer
Posts: 8
Joined: 15 May 2011 20:19

Logic Trains: How to build sync train releaser

Post by NetworkInventor »

Hi, hope you can help me with the following problem:

I want to release trains to 6 parallel mainlines in set's of 6 trains. So if there is one train waiting for each line, they should be released. I spend the complete last night building this myself but somehow I can't solve the logic. I can detect that all 6 lines are blocked by a waiting train, but I can't solve the final signal setup that will send this message to all 6 lines to be released at once.

I don't use the progsign patch. Hope someone can give me a idea of the solution.
User avatar
V453000 :)
President
President
Posts: 946
Joined: 01 Feb 2011 11:22
Location: Beer

Re: Logic Trains: How to build sync train releaser

Post by V453000 :) »

I think what you are searching for is a simplier form of http://blog.openttdcoop.org/files/blog/ ... essor1.png found at http://blog.openttdcoop.org/2013/08/06/ ... game-2013/

There is also an older one http://wiki.openttdcoop.org/File:Psg131_Compressor.png
found at http://wiki.openttdcoop.org/Junctionary ... _and_Other
from game http://wiki.openttdcoop.org/PublicServe ... gameid_131

The first one I posted is more complicated due to being attached to a global timer as you can see in the savegame/read in the article. But it works absolutely perfectly. Note that changing to different trains will also have influence on timing so you will have to adjust at least the green timer loop which makes Sure, that all trains stop before accelerating again. Though if you split your trains into X lines so they never meet, they wont need such timing at all!

The second one is a bit simpler, does not force trains to stop always, but the top right gate is a tiny bit weird as it does not do anything (I think at least).

Combine those and you will get what you want, hopefully :)
ImageImageImage
NetworkInventor
Engineer
Engineer
Posts: 8
Joined: 15 May 2011 20:19

Re: Logic Trains: How to build sync train releaser

Post by NetworkInventor »

Thank you! This really helped, I have now finished it and will combine it with a compressor.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 5 guests