Page 1 of 1

Trains at abutting stations can't couple

Posted: Sat Oct 19, 2019 3:14 am
by deemer
Hello,

I'm trying to use Automatic Coupler Mod, and I'm oh so close to the behavior I need. I'm willing to tweak the mod to make it work like I want, if I could get a pointer what to change.
regular.png
regular.png (714.38 KiB) Viewed 950 times
I have trains arranged at abutting stations as shown, and I'd like to couple them (automatically, with the mod). Unfortunately, they stop at the stations just slightly too far to couple.

I tried messing with the connection_distance and joint_distance in the base prototypes, but whatever they do (it isn't documented) it doesn't appear to accomplish my goal.

Assuming I can mess with the mod, what should I do? Is there a way to make the connect_rolling_stock() method search farther down the rail for wagons to connect? Or should I move my train forward a tile if it fails, then try again?

Thanks for any help,
deemer

Re: Trains at abutting stations can't couple

Posted: Sat Oct 19, 2019 4:00 pm
by Honktown
Have you looked into storing the contents of the wagon, removing the wagon, and creating a new wagon attached to the other train filled with cargo?