Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature suggestion: option to automatically space out vehicles in a shared order #8095
Version of OpenTTD
A single-click option to space out vehicles evenly, which is particular useful for road vehicles carrying passengers/mail around towns.
You need to:
And then, if anything changes about the route, number or type of vehicles, you have to repeat the whole process from the top.
This is probably a resurrection of #5354, and something I have wanted since before the timetable feature arrived. :)
I have an algorithm worked out and have been poking around the code, so I think this is a very achievable feature that will make many people happy.
That is quite a coincidence. :)
The implementation in my branch is based on this one: https://www.tt-forums.net/viewtopic.php?p=1140899#p1140899, it's not something I came up with myself, though I have fixed/extended various bits of it.
There are many patches which do this sort of thing already on the forum, it's probably worth having a browse to see what's been done before for background context.