Skip to content

sa_data.yaml

Tekla edited this page May 31, 2021 · 1 revision

Example:

cfg_0:
    Spawner_DraugrPile:
        spawn_interval_sec: 5
        trigger_distance: 20
        set_patrol_spawn_point: true
        spawn_radius: 4
        near_radius: 20
        far_radius: 1000
        max_near: 2
        max_total: 100
        on_ground_only: false

cfg_1:
    Spawner_GreydwarfNest:
        spawn_interval_sec: 10
        trigger_distance: 60
        set_patrol_spawn_point: true
        spawn_radius: 4
        near_radius: 20
        far_radius: 1000
        max_near: 3
        max_total: 100
        on_ground_only: true

Flags

Type Flag Description Range
float spawn_interval_sec Time it takes to spawn a new critter. [1,∞]
float trigger_distance Triggers the spawn once a player is within this distance. [1,∞]
bool set_patrol_spawn_point If spawned critter can patrol, set it to patrol the spawn point.
float spawn_radius Determines area in which to search for a spot to spawn a new critter. [1,∞]
float near_radius Determines area in which, if a self spawned critter is detected, counts towards "near" count. [1,∞]
float far_radius Determines area in which, if a self spawned critter is detected, counts towards "total" count. [1,∞]
int max_near Determines max "near" critters allowed. [1,∞]
int max_total Determines max "total" critters allowed. [1,∞]
bool on_ground_only Allow spawning on blocked locations.

Prefab Names

--Name-- --Critters--
Spawner_DraugrPile Draugr, Draugr_Elite
Spawner_GreydwarfNest Greydwarf, Greydwarf_Elite, Greydwarf_Shaman
Clone this wiki locally
  翻译: