Author Topic: Vehicle Status (reversing, waiting for schedule) in vehicle window?  (Read 1076 times)

0 Members and 1 Guest are viewing this topic.

Offline AP

Hi All

Messing about with Schedules and Slot Shift / Timetable settings, it has become apparent that often one must balance the actions of multiple vehicles, trains, or convoys. Often these may be many tiles apart.

At present, it seems the only way to find out what is causing a vehicle to be stationary, is to hover over it, and get the yellow pop up ("reversing 3:48 remaining").

Whereas for each vehicle the vehicle's own window contains speed information.

Could the Yellow popup information also be made visible in that same window?  I think it would be helpful to players. It would cut down on lots of panning and zooming,  and holding of multiple 5 digit numbers in one's head.

Thanks,
« Last Edit: May 01, 2017, 01:29:00 PM by AP »

Online Ves

I have had this thought too that it would be nice to see the status of a vehicle without hovering with the mouse above it, even without the vehicle being on screen.
If James does not think otherwise, I would like to take a look at it at some point.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15553
  • Total likes: 383
  • Helpful: 172
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
This does seem sensible and should be relatively straightforward. What I think would work the best is for vehicles to show their speed in the convoy information window when they are in the "driving" state, and otherwise to show, in place of where the speed is currently shown, their status, such as "reversing", "loading", "waiting for clearance", etc.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline AP

What I think would work the best is for vehicles to show their speed in the convoy information window when they are in the "driving" state, and otherwise to show, in place of where the speed is currently shown, their status, such as "reversing", "loading", "waiting for clearance", etc.
This seems sensible, but please with the remaining time, if at all possible, not just the 'word'. It's essential info for setting up timetables.


Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15553
  • Total likes: 383
  • Helpful: 172
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
This seems sensible, but please with the remaining time, if at all possible, not just the 'word'. It's essential info for setting up timetables.



I am not sure that  I understand what you mean by "not just the 'word'"; can you elaborate?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Online Ves

I think he means that when the message is, say "Loading", it should also show the numbers that follow: Loading (0->100%). And so on for the other states. I also thinks all this information should be visible.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15553
  • Total likes: 383
  • Helpful: 172
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
I see - that seems sensible.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline AP

That is exactly it, the numbers are key. Particularly for timings,  the player needs to see how long each vehicle has left to wait etc, so as to judge how long another vehicles schedule must be offset to compensate.

Online Ves

So, I think this is done now!
Whenever the vehicle is not driving, the speed is switched out with loading, waiting for clearance, no route, waiting for time, runway too short etc. Also, the color of the text is changed depending on the status.
Please tell me if you guys think the colors should be any different, and I will change!




And this can all be found here: https://github.com/VictorErik/Simutrans-Experimental-Ves/tree/vehicle-window


Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15553
  • Total likes: 383
  • Helpful: 172
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Splendid, that is excellent thank you, now merged (with some slight amendment to the colours). This is extremely helpful.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Online Ves

Re: Vehicle Status (reversing, waiting for schedule) in vehicle window?
« Reply #10 on: May 07, 2017, 06:04:43 PM »
Thanks!
I found an error however, the runway too short message was shown at some odd times. That is now corrected to only show under more restricted circumstances. The changes are uploaded to github!

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15553
  • Total likes: 383
  • Helpful: 172
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Vehicle Status (reversing, waiting for schedule) in vehicle window?
« Reply #11 on: May 07, 2017, 08:17:57 PM »
Excellent, thank you.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Jando

Re: Vehicle Status (reversing, waiting for schedule) in vehicle window?
« Reply #12 on: May 07, 2017, 09:21:58 PM »
Great new feature, thanks!

Offline AP

Re: Vehicle Status (reversing, waiting for schedule) in vehicle window?
« Reply #13 on: May 08, 2017, 06:23:08 AM »
That's really great :-)

Offline Vladki

Re: Vehicle Status (reversing, waiting for schedule) in vehicle window?
« Reply #14 on: May 09, 2017, 08:15:23 PM »
Very nice

Offline Vladki

Re: Vehicle Status (reversing, waiting for schedule) in vehicle window?
« Reply #15 on: June 18, 2017, 11:26:51 AM »
Hi Ves & James

Would it be possible to add time countdown for "emergency stop" to vehicle info window & tooltip?

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15553
  • Total likes: 383
  • Helpful: 172
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Vehicle Status (reversing, waiting for schedule) in vehicle window?
« Reply #16 on: June 18, 2017, 12:02:51 PM »
This seems sensible in principle; I suspect that Ves would be the best person to implement this.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Online Ves

Vehicle Status (reversing, waiting for schedule) in vehicle window?
« Reply #17 on: June 18, 2017, 08:19:33 PM »
It worked!  ;D

commit: https://github.com/VictorErik/Simutrans-Experimental-Ves/commits/vehicle-window



Edit:
Also, the speed bar is invincible when the vehicle is not driving, allowing for longer translations
« Last Edit: June 18, 2017, 09:14:27 PM by Ves »

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 15553
  • Total likes: 383
  • Helpful: 172
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Vehicle Status (reversing, waiting for schedule) in vehicle window?
« Reply #18 on: June 18, 2017, 11:58:39 PM »
Excellent - I have now incorporated this into the master branch. Thank you for that.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.