Define a "Right of Way"-Track

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
hydonko
Engineer
Engineer
Posts: 20
Joined: 03 Feb 2009 17:34

Define a "Right of Way"-Track

Post by hydonko »

I want to suggest a "Right of Way"-Track definition.

That means, you can define for example, that the main line has right of way and Trains from a feeder line have to yield the trains on the main line.

Normally in OpenTTD it is so, that the train which arrives first at a junction has right of way.

I attached a picture:
The main line (5 Trains on it in the Screenshot) has right of way before the two oil trains from the feeder line.
When the main line is clear in a specific area (blue line --> here two signal blocks), then the trains from the feeder line are allowed to continue the journey.
Attachments
right of way.png
Right of Way
(174.18 KiB) Downloaded 383 times
User avatar
Roest
Traffic Manager
Traffic Manager
Posts: 215
Joined: 03 Apr 2008 08:18

Re: Define a "Right of Way"-Track

Post by Roest »

Somehow this looks familar.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: Define a "Right of Way"-Track

Post by Alberth »

We already have priorities:
http://www.openttdcoop.org/wiki/Priority

Many thanks to the clever people at openttdcoop
dihedral
Tycoon
Tycoon
Posts: 1053
Joined: 14 Feb 2007 17:48

Re: Define a "Right of Way"-Track

Post by dihedral »

it would be so much nicer if someone would code it for hydonko.....
hydonko
Engineer
Engineer
Posts: 20
Joined: 03 Feb 2009 17:34

Re: Define a "Right of Way"-Track

Post by hydonko »

Alberth wrote:We already have priorities:
http://www.openttdcoop.org/wiki/Priority

Many thanks to the clever people at openttdcoop
Can i realize this with the presignals only or did i need a special patch for it?

Edit:Yeah, that works, thanks :)
Last edited by hydonko on 14 Feb 2009 13:13, edited 1 time in total.
dihedral
Tycoon
Tycoon
Posts: 1053
Joined: 14 Feb 2007 17:48

Re: Define a "Right of Way"-Track

Post by dihedral »

you did not even try !!111!!!!eleven
Eddi
Tycoon
Tycoon
Posts: 8269
Joined: 17 Jan 2007 00:14

Re: Define a "Right of Way"-Track

Post by Eddi »

maybe you want to try out this neat "advance signals" patch (by michi_cc):

looks a lot nicer than the coop-approach :p
Image
el koeno
Route Supervisor
Route Supervisor
Posts: 454
Joined: 24 Sep 2004 15:47

Re: Define a "Right of Way"-Track

Post by el koeno »

Eddi wrote:maybe you want to try out this neat "advance signals" patch (by michi_cc):

looks a lot nicer than the coop-approach :p
[img]
There's no thread on this, I'm guessing you know about it through IRC?

Anyway... "Suppose" ;) I did not know how to compile a patch, what would be quicker: finding out how to do it, or wait for a binary to be posted somewhere in the dev. forum?
dihedral
Tycoon
Tycoon
Posts: 1053
Joined: 14 Feb 2007 17:48

Re: Define a "Right of Way"-Track

Post by dihedral »

find out how to do it - as that will help you next time too...! see "fishing" ;-)
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Define a "Right of Way"-Track

Post by planetmaker »

Eddi wrote:maybe you want to try out this neat "advance signals" patch (by michi_cc):
looks a lot nicer than the coop-approach :p
[img]
Hehe. I'm quite sure we'll be able to abuse this feature, too. But yes, it looks more realistic (doh, this r-word ;) ) and it's IMO a great patch and works for me nicely :)
Conditional Zenith
Chief Executive
Chief Executive
Posts: 697
Joined: 10 Jun 2003 00:19
Location: Australia

Re: Define a "Right of Way"-Track

Post by Conditional Zenith »

el koeno wrote: Anyway... "Suppose" ;) I did not know how to compile a patch, what would be quicker: finding out how to do it, or wait for a binary to be posted somewhere in the dev. forum?
There's no guarantee a binary will ever be posted, and if it is, then that will only help you out this time.
el koeno
Route Supervisor
Route Supervisor
Posts: 454
Joined: 24 Sep 2004 15:47

Re: Define a "Right of Way"-Track

Post by el koeno »

dihedral wrote:find out how to do it - as that will help you next time too...! see "fishing" ;-)
You're absoluetly right of course. But there's a couple of things holding me back:
* I'm playing games with other patches. So I'd also have to learn to combine patches.
* This would cut into playing time.

So while I'll never demand a binary (other people have things to do too), I'll just stick around waiting for things to come my way. If my uni work gets a bit less I might do the right thing and learn to code proper, that'll make sure I know how to compile too I guess.
dihedral
Tycoon
Tycoon
Posts: 1053
Joined: 14 Feb 2007 17:48

Re: Define a "Right of Way"-Track

Post by dihedral »

el koeno wrote: * I'm playing games with other patches. So I'd also have to learn to combine patches.
sure - but that is not really a bad thing - once you can read code (all human readable code is the same) you can even do that - just dont try to create a patch pack with absolutely no understanding of what you are doing, and always read documentation....... uh..... deja-vu
el koeno wrote: * This would cut into playing time.
yes it does - well, in fact, there are people who simply dont play, they just code, and personally i find that more interesting than playing the same game over and over again :-P
el koeno wrote: other people have things to do too
very well spotted! now if you want to do me a fav - there is a guy named Alain..... you could explain this to him!
el koeno wrote: make sure I know how to compile
@Alain ^ some people just do things in the right order - some others dont!
el koeno
Route Supervisor
Route Supervisor
Posts: 454
Joined: 24 Sep 2004 15:47

Re: Define a "Right of Way"-Track

Post by el koeno »

Hehe, you really like Alain don't you? :)

I must admit that I respect his perseverance. He has managed to learn quite a bit.
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 21 guests