Reference
Broadcast looks
- Content type
broadcasts- Files
data/broadcast.json,data/broadcast/- Shape
- A list of records, each with its own
id - Patch target
broadcast:<id>, for examplebroadcast:core.broadcast.default- In the base game
- 5 records
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 | id | Yes | Namespaced id, e.g. "core.player.rory-calder" | |
name | text | |||
shape | one of the options | "studio" | Options: studio, neon, edge, slant, flat, pill, box, band. | |
plate | colour, #rrggbb | Yes | ||
accent | colour, #rrggbb | Yes | ||
text | colour, #rrggbb | |||
muted | colour, #rrggbb | |||
logo | file path | Asset path, relative to the mod | ||
showMs | whole number, 500 to 20,000 | 5000 | ||
line | one of the options | "both" | Options: country, nickname, both. |
Example#
A record from the base game’s data/broadcast.json.
{
"id": "core.broadcast.default",
"name": "Darts Sim Sports",
"shape": "studio",
"plate": "#101c3d",
"accent": "#2d6cf6",
"text": "#ffffff",
"muted": "#b9c6e0",
"showMs": 5000,
"line": "both"
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.