F.A.Q

2 min readUpdated 2 weeks ago

Setup

Set Config.Locale in shared/config.lua:

shared/config.lua
1Config.Locale = 'en'

Set Config.RequirePermissions = true and configure Config.AcePermission:

shared/config.lua
1Config.RequirePermissions = true
2Config.AcePermission = 'ml_mastervideo.access'

Grant the ACE in server.cfg: add_ace group.admin ml_mastervideo.access allow

Scenes

Three types: peds (humans and animals), vehicles (any GTA vehicle model), and props (world objects). Each entity can have custom appearance, behavior, and recorded movement paths.

Select an entity in the editor, start recording, and drive or walk the path. Vehicles are sampled Config.Recording.SampleHz times per second (30) with position, rotation, speed and vehicle state, and peds every frame. On playback the entity follows the recorded path.

Each keyframe has its own easing: linear (constant speed), in (starts slow), out (ends slow), inout (slow at both ends), smooth and hold (a cut that holds the previous frame). The path between keyframes is a spline curve or linear segments, set by Config.Camera.DefaultPathMode for new keyframes.

Config.Recording.SampleHz sets the vehicle sample rate, 30 per second by default. Peds record every frame with Config.Performance.PedRecordingInterval = 0. Higher rates play smoother and store more data.

Rendering

Install ffmpeg on the server, start screencapture or screenshot-basic, and render from the editor on a game client running on the same machine as the server. The script captures each frame, uploads it to the server and encodes the video into renders/. Quality and size come from Config.Render.

Pause your sync in OpenClient.OnSceneAmbiance in open/client.lua while a scene is active. See the Developer page.

Updates

  1. Download latest from CFX Portal
  2. Backup shared/config.lua and server/config_server.lua
  3. Replace all files except config
  4. Restart the resource

Scenes are stored in the database and survive updates.