Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Warm-up Refrain

Featured Replies

  • Administrator

Let players at spawn build a four-beat call-and-response sequence before live play.

Warm-up Refrain 1.0.0 (olds.ro)

Warm-up: players build a short call-and-response pattern together. Each player adds one beat per cycle from a menu (/refrain); when the pattern is full it is played back to everyone (text beats on a DHUD line plus a tone for each), and a new cycle starts. It all stops when live play begins.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer

Install

  • Compile scripting/olds_refrain.sma and copy olds_refrain.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  • Copy data/lang/olds_refrain.txt to addons/amxmodx/data/lang/.

Use

  say /refrain           open the beat menu (warm-up only)
  olds_refrain_status    the pattern and the phase (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_refrain.cfg, created on first run)

  olds_refrain_len 4     beats in one cycle (2-8); a change applies from the
                         next cycle

Beats: Blip, Blop, Click and Bell, played with the stock sounds buttons/blip1.wav, buttons/blip2.wav, buttons/button9.wav and buttons/bell1.wav (every client has them; nothing to download).

Warm-up phase

  • From map start until the first full restart (Game Commencing or sv_restart, which is how warm-up managers go live).
  • A warm-up manager can set it directly with the native olds_refrain_set_warmup(bool:warmup) (library "olds_refrain").
  • When live play starts, playback stops, the pattern and pending turns are dropped, and open beat menus close.

Turns: one beat per player per cycle; a second beat from the same player is refused so others can go. A player who leaves keeps their beat in the current cycle, so it still finishes.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_refrain.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (AMX-081).

Warm-up Refrain
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.3 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 299 lines
/*
 * Warm-up Refrain (olds.ro workshop card AMX-081)
 *
 * Warm-up: players build a short call-and-response pattern together. Each
 * player adds one beat per cycle from a menu (/refrain); when the pattern is
 * full it is played back to everyone (text beats on a DHUD line plus a tone
 * for each), and a new cycle starts. It all stops when live play begins.
Show all 299 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.