Equal station names

Post all other topics which do not belong to any other category.
Post Reply
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Equal station names

Post by ssilk »

Someone in this forum suggested to make a train stop the same name as another train stop.

I tried that now out. I gave two train stops the same name. What I awaited, was that a train chooses another stop, if the first is occupied, but that didn't work.

Has anybody an idea how that could work? Or is that just not finished yet?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Garm
Filter Inserter
Filter Inserter
Posts: 368
Joined: Mon Nov 18, 2013 9:46 pm
Contact:

Re: Equal station names

Post by Garm »

Afaik that's signalling issue. I've had similar problem with trains magically ignoring other stations but closest one until I've removed 1 signal at the rail split and placed them after.


Edit: Here are the locations of removed signals:

Image

SilverWarior
Filter Inserter
Filter Inserter
Posts: 559
Joined: Mon Mar 04, 2013 9:23 am
Contact:

Re: Equal station names

Post by SilverWarior »

ssilk wrote:Someone in this forum suggested to make a train stop the same name as another train stop.

I tried that now out. I gave two train stops the same name. What I awaited, was that a train chooses another stop, if the first is occupied, but that didn't work.
Trains don't recognize stations by their name but by their entity ID which is hidden from player. No two stations can have same entity ID.

jeroon
Filter Inserter
Filter Inserter
Posts: 351
Joined: Sun Jan 26, 2014 10:18 am
Contact:

Re: Equal station names

Post by jeroon »

This is from my test track. These stations have the same name, and trains pick a station that's free when they cross the last signal before the rail-split. Works perfectly :)

Image

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

Re: Equal station names

Post by ssilk »

Sorry, I tried yesterday several combinations, all kinds of signal settings and much more. In no case the train choose the second station. Because all examples are with 3 and more stops: Do I need more than two stops?

Or is it like follows: The train looks up for the station name. A list if all train stops with that name is returned. The train then chooses one, which is free. For that the train chooses the ID and then the train will drive to it, no matter, if 3 other are already on the way to that station.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Garm
Filter Inserter
Filter Inserter
Posts: 368
Joined: Mon Nov 18, 2013 9:46 pm
Contact:

Re: Equal station names

Post by Garm »

give us the picture of the stations and the rails coming to them.

User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: Equal station names

Post by rk84 »

AFAIK The train has no knowledge of where other trains are and what stations are occupied/reserved. It can only see if the next block ahead is reserved/occupied. So you want to build single "switch block" that has exits to all possible stops. Note also that if signal on entry side is too close to switch the train cannot choose right track when it enters to "switch block".
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela

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

Re: Equal station names

Post by ssilk »

Is it eventually so, that the signal before the switch must be in the symmetric line of the train stops? Because all my tries where unsymmetrical. E. g. the train came from down and the stops are from right to left; one signal on the upcoming track, before the switches and then all tracks made a curve from down to left, so that the algorithm always chooses the shortest track.

Hm. I mean it would make sense, that the pathfinder searches a way thru a number of tracks, where the number of rail segments are minimal.
:?:
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

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

Re: Equal station names

Post by ssilk »

I think I got a working example.
But it was very hard. There is no real logic in that. For example: If I place the lower signal one tile up (at the height of the belt I draw in as helping-line), the splitting doesn't work.
The train stations must be at the same height. And other odds I really cannot point to, because I don't know, why it works sometimes and sometimes not. Here it is:
Bildschirmfoto 2014-02-03 um 21.00.46.png
Bildschirmfoto 2014-02-03 um 21.00.46.png (804.45 KiB) Viewed 9697 times
I need an hour for that.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

jeroon
Filter Inserter
Filter Inserter
Posts: 351
Joined: Sun Jan 26, 2014 10:18 am
Contact:

Re: Equal station names

Post by jeroon »

Signals placed next to curved tracks look a bit buggy yeah.. what if you place them next to straight track only?

BurnHard
Filter Inserter
Filter Inserter
Posts: 519
Joined: Mon Oct 21, 2013 5:08 pm
Contact:

Re: Equal station names

Post by BurnHard »

try to remove the bottom left signal and the bottom signal in the curve and move the bottom right signal one block down. In my opinion the firt two mentioned are not needed. I often used trainstations with 4 lanes and equal names without problems, yes the signal are a bit tricky, but it's possible.

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

Re: Equal station names

Post by ssilk »

@BurnHard: I made many tries, also your suggestion. But as said it works like so.
I made many, many more tries. There is for example not much difference, where I place the stop. At some point they don't take a signal. Above I said so, that it must be in line, but I can change the placement in a wide area.

Would be interesting to make a bigger test-drive and check, if the trains check as cascade of free useable station-names. :)

But no idea, what's the reason, that it sometimes work and sometimes not. Maybe it has to do with some check, which slpwnd included, that the train checks the direction on a signal, but that wouldn't explain my experiences on some other maps I tried that out. :)

Time for blueprints, to make scientific tests, under which circumstances it works and when not. :)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Gammro
Filter Inserter
Filter Inserter
Posts: 360
Joined: Wed Oct 09, 2013 1:45 pm
Contact:

Re: Equal station names

Post by Gammro »

I fear I may have to rebuild my stations, as trains first went to the right station all the time, then I rebuilt the exit track onto the mainline, and now they all go to the left station :\

The red and green stations are separate names.
Image
Ignore this

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

Re: Equal station names

Post by ssilk »

Yes, the whole routing is in my eyes not really reliable yet. :)


I had for example a strange thing this week: two trains on a route, nearly together. At some point, they can decide the long or the short way. The first takes of course the short. The train behind chooses the long. So long, so good.

But at the point, when both tracks rejoin again, the train has the chance to drive back.

This second train makes exactly that: instead if waiting, it drives back and repeats the whole travel. Lol when I saw that the first time. Not so lol when I saw, that it happens more often, than thought... :)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Post Reply

Return to “General discussion”