Reference
Walk-on tracks
- Content type
walkons- Files
data/walkons.json- Shape
- A list of records, each with its own
id - Patch target
walkon:<id>, for examplewalkon:core.walkon.stadium-rock- In the base game
- 25 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" | |
title | text | Yes | ||
artist | text | Yes | ||
mood | one of the options | Yes | Options: anthem, rock, dance, swagger, classic, folk, comedy. | |
asset | file path | A file in your pack: see Images, sound and models. |
Example#
A record from the base game’s data/walkons.json.
{
"id": "core.walkon.stadium-rock",
"title": "Stadium Rock",
"artist": "The House Band",
"mood": "rock",
"asset": "assets/walkons/stadium-rock.ogg"
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.