Installation

How to install and set up Scene Director

Follow these steps to get the Scene Director running correctly on your server.

  1. 1

    Download the resource

    Extract the resource folder into your server's resources folder, e.g. resources/[more-scripts]/more_scenedirector, and keep its exports folder: FiveM does not create it, and scenes are exported to and imported from it. Install more_lib and oxmysql, and enable OneSync.

  2. 2

    Import the database

    Run the SQL file backend/[SQL]/sql.sql in your database manager (HeidiSQL, phpMyAdmin, etc.). It creates the tables more_scenedirector_scenes, more_scenedirector_entries, more_scenedirector_takes, more_scenedirector_tracks, more_scenedirector_folders, and more_scenedirector_peds. A new install needs only this file.

  3. 3

    Give your admins access

    /director opens the editor for the groups in MS.Admin in backend/config/sv_config.lua, by default admin and god. ESX's owner group is not in that list, so add it if you use it. On QBCore, only the groups in more_lib's MS.Permissions are recognised, and more_hud has to be installed, otherwise the Scene Director shows no notifications.

  4. 4

    Configure the resource

    Adjust backend/config/ and backend/locale/ to your server. Animations, synced scenes, and walk styles are in backend/config/animations.lua. The catalogs of props, peds, vehicles, and story cutscenes are props.lua, peds.lua, vehicles.lua, and cutscenes.lua, which only the server reads. Set MS.PrivateBucket in sv_config.lua to a routing bucket no other resource uses (7700 by default).

  5. 5

    Start the server

    Add the lines below to your server.cfg, in that order (on QBCore also ensure more_hud, after more_lib), and restart your server. Join, use the /director command as an admin, and the guided tour starts on the first open of the editor (MS.Tutorial).

server.cfg
1set onesync on2ensure oxmysql3ensure more_lib4# QBCore only, remove the # in front of the next line:5# ensure more_hud6ensure more_scenedirector

Updating and things to know

To update, replace the resource folder, keep your edited config and locale files, and run in order every update file in backend/[SQL] (named update_ followed by the version) that is newer than your version (1.1.0, 2.0.0, 2.2.0, 2.3.0, 2.11.0, 2.14.0, and 2.21.0 exist so far). Back up your database first, and run each update only once. A scene plays on the director's client only, so no other player sees it. A vehicle you record is a networked vehicle: sv_entityLockdown strict refuses it and ends the take, and a vehicle keys script may switch its engine off, so give the director's group access or let the script ignore vehicles without an owner.

Last updated