Skip to content
View in the app

A better way to browse. Learn more.

Learn more

next-wave-preview/README.txt

README.txt
36 lines · 1.6 KB · Text
Raw
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.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.