Reference
Board parts
- Content type
boardParts- Files
data/board-parts.json,data/board-parts/- Shape
- A list of records, each with its own
id - Patch target
boardPart:<id>, for exampleboardPart:core.boardpart.number-ring.tab-square- In the base game
- 162 records
- Guide
- Board looks, Board 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 | Namespaced id, e.g. "core.player.rory-calder" Pattern: ^[a-z0-9][a-z0-9-]*(\.[a-z0-9][a-z0-9-]*)+$ | |
name | text, up to 60 characters | |||
kind | one of the options | Yes | Options: numberRing, numerals, outerRing, spider, hardware, surround, light, edge, bull, accessory. | |
model | file path | Yes | Asset path of the .glb, relative to the mod | |
node | text | |||
lods | list, 1 to 4 items | |||
lite | file path | A file in your pack: see Images, sound and models. | ||
liteBytes | whole number, at least 0 | |||
units | one of the options | "m" | Options: mm, m. | |
scale | number, 0 to 1000 | 1 | ||
thumb | file path | A file in your pack: see Images, sound and models. | ||
tris | list, up to 4 items | |||
box | list | |||
bytes | whole number, at least 0 | |||
seat | number, 0 to 0.08 | |||
numeralArea | list, up to 400 items | |||
numeralArea[] | list | Yes | ||
footprint | list, up to 400 items | |||
footprint[] | list | Yes | May be null. | |
faceInner | number, 0 to 1 | |||
font | text, up to 40 characters | |||
gauge | number, 0 to 10 | |||
turn | one of the options | Options: radial, upright. | ||
profile | text, up to 40 characters | |||
staples | true or false | |||
radialTail | number, 0 to 60 | |||
repeat | true or false | |||
mount | one of the options | Options: rim, back, wall, centre. | ||
pivot | text | |||
outer | number, 0 to 2 | |||
doors | true or false | |||
materials | map (key: value) | |||
tags | list, up to 12 items | |||
realism | one of the options | Options: real, electronic, novelty. | ||
numbers | one of the options | Options: cut. | ||
ring | one of the options | Options: none. | ||
colourEach | true or false | |||
bullNodes | list, up to 4 items | |||
width | number, 0 to 10 | |||
emitters | list, up to 16 items | |||
emitters[].node | text | |||
emitters[].type | one of the options | "spot" | Options: spot. | |
emitters[].pos | list | Yes | ||
emitters[].dir | list | Yes | ||
emitters[].angle | number, 1 to 180 | 60 | ||
emitters[].range | number, 0 to 20 | 1 | ||
emitters[].lumen | number, 0 to 20,000 | 100 | ||
lumen | number, 0 to 50,000 | |||
glowStrength | number, 0 to 20 | How strongly the part's lit (glow) slots shine, times the game's glow (tuning board.parts.glowIntensity); 1 or left out: as made. A look can raise it with its own glowStrength. | ||
feet | list, up to 12 items | |||
notches | list, up to 12 items | |||
pieces | whole number, 1 to 24 | |||
floor | number, 0 to 3 | |||
panels | list, up to 8 items | |||
panels[].node | text | Yes | ||
panels[].use | one of the options | "print" | Options: scoreboard, chart, print. | |
panels[].size | list | |||
panels[].scores | true or false | A scoreboard panel written up with the match's scores. Left out: only the part's last scoreboard is; the others are ruled and blank. | ||
slides | list, up to 4 items | |||
slides[].node | text | Yes | ||
slides[].axis | list | Yes | ||
slides[].travel | number, 0 to 1 | Yes | ||
depth | number, 0 to 0.2 | |||
printArea | list | |||
cameras | whole number, 0 to 12 |
Example#
A record from the base game’s data/board-parts.json, shortened.
{
"id": "core.boardpart.number-ring.tab-square",
"kind": "numberRing",
"name": "Castellated, square tabs",
"model": "assets/board-kit/number-rings/tab-square.glb",
"node": "tab-square",
"lods": [
"tab-square",
"tab-square.lod1",
"tab-square.lod2"
],
"lite": "assets/board-kit/number-rings/tab-square.lod2.glb",
"tris": [
5880,
3740,
1420
],
"box": [
-0.2255,
-0.2255,
0.0,
/* … 3 more */
],
"tags": [
"moulded",
"castellated"
],
"seat": 0.003,
"numeralArea": [
[
0.19325,
0.22475
],
[
0.19325,
0.22475
],
[
0.19325,
0.22475
],
/* … 30 more */
],
"thumb": "assets/board-kit/number-rings/tab-square.jpg",
"bytes": 432628,
"liteBytes": 65452,
"realism": "novelty",
"units": "m"
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.