Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Spawn Queue Survey

Featured Replies

  • Administrator

Find start positions where other runners regularly obstruct the spawn hull.

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

  • Compile scripting/olds_spawnq.sma and copy olds_spawnq.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  • 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.

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/olds_spawnq.sma, test/spawnq_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-045).

Spawn Queue Survey
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.3 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 254 lines
/*
 * Spawn Queue Survey (olds.ro workshop card AMX-045)
 *
 * 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).
Show all 254 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.