Reference
Trophy builder sets
- Content type
trophyParts- Files
data/trophy-parts.json,data/trophy-parts/- Shape
- A list of records, each with its own
id - Patch target
trophyParts:<id>, for exampletrophyParts:core.trophy-parts- In the base game
- 1 record
- Guide
- Trophy builder 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 | id | Yes | Namespaced id, e.g. "core.player.rory-calder" | |
data | map (key: value) | Yes | ||
data.<key> | one of several shapes | Yes | ||
| Shape 1: one of several shapes | ||||
| Shape 2: map (key: value) | ||||
| Shape 3: list, up to 400 items | ||||
Example#
A record from the base game’s data/trophy-parts.json, shortened.
{
"id": "core.trophy-parts",
"data": {
"format": 1,
"segments": 72,
"mattStep": 0.3,
"maxParts": 12,
"fit": {
"pedestalTopMm": 300,
"gripBaseMm": 150,
"liftHeightMm": 800
},
"parts": [
{
"id": "round-2tier",
"kind": "plinth",
"model": "assets/trophies/parts/plinth/round-2tier.glb",
"height": 77.0,
"footRadius": 105.0,
"topRadius": 81.0,
"zones": [
"stone",
"trim",
/* … 1 more */
],
"starts": {
"stone": "ebony",
"trim": "gold",
"plate": "gold"
}
},
{
"id": "octagon",
"kind": "plinth",
"model": "assets/trophies/parts/plinth/octagon.glb",
"height": 75.0,
"footRadius": 95.0,
"topRadius": 77.0,
"zones": [
"stone",
"plate",
/* … 1 more */
],
"starts": {
"stone": "ebony",
"trim": "gold",
"plate": "gold"
}
},
/* … 57 more */
],
"finishes": [
{
"id": "gold",
"group": "metal",
"colour": "#e0a440",
"metal": 1,
"rough": 0.22,
"set": "polished",
"engrave": "#3a2a10"
},
{
"id": "gold-brushed",
"group": "metal",
"colour": "#d99a38",
"metal": 1,
"rough": 0.36,
"set": "brushed",
"engrave": "#3a2a10"
},
/* … 24 more */
],
"plate": {
"finishes": [
"gold",
"silver",
/* … 5 more */
],
"shapes": [
"rect",
"rounded",
/* … 1 more */
],
"fonts": [
{
"id": "serif",
"family": "\"DejaVu Serif\", serif",
"weight": 700
},
{
"id": "condensed",
"family": "\"Barlow Condensed\", sans-serif",
"weight": 700
},
/* … 2 more */
],
"maxLetters": 40,
"lines": 3,
"pixelsPerMm": 10,
"proud": 1.2
},
"templates": [
{
"id": "harbour-urn",
"stack": [
{
"part": "round-2tier",
"finish": {
"stone": {
"id": "ebony"
},
"trim": {
"id": "gold"
},
"plate": {
"id": "gold"
}
}
},
{
"part": "urn-classic",
"finish": {
"main": {
"id": "silver"
},
"trim": {
"id": "silver"
},
"inner": {
"id": "gilt"
}
}
},
/* … 2 more */
],
"plate": {
"finish": "gold",
"font": "serif",
"shape": "rect",
"words": "HARBOUR CUP"
}
},
{
"id": "northern-globe",
"stack": [
{
"part": "octagon",
"finish": {
"stone": {
"id": "granite-black"
},
"trim": {
"id": "silver"
},
"plate": {
"id": "silver"
}
}
},
{
"part": "rods",
"finish": {
"main": {
"id": "silver"
},
"trim": {
"id": "silver"
}
}
},
/* … 1 more */
],
"plate": {
"finish": "silver",
"font": "condensed",
"shape": "rect",
"words": "WORLD TITLE"
}
},
/* … 5 more */
],
"textures": [
{
"id": "brushed",
"normal": "assets/trophies/textures/brushed_normal.png",
"orm": "assets/trophies/textures/brushed_orm.png"
},
{
"id": "crystal-facet",
"normal": "assets/trophies/textures/crystal-facet_normal.png",
"orm": "assets/trophies/textures/crystal-facet_orm.png"
},
/* … 12 more */
],
"freeCreate": {
"grids": [
1,
2,
/* … 2 more */
],
"maxPoints": 64,
"segments": 48,
"history": 200,
"budget": 6000,
"cupBudget": 8500,
"maxRadiusMm": 300,
"maxHeightMm": 800,
"maxWidthMm": 400,
"starters": [
{
"id": "cup",
"type": "profile",
"kind": "cup",
"free": {
"points": [
[
22,
0
],
[
22,
6
],
/* … 4 more */
],
"sharp": [
1
],
"smooth": true,
"hollow": true,
"wall": 3
}
},
{
"id": "urn",
"type": "profile",
"kind": "cup",
"free": {
"points": [
[
20,
0
],
[
20,
8
],
/* … 6 more */
],
"sharp": [
1,
6
],
"smooth": true,
"hollow": true,
"wall": 3,
"segments": 36
}
},
/* … 22 more */
],
"sections": [
{
"id": "lens",
"free": {
"points": [
[
0,
7
],
[
-0.9,
4.5
],
/* … 6 more */
],
"sharp": [
0,
4
],
"smooth": true
}
},
{
"id": "diamond",
"free": {
"points": [
[
0,
7
],
[
-2,
0
],
/* … 2 more */
],
"sharp": [
0,
1,
/* … 2 more */
],
"smooth": false
}
},
/* … 3 more */
]
},
"decor": {
"max": 16,
"proud": 0.6,
"rim": 1.2,
"minSize": 3,
"maxSize": 80,
"gemFinish": "gem",
"enamelFinish": "enamel",
"printFinish": "print",
"cuts": [
{
"id": "round",
"facets": 16,
"table": 0.55,
"crown": 0.3,
"pavilion": 0.85
},
{
"id": "oval",
"facets": 16,
"table": 0.55,
"crown": 0.3,
"pavilion": 0.85,
"stretch": 1.35
},
/* … 4 more */
],
"shapes": [
"circle",
"oval",
/* … 4 more */
],
"colours": [
"#c8102e",
"#1f5fbf",
/* … 5 more */
]
}
}
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.