[patch] Realistic Train Shunting

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: [patch] Realistic Train Shunting

Post by wallyweb »

morzenmebs wrote:I just started using the patch and i cant figure out how to give a loco an order to reverse at a waypoint
They won't reverse at a through waypoint. The locomotive should be sent to a dead end siding where it will reverse without an order. You can add a waypoint onto that siding and send the locomotive via that waypoint, but the reverse will only occur at the end of the line after passing through the waypoint.
User avatar
Gwyd
Chief Executive
Chief Executive
Posts: 721
Joined: 17 Apr 2017 16:52
Location: Western Ile-de-France Region

Re: [patch] Realistic Train Shunting

Post by Gwyd »

I'm not sure about this patch, but I know in JGR you can set trains to reverse at waypoints: the button to do so is directly above the "delete order button"
arikover
Route Supervisor
Route Supervisor
Posts: 466
Joined: 15 Jun 2007 09:27
Skype: madchimiste
Location: Berlin, Deutschland

Re: [patch] Realistic Train Shunting

Post by arikover »

The "reverse at waypoint" feature is specific to the JGR patchpack. As of now, it has neither been added to trunk, nor to Realistic Train Shunting.

If you want a loco to reverse when using this patch, you should do what wallyweb advised.
User avatar
FulliAutomatix
Engineer
Engineer
Posts: 119
Joined: 24 Aug 2014 12:20
Location: Kaon Prison, Cybertron

Re: [patch] Realistic Train Shunting

Post by FulliAutomatix »

morzenmebs wrote:I just started using the patch and i cant figure out how to give a loco an order to reverse at a waypoint
Just send it to a waypoint that dead ends. Or use a depot
morzenmebs
Engineer
Engineer
Posts: 9
Joined: 04 Mar 2018 04:36

Re: [patch] Realistic Train Shunting

Post by morzenmebs »

wallyweb wrote:
morzenmebs wrote:I just started using the patch and i cant figure out how to give a loco an order to reverse at a waypoint
They won't reverse at a through waypoint. The locomotive should be sent to a dead end siding where it will reverse without an order. You can add a waypoint onto that siding and send the locomotive via that waypoint, but the reverse will only occur at the end of the line after passing through the waypoint.
arikover wrote:The "reverse at waypoint" feature is specific to the JGR patchpack. As of now, it has neither been added to trunk, nor to Realistic Train Shunting.

If you want a loco to reverse when using this patch, you should do what wallyweb advised.
Just out of curiosity, how difficult would it be to add the reverse at waypoint as a feature? I love this patch, but having to build a separate branch with a dead end hurts realism for me.
Eddi
Tycoon
Tycoon
Posts: 8254
Joined: 17 Jan 2007 00:14

Re: [patch] Realistic Train Shunting

Post by Eddi »

just use a 1x1 station instead of a waypoint? have all trains pass it "non-stop"
User avatar
GarryG
Tycoon
Tycoon
Posts: 5836
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: [patch] Realistic Train Shunting

Post by GarryG »

Eddi wrote:just use a 1x1 station instead of a waypoint? have all trains pass it "non-stop"
Good idea and there are several station sets that have a suitable 1x1 station tile to do the trick and they will not look out of place.

I use these from my the new set to send the light Engine too. I released a test version in my forum yesterday called " AuzTrainDepotExtensions".
It has Signal Boxes, Shunting Limit Board, Sand Box, Water Tanks and there are a few others.
Signle Station Tiles-1.png
Signle Station Tiles-1.png (44.26 KiB) Viewed 12534 times
You will also find some great 1x1 tiles suitable in the ISR Industry Station set and some of the other station sets available.
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
Jay84
Engineer
Engineer
Posts: 8
Joined: 30 May 2016 16:25

Re: [patch] Realistic Train Shunting

Post by Jay84 »

Is it possible for releif locos to take over a train in Terminus stations yet?

Train arrives at terminus.
Locomotive decouples.
Relief loco arrives.
Relief loco couples to coaches and leads the train out.
Loco still in station becomes the next relief loco either in siding or station pilot platform.

I have an idea how this may be accomplished if not.
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: [patch] Realistic Train Shunting

Post by wallyweb »

Jay84 wrote:I have an idea how this may be accomplished if not.
Give us some screenshots. :wink:
Jay84
Engineer
Engineer
Posts: 8
Joined: 30 May 2016 16:25

Re: [patch] Realistic Train Shunting

Post by Jay84 »

Unfortunately I don't have any at present due to being away on business but I have an idea.

To complete the operation I mentioned and given the fact that stations are now modular, you could introduce a head shunt station 1x1 square instead of laying out track at the station end to run around. The square could be set to any configuration you wish 2x4 etc
This additional piece can have an invisible signal built into it. Let's call these "Head Shunt Squares", it can also be disguised as standard station squares to give the illusion of a continuous terminus.

Trains arrives.
Loco decouples.
Loco moves forward into the Head Shunt Square and waits on clearance.
Relief loco arrives to take coaches back out, couples up.
Relief loco plus train departs.
Former leading loco waits in Head Shunt/Waypoint for Platform to clear, this is where the invisible signal comes in.
Former leading loco now becomes relief loco and departs Platform to become the next relief loco.

The charm with these head shunt squares is you could make them as long as possible incase you were running double headed trains and also as mentioned they would appear as normal bits of station.
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: [patch] Realistic Train Shunting

Post by wallyweb »

