Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

Could anyone advice me how to set up semaphores in OpenTTD? I'm trying to make one double station near Oil Refinery with two different trains going there. My current train setup

share|improve this question
1  
You do realize that you're talking to gamers who might not know programming lingo like semaphore, right? I don't know if this type of language is common in OpenTTD, but you might elicit better answers if you explain yourself some more. –  MBraedley Jun 23 '12 at 21:15
1  
@MBraedley It's not a programming concept. It's a railroad concept. :) Semaphores in this case are basically traffic lights on train tracks. –  Anna Lear Jun 23 '12 at 21:17
    
@AnnaLear: Ok, I know it from programming (I imagine the concepts are the same). Still, a little more detail could help. –  MBraedley Jun 23 '12 at 21:20
    
@MBraedly I'm not talking about programming :) stackoverflow's purpose is that. It's , as Anna said, a railroad concept. I want to know how to properly place them on tracks. Where, and which. –  Adrian K. Jun 23 '12 at 21:29
1  
Just a note here, you almost certainly should double the tracks here, since the distance is really very short. If you want to save money, building only a single station at the refinery would be far more efficient. In fact, I would say that with a track setup like this it is highly unlikely you'd get your money's worth out of the second station –  Private Pansy Jun 24 '12 at 0:58
show 1 more comment

1 Answer

up vote 3 down vote accepted

Disclaimer: I usually use two-way semaphores. Never quite figured out one-way ones properly.

The absolute easiest thing to do would be to avoid semaphores and build two separate tracks, each leading to a separate slot in the double station.

However, if you want to overlap a part of the track, you pretty much have to set up semaphores at each intersection to make sure your trains don't crash into each other. The basic idea is that once a train passes through a semaphore, the semaphore turns red behind it until the train passes through another one further down the track.

You also have to make sure you set them in a way that doesn't result in a deadlock. For example, if you had three semaphores set up like this:

enter image description here

and a train passed through semaphore Y while your other train's heading back from the oil refinery station, you can end up in a situation where semaphor X will block both trains and they'll sit there forever (until you notice that your profits are dropping like crazy).

One way to mitigate deadlocks is to leave enough space between semaphores to fit the whole train and try to avoid chokepoints like the semaphore at X would be.

My advice for you is to start by simplifying your tracks. :) But if you'd rather not, I'd start with the following arrangement:

enter image description here

I think you might run into trouble at that "bottom" end of the station where you don't have a semaphore-able space to protect each station track, but it's been a while and I'm not sure if that's actually going to be a problem.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.