Docs/ORB Slots/Machines & Editor

Machines & Editor

The `/slotcreator` Editor

An in-game admin editor — no restarts, no config editing required. It lets you:

  • Place a machine with a live ghost prop, optional grid snap and blips
  • Move, duplicate, disable or delete existing machines
  • Set per-machine overrides (MinBet / MaxBet / RTP)
  • View statistics, profitability and an admin audit log
  • Manage the jackpot and bankroll state

Everything the editor does is persisted to the database and validated server-side.

Cabinet Catalog

Each machine uses a cabinet id that must exist in the catalog (client/dui.lua). There are 11 placeable types:

GroupIDsNotes
Grand (originals)ps1ps4ps1 Olympus · ps2 Leviathan · ps3 Lumen · ps4 Tome Crimson
Modern Vertical (curved 9:16)psv1psv3
Modern Horizontal (curved 2:1)psh1psh3
Real Casino (Fusion 4 Ultra Grand)psf1Realistic authentic cabinet
`psog` ("Original") is a client-only comparison model and is **not** placeable.

Static Machines in config.lua

You can also declare machines directly (Config.Machines, empty by default):

lua
Config.Machines = {
    { id = 'ps1', coords = vec3(1130.0, 268.0, -52.0), heading = 180.0 },
    { id = 'ps2', coords = vec3(1132.0, 268.0, -52.0), heading = 180.0 },
}

The id must be one of the catalog cabinet ids; one id = one machine (don't repeat the same coords).

DUI Rendering & Limits

Live screens are expensive, so:

lua
Config.DuiRenderDistance = 8.0   -- start rendering the live screen within 8m
Config.MaxLiveDui        = 3     -- at most 3 live browsers at once
Config.InteractDistance  = 2.0

Engine limit: the game replaces the screen texture per model, so two machines of the same cabinet type can't both have a live screen at once — the nearest one keeps the DUI, the others show the baked-in texture. Vary the cabinet types within a room to keep every screen live. You can place as many machines of each type as you like.