Reference
Faces
A headshot in the shared face library, assigned to generated players and offered to the human.
- Content type
faces- Files
data/faces.json,data/faces/- Shape
- A list of records, each with its own
id - Patch target
face:<id>, for exampleface:core.face.m002- In the base game
- 540 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" | |
file | file path | Yes | Asset path, relative to the mod (transparent cut-out, square). | |
gender | one of the options | Yes | Options: m, f. | |
age | whole number, 8 to 80 | Yes | Apparent age in years. | |
region | one of the options | Yes | Broad appearance groups used to match faces to players (soft, never exclusive). Options: northwest-europe, southern-europe, eastern-europe, african, south-asian, east-asian, southeast-asian, latin, middle-eastern. |
Example#
A record from the base game’s data/faces.json.
{
"id": "core.face.m002",
"file": "assets/faces/m002.webp",
"gender": "m",
"age": 37,
"region": "northwest-europe"
}In your pack the record’s id starts with your pack’s id instead of core, unless you mean to replace this one.