Thread View: alt.games.microprose.transport-tyc
6 messages
6 total messages
Started by Felix Wüst
Fri, 18 Nov 2005 14:33
Signal Problem
Author: Felix Wüst
Date: Fri, 18 Nov 2005 14:33
Date: Fri, 18 Nov 2005 14:33
8 lines
914 bytes
914 bytes
Hey, Can anyone tell me why it does this: http://www.dereff.de/station.png Thanks in advance, Felix
Re: Signal Problem
Author: Michael Blunck
Date: Fri, 18 Nov 2005 15:14
Date: Fri, 18 Nov 2005 15:14
11 lines
1257 bytes
1257 bytes
Felix Wüst wrote: > Can anyone tell me why it does this: > http://www.dereff.de/station.png You´d have to use 2-way signals at the entry of a station to get trains using more than one track, not 1-way signals. 1-way signals at the exit are OK, though. regards Michael
Re: Signal Problem
Author: Tom Cumming
Date: Fri, 18 Nov 2005 15:21
Date: Fri, 18 Nov 2005 15:21
14 lines
1697 bytes
1697 bytes
Felix Wüst wrote: > Hey, > > Can anyone tell me why it does this: > http://www.dereff.de/station.png Change the station entrance signals so that they are two-way signals. For some reason, if a train is presented with a choice of one-way signals, it will always take the shortest route, even if the signal is red. If a train is presented with a choice of two-way signals however, and the shortest route is red, it will choose the next best option. Hope that helps.
Re: Signal Problem
Author: Josef Drexler
Date: Fri, 18 Nov 2005 15:59
Date: Fri, 18 Nov 2005 15:59
31 lines
2333 bytes
2333 bytes
Tom Cumming wrote:
> Felix Wüst wrote:
>
>> Hey,
>>
>> Can anyone tell me why it does this:
>> http://www.dereff.de/station.png
>
>
> Change the station entrance signals so that they are two-way signals.
> For some reason, if a train is presented with a choice of one-way
> signals, it will always take the shortest route, even if the signal is
> red. If a train is presented with a choice of two-way signals however,
> and the shortest route is red, it will choose the next best option.
Yes, that's how TTD's signal logic works.
find_shortest_path();
if shortest path begins with a one-way signal,
go there, no matter whether it's red or green;
else // shortest path begins with a two-way signal
if signal is green,
go there
else
go to closest green two-way signal instead
--
Josef Drexler | http://jdrexler.com/home/
---------------------------------+----------------------------------------
Please help Conserve Gravity | Email address is *valid*.
Play Chess, not Basketball. | Don't remove the "nospam" part.
Re: Signal Problem
Author: Felix Wüst
Date: Sun, 20 Nov 2005 21:31
Date: Sun, 20 Nov 2005 21:31
25 lines
1798 bytes
1798 bytes
> Tom Cumming wrote: >> Change the station entrance signals so that they are two-way signals. Okay, thanks. That did it... >> For some reason, if a train is presented with a choice of one-way >> signals, it will always take the shortest route, even if the signal is >> red. If a train is presented with a choice of two-way signals however, >> and the shortest route is red, it will choose the next best option. > > Yes, that's how TTD's signal logic works. > > find_shortest_path(); > if shortest path begins with a one-way signal, > go there, no matter whether it's red or green; > else // shortest path begins with a two-way signal > if signal is green, > go there > else > go to closest green two-way signal instead Is there any reason you can change that? Setting Waypoints is going to make me crazy some day. Greetz, Felix
Re: Signal Problem
Author: Stevie D
Date: Sun, 20 Nov 2005 22:29
Date: Sun, 20 Nov 2005 22:29
23 lines
1799 bytes
1799 bytes
Felix Wüst wrote:
> Is there any reason you can change that? Setting Waypoints is going to make
> me crazy some day.
That is the most sensible way to have it.
There has to be _some_ way to distinguish between situations where the
train *must* take a certain route (eg at a junction), and situations
where trains can take *any* route (eg on the approach to a 4-platform
station).
The approach to a station is the most likely time you will want the
train to choose any available route, and likewise, the entrance to a
(terminus) station is the most likely time you will want to have 2-way
track. So it makes perfect sense to have 2-way signals giving that
option to trains.
--
Stevie D
\\\\\ ///// Bringing dating agencies to the
\\\\\\\__X__/////// common hedgehog since 2001 - "HedgeHugs"
___\\\\\\\'/ \'///////_____________________________________________
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads