Far end, near end or middle?

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
hawaiipersson
Engineer
Engineer
Posts: 1
Joined: 02 Jun 2010 15:09

Far end, near end or middle?

Post by hawaiipersson »

Hello

I'm playing OpenTTD 1.0.1 and was wondering one thing about train orders. In the orders window, you can choose were the train should stop on the platform (as I understand it). The choices are "Far end" (default), "Middle" och "Near End".

What's this function for? Does it make and difference? I was hoping this could enable multiple trains at the same time on one platform.. :)

Thank you.
Brumi
President
President
Posts: 920
Joined: 18 Jul 2009 17:54

Re: Far end, near end or middle?

Post by Brumi »

This function doesn't enable multiple trains on one platform, it only affects the game if the platforms are longer than the trains. Try what happens if you order a train to go to a station which has a much longer platform than the train. You will see that the train will stop at the beginning, at the middle or at the end of the platform based on this setting.
Vitus
Traffic Manager
Traffic Manager
Posts: 157
Joined: 11 Mar 2009 15:15

Re: Far end, near end or middle?

Post by Vitus »

It's mostly useful for eye-candy stations. Here's simple station to illustrate this.

With careful planning, you can make the train stop in the main part of the station. :)
Attachments
screen.png
User avatar
Chrill
Moderator
Moderator
Posts: 15980
Joined: 18 Dec 2004 17:35
Location: Stockholm, Sweden
Contact:

Re: Far end, near end or middle?

Post by Chrill »

Brilliant example of how to utilize that setting, Vitus
Image
My Scenarios:
Archipiélago Hermoso (Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)
User avatar
Drury
Tycoon
Tycoon
Posts: 2168
Joined: 09 Dec 2008 16:20
Skype: yes
Location: Slovakia
Contact:

Re: Far end, near end or middle?

Post by Drury »

I always use it for passenger trains, it's more realistic when trains stops near station building.
Image

Only dumb people quote themselves, and only the truest retards put such quotes in their forum signatures
-Drury
User avatar
SwissFan91
Tycoon
Tycoon
Posts: 2395
Joined: 08 Feb 2009 18:36
Location: Alberta, Canada

Re: Far end, near end or middle?

Post by SwissFan91 »

Drury wrote:I always use it for passenger trains, it's more realistic when trains stops near station building.
Indeed. This usually means the middle of the station, although terminus stations are usually 'far end'.
Total Alpine Replacement Set: Industry, Town, Objects
User avatar
Dave
Moderator
Moderator
Posts: 17243
Joined: 26 Dec 2005 20:19
Location: North London

Re: Far end, near end or middle?

Post by Dave »

I recently asked about this too - it'd be nice if the system could recognise the request and only reserve a path as far as required. Obviously this raises several issues so I'm not going to pretend to be an expert ... but something for 2.0?
Official TT-Dave Fan Club

Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr


Why be a song when you can be a symphony? r is a...
User avatar
supermop
Tycoon
Tycoon
Posts: 1104
Joined: 21 Feb 2010 00:15
Location: Fitzroy North - 96

Re: Far end, near end or middle?

Post by supermop »

There is some (marginal) functional value to this feature which I use in my games; for stations longer than the train, choosing where to stop affects where the train will do most of its acelleration and decelleration. A short train entering a long platform to stop at the far end will pass trough the station throat at a higher speed than the same train set to stop at the near end. The difference is small, but for busy junctions, every extra second of clear track can help. This is most useful for stations where the train terminates and leaves through the same throat it entered, at through stations I choose stop at middle to compromise between space for decelleration on arrival and space for accelleration on departure. Occasionally you will have a through station that seems to have one throat more congested than the other, and here you can optimize the stopping location of trains to help mitigate the situation.

For very long stations with very slow, short trains, it might be worth using to opposite practice to minimize the total travel time.

To hawaiipersson, welcome to the forums!

Best,
User avatar
Lord Aro
Tycoon
Tycoon
Posts: 2369
Joined: 25 Jun 2009 16:42
Location: Location, Location
Contact:

Re: Far end, near end or middle?

Post by Lord Aro »

Dave Worley wrote:I recently asked about this too - it'd be nice if the system could recognise the request and only reserve a path as far as required. Obviously this raises several issues so I'm not going to pretend to be an expert ... but something for 2.0?
can't code myself etc., but i shouldn't think this would be too hard...
unless of course you need to rewrite the map array tomake it work or something (i don't think so)
AroAI - A really feeble attempt at an AI

It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
User avatar
Chris
Tycoon
Tycoon
Posts: 1985
Joined: 05 Oct 2009 16:36
Location: Leeds, UK

Re: Far end, near end or middle?

Post by Chris »

Dave Worley wrote:I recently asked about this too - it'd be nice if the system could recognise the request and only reserve a path as far as required. Obviously this raises several issues so I'm not going to pretend to be an expert ... but something for 2.0?
I like the idea above, although I don't know a thing about coding :oops: .
Last edited by Chris on 14 Jun 2010 18:54, edited 1 time in total.
Screenshots

Formerly Class 165
openttd_rulez
Traffic Manager
Traffic Manager
Posts: 173
Joined: 06 Jun 2010 01:42
Location: MALAYSIA

Re: Far end, near end or middle?

Post by openttd_rulez »

for those who got bad vocabulary here's a more simple graphical explanation
an extrapolated explanation.png
an extrapolated explanation.png
far end, near end or midle.png (13.01 KiB) Viewed 15432 times
Signature last edited by OPENTTD_RULEZ, edited Image times in total.

ImageImage
ImageImage
audigex
Tycoon
Tycoon
Posts: 2010
Joined: 09 Dec 2007 21:28
Contact:

Re: Far end, near end or middle?

Post by audigex »

I like to use it with some random variation, just for a bit of eye candy.

In fact, I was thinking about writing a patch where the train stops slightly more randomly within the station - I haven't looked into it yet, but since this near/far business is already in place, I would've thought a "random" setting would be easy enough to add.
Jon
clarklawson
Engineer
Engineer
Posts: 37
Joined: 02 Mar 2004 07:58

Re: Far end, near end or middle?

Post by clarklawson »

Vitus wrote:It's mostly useful for eye-candy stations. Here's simple station to illustrate this.

With careful planning, you can make the train stop in the main part of the station. :)
Wowiee, beautiful station. Thats what you can do with all of those squares. I should make mine look a little better.
Image
odalman
Engineer
Engineer
Posts: 37
Joined: 07 Jan 2020 01:46

Re: Far end, near end or middle?

Post by odalman »

The feature can actually accomplish something in the following example.

There is a station (Do) at 2 coal mines where the trains wait for full load. Before the trains go there, they pass a station (Bi) at another mine and pick up anything waiting there. This gives some extra cargo. First problem is when a train is almost full from Bi and comes to Do where a train is already loading. One would hope that the fullest train gets priority to load (and even load something from the less full train). But that is not the case. It is the train that first started loading that keeps its priority.

The first attempt to solve this is to order the trains to first unload everything, then load full, in the hope that all cargo will go to the already waiting train until it is full. But for some reason the unloading train snatches a few items of cargo. Maybe because there is suddenly som much cargo that the prioritized train can not reserve it all for some reason even if it would fit into the train. That might be the cargo that was missing for the prioritized train the get full and leave and making room for another train at the station.

The second attempt is to have two orders at the same station, one to unload and another to load full. But then the train thinks that it has to travel between the orders and starts rolling empty towards the power station.

Next atempt is to tell the train to unload at the beginning of the platform and load full at the end. Unfortunately, the train still thinks that it has to travel between orders and does not realize that it can just fulfill it at the spot.

Final attempt is to make the station 1 tile longer. Now the unloading train is unable to snatch a few pieces of cargo because it is busy traveling 1 tile and when it arrives, the prioritized train had time to reserve all it needed.

Remaining problem is the rating at station Bi, which is unacceptably low even when a lot of trains are picking up anything waiting there frequently and a statue stands in the town. If only it was possible to leave empty cars at a station and let the next train pick them up.

Image
Attachments
unload_at_near_end_load_at_far_end.png
(219.42 KiB) Not downloaded yet
User avatar
odisseus
Director
Director
Posts: 568
Joined: 01 Nov 2017 21:19

Re: Far end, near end or middle?

Post by odisseus »

The trick with the additional station tile is brilliant! Thank you so much, odalman!

It allows to introduce a delay between two different orders that use the same station. With very tight timetables, I think it can be used to implement two-way transfer on a single interchange station.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 14 guests