Next Wave Preview (olds.ro workshop idea IDEA-0D6C6BE5E6B29A61)
Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.
Tower Defence: between waves the HUD shows what the next wave holds, so
players buy the right towers instead of guessing:
Next: wave 4 of 5
Enemies: 12
Kinds: armoured, fast
Lane: both
- It appears as soon as a wave is cleared and stays for the whole break
(sent again every second, so players who join during the break see it).
It disappears when the next wave starts.
- When the next wave is the last one the HUD says only "Final wave next".
After the last wave nothing is shown.
- say /wave repeats the preview in chat during a break, says "A wave is in
progress" during a wave, and that there is no break otherwise.
Where the waves come from:
- the core's native td_get_wave_info(wave, &count, types[], len, lane[],
len) and td_get_wave_count(), when the core offers them (see
scripting/include/olds_td_waves.inc);
- otherwise configs/olds_tdprev_waves.ini: "<wave> <enemies> <kinds>
<lane>" per line, kinds comma separated (see the example file). The
highest wave listed is the final wave.
The breaks come from the core's forwards td_wave_end(wave) and
td_wave_start(wave). Without them the plugin stays idle.
Cvars (configs/plugins/olds_tdprev.cfg): olds_tdprev 1.
Admin: amx_tdprev_status (ADMIN_RCON).
Install: compile scripting/olds_tdprev.sma with amxxpc 1.10 (with
include/olds_td_waves.inc), add olds_tdprev.amxx to plugins.ini after the
core, copy data/lang/olds_tdprev.txt and configs/olds_tdprev_waves.ini.
No downloads.