Last Splatter 1.0.0 (olds.ro)
=============================
At the end of every round, each team sees the field sector where it landed the
most paintball hits, in chat and on screen, with a short chime. Players type
/splat to see their team's last report again. The plugin only reads hits: it
never changes damage, health or frags.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer
- The "Paintball Gun" 1.1 core (WhooKid & O'Zone).
Last Splatter stops with a clear error if the core is missing or is another version.
Install
1. Compile scripting/olds_splat.sma and copy olds_splat.amxx to addons/amxmodx/plugins/.
The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc
files from the ReAPI release, addons/amxmodx/scripting/include/) next to
the stock AMX Mod X includes; a stock install does not have them.
2. Copy data/lang/olds_splat.txt to addons/amxmodx/data/lang/.
3. Copy configs/olds_splat/ to addons/amxmodx/configs/olds_splat/ and write one
<mapname>.ini per paintball map (see _example.ini). Maps without a file are ignored.
4. Add olds_splat.amxx to plugins.ini (anywhere; it checks for the core once all plugins are loaded).
Settings (addons/amxmodx/configs/plugins/olds_splat.cfg, created on first run)
olds_splat_minhits 5 a sector needs at least this many hits (1-1000) to be reported as busy
Commands
say /splat your team's last field report
olds_splat_status this round's hits per sector and the last reports (ADMIN_CFG)
olds_splat_where your position and sector, for writing sector files (ADMIN_CFG)
What counts as a hit
The Paintball core has no hit callback, so Last Splatter infers paint hits
from the core's damage calls (TakeDamage with DMG_BULLET | DMG_NEVERGIB from
the shooter or their paintball, with no gun bullet trace in the same frame).
A paintball that hits a player of the other team and takes health or kills,
counted once, in the sector where the victim stood. Friendly hits, normal
gun bullets and hits outside every sector are not counted. Tied sectors are
reported together.
Sound
The chime is the game's own sound/events/task_complete.wav; nothing is downloaded.