Working Together in Master Kit

•9 min read

View Masterkit in the WXMAPS store

Working Together

Several players can work on the same project at the same time. Each one sees the others' changes as they are made, where their cameras are, and what they are working on.

How it works

Every project that is open in an editor is a shared session on the server. Two players with the same project open are working on it together, whether one invited the other or both opened it from the project list.

  • Alone, nothing is different: your editor saves the project as usual.
  • With two or more, the server keeps the live copy of the project. Each editor sends its changes a moment after they are made, and the server passes them on to the others in one order, so everyone ends up with the same project.
  • When someone joins, they get the project as the others have it right now, including changes not saved yet.
  • When everyone else leaves, the project is written to disk and the last player carries on alone: "The others have left: you are working on your own again."

Inviting someone

  1. Open the project and click Invite at the right of the main bar.
  2. The Invite to work together window lists everyone online with their name and server ID. Players already in the project show already in this project, and those in another project show its name.
  3. Click Invite next to a player. The button changes to Invited and you see "Invitation sent to name."

The invited player gets the invitation in the game:

  • With the editor open, an Invitation window appears: "name invites you to work on project together." Accept opens the project. What they had open is saved first. Decline tells you "name declined the invitation."
  • With the editor closed, they get a notification: "name invites you to work on 'project' together: open Master Kit, or type /mkaccept." Opening Master Kit shows the Invitation window. /mkaccept opens the editor on the project straight away.

/mkaccept with no invitation waiting answers "No invitation to accept." The editor won't open while the player is in a vehicle, so the invitation waits until they get out.

When someone joins, everyone gets "name is working on the project with you." The newcomer sees "Working together with names." When someone leaves: "name has left the project."

While you work together

What is shared

  • Every element of the project: actors, vehicles, objects, effects, lights, 3D text, the Camera track and all their clips and keyframes.
  • The order of the Outliner.
  • The project's own settings: length, time and weather, the export takes and the edit list, and the rest.
  • The name, if someone renames the project. If someone deletes it, it closes for everyone with "The project was deleted."
  • Recorded vehicle drives. A new drive is streamed to every player as soon as it is saved, so the others can play it at once.

These stay your own:

  • your camera and what you have selected;
  • your playhead and playback, unless you follow someone's time;
  • the time you have worked on the project.

The Takes and the Edit on the Export page are part of the project, so everyone sees the list. The video files themselves are written by the export plugin on the PC of whoever exported them. See Recording & Export.

Seeing each other

  • In the scene, each other player's camera is drawn in their colour as a ball with a line showing where it looks, and their name. What they have selected gets a box around it. Something they drag moves on your screen while they drag it.
  • In the main bar, each other player shows as a coloured initial. Click one for Follow their time on the timeline (your playhead and play/pause follow theirs) and Go where their camera is.

Locks

What another player has selected, or is dragging, is theirs until they pick something else.

  • You can't select it. You get "name is working on it: wait until they pick something else."
  • In the Outliner its row shows a lock with their initial, in their colour. Hovering says "name is working on it".
  • The lock lets go when they pick something else, when they leave, or after a few seconds without news from their editor.

Undo and saving

  • Ctrl+Z takes back only your own changes, never someone else's.
  • Saving works as usual: the project saves itself a couple of seconds after every change. While you work together, the server writes its live copy.
  • Coming back alone to a project others changed since you last had it, you get the newer version: "Project updated with the version saved by the others."

Permissions

Config.RequireAce in config.lua decides who can use the editor:

Config.RequireAceWho can open the editor, and create, save and delete projects
true (default)Only players with the masterkit ACE, for example add_ace group.admin masterkit allow
falseAnyone on the server

With Config.RequireAce = true, an invited player without the ACE can still work on the project they were invited to. Accepting the invitation opens the editor on that project, though not the project list. While two or more are in it, their changes go into the live copy the server writes. Once the others have left, they can still save that project while they have it open, but they can't save vehicle recordings, export for Menyoo, or invite anyone else: only players with the ACE invite. A player without the ACE who wasn't invited, or who declined, can't open the editor at all.

An invitation lasts only while someone has the project open. Once everyone has left, or after a resource restart, invite the player again.

See Configuration for the rest of config.lua.

Master Kit VR

