Closed Vectorial1024 closed 2 years ago
This is already "secretly" known by myself :grin:. I did notice it when I touch this part of code. It is just that I did not know how to get the destination info from an external public transport service. I'd definitely like to fix this soon (or someone could help!)
Regarding regular public transport, from my basic understanding of the game mechanisms, there are no destinations for them since they are just running "circularly" forever. And as far as I know, there are no such things as the name of the next stop, right? I mean for buses, trams, etc. Buildings such as train station do have names, but it'll take time to look into as well (help wanted too!!)
I am not sure whether stop names exist in unmodded game, but at least for me, with TLM, stop names exist. Not sure if the same can be said for IPT2...
As for destinations, again with TLM, some forms of transportation can be configured to have their termini marked with a "star", so we can read those to see the name of the destination.
This will require 3rd party mod support, so perhaps need not deal with this soon?
I would keep this issue restricted to fixing the destination for external connection service. Regarding showing the stop names or end stop names, which requires integration with other mods, I myself would not focus on that for now. But I'll open another issue page #20 for that and let's see if anyone is willing to work on it. Definitely appreciate it if someone does.
bc8ef19107ab40dc1537763fbd77ac60f9e8aac2 offers new information for FollowModeUI
, which should solved this.
For example, focusing on the top right corner of the UI:
There is this
[Destination] (circular)
string. This same string is also seen when I enter 1st-person mode for eg external connection public transport vehicles But when I enter 1st-person mode for eg a delivery van, it shows an actual name at the(circular)
position.Perhaps it may be better to rephrase it as
To: [place]
.Also, depending on the actual intentions, for public transport vehicles, maybe it is OK to print either the destination name or the name of the next stop in the line.