3 2.5 Synchronizing recordings
mt1006 edited this page 2026-03-09 20:41:08 +01:00

Synchronizing recordings

Synchronizing during recording

If you have already a recording and want to record another recording that will be in synchronization with it, you can use /mocap misc sync enable command. It will enable synchronization, which means any of your playbacks will be paused until you start recording. To disable synchronization use /mocap misc sync disable.

Example usage scenario (commands/actions in order):

  • /mocap misc sync enable - enables synchronization
  • /mocap playback start rec1 - starts playback rec1, but player will be standing still
  • /mocap recording start - mod is waiting for your action
  • taking any action - recording starts and playback of rec1 is unpaused
  • /mocap recording stop - stops recording, if playback of rec1 hasn't been yet finished, it will be paused
  • /mocap misc sync disable - disables synchronization, if rec1 was paused, it will be unpaused

Synchronizing after recording

To synchronize recordings after recording, you can use wait_on_start modifier. You can specify it as an optional argument when adding element to a scene.

/mocap scenes add_to [scene name] [recording name] [player name] [wait on start]

"Wait on start" is non-negative number on seconds that can be fraction. Playback of added scene element will start with start of a scene, but will be paused for specified amount of seconds.

For more options regarding waiting on start or end, check out chapter about time modifiers. (TODO: link)