Class SpawnGroupEntry

Namespace
SurvivorsMaker.Data
Assembly
SurvivorsMaker.Data.dll

Wave/difficulty filters and repeated spawn timing with asset-backed enemy entries.

public sealed class SpawnGroupEntry
Inheritance
SpawnGroupEntry
Inherited Members

Constructors

SpawnGroupEntry()

public SpawnGroupEntry()

Fields

Chance

Activation probability from 0 to 1; 0 = never, 1 = always.

[Tooltip("Activation probability from 0 to 1; 0 = never, 1 = always.")]
public float Chance

Field Value

float

Entries

Enemy entries rolled independently on each group occurrence, in list order.

[Tooltip("Enemy entries rolled independently on each group occurrence, in list order.")]
public List<SpawnEnemyEntry> Entries

Field Value

List<SpawnEnemyEntry>

IntervalDecrease

Seconds removed after each repeat interval; 0 = no acceleration.

[Tooltip("Seconds removed after each repeat interval; 0 = no acceleration.")]
public float IntervalDecrease

Field Value

float

IntervalSeconds

Seconds between repeated occurrences; positive when Repeats is nonzero.

[Tooltip("Seconds between repeated occurrences; positive when Repeats is nonzero.")]
public float IntervalSeconds

Field Value

float

MaxDifficulty

Maximum difficulty index, inclusive; a negative value removes the upper limit.

[Tooltip("Maximum difficulty index, inclusive; a negative value removes the upper limit.")]
public int MaxDifficulty

Field Value

int

MaxWave

Last eligible wave, inclusive; 0 = no upper wave limit.

[Tooltip("Last eligible wave, inclusive; 0 = no upper wave limit.")]
public int MaxWave

Field Value

int

MinDifficulty

Minimum nonnegative difficulty index, inclusive.

[Tooltip("Minimum nonnegative difficulty index, inclusive.")]
public int MinDifficulty

Field Value

int

MinIntervalSeconds

Minimum repeat interval in seconds; nonnegative.

[Tooltip("Minimum repeat interval in seconds; nonnegative.")]
public float MinIntervalSeconds

Field Value

float

MinWave

First one-based wave eligible for this group, inclusive.

[Tooltip("First one-based wave eligible for this group, inclusive.")]
public int MinWave

Field Value

int

Neutral

Spawn neutral enemies excluded from hostile counts and contact damage.

[Tooltip("Spawn neutral enemies excluded from hostile counts and contact damage.")]
public bool Neutral

Field Value

bool

Repeats

Occurrences after the first; 0 = one occurrence only.

[Tooltip("Occurrences after the first; 0 = one occurrence only.")]
public int Repeats

Field Value

int

StartSeconds

Seconds from wave start to the first occurrence; nonnegative.

[Tooltip("Seconds from wave start to the first occurrence; nonnegative.")]
public float StartSeconds

Field Value

float

Methods

ToDef()

Converts this authoring entry to a runtime definition, resolving asset references through their caches.

public SpawnGroupDef ToDef()

Returns

SpawnGroupDef