The Master Kit Editor

•18 min read

View Masterkit in the WXMAPS store

The Editor

Every Master Kit scene is built in-game, in one editor. You fly a free camera around the map, place actors, vehicles and objects, then give them clips on a timeline: a walk, a drive, an animation, a drift, a light that turns on. The scene is saved as a project on the server, so you can close the game and pick it up later, or open it with someone else.

Opening and closing

Type /masterkit in chat (or masterkit in the F8 console) to open the editor. The same command closes it. You can also bind a key to Master Kit: open / close the editor in GTA's settings, under Key Bindings, then FiveM. It has no key by default.

  • On foot only. Opening the editor from inside a vehicle is refused with "get out of the vehicle before opening the editor."
  • Your character waits. While the editor is open, your character is hidden, frozen and invincible. When you close it, your character goes back to where you opened it.
  • Exit Master Kit, the button at the right end of the main bar, also closes it. Esc does not: in the editor it cancels and deselects.
  • Your project stays open. Closing saves it. Opening the editor again brings you back to the same project.

A second key, Master Kit: stop recording / preview (mkstop, Backspace by default), stops a recording, a Preview or Live mode.

Who can use it

This is set by Config.RequireAce in config.lua:

Config.RequireAceWho can use the editor
true (default)Only players with the masterkit ACE can open the editor, and create, save, rename, duplicate and delete projects, and save recorded drives.
falseAnyone on the server can do all of that, to every project.
add_ace group.admin masterkit allow

With true, a player without the ACE who tries to open the editor sees "You are not allowed to use Master Kit." A player with the ACE can still invite them to work on a project together. See Configuration.

With false, any player who opens the editor can delete any project on the server. Use it only on a server where everyone who joins is trusted, such as a dedicated filming server.

The interface

The editor fills the screen over the game. Its parts are:

PartWhat it is
Main barThe project button (name and Saved / Not saved), Preview, Live, VR (only while Master Kit VR is running), R* REC, the people working with you and Invite, Timeline (show or hide it) and Exit Master Kit.
Pages barThe icons that open each page in the Toolbox: Project, then Actors, Vehicles, Objects, Particles, Lights, 3D text, Animations, Synched scenes, Cutscene, then Camera, Environment, Export, and Settings at the end.
ToolboxThe open page: the catalogs you place things from, and the project list. Its header has the page's main button (New project, Add actor, Add vehicle...) and a menu with the page's extra actions.
OutlinerEverything in the scene, grouped by type, with a search box.
InspectorThe settings of what is selected, split into tabs. With nothing selected it shows the scene's length, its time and weather, and a count of each kind of element.
TimelineOne track per element that has clips, with the playback controls.
Key barThe keys for what you are doing right now, a field of view menu for the editor camera, a framing guide (16:9, 1.85:1, 2.39:1, 4:3, 1:1, 9:16) and Frame the selection (F).

The Toolbox menu also has Show tips, which adds a short explanation under every control, and Open in its own panel. The Inspector has its own tips button in its header.

Arranging the panels

Hold Shift to rearrange the screen:

  • drag a panel's header to move it, or one of its edges to resize it;
  • drag the main bar, the pages bar or the timeline bar to another edge;
  • double-click a panel's header to put it back in its place.

Dropped on a slot, a panel docks. Let go of Shift first and it stays free where you drop it. Each panel's header has Snap layouts (with Reset layout) and Minimize.

Ctrl+click (or middle-click) a page icon to open that page in a panel of its own, so you can keep, say, Animations and Objects open together. Put back in the Toolbox returns it.

The Settings page has the rest:

  • Language: Italiano or English. Changing it closes the editor; open it again and it is in the new language.
  • Interface theme: Graphite, Midnight, Black, Slate, Coffee or High contrast, an accent Color, Panel opacity (60 to 100%) and Shadow under panels. Reset to default undoes them.
  • Layout: where the Pages bar (left, right, top, bottom), the Main bar and the Timeline (top or bottom) sit, and whether the main bar and timeline are Joined into one block or Separate.

Layout, theme and language are kept on your own PC. The F8 command mk_ui first shows the interface as it looks the first time (yours is kept aside), and mk_ui restore brings yours back.