I think I see what you are looking to do.
What we see in real life:
1. Train arrives at terminal station and unloads.
2. Yard engine couples to empty coaches and pulls them out (to maintenance or whatever)
3. Mainline engine backs out (goes to maintenance or whatever)
4. Yard engine pushes empty coaches to await loading.
5. Yard engine decouples and goes to next order.
6. Mainline engine couples to loaded coaches and goes to next order.
Coding the orders:
I need to model this. Got a couple of other things to do first so this might take a week or so before I can get at it.
I think I've already done something similar with coal trains, so it should be doable without adding new parameters.
Jay84
Engineer
Engineer
Posts: 8
Joined: 30 May 2016 16:25

Re: [patch] Realistic Train Shunting

Post by Jay84 »

wallyweb wrote:I think I see what you are looking to do.
What we see in real life:
1. Train arrives at terminal station and unloads.
2. Yard engine couples to empty coaches and pulls them out (to maintenance or whatever)
3. Mainline engine backs out (goes to maintenance or whatever)
4. Yard engine pushes empty coaches to await loading.
5. Yard engine decouples and goes to next order.
6. Mainline engine couples to loaded coaches and goes to next order.
Coding the orders:
I need to model this. Got a couple of other things to do first so this might take a week or so before I can get at it.
I think I've already done something similar with coal trains, so it should be doable without adding new parameters.
That is one possibility however to make things easier I would suggest.
1. Train arrives at Terminus with Mainline loco
2. Unloads
3. Mainline loco decouples from train.
4. New Mainline Loco arrives and couples up to train.
5. Train loads.
6. Train departs with Relief Mainline Loco leading, Now Mainline Loco.
7. Old Mainline Loco waits on train to clear platform.
8. Old Mainline Loco sets off to siding.
9. Old Mainline Loco waits at siding for the next service to become the next New Mainline Loco.

Hope that makes sense.

The procedure you listed is more freight oriented for dropping off wagons in a siding and a pilot loco taking over to push or pull the wagons to a loading bay.

This would only work if you can have one particular service use the same platform I would think?
Last edited by Jay84 on 23 Oct 2018 22:36, edited 1 time in total.
User avatar
GarryG
Tycoon
Tycoon
Posts: 5836
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: [patch] Realistic Train Shunting

Post by GarryG »

The idea of a loco detaching and moving forward at a terminus and to wait til train departs would look really good.

That's why I been working on some overlap and fake platforms to place at end of terminus.

The fake platforms allows room for a set of points and or signals if like.

At the of the track near buffers would be a single platform to send engine too after it detaches.

I put a sample a few pages back in this forum.

If any one has suggestions on other platform ideas let me know.
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
Jay84
Engineer
Engineer
Posts: 8
Joined: 30 May 2016 16:25

Re: [patch] Realistic Train Shunting

Post by Jay84 »

Would my suggestion of the Head Shunt 1x1 section even be required or is the game smart enough to know that the Mainline Loco is decoupled.

In real life the locos don't always move forward, many times they stay in situ just decoupled from their former train
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: [patch] Realistic Train Shunting

Post by wallyweb »

Jay84 wrote:Would my suggestion of the Head Shunt 1x1 section even be required or is the game smart enough to know that the Mainline Loco is decoupled.

In real life the locos don't always move forward, many times they stay in situ just decoupled from their former train
This is what I will be testing.
By the way, the scenario I suggested is what happens at the terminal passenger stations in Montréal, except for the push/pull commuter trains.
Jay84
Engineer
Engineer
Posts: 8
Joined: 30 May 2016 16:25

Re: [patch] Realistic Train Shunting

Post by Jay84 »

wallyweb wrote:
Jay84 wrote:Would my suggestion of the Head Shunt 1x1 section even be required or is the game smart enough to know that the Mainline Loco is decoupled.

In real life the locos don't always move forward, many times they stay in situ just decoupled from their former train
This is what I will be testing.
By the way, the scenario I suggested is what happens at the terminal passenger stations in Montréal, except for the push/pull commuter trains.
Ah I see. For your info, the scenario I described was common place in UK when loco hauled trains were used at a Terminus. These days it's mostly push/pull and Multiple Units.
User avatar
VencaCZ
Engineer
Engineer
Posts: 23
Joined: 29 Aug 2013 14:31
Location: Ústí nad Labem, Czech Republic

Re: [patch] Realistic Train Shunting

Post by VencaCZ »

As much as I want, everytime my trains get crashed in each other in the stations. I decouple carriages but i am not able to couple them back to the loco. In the order panel is for any action only "decouple". I am missing something? Do I need to hold multiple keys at the same time?
Attachments
Schieburg Transport, 29-10-1999.png
(185.78 KiB) Not downloaded yet
Hi
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: [patch] Realistic Train Shunting

Post by wallyweb »

The engine should couple to the same end as where it decoupled.
Try placing waypoint B2 next to depot B1.

1. Place a waypoint between B2 and A2
2. Place PBS signals on the tiles next to the new waypoint.
3. Remove all the other signals.
User avatar
VencaCZ
Engineer
Engineer
Posts: 23
Joined: 29 Aug 2013 14:31
Location: Ústí nad Labem, Czech Republic

Re: [patch] Realistic Train Shunting

Post by VencaCZ »

Well I am clearly missing the point of adding this specific command to a train.
Attachments
order.PNG
order.PNG (10.72 KiB) Viewed 12024 times
Hi
User avatar
VencaCZ
Engineer
Engineer
Posts: 23
Joined: 29 Aug 2013 14:31
Location: Ústí nad Labem, Czech Republic

Re: [patch] Realistic Train Shunting

Post by VencaCZ »

Okay I got it. I feel so dumb. I've never used these popup orders, now i got it working perfectly fine. Thanks.

Attachments
couple.PNG
couple.PNG (5.09 KiB) Viewed 11932 times
Hi
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 3 guests