Reference
Trophies
- Content type
trophies- Files
data/trophies.json,data/trophies/- Shape
- A list of records, each with its own
id - Patch target
trophy:<id>, for exampletrophy:core.trophy.world-championship- In the base game
- 1 record
- Guide
- Trophy 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 | |
units | one of the options | "m" | Options: m, mm. | |
scale | number, 0 to 100 | 1 | ||
turn | number, -360 to 360 | 0 |
Example#
A record from the base game’s data/trophies.json.
{
"id": "core.trophy.world-championship",
"name": "World Championship trophy",
"model": "assets/trophies/world-championship.glb"
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.