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 example face: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.

FieldTypeRequiredDefaultNotes
ididYesNamespaced id, e.g. "core.player.rory-calder"
filefile pathYesAsset path, relative to the mod (transparent cut-out, square).
genderone of the optionsYesOptions: m, f.
agewhole number, 8 to 80YesApparent age in years.
regionone of the optionsYesBroad 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.

Written for Darts Player Simulator 0.50.32. Built from the game's own schemas and its base pack.