Replies: 3 comments 10 replies
-
This looks good, just would like to mention features like Schedule Dispatch, not in the vanilla game but in JGRPP, and as so, could the implementation be flexible enough so that extra features like this could be added by patches (patch packs) and future updates. On the top of my head, the new unbunching that was discussed on the discord today and other JGRPP features like slots and counters to name a few. |
Beta Was this translation helpful? Give feedback.
-
Why invent new format when timetables can just be read out of the save file? |
Beta Was this translation helpful? Give feedback.
-
Really cool idea; if you need help implementing, you know where to find us :D Before you know OpenTTD becomes a spreadsheet game :D |
Beta Was this translation helpful? Give feedback.
-
Order/timetable data export: request for comments
Exporting order lists/timetables to some kind of file is a feature that has been discussed several times. This would allow players to analyse and design timetables in more detail and ease using external tools such as a spreadsheet or more advanced programs.
Now that a JSON library is included in OpenTTD (since #11235 and #11290), JSON is the obvious format for such an export. I intend to work on a PR to enable exporting of order lists and timetables to JSON. There will be a button to export the timetable of a particular vehicle, and perhaps a console command or so to export the timetables of all vehicles in the game as well.
The JSON file can be converted to any other useful format or otherwise used by player-developed tools; that is outside the scope here. But this requires a standard format for the JSON, and before that, agreement on what should be included. Here is a preliminary proposal for that.
Data to be included
General points/questions
Comments are welcome on anything here, and in particular on the following points:
Sample JSON
Here is a very rough sample of how the JSON could look for a single vehicle. The orders may not really make sense, this is just to show the structure. The comments are for my own understanding, they are not part of the actual proposal.
JSON sample
Beta Was this translation helpful? Give feedback.
All reactions