Reversing Locos?

NJCurmudgeon

New member
I'm adding a custom dock region to my layout and have been having a problem getting the AI rains to act as I want for it to work.

Specifically, there is a pier extending out into the water. Down the middle are two tracks with warehouses on either side. The tracks on the ocean side terminate. On the opposite end, they connect to perpendicular tracks (what I call the main tracks below) via curves.

All I'm doing is a simple boxcar exchange. One of the two tracks is empty and the other has a consist of boxcars. The train comes in on the empty track, decouples from its consist, moves to the other track, couples with that string and moves back out to a similar set-up at the other end in another part of the layout.

Of course, it's a little more complicated in practice. What I want to happen is the incoming train passes the dock until the back end clears the switch on the curve leading to the empty track. It should stop, reverse and back in until the boxcars are in place. Then the loco decouples, moves out beyond the switch again so it can back up onto he second track to couple with the other consist.

I have a track marker set on the main track where I want the loco to stop so the back end clears the switches on the curve into the dock. That works. The train comes to a stop and the switch is thrown correctly. So I know it's cleared the switch enough.

There is a second track mark on the empty rail on the dock where I want the loco to back up to. This would place the consist in line with the buildings and the last car would be far enough from the end of the tracks.

I have a driver command to navigate to that track mark on the dock after it stops on the main track. Instead of backing up immediately after stopping at the first track mark, it continues forward until it reaches the end of the main tracks (I'm still working on it, so the rails end a bit beyond where I'm building the docks). Only when it comes to the end does it stop and reverse.

So my first question would be if there is a command to reverse? I thought if I just told it to go to the second track mark, it would take the path of least resistance - backing up. I've been able to get locos to back up that way in the rail yard area to couple with their consists.

My second related question has to do with when it finally backs up to the track mark on the dock itself. It stopped well short of the mark and the loco decoupled when it was still half out on the main track. When a train is going in reverse, does it switch so that its the last car that stops at the track mark? In other words, that last boxcar became the "engine" as far as the game was concerned so it stopped that on the mark rather than the loco itself?

I don't know how clear this description is and I don't appear to be able to post pictures without a URL. If anyone wants to see what I'm doing in order to better understand what I'm asking, let me know and I can send images later via email.

Many thanks for any assistance and Happy New Year!:D
 
I've had the loco going the wrong way, try a drive via t/m.
With the consist stopping short of t/m, reduce the t/m radius. You might have to use invisible track to extend the track a bit as well.
 
Change Direction Command,<kuid:71155:60010>

Built in to TS2009. Generally I use a Wait for 5 seconds command between each command to make sure it comes to a full stop, when I first started playing with couple at trackmark and uncouplez from I had them uncoupling while still moving then colliding with the rolling cars. :hehe: So the sequence would be;

Drive to Dock End 1
Wait for 5 seconds
Uncouplez from 0 (or 1 depending on how many engines or if it's a steamer with a tender)
Wait for 5 seconds
Change direction
Wait for 5 seconds
Drive to reverse 1
Wait for 5 seconds
Change direction
Couple at trackmark Dock 2
Wait for 5 seconds
Change direction
Wait for 5 seconds
Drive to (next trackmark or destination)

Some of the waits might not be needed, and it might be necessary to use two trackmarks on each dock track, Dock 1 outer and Dock 1 end for example.
 
Thanks fran1. I tried the drive via command but it didn't solve the problem. Good thought, though.

Hi sniper 297. Yeah, I learned (the hard way) about inserting the wait commands with decoupling. I did try it with a wait command after it stopped at the first trackmark, but no joy.

The Change Direction command didn't work either...which surprised me, since it sounded like what I was looking for. I had a navigate to command to bring it to the trackmark on the main line just clear of the switch. Next was the wait for 5 seconds. It pulled up to the mark and stopped. The switch behind it tripped as expected. But it blew through the change direction command to the navigate to dock trackmark and continued forward to the end of the main tracks!

On the positive side, I did find that by moving the trackmark on the clear track to the opposite end, the train backs in correctly. I did have to add some invisible track as fran1 suggested, but that end works now. It's just that unnecessary trip all the way to the end of the main track and back again that needs fixing!

The end of the track is a distance away, but I imagine if I extended it several boards away the train would end up all the way out there before backing up! Also, there are spline points between the trackmark and the end, so it's not just one continuous track. I'm not sure if that matters - the train is looking for the next point or something.

Sigh.
 
Try using Drive to instead of Navigate to, see if that discourages the little culprit from taking the scenic route.
 
If the end of track has bumper you might try adding an invisible signal between the TM and bumper facing toward the switch.

John
 
Might sound illogical, a very short spur of invisible track (off the main) with the t/m on so in theory it has then to back into the dock.
Have the switch set to go into the spur in surveyor.
Or even remove t/m on main and see what happens.
 
Last edited:
@ Sniper...Nope...that didn't work either. I tried moving that first trackmark down a little more, but that didn't help either. I'm really at a loss to explain this...
 
Last edited:
Back
Top