ocapmod / ocap-legacy

OCAP is a game-changing tool that allows the recording and playback of operations on an interactive (web-based) map.
Other
38 stars 42 forks source link

Include in-game time in playback #16

Open JamieGoodson opened 8 years ago

JamieGoodson commented 8 years ago

Upon starting capture, grab current in-game time. On capture export, include this time in the mission meta-data.

Knowing the mission start time, and capture delay (e.g. 1 frame capture per second), we can calculate the game time in playback.

Potential issues: If game-time is suddenly changed (e.g. by Zeus or mission script), this will not be reflected in playback.