Erabior / RouteManager

Mod for Railroader the game that adds basic automation for passenger routes
12 stars 5 forks source link

[enhancement] Allow connecting train support #102

Open Helmi opened 6 months ago

Helmi commented 6 months ago

We recently split our passenger line into two part. One is serving Silva to Whittier, the other one Whittier to Alarka. This works very well when served manually.

We activate the full set of stations on each car when starting at Sylva for example. As soon as we reach whittier, we disable everything so people to Ela, Bryson, Hemingway or Alarka hop of the train and use the connecting train that arrives a bit later.

It would be awesome if this could be supported by route manager. It would probabl need to define an endpoint of the cycle route where it stops, disables all remaining stops on the cars and then turns around.

Thanks in advance!

AMacro commented 6 months ago

These changes are currently in the dev branch with more testing required - I've attached compiled copies if you're not comfortable compiling yourself and want to play with it.

Notes:

In this example (screenshot below), travelling from Sylva to Ela passengers will be picked up for Dillsbroro, Wilmot, Whittier and Ela and Bryson, but the loco will not stop at Dillsboro, Whittier or Bryson. Passengers destined for Dillsboro and Whittier will be dropped off at Wilmot (the elected transfer station) and passengers for Bryson will be dropped off at Ela (the nomenated transfer station).

Heading From Ela to Sylva, passengers will be picked up for Whittier, Wilmot, Dillsboro, Sylva, but the loco will not stop at Whittier or Dillsboro. Passengers for these stations will be dropped at Wilmot.

Once the train has passed a transfer station it will no longer pickup passengers for the stops behind it until it turns around. I.e. if the train is going from Sylva to Ela, once it has passed Wilmot it won't collect any more passengers for Dillsboro or Whittier until it turns around at the end of the line/last nominated stop.

image

RouteManager.BepInEx 2.0.0.9.zip RouteManager.UMM 2.0.0.9.zip