Waves
Fileconfig.ymlA wave is a numbered list of enemy groups, such as 6 WALKER and 2 RUNNER. Each arena has its
own waves. The enemy ids come from Enemy Templates.
How a wave plays out
- The wave number goes up and everyone sees the wave start.
- The spawn list is built from that wave's groups. On a boss round, the boss goes on the end.
- A round event may roll.
- Enemies spawn one at a time, each from a random eligible spawner.
- When the last enemy dies, standing players get
wave-rewardand the next wave starts afterwave-end-delay-seconds.
Enemies spawned by a boss, and the mounts of riders like the Hell Rider, are added to the count, so the wave cannot end while any of them live.
Spawn pacing
Enemies do not all appear at once. The gap between two spawns shrinks as waves go up:
gap = max(wave-spawn-min-interval-ticks, wave-spawn-interval-ticks / wave-spawn-speed-factor ^ (wave - 1))
# config.yml
wave-spawn-interval-ticks: 80 # 4 seconds between spawns on wave 1
wave-spawn-min-interval-ticks: 60 # never faster than 3 seconds
wave-spawn-speed-factor: 1.08 # 8% faster every wave
wave-end-delay-seconds: 5With the shipped values the gap hits its 60-tick floor at wave 5. Lower the floor if you want the late game to feel like a flood.
Which spawners are used
A spawner is eligible when its room is open, or when it is not in any room. The pick is random among eligible spawners, with no preference for the one nearest the players. Buying gates opens rooms and adds their spawners to the pool. See Arenas.
If no spawner is eligible when a wave starts, the arena is told so and the wave is skipped after the end delay.
Past the last wave
Fileconfig.ymlOnce a match passes the last wave you set up, the endless-waves block in config.yml takes
over. The match never runs out of waves, so how long it lasts is up to the players.
| Mode | What spawns |
|---|---|
SCALE_LAST (default) | The last configured wave again, every group count multiplied by 1 + growth-per-wave * waves past it. |
FALLBACK | Only fallback-enemy, fallback-base-count + fallback-count-per-wave * wave of them. |
endless-waves:
mode: SCALE_LAST
growth-per-wave: 0.15 # +15% enemies per wave past the last one
fallback-enemy: WALKER # FALLBACK only
fallback-base-count: 5
fallback-count-per-wave: 2With the defaults and 10 configured waves, wave 12 is wave 10 with 30% more of each group. Health and damage still scale per wave through each template's own scaling keys.
Building waves by command
/zadmin wave add myarena 1 WALKER 6
/zadmin wave add myarena 1 RUNNER 2
/zadmin wave add myarena 2 WALKER 10
/zadmin wave clear myarena
Each wave add appends a group to that wave number and creates the wave if needed. There is no
command to remove one group; use wave clear or the wave editor.
The wave editor
In the arena creator, Waves opens the wave list.
| Wave list | Action |
|---|---|
| Add button | Adds an empty wave at the end. |
| Click a wave | Opens the wave editor. |
| Shift-click a wave | Removes it. Later waves are renumbered. |
| Wave editor | Action |
|---|---|
| Add enemy | Opens the enemy picker. Pick a template, then set the count (1 - 200). |
| Click a group | Removes that group. |
| Copy previous | Replaces this wave's groups with the ones from the wave before it. |
| ×2 / ×4 / ×8 | Multiplies every count in the wave, up to 10,000. |
To change a count, remove the group and add it again. Copy previous plus a multiplier is the quick way to build a ramp: set up wave 1, then for each next wave copy and double.


Boss rounds
Config keyboss-rounds.intervalEvery boss-rounds.interval waves (5 by default) one boss joins the wave. See
Bosses.