Troubleshooting

Common problems and how to resolve them.

Only the groups in MS.Admin in sv_config.lua may use the Scene Director (admin and god by default). Add the group your server uses, for example ["mygroup"] = true. On ESX the group owner is not in the list, so add it for your owners. On QBCore the groups come from the permissions in more_lib. Restart the resource after the change. A refusal can also be logged to Discord (MS.Discord.events, denied).

Only one person can direct at a time. The message names the player who has the editor open. Wait until that player closes it.

Check that oxmysql and more_lib start before more_scenedirector and that OneSync is on. Then import backend/[SQL]/sql.sql into your database: it creates the six tables more_scenedirector_scenes, entries, takes, tracks, folders and peds. The message Database unavailable, nothing was saved means that a table is missing or that oxmysql cannot reach the database. After an update, run the update files in backend/[SQL] (update_ followed by the version) for the versions newer than yours (1.1.0, 2.0.0, 2.2.0, 2.3.0, 2.11.0, 2.14.0 and 2.21.0), then restart the resource.

On QBCore the Scene Director needs more_hud for its notifications. Install more_hud and start it before more_scenedirector in your server.cfg.

All shortcuts are normal FiveM key mappings. Open Settings, Key Bindings, FiveM, find the entries that start with Scene Director and rebind them. N, TAB and M are the most likely to clash with other scripts. You can also change the default keys in MS.Keys in cl_config.lua; a player who already used the old default may have to rebind it by hand, because FiveM remembers a player's key. Typing in a field of the editor never triggers a shortcut.

The editor tells other scripts that it is open with the client event more_lib::client:pauseMenu (true when it opens, false when it closes), and the HUDs of More Scripts listen to it. Let your other HUD listen to the same event, or press the hide key (U by default) to hide the editor surface and film.

The World tab sets the weather and the time of the scene, and a weather or time script can overwrite them. MS.PauseWorldSync in cl_config.lua pauses qb-weathersync and cd_easytime while the editor is open. If you use another script, add its pause event to that function (see the API page).

Vehicle takes need sv_entityLockdown not to be set to strict in your server.cfg, because the Scene Director has to create the vehicles. Your vehicle key script must also let the engine run: if it keeps the engine off, the vehicle cannot drive during the take. One take can move up to 4 vehicles (MS.Replay.vehicles).

A take shorter than 2 seconds is not saved (MS.Replay.min). A take stops at 9000 frames, which is 5 minutes at 30 frames per second (MS.Replay.frames); do not set it above 65535, because the database stores the frame count in a column that cannot hold more. A scene holds up to 16 takes (MS.Replay.takes), and a take can move up to 4 vehicles and 16 world objects and be cut into 50 pieces. The recording starts after a countdown of 5 seconds (MS.Replay.countdown); the stop key (BACK) aborts it. MS.Replay.chunk sets how many frames are sent to the server per part: keep the default unless saving long takes needs a change.

A message such as Prop limit reached: 300 / 300 means the scene is full. The limits of a scene are in MS.Caps (actor 50, vehicle 30, prop 300, effect 30, light 40, text 20, synced scene 20, cutscene 10). Other limits are 100 camera keyframes (MS.Camera.keyframes), 50 markers (MS.Markers.max), 100 events per actor (MS.Events.max) and 16 takes (MS.Replay.takes). Raise them in cl_config.lua if your players need more. The message Too far means that the entry would be more than 150 metres from the camera (MS.Placement.range): move the camera closer.

A take saves the doors and other world objects that you move while you record, up to 16 (MS.Replay.objects). If a door doesn't move when the take plays, it was not moved during that recording, or the limit was reached. Record the take again and move the door while you record.

Story cutscenes are the game's own cutscenes in the Library, and each one plays at its own place on the map. If one stalls, stop Play with the stop key and play again; if it stays stuck, restart the game. A cutscene whose place is farther than MS.CutsceneFar (300 metres) from the camera counts as far away, and a scene holds up to 10 cutscenes (MS.Caps.cutscn). To remove the cutscene tab, make MS.Cutscenes in cutscenes.lua empty.

Only Vox and Gilroy are shipped with the resource. The other fonts load from Google Fonts while MS.Text.google_fonts is true, so the players need a connection to fonts.googleapis.com. Without it, set MS.Text.google_fonts to false and use the two local fonts. At most 6 texts are drawn at the same time (MS.Text.shown).

The clothing editor needs illenium-appearance to be started. Without it the editor reports that none is available, and the resource reads and sets the look of a ped itself. If you use another clothing script, adapt MS.GetAppearance, MS.SetAppearance and MS.OpenAppearanceEditor in cl_config.lua. A stored look can be at most 16 KB as JSON; a larger one is refused.

The render plays In to Out with nothing on the screen and records it as a video. The video has no sound. Choose in the render dialog how it is recorded: MORE Recorder, OBS, or none (you record the screen yourself). If it says MORE Recorder was not found, start MORE Recorder.exe on the same PC as the game; it is the second download next to the Scene Director. For OBS, turn on Tools, WebSocket Server Settings, and enter the same port and the password in the dialog; the messages OBS does not answer, OBS refused the password and OBS is already recording tell you what to fix. If it says that a slow motion needs a higher level, choose Cinematic or Ultra: they slow the game while it records. For the 9:16 vertical format, update MORE Recorder if it asks for it.

Type the file name that the export notification showed, without .json, and keep the file in the exports folder of more_scenedirector. The editor says why it refuses: the file is not there, it is larger than MS.Export.max_mb (20 MB), it is not a Scene Director scene, it comes from a newer Scene Director, it holds more entries or takes than a scene may hold, or a part of it (the name, place, In, Out, markers, an entry, the camera track or a take) is invalid. If an export fails, check that the exports folder exists: FiveM does not create it.

A scene is played on the director's client only, so other players do not see its props, actors and effects: film the scene and share the video. To film without other players and traffic, switch on Private world in the render dialog: the director moves to the routing bucket MS.PrivateBucket (7700) with the population switched off, and back again afterwards.

Last updated