Projects

The Project page lists every project on the server, newest first. Each row shows the name, its folder, the time worked on it, how many actors and vehicles it has, its length, when it was last saved and who created it.

  • Open one. Click it. The project you had open is saved first.
  • Search with Search a project..., and switch the order between Newest and Name.
  • New project. The button at the top of the page. Give it a name (up to 48 characters) and, if you have folders, a Folder. A new project is 30 seconds long, at 12:00 with Extra sunny weather.
  • Rename, Duplicate and Delete are the three buttons on each row. A duplicate is an independent copy: changes to one don't touch the other.
  • Save and Close are at the bottom of the page. Close saves and closes the project without leaving the editor.

The project saves itself about 2.5 seconds after every change, after every recording and when you close the editor. Ctrl+S or Save saves at once.

Deleting a project asks first, then removes it from the server. Its recorded drives (the .yvr files) stay in the resource's stream folder. See Recorded drives.

Folders

Folder (top of the list) creates a folder, for example one per client. Folders can hold other folders: New folder inside on a folder's row.

  • Drag a project or a folder onto a folder to move it there, or onto Drop here: out of the folders to take it out.
  • Rename a folder with its pencil button or by double-clicking its name.
  • Delete folder never deletes projects: the projects and folders inside move up one level.

Folders are shared. Everyone sees the same folders, and a change shows up for the others at once.

Where projects are kept

Each project is a JSON file in the resource's data/projects folder, listed in data/projects/index.json. The server holds up to 500 projects, and a project file can be up to 8 MB. Past that you see "Too many projects: delete some." or "project too large".

A project file copied into data/projects by hand (one a friend sent you, say) is added to the list the next time someone opens the editor.

Picking up loose files needs the server to list the folder. On server builds where it can't, add the project to data/projects/index.json as well.

Work time

The clock next to the project's name in the Outliner counts the time spent working on it. It only runs while the editor is open and you are doing something, and pauses after 2 minutes of inactivity. The total shows in the project list.

Moving a project to another interior

GTA has many identical interiors in different places: the same shop, garage or apartment repeated across the map. A project built in one can be moved into another copy:

  1. Open the project.
  2. Fly the camera (or walk your character) inside the other interior.
  3. On the Settings page, under Move the project, press Move into the interior you are in.

Actors, objects, scenes, paths, keyframes and cameras move, turned to match the other interior. You are told how many entities moved and by how many degrees. Ctrl+Z undoes it.

The move is refused if the project is not inside an interior, if the camera is still in the same interior, or if the two interiors are different ones. Recorded drives stay where they were, because a .yvr file holds world coordinates: record them again in the new place.

Placing things

Click an item in a catalog (a ped, a vehicle, an object, an effect, a light) and the editor switches to placing it:

KeyWhat it does
Left clickPlace it where the mouse points
Mouse wheelRotate it. Shift + wheel rotates in fine steps
Right mouse (hold)Move the camera
EscCancel

The Toolbox's Add actor or Add vehicle button places another of the last one you picked.

Selecting and moving

Select an element by clicking it in the scene, in the Outliner or on the timeline. Its settings open in the Inspector, and a gizmo appears on it:

  • G switches the gizmo to move, R to rotate.
  • Drag the ground circle to move it anywhere: it follows roads and roofs. Drag the arrows (red X, green Y, blue Z) or the small square to move it along an axis or a plane, and the ring to rotate it.
  • In rotate mode, the blue ring turns the heading, red the pitch, green the roll.
  • Hold Shift while dragging to move in 0.25 m steps and rotate in 15° steps.

Lights and 3D text have arrows, the square and the ring, but no ground circle.

The Transform tab of the Inspector has the position and rotation as numbers, plus:

  • Reposition: pick it up and drop it somewhere else with the mouse (wheel rotates, Esc cancels).
  • Bring here: brings it in front of you, where the camera is looking, on the ground. A vehicle brings the actors who have an Enter vehicle task on it, placed by its doors.
  • Drop to ground.
  • Straighten: takes the tilt off an actor or a vehicle.

