Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Snowball Rally

Featured Replies

  • Administrator

Measure each team's longest sequence of snowball hits by alternating teammates.

Snowball Rally 1.0.0 (olds.ro)

Snow Wars: each team builds a "rally" when consecutive snowball hits on enemies come from different teammates in turn. A, B and C landing hits one after another make a rally of 3; A hitting again right after C makes 4. The team sees the rally grow on a DHUD line, and at round end each team is told its longest rally of the round in team chat.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer
  • A Snow Wars core that reports confirmed hits through this plugin's native (directly, or through a small bridge plugin)

Install

  • Compile scripting/olds_rally.sma and copy olds_rally.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  • Copy data/lang/olds_rally.txt to addons/amxmodx/data/lang/.
  • Copy scripting/include/olds_rally.inc next to the core's sources.

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

  olds_rally_minchain 3   shortest rally reported at round end (2-20)

Command: olds_rally_status (ADMIN_CFG) shows both teams' rallies.

Rules

  • A hit extends the team's rally when its thrower is not the one who landed the team's previous hit; the same thrower twice in a row starts a new rally at 1.
  • A hit on a teammate neither extends nor breaks the rally.
  • One snowball counts once, even if it splashes several enemies (contacts of the same snowball within a second).
  • The round end closes every rally.

For the core (include/olds_rally.inc, library "olds_rally")

  olds_rally_hit(thrower, victim, snowball)   report every confirmed hit;
                                              snowball = the projectile's
                                              entity index

No downloads: a DHUD line and chat text.

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/include/olds_rally.inc, addons/amxmodx/scripting/olds_rally.sma, test/snow_stub.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-102).

Snowball Rally
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.2 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 185 lines
/*
 * Snowball Rally (olds.ro workshop card AMX-102)
 *
 * Snow Wars: each team builds a "rally" when consecutive snowball hits on
 * enemies come from different teammates in turn. A, B and C landing hits one
 * after another make a rally of 3; A hitting again right after C makes 4.
 * The team sees the rally grow on a DHUD line, and at round end each team is
Show all 185 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.