开云体育

Locked Locomotive assignment #operationspro


 

I'm probably in the minority, but I allow JMRI to assign locomotives to trains.? It gets all the locos moving around the layout.? Plus it helps with getting proper train lengths.
?
What I would like is a way to assign switchers to local trains, and mainline locos to through trains.? I know this can be done using the 'type', but the issue is a build will fail if there are no more of the 'type' of loco available.
?
I'd really like there to be an If-Then-Else feature so that IF the train is a local THEN use swithers ELSE use mainline locos, if there are no more switchers available (and vice versa).??
?
If this is already a feature, please let me know the proper way to set this up.
?
I know this is a 'first world' problem as I could manually assign locos, but I figure it doesn't hurt to ask.
?
Thanks
Kerry


 

On Wed, Sep 25, 2024 at 07:25 PM, Kerry DelVecchio wrote:
What I would like is a way to assign switchers to local trains, and mainline locos to through trains.? I know this can be done using the 'type', but the issue is a build will fail if there are no more of the 'type' of loco available.
Correct.? No "If-Then-Else" for the type field, sorry.?
?
One way to fake it is to adjust the loco's move count to bias assignment to a train. You will still need two types of locomotives, switcher and mainline.
?
You could set all of the mainline type locomotive move counts to say "1000" or larger.? For your local trains, enable both "types" of locos.? For your mainline trains, only enable "mainline type" locos.
?
Now the program for your locals will first use all of the "switchers", with low move counts, and then assign your main line locos after all switchers are used up.
?
Dan