Spawn Queue Survey 1.0.0 (olds.ro)
==================================
Kreedz: finds start positions where something regularly blocks a player who
spawns there. After every spawn on a listed anchor the plugin traces a
standing player's hull at the anchor once and counts what was in the way:
another player, or static map geometry (the world or a brush entity).
amx_spawnq prints the counts per anchor for mappers.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer (with fakemeta)
Install
1. Compile scripting/olds_spawnq.sma and copy olds_spawnq.amxx to
addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
2. Create addons/amxmodx/configs/olds_spawnq/<map>.ini for each map (see
configs/olds_spawnq/_example.ini).
Anchors (configs/olds_spawnq/<map>.ini), one per line:
"Anchor name" x y z
A spawn counts for the nearest anchor within 64 units of the spawn point.
Bad lines (wrong count, not numbers, beyond the +/-4096 map limit, a
repeated name) are skipped with one log warning each; the rest still
report.
Settings (addons/amxmodx/configs/plugins/olds_spawnq.cfg, created on first run)
olds_spawnq_samples 200 samples kept per anchor (10-10000); a full anchor
stops counting until amx_spawnq reset
Command: amx_spawnq (ADMIN_MAP)
amx_spawnq the report: samples per anchor, blocked by a player,
blocked by static geometry (with its class)
amx_spawnq reload read the anchor file again (clears the counts)
amx_spawnq reset clear the counts
How it samples
After RG_CBasePlayer_Spawn (post), once: EngFunc_TraceHull with
HULL_HUMAN at the anchor, ignoring the player who spawned. It is blocked
when the hull starts in something solid; the hit entity's class tells
"player" from "static" (worldspawn, func_*). Counts last until the map
changes.
No downloads: the report is console text for mappers.