Reference
Characters
A 3D character made in the Mod Studio's character creator. A player of the pack is drawn as it when their characterId names it.
- Content type
characters- Files
data/characters.json,data/characters/- Shape
- A list of records, each with its own
id - Patch target
character:<id>, for examplecharacter:core.example- In the base game
- 0 records
- Guide
- Characters
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 | text | Yes | The character's id; a player's characterId names it. Pattern: ^[a-z0-9][a-z0-9-]*(\.[a-z0-9][a-z0-9-]*)+$ | |
name | text, up to 60 characters | A name for the Studio's lists (not shown in the game). | ||
v | whole number, 1 to 99 | 1 | The record's format version; the creator writes 1. | |
look | object | Yes | The creator's choices: sliders, colours, clothes and hair, and the presets they started from. | |
look.gender | one of the options | Yes | Options: m, f. | |
look.sliders | map (key: value) | {} | ||
look.colours | map (key: value) | {} | ||
look.wardrobe | map (key: value) | {} | ||
look.presets | map (key: value) | {} | ||
look.polo | map (key: value) | |||
gameFace | object | A face made from a photo: the baked face picture and the files made with it. The photo itself is never kept. | ||
gameFace.texture | file path | Yes | The baked face picture (PNG), relative to the pack. | |
gameFace.eyes | file path | The eyes' picture made with the face (PNG), relative to the pack. | ||
gameFace.shape | file path | The head shape fitted to the photo (JSON), relative to the pack. | ||
shirt | object | The shirt they wear when nothing else gives them one (a look's own shirt comes first). | ||
shirt.name | text, up to 32 characters | The shirt's name in the designer (not shown in the game). | ||
shirt.base | text | Yes | The body's colour. Pattern: ^#[0-9a-fA-F]{6}$ | |
shirt.trim | text | Yes | The trim's colour: collar, cuffs, side panels and piping unless they have their own. Pattern: ^#[0-9a-fA-F]{6}$ | |
shirt.sleeve | colour, #rrggbb | The sleeves' colour (default: the body's). | ||
shirt.collarColour | colour, #rrggbb | The collar's colour (default: the trim's). | ||
shirt.cuffColour | colour, #rrggbb | The cuffs' colour (default: the trim's). | ||
shirt.collar | text, up to 40 characters | A designer collar id (core: crew, polo, button, vneck); it picks the cut. Default: the first. | ||
shirt.font | text, up to 40 characters | A designer font id for the lettering (default: the first). | ||
shirt.fabric | text, up to 40 characters | A designer fabric id (default: the first). | ||
shirt.sidePanels | true or false | Side panels in the trim colour. | ||
shirt.piping | true or false | Piping in the trim colour. | ||
shirt.layers | list, up to 64 items | The designer's layers, bottom first: patterns, graphics, lettering, the name and number, crest, flag and sponsor spots. A layer without what it needs is left out. | ||
shirt.layers[].kind | one of the options | Yes | Options: pattern, graphic, text, name, number, crest, flag, sponsor. | |
shirt.layers[].ref | text, up to 80 characters | |||
shirt.layers[].words | text, up to 64 characters | |||
shirt.layers[].font | text, up to 40 characters | |||
shirt.layers[].colour | colour, #rrggbb | |||
shirt.layers[].colour2 | colour, #rrggbb | |||
shirt.layers[].opacity | number, 0.05 to 1 | |||
shirt.layers[].side | one of the options | Options: front, back, sleeve. | ||
shirt.layers[].x | number, -1 to 1.25 | |||
shirt.layers[].y | number, -1 to 1.25 | |||
shirt.layers[].size | number, 0.01 to 4 | |||
shirt.layers[].maxWidth | number, 0.05 to 1.5 | |||
shirt.layers[].rotate | number, -180 to 180 | |||
shirt.layers[].flip | true or false | |||
shirt.layers[].covers | one of the options | Options: all, body, sleeves. | ||
shirt.layers[].locked | true or false | |||
portrait | file path | The head-and-shoulders picture rendered from the character, used where the game shows a portrait. | ||
start | object | |||
start.offered | true or false | |||
start.firstName | text, up to 24 characters | |||
start.lastName | text, up to 24 characters | |||
start.nickname | text, up to 28 characters | |||
start.nationality | nation code | 3-letter nationality code | ||
start.gender | one of the options | Options: m, f. | ||
start.hand | one of the options | Options: R, L. | ||
start.age | whole number, 10 to 50 | |||
start.walkonId | id | Namespaced id, e.g. "core.player.rory-calder" Names a walk-on track record. | ||
start.blurb | text, up to 140 characters |