Skip to content

areas.yaml

Tekla edited this page May 31, 2021 · 1 revision

Example:

area_0:
    name: "Ring 1"
    cfg: "ring_1_cfg"
    layer: 1
    passthrough: true
    centre: [0, 0]
    radius: [0, 600]

area_1:
    name: "Ring 2"
    cfg: "ring_2_cfg"
    layer: 2
    passthrough: true
    centre: [0, 0]
    radius: [600, 20000]

Flags

Type Flag Description Range
string name The display name of the area.
string cfg The id of the config you want to impose in this area.
int layer Overlapping areas will be resolved using this number. Higher numbers means higher priority. [0,100]
bool passthrough Prevent the area check to fall to the next area in the layer priority.
Vector2 centre Centre point of the area.
Vector2 radios Radios as: [inner, outer]
Clone this wiki locally
  翻译: