The International Simutrans Forum

Development => Extension Requests => Topic started by: Isaac_Clarke on April 27, 2013, 09:19:41 AM

Title: Allow some vehicles to skip stations on a line
Post by: Isaac_Clarke on April 27, 2013, 09:19:41 AM
Hello the community,


I think I have a little idea for an improvement about lines management.
Here is an exemple of a simple line:


Station A ---> Station B ---> Station C


Stations A and C have a lot of passengers to carry and the Station B is small and have only a few passengers to carry. 3 trains belong to the line.
2 trains will stop in each stations (A,B,C)
The last train will skip the Station B because there's already no passengers to carry, it is more profitable to directly join the Station C.


If you understand me (english is not my mother tongue), do you think  it could be possible to set this option on a train of the line to skip somes stations?
You'll say me that I can create an another line for this train but for a better readability and to better understand the profit of a "track line", it could be more interesting to keep this train to the same line.


What do you think?


Friendly, Isaac Clarke
Title: Re: Allow some vehicles to skip stations on a line
Post by: Yona-TYT on April 27, 2013, 12:17:20 PM
that him seems a timeout of 3 seconds at station B
Title: Re: Allow some vehicles to skip stations on a line
Post by: Ters on April 27, 2013, 02:21:10 PM
As you predict, I say create a separate line. It could perhaps be a more interesting and flexible feature to be able to see the combined finances of multiple lines.
Title: Re: Allow some vehicles to skip stations on a line
Post by: Sarlock on April 27, 2013, 04:00:48 PM
You could set up an Express service to connect A and C on the same line.  You would have to create sidings for the slower local train to pull aside so that the faster express train can pass the slower train and continue the direct service.  There are lots of ways to do this but one of my favorite is to use a section of slower track on the siding and have the local train's schedule use that as its route.  When it pulls in there it slows down and if timed right the express train will zip by on the faster track and trip the next block signal before the local one does and thus get ahead of the local train.  I'm sure other people have designed more elegant solutions.
It's similar to how it is done in a real world example except that scheduling allow the exact place/time to be chosen for when the express line passes the local line.
Title: Re: Allow some vehicles to skip stations on a line
Post by: Ters on April 27, 2013, 04:05:53 PM
I think there's confusion about what is meant by "line" here. A physical track (or pair of track), or a service.
Title: Re: Allow some vehicles to skip stations on a line
Post by: Sarlock on April 27, 2013, 06:38:21 PM
Ah, I see... wanting to select an individual train on a line to skip B but not the other trains on the same line service.  Seems easier to set up a second express line?
Title: Re: Allow some vehicles to skip stations on a line
Post by: Isaac_Clarke on April 28, 2013, 10:10:16 AM
Quote from: Sarlock on April 27, 2013, 06:38:21 PM
Ah, I see... wanting to select an individual train on a line to skip B but not the other trains on the same line service.  Seems easier to set up a second express line?

Yes that's what I mean
That's what happens in certains train lines in France for example. A train link the city A and the city B with ten stations between them. All the trains belong to the same line (A -> B). Sometimes a train will stop in every stations between the 2 cities but it's possible to take a train which link directly the 2 cities without stoping on the intermediate stations.

Title: Re: Allow some vehicles to skip stations on a line
Post by: Ters on April 28, 2013, 10:42:47 AM
Although such services might share a page in the time tables, they are somewhat distinct schedules. I think it is best for Simutrans to keep the schedules distinct, and also the lines, both in terms of changes to the code, compatibility and UI, but maybe introduce something above lines. Then you can have a line called "A-B" and "A-B express", which can be grouped into something (maybe call it service) called "A-B". It is nice to have the "A-B express" visible as a distinctly named thing many places, such in the list of which line serves a stop, and to be able to see which vehicles belong to the express part, and which don't. It is also nice to be able to see statistics both individually and summed up, in order to tell whether a express/non-express distinction was worth it.
Title: Re: Allow some vehicles to skip stations on a line
Post by: Isaac_Clarke on April 29, 2013, 07:47:38 PM
Quote from: Ters on April 28, 2013, 10:42:47 AM
Although such services might share a page in the time tables, they are somewhat distinct schedules. I think it is best for Simutrans to keep the schedules distinct, and also the lines, both in terms of changes to the code, compatibility and UI, but maybe introduce something above lines. Then you can have a line called "A-B" and "A-B express", which can be grouped into something (maybe call it service) called "A-B". It is nice to have the "A-B express" visible as a distinctly named thing many places, such in the list of which line serves a stop, and to be able to see which vehicles belong to the express part, and which don't. It is also nice to be able to see statistics both individually and summed up, in order to tell whether a express/non-express distinction was worth it.

For sure it could be a solution and I think more simple to programm