Erabior / RouteManager

Mod for Railroader the game that adds basic automation for passenger routes
12 stars 5 forks source link

[enhancement] have the train wait x time before departing #50

Open LukasJK opened 7 months ago

LukasJK commented 7 months ago

Would be great to have the option to somehow tell the train to wait say x hours at the end stations before starting the return journey. Or even wait times at each station.

AdamC1228 commented 7 months ago

From a strictly implementation point I see two possible solutions for implementation:

Solution A V2 implements a .ini file for storing configuration settings and user customizable options. The end station delay could be a configurable option in this file and would to some degree make sense as it is not a value you would be changing frequently.

As for each station, that starts to get more complicated and starts making less sense to implement in a config ini file.

Solution B Once a custom UI can be drawn and created detaching the mod from the car inspector panel, the mod has room to accommodate the UI elements necessary for defining these attributes in game.

The problem is at this time the mod does not have a dedicated GUI yet in the game.

GamearooCodes commented 7 months ago

i would like it to stay for ate least 1 min each station which will give plenty of time for passangrs to load especilly sinced im on 1:1 time

AdamC1228 commented 7 months ago

i would like it to stay for ate least 1 min each station which will give plenty of time for passangrs to load especilly sinced im on 1:1 time

Do you specifically want it to wait 1 minute at the station or is this a suggestion to compensate for the passenger loading unloading issues identified in version 1.x?

I have rewritten the passenger logic in the 2.0 branch and am not seeing any issues. The train waits until after the last applicable passenger has departed / boarded the train before the train is cleared for departure.

GamearooCodes commented 7 months ago

i would like it to stay for ate least 1 min each station which will give plenty of time for passangrs to load especilly sinced im on 1:1 time

Do you specifically want it to wait 1 minute at the station or is this a suggestion to compensate for the passenger loading unloading issues identified in version 1.x?

I have rewritten the passenger logic in the 2.0 branch and am not seeing any issues. The train waits until after the last applicable passenger has departed / boarded the train before the train is cleared for departure.

i would like it to stay ether 30 or 60 seconds extra after the last passangers for any other late passangers that arrive to the station to get as much passangers as possible

AdamC1228 commented 7 months ago

Under consideration for INI implementation.