New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature suggestion: option to automatically space out vehicles in a shared order #8095
Comments
If you already have an algorithm planned, I'd say finish something that's workable first, and then submit a PR. That's the best way of obtaining feedback and of testing whether or not this is feasible. |
JGRPP has this feature, along with automatic timetabling. If you're happy with the way they work there, and there is sufficient interest in adding this feature, it may be possible to isolate the patches and port them to mainline. |
I am amused as "JGR" are my initials too, but I've already written all the code for this feature. I am in the testing and tidying-up phase. |
Two JGRs working on the same project? What are the odds, @JGRennison? |
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. |
I've created PR #8342 and cleaned up all reviewer feedback and the compile warning, is there anything else I can do here to help progression? |
Any progress on this? Looks like #8342 hasn't been updated in 6 months 😢 |
Sorry for the lack of progress. I have resumed work in the PR now: #8342 (comment) |
Since you now have a PR to follow your progress, I'm closing this issue to clean up the bug tracker a bit. 😃 |
Version of OpenTTD
1.10.0
Expected result
A single-click option to space out vehicles evenly, which is particular useful for road vehicles carrying passengers/mail around towns.
Actual result
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.
Notes
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.
The text was updated successfully, but these errors were encountered: