Skip to content
View in the app

A better way to browse. Learn more.

Learn more

spawn-queue-survey/README.txt

README.txt
44 lines · 1.9 KB · Text
Raw
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.

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.