F (or Frame) flies the camera to the selected element.

Several at once

Drag a box on empty ground to select everything inside it. Shift or Ctrl adds to what is already selected, and Shift+click adds or takes away one element.

With several selected, the gizmo moves them all, and rotate (R) turns them around their middle. The Inspector shows what is selected and offers Duplicate (Ctrl+D), Delete and Collisions for all of them. Esc deselects.

Hiding and locking

Each element and group in the Outliner, and each track on the timeline, has two buttons:

  • Hide in the editor: it disappears from the editor view but still shows in Preview, Live and recordings.
  • Lock: the mouse can't pick or move it in the scene. Useful for a floor or a backdrop you keep clicking by mistake.

Copying and deleting

Ctrl+D duplicates the selected actor, vehicle, object, particle, light or 3D text, or the selected clip. Del deletes the selection. The Duplicate and Delete buttons are also at the bottom of the Inspector.

Undo

Ctrl+Z undoes and Ctrl+Y (or Ctrl+Shift+Z) redoes, up to 60 steps. The same buttons are on the timeline bar. Loading another project clears the history.

While you are clicking the points of a path, a drift or a zone, Ctrl+Z and Backspace take away the last point instead.

The timeline

The timeline is where you decide when things happen. Each element that has at least one clip gets a track, grouped as Camera, Actors, Vehicles, Objects, Trains, Particles, Lights, 3D texts, Synched scenes and Cutscene. Elements without clips stay in the scene but off the timeline; a note says how many.

A track splits into lanes when it has more than one kind of clip:

LaneClips
MovementOn-foot recordings, paths and keyframes
AnimationsAnimations
SpeechLines an actor says
DriveRecorded drives and drifts
Moving partsDoors, bonnet, boot
HydraulicsHydraulics
TaskTasks
ThrowThrows
EffectWhen a particle, a light or a 3D text is on
SceneSynched scenes
CameraCamera clips

The timeline bar

ControlWhat it does
Start (Home), End (End)Jump to the start or the end
Back 1 s / Forward 1 sStep one second. The arrow keys step 0.1 s, Shift+arrow one second
Play / pause (Space)Play the scene in the editor
Playback speed0.25x, 0.5x, 1x, 1.5x or 2x
Undo / RedoSee Undo
Split, Duplicate, DeleteSplit the selected clip at the playhead, copy it right after itself, delete it
Camera viewLook through the Camera track's shots. See Cameras
GhostsShow elements outside their time as see-through
SpheresShow the dots that mark particles in the scene
RecordRecord the selected actor on foot or vehicle at the wheel. See Actors and Vehicles
Zoom, FitZoom the timeline (also Ctrl+wheel). Fit shows the whole sequence, the selected clip, or 5, 15 or 60 seconds
Timeline settingsSequence length..., Camera view, Ghosts, Spheres, Default timeline height

Drag the timeline's top edge to make it taller. Double-click the edge for the normal height.

Clips

  • Move a clip by dragging it.
  • Lengthen or shorten it by dragging its right edge.
  • Trim its start by dragging its left edge. This works on animations, synched scenes, on-foot recordings, paths and recorded drives. The Inspector shows "Start trimmed" and a Restore button.
  • Select several: Ctrl+click clips to add or remove them, Ctrl+click a track's name to take all its clips, Shift+click to take everything between the last clip and this one. Drag one to move them together, drag one's right edge to resize them all.

A selected clip opens in the Inspector with its Start (s) and Length (s) and the settings of its kind.

Keyframes

Vehicles, objects, particles, lights and 3D text can move by keyframes. Keyframe here on the Animation tab stores the current pose at the playhead. Move the playhead, move the element with the gizmo, and press it again. (Actors move with paths and recordings instead. See Actors.)

Keyframes show as diamonds on the clip. Drag a diamond to change its time. In the clip's Inspector:

  • Movement: Constant speed (it goes from key to key at one speed, in km/h) or Keyframe times (each key is reached at its time).
  • Smooth curve and Face along the path.
  • Speed curve: drag the yellow handles to ease in and out. Easy Ease eases every key; Linear takes the easing off.
  • Keyframes: the list, with Move (takes the playhead to the key so the gizmo edits it) and Delete keyframe.

