14.04.2020, 12:05
I would seperate the recordings into segments, measure each segment's time and keep track of the current segment, that should make it pretty accurate. If the bus is at for example segment 4/7 you could calculate the time of arrival for segment 7 by adding the times for segments 4, 5, 6 and 7 etc.
Instead of segments you could also check the bus positions or use dynamic areas (areas can be made exclusive to certain players, in this case the bus NPC).
Technically it's possible to calculate the exact duration of a .rec file since the playback speed should always be the same, but I'm not sure how accurate that would be over a longer time period (lag could possibly influence the time but not sure).
Instead of segments you could also check the bus positions or use dynamic areas (areas can be made exclusive to certain players, in this case the bus NPC).
Technically it's possible to calculate the exact duration of a .rec file since the playback speed should always be the same, but I'm not sure how accurate that would be over a longer time period (lag could possibly influence the time but not sure).

