Reference
Stages
- Content type
stages- Files
data/stages.json,data/stages/- Shape
- A list of records, each with its own
id - Patch target
stage:<id>, for examplestage:core.stage.palace-tv- In the base game
- 4 records
- Guide
- Stage models
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 | |||
model | file path | Yes | Asset path of the .glb, relative to the mod | |
layout | file path | Yes | Asset path of the layout .json, relative to the mod |
Example#
A record from the base game’s data/stages.json.
{
"id": "core.stage.palace-tv",
"name": "Palace (TV)",
"model": "assets/stages/palace-arena-tv.glb",
"layout": "assets/stages/palace-arena-tv.json"
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.