Path on the same tab is the quick way: click points in the scene and the element travels along a smooth curve at a constant speed.

Sequence length and presence

The sequence ends at the handle at the end of the ruler. Drag it to change the length (Shift for tenths of a second), or type it with Sequence length... in Timeline settings. Clips past the end are kept but don't play.

An element's In the scene setting, on its Behavior tab, decides when it exists:

  • Only during its clips (the default);
  • From the start until its clips end;
  • From its clips until the end;
  • Always.

An element without clips is there for the whole sequence. Outside its time an element shows see-through in the editor (a ghost) and is not there at all in Preview, Live and recordings.

Playing it back

  • Space plays the scene inside the editor, panels and all.
  • Preview plays it full screen, from the playhead. Shift+click (or the arrow next to it) starts from the beginning. It films through the Camera track; with no camera clips, use the mouse to look around. Backspace or Esc goes back to the editor.
  • Live plays the whole scene on a loop without the editor. Your character stands where the camera is, and you can walk around and get into the parked cars. Backspace or the editor key goes back.

To ride along inside a vehicle while it plays, use the Me button on its seat. See Vehicles.

R* REC and video export are covered in Recording & Export.

The Rockstar Editor screen

The Camera icon on the pages bar opens the Rockstar Editor screen: the scene seen through the camera, with the marker bar and marker menu of GTA's own editor. Camera keyframes appear there as markers. Esc comes back to the editor. See Cameras.

Time and weather

The Environment page sets the project's clock and weather.

  • Time: drag the day slider (5-minute steps) or use the 15 minutes earlier / 15 minutes later buttons.
  • Timelapse: time runs from the chosen hour Until another. Over the whole timeline spreads the change over the sequence, follows scrubbing and works in the Preview and in the Rockstar Editor. Continuous runs on its own while the editor is open, at a Speed from 1 s = 0.5 min to 1 s = 120 min, with Restart.
  • Weather: Extra sunny, Clear, Neutral, Smog, Foggy, Overcast, Clouds, Clearing, Rain, Thunder, Snow, Blizzard, Light snow, Christmas or Halloween.

Time and weather are saved in the project and only apply to you while the editor is open. Other players keep the server's own time and weather.

The same page turns off GTA's traffic, pedestrians and trains, and draws road zones. See Traffic and Pedestrian-free zones.

Favorites

Every catalog (peds, vehicles, objects, effects, animations, synched scenes, cutscenes) has a star on each item and a ★ Favorites chip that lists the starred ones. Search inside favorites, or star an item from a search result.

Favorites belong to you, not to the project. They are stored on the server per player, so they follow you to another PC, up to 20,000 of them.

Importing Menyoo favorite animations

If you used Menyoo, your favorite animations can come with you:

  1. Copy Menyoo's FavouriteAnims.xml into the resource's import/menyoo/FavouriteAnims folder.
  2. Open the editor. When the file is new or has changed, its animations are added to your favorites, and you see "Imported n new favorites from Menyoo."

To import again by hand, use Import from Menyoo in the menu of the Animations page. Only animations are imported (not scenarios). Each player's import is tracked separately, so everyone who opens the editor gets the file's animations once.

Menyoo outfits are imported in a similar way. See Actors.

Keyboard shortcuts

KeyWhat it does
Right mouse (hold)Fly the camera. W A S D move, Q / E down and up
G / RGizmo: move / rotate
FFrame the selection
SpacePlay / pause
Home / EndStart / end of the sequence
← / →Step 0.1 s. With Shift, one second
DelDelete the selection, the selected clips or the point under the mouse
Ctrl+DDuplicate the selection or the selected clip
Ctrl+Z / Ctrl+YUndo / redo
Ctrl+SSave
Ctrl+wheelZoom the timeline
EnterFinish a path, a zone or a crowd brush
EscCancel, then deselect
Shift (hold)Move and resize panels
F6 / F7 / F9 / F10Camera: capture pose, play, next pose, stop. See Cameras
BackspaceStop a recording, a Preview or Live mode