I just realized how annoying it is to create a template that is almost a copy of some running real train (if you want to make only a very slight modification).
So a good next feature would be to clone a template from an actual train and then modify it further.
I was just going to suggest that!
Certain things come to mind only when using the new pieces in a bigger context I guess
That's why there are already a couple of improvements/extensions to the core principal are on my todo list.
In that instance, what would the electrified train components do at station b ? stay there or form a new train that goes back to station one ?
Because if you want to change trains up so heavily it might be solvable more easily by just running two different trains.
I'd use this as: Electric loco + 7 carriages -> Depot -> Diesel loco + 7 carriages -> Depot -> Electric loco + 7 carriages...repeat
Leave the electric loco in the depot, then exchange again in the other direction. Would be nice if possible, would make no sense with multiple units instead of individual locos.
I was already thinking about that idea and it isn't very high on my list right now. But it should certainly be possible to use the generic replacement mechanism to reorganize trains along their set of orders.
It would not be convenient to issue such orders from the current template replacement gui. I think the main gui should still be used to create templates and the order window could call the list of defined templates as a child-window when so chosen. Like it is done with the refit-orders.
But before I want to go into any such direction I want to make sure that the main things are easy to use and get confident that everything is working as intended. There is also a lot of cleaning up code to do before I want to add anything new to the mess