[patch] Scheduling + Patch
Posted: 22 Apr 2021 02:27
Hey all! Playing OpenTTD with a friend for a week or so now and got really wound up by the really fiddly timetabling and it leading to bunched up vehicles unless manual ordering of the vehicles based on their timetable start date, so decided to make a few changes to combat it. Note this combines keoz' Timetabling waiting time in depots - viewtopic.php?t=70969 with blessings from keoz. Will post the github for my patch in a separate thread once I update it with other changes.
What this patch does?
This video sums up the features: https://www.youtube.com/watch?v=Wu9RgESyvSE
It gives a much simpler method of timetabling without trying to orchestrate all the vehicles to the right position in the queue, it does this via special behaviour when starting them at a depot. To quote Todd Howard: 'It just works'.
It also adds some useful buttons to change the travel times on all timetabled orders. Want to pad out all travel times a couple of days? Just input the number once. Got 60 mph vehicles now instead of 30 mph vehicles? set all the travel times to 50% with one change.
Road vehicle changes:
* More permissive overtaking for normal wheeled road vehicles, particularly allowing for vehicles overtaking through stations and passing multiple vehicles. Some people may not like this I don't know but it just felt like road vehicles got stuck behind eachother way more often than they would IRL and their extra agility didn't seem sufficient to tempt you away from high capacity trams.
Time tabling and scheduling:
* Added keoz' Timetabling waiting time in depots - viewtopic.php?t=70969
* When a timetable is shared between a group of vehicles, if a depot is first on the orders with a wait time assigned, they will go there and wait for their timetable to start. They will also be ordered on the schedule purely by vehicle number, so #1 will be first to set off and so on.
* Added button to change percentage of all travel times. Set 200 to double all travel times in timetable, 50 to half.
* Added button to add specific number of days or ticks to all travel times.
The depot depositing the vehicles onto the time tabled route, in order, makes time tables a ton easier to handle for all vehicle types. In addition, the easier overtaking at bus stations and lorry stations means that pretty much scheduling just works a ton better, especially for wheeled road vehicles, and never leads to jams due to misordered vehicles. It no longer feels like a chore to make timetables.
Note that for best results, you should set the ctrl start date on vehicle #1 or the lowest number vehicle, or otherwise it'll give earlier dates than the one you set to lower number vehicles and that may start them before the current date and cause the very problems this is intended to fix.
Tested, but there may be unforeseen issues, do let me know!
What this patch does?
This video sums up the features: https://www.youtube.com/watch?v=Wu9RgESyvSE
It gives a much simpler method of timetabling without trying to orchestrate all the vehicles to the right position in the queue, it does this via special behaviour when starting them at a depot. To quote Todd Howard: 'It just works'.
It also adds some useful buttons to change the travel times on all timetabled orders. Want to pad out all travel times a couple of days? Just input the number once. Got 60 mph vehicles now instead of 30 mph vehicles? set all the travel times to 50% with one change.
Road vehicle changes:
* More permissive overtaking for normal wheeled road vehicles, particularly allowing for vehicles overtaking through stations and passing multiple vehicles. Some people may not like this I don't know but it just felt like road vehicles got stuck behind eachother way more often than they would IRL and their extra agility didn't seem sufficient to tempt you away from high capacity trams.
Time tabling and scheduling:
* Added keoz' Timetabling waiting time in depots - viewtopic.php?t=70969
* When a timetable is shared between a group of vehicles, if a depot is first on the orders with a wait time assigned, they will go there and wait for their timetable to start. They will also be ordered on the schedule purely by vehicle number, so #1 will be first to set off and so on.
* Added button to change percentage of all travel times. Set 200 to double all travel times in timetable, 50 to half.
* Added button to add specific number of days or ticks to all travel times.
The depot depositing the vehicles onto the time tabled route, in order, makes time tables a ton easier to handle for all vehicle types. In addition, the easier overtaking at bus stations and lorry stations means that pretty much scheduling just works a ton better, especially for wheeled road vehicles, and never leads to jams due to misordered vehicles. It no longer feels like a chore to make timetables.
Note that for best results, you should set the ctrl start date on vehicle #1 or the lowest number vehicle, or otherwise it'll give earlier dates than the one you set to lower number vehicles and that may start them before the current date and cause the very problems this is intended to fix.
Tested, but there may be unforeseen issues, do let me know!