Reference
Tuning files
- Content type
tuning- Files
data/tuning.json- Shape
- One settings object (a file may hold the object itself)
- Patch target
tuning:<id>, for exampletuning:core.tuning- In the base game
- 1 record
- Guide
- Population, Tuning
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" | |
values | map (key: value) | |||
values.<key> | one of several shapes | Yes | ||
| Shape 1: number | ||||
| Shape 2: list, up to 64 items | ||||
| Shape 3: text, up to 60 characters | ||||
| Shape 4: list, up to 64 items | ||||
Example#
A record from the base game’s data/tuning.json, shortened.
{
"id": "core.tuning",
"values": {
"gameface.fit.balanced": 0.1,
"gameface.fit.depth": 0.15,
"gameface.fit.eyes": 3,
"gameface.fit.finderOffset": 1,
"gameface.fit.habit.sliders": [
"headWidth",
"foreheadHeight",
/* … 37 more */
],
"gameface.fit.habit.m": [
-6.35,
8.5,
/* … 37 more */
],
"gameface.fit.habit.f": [
5.66,
11.05,
/* … 37 more */
],
"gameface.fit.habit.side.m": [
-7.51,
0,
/* … 37 more */
],
"gameface.fit.habit.side.f": [
7.34,
0,
/* … 37 more */
],
"gameface.fit.hold": [
"browSet",
"browArch",
/* … 3 more */
],
"gameface.fit.look.broadDamp": 0.8,
"gameface.fit.look.broadMost": 20,
"gameface.fit.look.broadSides": 0.3,
"gameface.fit.look.damp": 0.6,
/* … 3211 more fields */
}
}