Gregory365 / TPF2-Timetables

The Timetable mod for Transport Fever 2
GNU General Public License v3.0
13 stars 5 forks source link

Vehicles set to unbunch depart simultaneously from multiple platforms #71

Closed darkrai-666 closed 1 month ago

darkrai-666 commented 1 month ago

ive been trying to get my freight trains to not be back to back to eachother, but because they dont unbunch on the line, they arrive to the stabling yard in bunches, and currently, they all leave at the next timeslot. so the idea would be, to have a per station setting, that forces only 1 train to use a timeslot, with any remaining waiting on the next available slot(s)

Gregory365 commented 1 month ago

If I am understanding you correctly, this feature is already implemented and tested. Only one vehicle can leave per timeslot.

darkrai-666 commented 1 month ago

i just tested it on a seperate map, with just the sandbox and timetable 1.3 mods enabled, and instead of a single loco departing every minute, all locos currently in the station depart at the same time, ive recorded the test, maybe i am doing something wrong, but it would seem to me that it something isnt working quite right https://youtu.be/PGP5pxV6E68

Gregory365 commented 1 month ago

I am testing the same thing on a map they departed sequentially. Can you share the sav.lua for that map?

darkrai-666 commented 1 month ago

sure, this should be the file https://pastebin.com/qPHcWdJp

Gregory365 commented 1 month ago

Ok, thanks for the report. Arrival/Departure gives vehicles the next available timeslot correctly. Unbunch gives vehicles the next timeslot regardless of whether it is available, which is incorrect behaviour.

darkrai-666 commented 1 month ago

using the version linked seems to have fixed this issue, thank you