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 examplearenaPart: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.
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
id | text | Yes | Pattern: ^[a-z0-9][a-z0-9-]*(\.[a-z0-9][a-z0-9-]*)+$ | |
name | text, up to 80 characters | |||
family | one of the options | Yes | The 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. | |
tags | list, up to 16 items | Words the palette's search finds it by. | ||
model | file path | Yes | The part's .glb (its finest level of detail). | |
lods | list, up to 4 items | Simpler versions for lower qualities, each with its triangles. | ||
lods[].model | file path | Yes | A file in your pack: see Images, sound and models. | |
lods[].tris | whole number, 0 to 600,000 | |||
tris | whole number, 0 to 600,000 | The model's triangles (the pack check counts the file's). | ||
thumbnail | file path | The palette's picture of it. | ||
units | one of the options | Options: m, mm. | ||
size | list of 3 | Yes | Its box: width, height and depth in mm about its origin. | |
box | list of 6 | |||
slots | list, up to 8 items | Materials the builder may recolour: the glb material's name, the game look it starts from, its default colour. | ||
slots[].id | text, up to 40 characters | Yes | Pattern: ^[a-z0-9][a-z0-9-]*$ | |
slots[].material | text, up to 60 characters | Yes | ||
slots[].like | text, up to 40 characters | |||
slots[].colour | text | Pattern: ^(#[0-9a-fA-F]{6}|accent)$ | ||
slots[].texture | text, up to 60 characters | |||
seats | list, up to 3000 items | Crowd places on it: x, y, z (mm), the facing (radians) and 0 standing, 1 seated, 2 leaning. | ||
sockets | list, up to 32 items | Snap points: where, their kind and the way they face out. | ||
sockets[].id | text, up to 40 characters | Yes | Pattern: ^[a-z0-9][a-z0-9-]*$ | |
sockets[].type | one of the options | Yes | Options: seat-end, wall-joint, stair-landing, walkway-end, tunnel-mouth, deck-edge, truss-end, floor, hang, tier-back, board, oche, trophy. | |
sockets[].at | list of 3 | Yes | ||
sockets[].dir | number, -360 to 360 | |||
emitters | list, up to 32 items | Lights and effects it carries. | ||
emitters[].id | text, up to 40 characters | Yes | Pattern: ^[a-z0-9][a-z0-9-]*$ | |
emitters[].fx | one of the options | Yes | Options: movingHead, spot, wash, ledBar, strobe, smoke, haze, co2, pyro, flame, confetti, sparkle, uplight, ledStrip, blinder, follow, laser, bubbles, streamer, snow. | |
emitters[].at | list of 3 | Yes | ||
emitters[].aim | list of 3 | |||
emitters[].colour | text | Pattern: ^(#[0-9a-fA-F]{6}|accent)$ | ||
emitters[].intensity | number, 0 to 20 | |||
emitters[].angle | number, 1 to 120 | |||
role | one of the options | What it stands for in the walk-on's route: deck, walkway, steps or tunnel. Options: deck, walkway, steps, tunnel, camera, none. | ||
walk | list, up to 16 items | Its walkable line (mm, the part's frame), for the route. | ||
camera | object | A camera mount on it. | ||
camera.at | list of 3 | Yes | ||
camera.lookAt | list of 3 | Yes | ||
camera.fov | number, 5 to 120 | |||
fallback | map (key: value) | A procedural part built in its place where the model cannot load. | ||
fallback.<key> | one of several shapes | Yes | ||
| 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.