Master Kit VR is a separate camera plugin, masterkit_vr.asi, that turns a phone, or a SteamVR headset, controller or tracker, into the camera for a take. You frame the shot by moving the phone, press Enter to roll, and Enter again to cut. The clip goes to the Rockstar Editor and the take goes on the Camera track.

It is a free download for Master Kit owners. The phone needs no app: the QR code opens a page the plugin serves, in the phone's browser. Download, installation, connecting the phone and the certificate for its gyroscope are on the Plugin Downloads page.

What it needs

  • masterkit_vr.asi in FiveM's plugins folder, then restart the game. See Plugin Downloads.
  • sv_scriptHookAllowed 1 on the server. Without it, the editor says "Master Kit VR is not running: put masterkit_vr.asi in FiveM's plugins folder and restart the game (the server needs sv_scriptHookAllowed 1)."
  • vs-masterkit running. The plugin only works while the resource runs and switches off when it stops.

The VR button and its menu (the arrow next to it) only appear in the main bar while Master Kit VR is running. If it fails to start, check masterkit_vr.log in FiveM's plugins folder.

Connecting the phone

In the VR menu, the Phone section shows connected or not connected:

  • Cable shows a QR code in the middle of the screen for a phone plugged in by USB, with Personal Hotspot (iPhone) or USB tethering (Android) on. Until then it shows the Wi-Fi one.
  • Wi-Fi shows the QR code for the Wi-Fi.

The QR code closes with its button, Esc, or a click outside it, and by itself once the phone connects. A take started with no phone connected shows the QR code by itself.

VR take settings

SectionSettings
FramingGrid (rule of thirds), Straight horizon (no tilt), Free move (WASD and the mouse move the shot)
Camera weightPhone, no weight, Light camera, 3 kg, Shoulder camera, 8 kg, Cinema camera, 15 kg, Heavy camera, 25 kg, Tripod, fluid head, Gimbal, level. Shown only with plugin versions that have camera weights.
RecordingCountdown (None, 3 s, 5 s or 10 s, 3 s by default), Keep each take on the camera track, Record each take in the Rockstar Editor (both on by default)

The settings are remembered on your PC.

Shooting a take

  1. Put the playhead where the take should start, and frame roughly with the editor camera. The VR camera starts from the picture the editor is showing.
  2. Click VR, or Start a VR take from the playhead in the VR menu. The editor goes away and the scene waits at the playhead. The screen shows "VR take n - frame the shot".
  3. Frame the shot with the headset or phone, then press Enter (or ACTION on the phone). The countdown runs. Pressing it again during the countdown goes back to framing.
  4. The scene plays and the camera's path is recorded. With Record each take in the Rockstar Editor on, the game records a Rockstar Editor clip at the same time.
  5. Press Enter or ACTION again to cut. The end of the scene also cuts.
  6. The scene and the camera go back to the start of the take, ready for the next one. Backspace or Esc (or exit on the phone) goes back to the editor.

After each cut a message says what was kept, for example "Take 3: clip saved in the Rockstar Editor and the take on the camera track." Takes shorter than a fifth of a second are not kept on the Camera track.

If the game ends its Rockstar Editor recording by itself during a take, Master Kit starts it again and warns you: "the clip is in pieces". If it couldn't record at all, the message says "the Rockstar Editor did not record it (it stopped by itself, or it is switched off)."

Riding a vehicle

A VR take can ride a vehicle of the scene, so the shot stays in the car however it drives:

  • From the VR menu, with a vehicle selected: Riding name (from the editor view) or Riding name, front passenger seat.
  • From the vehicle's Occupants in the Inspector: the VR button next to a seat starts at the eyes of whoever sits there, and VR take riding it, from the editor view starts from where you put the editor camera, in or on the vehicle.
  • While framing, keys 1 2 3 4 move the camera to the driver, front passenger, rear left and rear right seats.

If the vehicle isn't in the scene at that moment, you get "That vehicle is not in the scene right now."

VR takes on the timeline

Each take is a camera clip called VR take n, recorded at 30 samples a second. It plays exactly as it was filmed, with no easing or smoothing. Move, stretch, split or delete it like any clip. When takes overlap, the one starting last plays. A VR take has no keyframes, so it can't be opened in the Rockstar Editor screen. See Cameras.