Out now on Steam. The full career is available for Windows today. Get it now

Reference

Arena parts

Content type
arenaParts
Files
data/arena-parts.json, data/arena-parts/
Shape
A list of records, each with its own id
Patch target
arenaPart:<id>, for example arenaPart:core.arenapart.bar-counter-marble
In the base game
582 records
Guide
The arena builder: kit arenas, Arena kit parts

Fields#

Indented fields belong to the field above them. [] marks the items of a list. A field that is not required may be left out; the default is used.

FieldTypeRequiredDefaultNotes
idtextYesPattern: ^[a-z0-9][a-z0-9-]*(\.[a-z0-9][a-z0-9-]*)+$
nametext, up to 80 characters
familyone of the optionsYesThe palette family it is listed under. Options: seating, stand, wall, floor, deck, roof, truss, tunnel, walkway, steps, screen, barrier, dressing, lighting, effect, camera, crowd, prop, stage, set, officials.
tagslist, up to 16 itemsWords the palette's search finds it by.
modelfile pathYesThe part's .glb (its finest level of detail).
lodslist, up to 4 itemsSimpler versions for lower qualities, each with its triangles.
lods[].modelfile pathYesA file in your pack: see Images, sound and models.
lods[].triswhole number, 0 to 600,000
triswhole number, 0 to 600,000The model's triangles (the pack check counts the file's).
thumbnailfile pathThe palette's picture of it.
unitsone of the optionsOptions: m, mm.
sizelist of 3YesIts box: width, height and depth in mm about its origin.
boxlist of 6
slotslist, up to 8 itemsMaterials the builder may recolour: the glb material's name, the game look it starts from, its default colour.
slots[].idtext, up to 40 charactersYesPattern: ^[a-z0-9][a-z0-9-]*$
slots[].materialtext, up to 60 charactersYes
slots[].liketext, up to 40 characters
slots[].colourtextPattern: ^(#[0-9a-fA-F]{6}|accent)$
slots[].texturetext, up to 60 characters
seatslist, up to 3000 itemsCrowd places on it: x, y, z (mm), the facing (radians) and 0 standing, 1 seated, 2 leaning.
socketslist, up to 32 itemsSnap points: where, their kind and the way they face out.
sockets[].idtext, up to 40 charactersYesPattern: ^[a-z0-9][a-z0-9-]*$
sockets[].typeone of the optionsYesOptions: seat-end, wall-joint, stair-landing, walkway-end, tunnel-mouth, deck-edge, truss-end, floor, hang, tier-back, board, oche, trophy.
sockets[].atlist of 3Yes
sockets[].dirnumber, -360 to 360
emitterslist, up to 32 itemsLights and effects it carries.
emitters[].idtext, up to 40 charactersYesPattern: ^[a-z0-9][a-z0-9-]*$
emitters[].fxone of the optionsYesOptions: movingHead, spot, wash, ledBar, strobe, smoke, haze, co2, pyro, flame, confetti, sparkle, uplight, ledStrip, blinder, follow, laser, bubbles, streamer, snow.
emitters[].atlist of 3Yes
emitters[].aimlist of 3
emitters[].colourtextPattern: ^(#[0-9a-fA-F]{6}|accent)$
emitters[].intensitynumber, 0 to 20
emitters[].anglenumber, 1 to 120
roleone of the optionsWhat it stands for in the walk-on's route: deck, walkway, steps or tunnel. Options: deck, walkway, steps, tunnel, camera, none.
walklist, up to 16 itemsIts walkable line (mm, the part's frame), for the route.
cameraobjectA camera mount on it.
camera.atlist of 3Yes
camera.lookAtlist of 3Yes
camera.fovnumber, 5 to 120
fallbackmap (key: value)A procedural part built in its place where the model cannot load.
fallback.<key>one of several shapesYes
Shape 1: number
Shape 2: true or false
Shape 3: text, up to 60 characters
Shape 4: list, up to 4 items

Example#

A record from the base game’s data/arena-parts/dressing.json, shortened.

{
  "id": "core.arenapart.bar-counter-marble",
  "name": "Lounge bar, marble, LED",
  "family": "dressing",
  "tags": [
    "bar",
    "vip"
  ],
  "model": "assets/arena-kit/dressing/bar-counter-marble.glb",
  "lods": [
    {
      "model": "assets/arena-kit/dressing/bar-counter-marble-lod1.glb",
      "tris": 1844
    },
    {
      "model": "assets/arena-kit/dressing/bar-counter-marble-lod2.glb",
      "tris": 92
    }
  ],
  "tris": 2632,
  "thumbnail": "assets/arena-kit/dressing/bar-counter-marble.png",
  "units": "m",
  "size": [
    3100,
    2600,
    2175
  ],
  "box": [
    -1550,
    0,
    -1950,
    /* … 3 more */
  ],
  "slots": [
    {
      "id": "main",
      "material": "kit_tex_marble",
      "colour": "#ffffff"
    },
    {
      "id": "trim",
      "material": "kit_bar_front",
      "colour": "#141416"
    },
    {
      "id": "accent",
      "material": "kit_brass",
      "colour": "#c9a347"
    },
    /* … 3 more */
  ],
  "sockets": [
    {
      "id": "left",
      "type": "wall-joint",
      "at": [
        -1500,
        0,
        /* … 1 more */
      ],
      "dir": 270.0
    },
    {
      "id": "right",
      "type": "wall-joint",
      "at": [
        1500,
        0,
        /* … 1 more */
      ],
      "dir": 90.0
    }
  ]
}

In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.

Written for Darts Player Simulator 1.0.5. Built from the game's own schemas and its base pack.