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
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
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
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
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
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
MinDifficulty
Minimum nonnegative difficulty index, inclusive.
[Tooltip("Minimum nonnegative difficulty index, inclusive.")]
public int MinDifficulty
Field Value
MinIntervalSeconds
Minimum repeat interval in seconds; nonnegative.
[Tooltip("Minimum repeat interval in seconds; nonnegative.")]
public float MinIntervalSeconds
Field Value
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
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
Repeats
Occurrences after the first; 0 = one occurrence only.
[Tooltip("Occurrences after the first; 0 = one occurrence only.")]
public int Repeats
Field Value
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
Methods
ToDef()
Converts this authoring entry to a runtime definition, resolving asset references through their caches.
public SpawnGroupDef ToDef()