beginners problem [breakdown + choose free track]

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
vooyeq
Engineer
Engineer
Posts: 2
Joined: 06 Jul 2006 09:41

beginners problem [breakdown + choose free track]

Post by vooyeq »

first of all - hi, im kinda new here
so far i've been playing the inefficient way, simple terminus stations no mainlines one train per track etc. (sic!)

now i've decided to tweak the way i play, ive introduced mainlines and connect industries to them, but still have problems, these related to breakdowns and trains jamming whole mainline

i tried to add second track to the mainline and hoped to divide them into sections, when a train breaks down inside section, other ones will pick free route, but so far without success, i.e. if both tracks are free and two trains approach the junction, only one passes it and the remaining one is waiting for the junction to be freed ( although the second track is free )
i've heard that PBS is the solution but i cant figure that out

pic here

thanks for suggestions
Rinnsal
Engineer
Engineer
Posts: 27
Joined: 18 May 2006 10:39
Contact:

Post by Rinnsal »

the signal is red because both lines are connected. so one train uses the part of the junction for its own. A green signal would maybe cause a crash (letting the waiting train crash into the train in the junction)
sc79
Director
Director
Posts: 586
Joined: 22 Feb 2005 09:51

Post by sc79 »

I assume you're using a recent version of the MiniIN? You need to go into the configure patches menu -> vehicles, and disable YAPF. YAPF is the new pathfinder, which is currently a work in progress in the official nightlies. PBS is no longer supported, and uses the old pathfinder, but was brought up-to-date just for use in the MiniIN, so they're not compatible.

Personally, I always play with breakdowns off. You might find a few designs around here for coping with them, but you'll probably find that when dealing with large complex networks and lots of trains, the most practical solution is just to turn them off.

Rinnsal: they're PBS signals :)
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

you can do the same thing without PBS using a junction something like this
Image
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
vooyeq
Engineer
Engineer
Posts: 2
Joined: 06 Jul 2006 09:41

Post by vooyeq »

@sc79:
I've compiled yesterdays MiniIN.
Seems to work with YAPF turned off. Thanks, at last a step forward :)
I spent so much time trying to cope with the breakdowns that I cant just turn them off ( for now? ).
Maybe when I advance to even more sophisticated designs and don't give up first.

@bobingabout:
Check out this situation:

Train A is stopped so it blocks the Path A track.
Train B approaches junction, but unfortunately it still picks Path A and jams the next junction.
Thought it is caused by Signal S being green, but after removal trains still pick the Path A.

After turning the YAPF off, trains keep choosing the Path B all the time.

--
As the PBS is not supported outside MiniIN I'm still interested in solving the problem using traditional way.
Currently I'm checking the presignaled "Track switch" design provided in one of the "crossings"
savegames found on the forum.
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

PBS does not work in MiniIN with the YAPF pathfinder. It does work with the NPF pathfinder - but that has performance issues on large maps with hundreds of trains.
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
User avatar
3iff
Tycoon
Tycoon
Posts: 1105
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Post by 3iff »

Train B picks path A because the signals are one way. Change them to 2 way and train B should pick path B.

2 way signals provide a choice. 1 way signals make trains take the quickest route regardless of red lights.

As you're a beginner, I would seriously suggest you avoid breakdowns=on until you really understand all the subtleties of signalling...ok, not ALL of them, but get the basics (I'm still learning after many years of playing!).
sc79
Director
Director
Posts: 586
Joined: 22 Feb 2005 09:51

Post by sc79 »

Train B picks path A because the signals are one way. Change them to 2 way and train B should pick path B.
2 way signals provide a choice. 1 way signals make trains take the quickest route regardless of red lights.
I have no problem with that sort of setup, using plain (one-way) signals and with YAPF, NPF or the Original PF (yapf and npf off).
- (Im sure oneway signals shouldnt work with NPF/YAPF off, so Im going to assume its either deliberately been changed, or a MiniIN bug/feature) -

However, trains wont pick path B unless the first signal in path A is red, since they cant (yet) look more than one signal ahead.
User avatar
3iff
Tycoon
Tycoon
Posts: 1105
Joined: 21 Oct 2005 09:26
Location: Birmingham, England

Post by 3iff »

sc79 wrote: However, trains wont pick path B unless the first signal in path A is red, since they cant (yet) look more than one signal ahead.
You're probably right...also, I haven't used YAPF so can't be sure how it behaves...

Well, I was nearly right! :)
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

the picture i posted isn't exactly what i'd do, i used a picture of owens site.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 2 guests