JGRennison / OpenTTD-patches

OpenTTD - http://www.openttd.org/ - with additional patches
Other
553 stars 127 forks source link

[Suggestion] Separating Train and its Route/Timetable #624

Open wnsgk0710 opened 6 months ago

wnsgk0710 commented 6 months ago

I am not a native English speaker, and this article was written with the help of a translator. There may have been some awkward or rude expressions. If that's the case, I sincerely apologize.

I'm a big fan of timetabling. But I found some problems. In real world, The vehicle and its route are not mutually dependent. But in Openttd, They are. It makes a problem: The vehicle is dependent on the route. I have to make groups of routes(ex. Local, Rapid, Special Rapid) and place the vehicle in the group and the vehicles belonging to the group will operate only on a set grade.

So, I would like to propose to separate the vehicle from its route. For example, let's say there is a railway line from station A to station B. First, the route from station A to station B is created independently of the vehicle and is arbitrarily referred to as "Route 1". The opposite direction is also created and it is referred to as "Route 2". Then, it makes it possible to designate the previously set route to the vehicle. At this time, multiple routes can be designated in one vehicle. If this is set up, I think one vehicle will be able to drive several preset routes, which will be realistic and will help playing games through scheduling.

If express trains operate on this line running from Station A to Station B, routes with names such as "Local" and "Rapid" in each direction can be set in advance. Through this, more realistic operations will be possible, such as the train running as Local toward Station B can run as Rapid toward Station A.

It is proposed that the method of allocating routes to vehicles be set similarly to scheduled routes. It is possible to designate a "route designation station", and trains arriving there are designated routes on a first-come, first-served basis. Alternatively, when a timetable is set, trains are allocated preferentially to routes with the most imminent departure time.

I know it's hard to apply to the game and there's a lot to think about. But considering the numerous improvements you've shown in JGR's Patch Pack, I have no doubt you can make this feature. If this feature is applied, I think it can also be used as a solution to applying the "On-the-road train separation and combination" feature with the timetable.

I look forward to getting a positive response. Thank you.

JGRennison commented 6 months ago

This sort of thing is brought up periodically, and I have thought about attempting it a few times. The main problems is that is a quite large amount of work to implement, there are also some non-trivial UI questions to address. At some point I may have a go at it, but at the moment I already have a large backup of things to look into.

wnsgk0710 commented 6 months ago

Thank you for your response. I hope to meet this feature in the distant future. Thank you always.