Another Signalling Problem with Empty Station

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Cheshire Cat ^..^
Engineer
Engineer
Posts: 17
Joined: 10 Jan 2008 22:02

Another Signalling Problem with Empty Station

Post by Cheshire Cat ^..^ »

I tried to find the answer everywhere possible and after an hour I'm giving up...

From what I understand and everything I read about path signals this should work: just one station shared between two separate two-way tracks with PBS at each entry.

(Trains coming from the right will never go left and vice versa, so don't worry about it)

But this train is just standing there... I don't understand. The path looks available!

If I add a block a signal at the opposite end of the station, it works. But why do I need to do that? Doesn't make any sense to me.............
Attachments
Two PBSs at both ends of a station
Two PBSs at both ends of a station
ce8f06b2-d66b-4e4e-bbd0-99e079cca220.png (33.99 KiB) Viewed 550 times
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Another Signalling Problem with Empty Station

Post by Eddi »

even though the train never goes beyond the station, it must still reserve a path to a safe waiting point. the platform is no such safe waiting point, only a signal or the end of the track is.
Cheshire Cat ^..^
Engineer
Engineer
Posts: 17
Joined: 10 Jan 2008 22:02

Re: Another Signalling Problem with Empty Station

Post by Cheshire Cat ^..^ »

EDIT: Ahhh, I get it. I need to switch the placing of the two directional PBSs in the below picture.

How come there are no proper two-way PBSs? I'm wasting one square the way I have to do it now...

Also, a shame stations don't divide blocks that way too :(

Now I know that no matter what I do the left train won't go into station to load while another train is leaving the depot on the right. *sob* :))

Anyway, thanks for the help!!

Can't wait for the day when passengers finally have destinations!
Attachments
Added one PBS
Added one PBS
d89882ae-de72-467d-b675-f1d16bd0cea8.png (33.81 KiB) Viewed 550 times
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4765
Joined: 09 Sep 2007 05:03
Location: home

Re: Another Signalling Problem with Empty Station

Post by Alberth »

station_depot.png
station_depot.png (24.92 KiB) Viewed 2203 times
This should work.

(I never quite got the meaning of the non-electric signals, not sure what your setup is exactly.)



There is no "proper" PBS two-way signal, because PBS avoids the quite useless idea that a signal is "safe to stop in front from both sides".
Being a retired OpenTTD developer does not mean I know what I am doing.
Cheshire Cat ^..^
Engineer
Engineer
Posts: 17
Joined: 10 Jan 2008 22:02

Re: Another Signalling Problem with Empty Station

Post by Cheshire Cat ^..^ »

Well, I think I figured everything out by now so now I'm just going to whinge for a bit, if I may <3
Alberth wrote:There is no "proper" PBS two-way signal, because PBS avoids the quite useless idea that a signal is "safe to stop in front from both sides".
Thank you for the reply. That's a good point. But train stations ARE a safe stopping point, shouldn't they be? Depots have inbuilt signals so stations can too.

Also, I have no good space to move the depot back too. Ahhh, if only signals could be built BETWEEN squares, then there'd be even no need for built-in station signals even!

Grrr, makes me want to study the code now (I know C++) but something like this would probably require a very thorough overhaul of a bi-i-ig chunk of code, wouldn't it?
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: Another Signalling Problem with Empty Station

Post by PikkaBird »

Cheshire Cat ^..^ wrote:Depots have inbuilt signals so stations can too.
Trains waiting to leave depots don't block other trains trying to enter. That's not the case with stations, so a "two way PBS" signal would result in deadlock.
Cheshire Cat ^..^
Engineer
Engineer
Posts: 17
Joined: 10 Jan 2008 22:02

Re: Another Signalling Problem with Empty Station

Post by Cheshire Cat ^..^ »

Good point!

Still, in Alberth's solution there's a two way PBS signal right there. And I don't think there's a better solution to this than that.

Any programmers here who can give me an estimate on how many hours it would take me to implement signals between squares? Even if it's realistic at all by one man.

In terms of UI I'm thinking the simplest solution is to have a rotating setup like with block signals where each click puts the lights in different position.
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Another Signalling Problem with Empty Station

Post by Eddi »

Cheshire Cat ^..^ wrote:Still, in Alberth's solution there's a two way PBS signal right there.
while that is true, the kind of situation where you actually want that are really really rare.

stations with builtin signals were decided against, because you can add signals if you want one, but you can't remove them if they are builtin, and you really don't want one to be there.
Any programmers here who can give me an estimate on how many hours it would take me to implement signals between squares? Even if it's realistic at all by one man.
6 month to a year of dedicated work, if you're experienced. and then 3 more years of convincing the devs that your solution is good, bug-free and maintainable. as far as projects go, it's probably one of the hardest you could go without it being impossible.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 13 guests