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
1. Compile scripting/olds_rally.sma and copy olds_rally.amxx to
addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
2. Copy data/lang/olds_rally.txt to addons/amxmodx/data/lang/.
3. 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.