Skyways: enemy spawns

A station under a downtown block — climb from the pedway concourse to the glazed skyways linking the towers above the streets.

Level id
skyways
Difficulty tier
2 — Explicit difficulty tier of the level (0 = the starting level). Metadata only: no automatic scaling of counts, damage or loot, and no enemy family is enabled by it. LEVELS.skyways.tier in game/src/levels/registry.ts:146 (repository access required)
Spawn profile
Skyways — SKYWAYS_SPAWN_PROFILE in game/src/ai/spawnTables.ts:773 (repository access required)
Spawns tried per level
23–35 (E = 29), over 5 generation contexts
Room modifiers
All 60 room keys resolve to 1× for every family (neutral); the profile sets no room modifiers

Generation contexts

A generation context is one run of the enemy placement code. Each run draws one count, uniformly from its range, and tries to place that many spawns. The contexts below are parts of the one Skyways level and are generated with it; they are not separate levels. A context that runs more than once per level (for example once per storey) draws a new count each run.

Skyways: spawns each context tries to place (count per run, uniform; per level = runs × count)
ContextStoreys one run coversRuns per levelCount per runE[count] per runPer levelE per level
Station storey (platforms, pedway concourse, station back of house)stationthe station storey (platforms, the pedway concourse, the station back of house)15–8U{5..8}6.55–86.5
Street level (every building: lobbies, atrium courts, shops, service rooms)streetthe street level (every building: lobbies, atrium courts, entrance halls, shops, service rooms)18–12U{8..12}108–1210
Skyway level (concourses, bridges, shops, the add-on hall)floorthe skyway level (concourses, bridges, shops, the add-on hall)110–15U{10..15}12.510–1512.5
Service annex (per annex)serviceone seeded service annex off a station track tunnel (its rooms and corridors only)0–1one per zone (seeded)5–6U{5..6}5.50–6zone budget, not in the total5.5per zone
Anime convention (cosplay zombies on the venue event floor)cosplaythe convention venue's event floor (main hall, exhibitors' floor, photo lounge, panel rooms) and, from layout version 6, the host building's other public floor joined to it by its stair (its street-floor concourse); nowhere else0–1one per zone (seeded)4–6U{4..6}50–6zone budget, not in the total5per zone
Whole levelall core contexts (zones reported separately)23–3529

Spawns the level's context runs try to place (Σ runs × count). The family roll replaces, never adds; placed totals can fall short where eligible, spaced cells run out. Not included: the zone contexts 'service', 'cosplay' (a per-zone budget of 5-6 per zone, 0-6 per level; 4-6 per zone, 0-6 per level), reported separately.

Service annex (per annex): A PER-ANNEX ZONE BUDGET: one run per seeded service annex (0 to TRACK_EXT.annex.max per level, a generation census quantity — see docs/enemy-spawns.md "Service annexes"), on the annex's own fork, appended after every core spawn and tagged 'service'. It is additive to the core contexts and NOT in the whole-level total above; the level's zombie types apply; its spawns draw from the annexes' OWN family pool (SERVICE_FAMILY_POOL: a configured 20 % rat/dog selection share, Blightbelly 5 %, Strainer 8 % (the only pool that enables it: STRAINER_CONTEXTS), no Siren — per-spawn probabilities, not quotas). The seeded roster pass then runs on the finished level (see the seeded roster): it fixes the level's Strainers at EXACTLY ONE on the maps whose seed rolled the Strainer present, and at none on the others, and it decides per level whether Blightbellies and rat/dogs are there at all (the slot rules of the roster-only Screacher and BB list the core contexts, not the annex). The sampled census shows the outcome with the pass applied. Killed annex enemies stay dead for the run (per-index memory).

Anime convention (cosplay zombies on the venue event floor): A CONVENTION ZONE BUDGET (layout version 5+): one run when the level's one add-on is the anime convention (0 to 1 per level, never guaranteed — the alternative add-on, the prize display, has none), on its own fork (skyways-cosplay-spawns), appended after EVERY other spawn of the level (ambient, hordes, annex 'service') and tagged 'cosplay' (spawn context and ZombieSpawn.look). It is additive to the core contexts and NOT in the whole-level total; its spawns draw from the convention's OWN family pool (COSPLAY_FAMILY_POOL: ordinary zombies only — no Blightbelly, Siren, rat/dog, Strainer, Screacher or BB; the seeded roster never converts an outfit zombie), are shamblers, and wear a costume at spawn time (ai/cosplay.ts cosplayLook(level seed, spawn index): the mascot's bear-ear hat + wig, an oversized mascot head, a sushi hat, the alternate-palette wig with a uniform) — a wardrobe look of the zombie family, never a new family. Every other spawn keeps the ordinary wardrobe pick. No leash. Killed ones stay dead for the run (per-index memory). Layout versions 1-4 never run it.

Service annex (per annex): its own family pool (configured selection share per spawn) — zombie 67 % · blightbelly 5 % · siren 0 % · ratdog 20 % · strainer 8 % · screacher 0 % · bb 0 %. This context's OWN pool: its spawns draw their family from it (the same single roll per spawn, room modifiers and eligibility on top) instead of the level pool. The shares are CONFIGURED selection probabilities per spawn, not quotas: a 5-6-enemy annex may hold none or several; the sampled census shows the placed outcome.

Anime convention (cosplay zombies on the venue event floor): its own family pool (configured selection share per spawn) — zombie 100 % · blightbelly 0 % · siren 0 % · ratdog 0 % · strainer 0 % · screacher 0 % · bb 0 %. This context's OWN pool: its spawns draw their family from it (the same single roll per spawn, room modifiers and eligibility on top) instead of the level pool. The shares are CONFIGURED selection probabilities per spawn, not quotas: a 5-6-enemy annex may hold none or several; the sampled census shows the placed outcome.

These are targets: the generator can place fewer when it runs out of eligible, spaced floor (see placement rules). The game has no per-area or per-square-metre spawn rate; the count is spread over the eligible areas of the context.

Generator: generateSkywaysLevel in game/src/gen/skyways/index.ts:86 (repository access required). ONE continuous level (LevelId 'skyways', tier 2): a subway station under the station building, its pedway concourse, the street-level lobbies and the "+15" skyway level with glazed bridges between the buildings, generated once per level seed: placeOfficeEnemies runs the station context once (storey 0), the street context once (storey 1) and the floor context once (storey 2), each on its own fork (skyways-enemies-<storey>), and tags its spawns with the context; then (Track 2) the station's tunnel / service annex (at most 1) is attached and placeServiceSpawns runs the service context once per seeded service annex, appended last; then (layout version 5+, task studio-skywalk-encounters-20261108-074144-01) the anime convention's cosplay run (gen/skyways/cosplaySpawns.ts placeCosplaySpawns, fork "skyways-cosplay-spawns": the cosplay context, at most 1 convention) is appended after those; assignEnemyArchetypes rolls every family ONCE at the end. Moving between storeys never rerolls anything. Last of all the level registry runs the SEEDED ROSTER pass on the finished layout (ai/enemyRoster.ts applyEnemyRoster, roster version 4): from the level seed alone it decides which special families this map holds at all, and it only ever changes the family of ordinary ambient zombie slots — never a count, a position, an index, a horde member or an outfit zombie (see the seeded roster).

Enemy families

Every placed spawn is one enemy family. A family's conditional share = weight / Σ weights (denominator 1) is the chance that the per-spawn roll of one placed spawn draws that family. It changes the mix, not how many spawns are placed. The seeded roster then decides whether this level holds each special family at all.

Every placed spawn draws its family independently: roll = enemyRoll(level seed, spawn index) ∈ [0, 1), walked over the pool weights of the spawn's room (the level pool when the room has no modifier), in registry order (the rat/dog keeps the top band; a family at weight 0 — the roster-only Screacher / BB — has no band). A drawn family REPLACES a zombie; it never adds to the count. Then the eligibility rule of siren: a draw where the rule fails becomes the fallback family — the other families' draws are untouched. Then the whole-level spacing of siren (with the cap, in spawn order; a too-close draw becomes the fallback). Horde members are not rolled here: they are the separate horde pool. Last, the seeded roster pass (roster version 4) runs once on the finished level: a family the level's seed rolled absent has exactly none there, a present one is placed by its policy (see the seeded roster).

Skyways: family pool (per-spawn roll: shares conditional on one placed spawn; denominator 1) and the seeded roster on top
FamilyWeightConditional share (per-spawn roll)Expected per level by the per-spawn roll alone (before the roster)Seeded roster: chance the level's roll includes itPer level with the roster (sampled)
Infectedzombie0.10.1 / 1draw share; 84.9% of the placed spawns after the rule, before the roster pass sampled (takes the fallback draws of an eligibility rule)29.7 sampledalwaysthe baseline: never rolledin 20 of 20 levels · 28.55 per level sampled
Blightbellyblightbelly0.050.05 / 11.4560%of level map seeds · share top-upin 16 of 20 levels · 2.5 per level · 3.13 per level that holds it sampled
Sirensiren0.80.8 / 1draw share; 4.6% of the placed spawns after the rule, before the roster pass sampled (eligibility rule)1.6 sampled85%of level map seeds · at least one where a room qualifiesin 11 of 20 levels · 1.1 per level · 2 per level that holds it sampled
Tunnel scavenger (rat/dog)ratdog0.050.05 / 11.4560%of level map seeds · share top-upin 13 of 20 levels · 1.85 per level · 2.85 per level that holds it sampled
Strainerstrainer00 / 1level pool; its weight is in a context's own pool: Service annex (per annex) 8%035%of the map seeds whose map has a spawn in its contexts · exactly one, in its contextsin 1 of 20 levels · 0.05 per level · 1 per level that holds it sampled
Screacherscreacher00 / 1roster-only: no per-spawn roll draws it (placed by the seeded roster alone)040%of level map seeds · a count in place of ordinary zombiesin 5 of 20 levels · 0.45 per level · 1.8 per level that holds it sampled
BBbb00 / 1roster-only: no per-spawn roll draws it (placed by the seeded roster alone)040%of level map seeds · a count in place of ordinary zombiesin 5 of 20 levels · 0.5 per level · 2 per level that holds it sampled

Expected per level by the per-spawn roll alone = share × spawns tried per level (E = 29), with neutral room modifiers and before any placement shortfall; a family with an eligibility rule and its fallback family are measured instead (sampled placed per level, see family eligibility). That is the stage before the roster pass. The last two columns are the seeded roster: a level either holds a family or has none of it, so the per-level figure of a level that holds it is higher than the long-run mean. Defined at SKYWAYS_SPAWN_PROFILE.families in game/src/ai/spawnTables.ts:783 (repository access required).

Family eligibility

A family with an eligibility rule takes a placed slot only where its rule holds. Its draw share (weight / Σ weights) is exact; a draw where the rule fails becomes the fallback family, so the family's placed share is lower and is measured below. The other families' draws never change (the roll is the same; nothing is renormalised). The seeded roster runs after this rule and decides whether the level holds the family at all.

Siren · siren

enclosed rooms (shops, stock rooms, eateries, offices) of the street / skyway storeys only, room ≥ 4 x 4 m, clear floor patch, doorways ≥ 3 m away, never seals passage, ≤ 4 per level. A draw of Siren becomes Infectedzombie unless every criterion holds:

  1. the spawn's generation context is Street level (every building: lobbies, atrium courts, shops, service rooms) (street) / Skyway level (concourses, bridges, shops, the add-on hall) (floor); draws in any other context fall back
  2. area kind room
  3. never in (room type or purpose): washroom, stair-core, storage, utility, office-stair, office-elevator
  4. the area's shorter side ≥ 8 cells (4 m)
  5. the area ≥ 100 cells (25 m²)
  6. a clear 1.5 × 1.5 m patch: every cell within 1 cell(s) is walkable floor of the same area
  7. ≥ 3 m from the centre of every doorway of its area
  8. fair passage: a 2.5 m disc around the spawn, treated as blocked, never splits the storey's walkable floor (pockets of ≤ 8 cells ignored)
  9. at most 4 per generated level (all contexts; later draws in spawn order fall back)
  10. ≥ 24 m (straight 3D line) from every earlier placed one of the level, in spawn order (applied with the cap: the cap counts only placed ones)

Whole-level spacing 24 m: never two Sirens within earshot of one another (her hum carries 24 m), as in the Mall. SKYWAYS_SIREN_SPACING in game/src/ai/spawnTables.ts:744 (repository access required)

Rule defined at SKYWAYS_SIREN_ELIGIBILITY in game/src/ai/spawnTables.ts:735 (repository access required).

sampled Observed, not a rule. SAMPLED: 20 generated levels of LEVELS.skyways.generate (seeds 5003..155464, 20 seeds, shipped start weapon), measured BEFORE the seeded roster pass: the per-spawn roll and the eligibility rule alone. A draw is a spawn whose roll lands on the family; it is placed only where the eligibility rule holds, otherwise it becomes the fallback family. Ambient spawns only (horde members are the separate horde pool). The roster pass then decides per level whether the family is there at all — the seeded roster census of the same levels shows what a level holds. Not exhaustive; not a runtime rule.

These tables measure the per-spawn roll and the eligibility rule alone. What the same levels hold after the roster pass is in the seeded roster census.

Skyways: placed spawns per family by the per-spawn roll and the eligibility rule, before the roster pass (sampled eligibility census: 20 layouts)
FamilyPlaced over the sampleMean per levelPlaced share
Infectedzombie59429.7
Blightbellyblightbelly341.7
Sirensiren321.6
Tunnel scavenger (rat/dog)ratdog381.9
Strainerstrainer20.1
Screacherscreacher00
BBbb00
Skyways: Siren draws vs placed, before the roster pass (sampled: 20 layouts)
Draws (roll landed on it)PlacedPlaced per level (mean)Levels with noneMost in one level
559321.64 of 204
Skyways: Siren per generated level, before the roster pass (sampled histogram)
Placed in one levelLayouts
04
15
28
31
42
Skyways: Siren draws that fell back, by the first failed criterion (sampled)
CriterionDraws
size192
context155
kind120
door30
passage11
room9
clear5
spacing3
cap2

Placed by context: Skyway level (concourses, bridges, shops, the add-on hall) 16 · Street level (every building: lobbies, atrium courts, shops, service rooms) 16.

Roaming hordes (separate pool)

Groups per level
1–2 U{1..2}, E = 1.5
Initial members per group
5–20 U{5..20}, E = 12.5
Horde budget
at most 32 members in the level; 20 members and 1 group starting on one storey
Members
E ≈ 18.75 before the budget; at most 32
Member types
coated with chance 0.4
Starts
storeys 1, 2; ≥ 45 m walking from the player start; groups ≥ 30 m apart; members ≥ 1.1 m apart within 7 m of the group start; ≥ 2.5 m from ambient enemies
Patrol
0.45 m/s roam; a leg takes a vertical link with chance 0.3; pauses with chance 0.35 for 2–7 s

Groups U{1..2} × members U{5..20} per group, then the budgets: at most 32 horde members in the level, 20 members and 1 group(s) starting on one storey (a group that does not fit is trimmed or dropped, never topped up).

Skyways: horde family pool (its OWN explicit pool; denominator 1)
FamilyWeightConditional share
Infectedzombie11 / 1
Blightbellyblightbelly0never in a horde
Sirensiren0never in a horde
Tunnel scavenger (rat/dog)ratdog0never in a horde
Strainerstrainer0never in a horde
Screacherscreacher0never in a horde
BBbb0never in a horde

Defined at SKYWAYS_HORDE in game/src/ai/spawnTables.ts:764 (repository access required).

Seeded roster (which families this level holds at all)

The seeded roster pass (roster version 4) runs once on the finished Skyways layout, after every generation context, the per-spawn family roll, the eligibility rules and the hordes. One roll per family per level map seed; every storey of the level shares it. It never changes how many enemies the level has or where they stand — only which family an ordinary ambient zombie slot is.

Skyways: seeded roster — whether the level can hold each family, and the chance that a map's roll includes it
FamilyCan this level hold itChance the roll includes itOn this levelThe roll itself over level seeds 1 to 10000Sample levels with the roster (sampled)
Infectedzombiealways: the baseline, never rolledalwaysthe baseline: never rolledAlways: the baseline family, never rolled. The other families only ever take ordinary ambient zombie slots.not rolledin 20 of 20 levels · 28.55 per level sampled
Blightbellyblightbellyyes: every map of the level is rolled60%of level map seeds · share top-upThe roll includes it in 60 % of this level's map seeds: there the per-spawn roll's placements stay and are topped up, and such a map holds at least one. Every other map holds none.5991 of 10000 include it59.9% of those seedsin 16 of 20 levels · 2.5 per level · 3.13 per level that holds it sampled
Sirensirenyes: every map of the level is rolled85%of level map seeds · at least one where a room qualifiesThe roll includes her in 85 % of this level's map seeds: such a map holds at least one when an enemy stands in a room where she is eligible (else none: "no slot"). Every other map holds none.8506 of 10000 include it85.1% of those seedsin 11 of 20 levels · 1.1 per level · 2 per level that holds it sampled
Tunnel scavenger (rat/dog)ratdogyes: every map of the level is rolled60%of level map seeds · share top-upThe roll includes it in 60 % of this level's map seeds: there the per-spawn roll's placements stay and are topped up, and such a map holds at least one. Every other map holds none.6054 of 10000 include it60.5% of those seedsin 13 of 20 levels · 1.85 per level · 2.85 per level that holds it sampled
Strainerstrainerdepends on the map: only a map with a spawn in its contexts is rolled35%of the map seeds whose map has a spawn in its contexts · exactly one, in its contextsThe roll includes it in 35 % of the map seeds whose map has an ambient spawn in its context here (service): such a map holds exactly one, there. A map without such a spawn is never rolled, and every other map holds none.3553 of 10000 include it35.5% of those seedsin 1 of 20 levels · 0.05 per level · 1 per level that holds it sampled
Screacherscreacher roster-onlyyes: every map of the level is rolled40%of level map seeds · a count in place of ordinary zombiesThe roll includes it in 40 % of this level's map seeds: such a map holds its count. Every other map holds none.3932 of 10000 include it39.3% of those seedsin 5 of 20 levels · 0.45 per level · 1.8 per level that holds it sampled
BBbb roster-onlyyes: every map of the level is rolled40%of level map seeds · a count in place of ordinary zombiesThe roll includes it in 40 % of this level's map seeds: such a map holds its count. Every other map holds none.4096 of 10000 include it41% of those seedsin 5 of 20 levels · 0.5 per level · 2 per level that holds it sampled

How a family this level holds is placed

Order: Strainer, then Siren, then Screacher, then Blightbelly, then Tunnel scavenger (rat/dog), then BB — the most constrained first (BB last: added in a later roster version, it takes only slots the others left), each on the ordinary zombie slots still left.

Sampled roster census

sampled Observed, not a rule. SAMPLED: the same 20 generated levels of LEVELS.skyways.generate (seeds 5003..155464, 20 seeds, shipped start weapon), each followed by the seeded roster pass at roster version 4 — what a level holds. "Before" = what the per-spawn roll alone had placed; "after" = with the pass applied. The pass never changes the 35 ambient spawns per level of this sample, only their families. A SMALL sample: the long-run share of levels that hold a family is its roster rate, not this count. The roll depends on the level seed and the family only, so these seeds roll the same families present on every level. Ambient spawns only (horde members are the separate horde pool). Not exhaustive.

Skyways: the seeded roster pass on the sample levels (sampled: 20 layouts; 700 ambient spawns, 35 per level, before and after)
FamilyLevels that could hold itLevels whose roll included itLevels that hold itPlaced by the per-spawn roll alone (before the pass)Slots the pass took from itSlots the pass gave itWith the roster (after the pass)Mean per levelMean per level that holds itMost in one levelShare of the ambient enemiesPresent without a legal slotLevels by number held (number: levels)
Infectedzombie202020594502757128.5528.55410—
Blightbellyblightbelly20161634622502.53.13700: 4 · 1: 4 · 2: 3 · 3: 3 · 4: 2 · 5: 2 · 6: 1 · 7: 1
Sirensiren20151132100221.12440: 9 · 1: 4 · 2: 5 · 3: 0 · 4: 2
Tunnel scavenger (rat/dog)ratdog201313381211371.852.85800: 7 · 1: 1 · 2: 6 · 3: 4 · 4: 1 · 5: 0 · 6: 0 · 7: 0 · 8: 1
Strainerstrainer51122110.051100: 19 · 1: 1
Screacherscreacher205500990.451.8300: 15 · 1: 2 · 2: 2 · 3: 1
BBbb20550010100.52300: 15 · 1: 1 · 2: 3 · 3: 1

“Slots the pass took from it”: spawns the per-spawn roll made this family that are another family after the pass (an absent family's all become ordinary zombies). “Slots the pass gave it”: spawns that became this family in the pass. For the baseline family the two are the slots the other families took and gave back.

Roster version 4; the rules of the pass and every family's rule: the seeded roster. Defined at applyEnemyRoster in game/src/ai/enemyRoster.ts:285 (repository access required).

Zombie types (inside the zombie family)

Not separate enemy families. The types (coated, shambler) split the Infected family only; the family shares above do not change with them. Wardrobe outfits are a further appearance choice, also not a family.

Skyways: zombie type chance per spawn (before the at-least-one-of-each rule)
TypeChance per spawn
coated
shambler

Each spawn of a run: coated with the coated chance, else shambler; then, if the run has no coated, its first spawn becomes coated, and (count > 1) if it has no shambler, its second becomes shambler. Ratdogs keep the rolled type but ignore it.

Skyways: expected coated share of one context run (exact, including the at-least-one-of-each rule)
ContextSpawns in the run (n)Expected coated share
Station storey (platforms, pedway concourse, station back of house)5
Station storey (platforms, pedway concourse, station back of house)8
Street level (every building: lobbies, atrium courts, shops, service rooms)8
Street level (every building: lobbies, atrium courts, shops, service rooms)12
Skyway level (concourses, bridges, shops, the add-on hall)10
Skyway level (concourses, bridges, shops, the add-on hall)15
Service annex (per annex)5
Service annex (per annex)6
Anime convention (cosplay zombies on the venue event floor)4
Anime convention (cosplay zombies on the venue event floor)6

Shambler / coated type (the profile's zombie type roll) and the wardrobe outfit chosen at spawn time from (level seed, spawn index, type) by ai/wardrobe.ts pickZombieLook — sub-distributions of the zombie family, not separate families.

Defined at ZOMBIE_TYPES in game/src/ai/spawnTables.ts:379 (repository access required).

Baseline placement rules

These are the generator's own rules for where the counted spawns go. Room modifiers at 1× leave every one of them unchanged. They are also why a generated level can hold fewer spawns than its count drew.

Station storey (platforms, pedway concourse, station back of house) · station · count 5–8 per run × 1 run

One run covers: the station storey (platforms, the pedway concourse, the station back of house). Count per run uniform integer U{5..8} (rng.int, inclusive); E[count] = 6.5.

Which cells can hold a spawn

  1. a FLOOR cell of the context's storeys (not the outer border row)
  2. walking distance from the start ≥ 36 cells (18 m)
  3. every cell within 1 cell(s) walkable
  4. not a stair ramp, not in a stair-role area, the area on its own storey
  5. ≥ 5 m from every keep point of the storey
  6. the area's effective weight (area weight × room intensity) > 0
Skyways · Station storey (platforms, pedway concourse, station back of house): keep-away and clearance rules
RuleValueUnitIn metres
walking distance from the player start36cells18
clear walkable cells around the candidate (radius)1cells0.5
straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot5m5

Which areas are visited first

First matching rule wins (enclosed office rooms and back-of-house rooms otherwise). A relative weight in the weighted area order, multiplied by the room intensity D of its room key (1 when the room has no modifier). Weight 0 = never a candidate.

Skyways · Station storey (platforms, pedway concourse, station back of house): area weights (relative order preference; first matching rule wins)
Areas matchingArea weightWhy
kind platform2.2the platform of the station under the tower
type exit-stair / washroom0.5closed street exits and washrooms
type office-stair / stair-core / office-elevator0never in a stairwell, stair core or the elevator cab
type eatery / shop0.5storefront units
kind closet0.5closets
type office-open1.6open-plan office floors
public space1other public halls, lobby and corridors
any other area1.3

How many spawns one area may hold

The placement walks the area order once per pass (caps 1, 2, 3); an area takes one more spawn per visit while it is below its cap for that pass. Room modifiers never raise a cap.

Skyways · Station storey (platforms, pedway concourse, station back of house): spawns one area may hold (passes 1, 2, 3)
Areas matchingCapWhy
kind platformpass cap + 1platforms hold one more per pass
kind closetat most 1closets: at most one
any other areathe pass cap
Tries per area visit
14 random eligible cells
Spacing
at least 4 m between spawns (straight line, same storey)

Placement defined at OFFICE_PLACEMENT in game/src/ai/spawnTables.ts:374 (repository access required).

How a run places its count, and why it can fall short

  1. Draw count = U{5..8} (one draw per run), then the zombie types of that many spawns.
  2. Collect every eligible cell, grouped by area; order the areas by a weighted shuffle (Efraimidis–Spirakis keys u^(1/weight)).
  3. For each cap pass (1, 2, 3), walk the order: an area below its cap gets up to 14 random cell picks; the first pick ≥ 4 m from every enemy already placed on that storey takes one spawn.
  4. Stop when the count is reached. Spacing, caps and eligible floor can leave a run short of its count (placed < count); validation regenerates the attempt where the profile requires it.
  5. Each placed spawn is then a family by its own roll (see the family pool) — independent of the area unless a room modifier says otherwise.

Checks that reject a whole generation attempt

Context defined at SKYWAYS_SPAWN_PROFILE.contexts.station in game/src/ai/spawnTables.ts:802 (repository access required).

Street level (every building: lobbies, atrium courts, shops, service rooms) · street · count 8–12 per run × 1 run

One run covers: the street level (every building: lobbies, atrium courts, entrance halls, shops, service rooms). Count per run uniform integer U{8..12} (rng.int, inclusive); E[count] = 10.

Which cells can hold a spawn

  1. a FLOOR cell of the context's storeys (not the outer border row)
  2. walking distance from the start ≥ 36 cells (18 m)
  3. every cell within 1 cell(s) walkable
  4. not a stair ramp, not in a stair-role area, the area on its own storey
  5. ≥ 5 m from every keep point of the storey
  6. the area's effective weight (area weight × room intensity) > 0
Skyways · Street level (every building: lobbies, atrium courts, shops, service rooms): keep-away and clearance rules
RuleValueUnitIn metres
walking distance from the player start36cells18
clear walkable cells around the candidate (radius)1cells0.5
straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot5m5

Which areas are visited first

First matching rule wins (shop sales floors, stock rooms and back-of-house rooms otherwise). A relative weight in the weighted area order, multiplied by the room intensity D of its room key (1 when the room has no modifier). Weight 0 = never a candidate.

Skyways · Street level (every building: lobbies, atrium courts, shops, service rooms): area weights (relative order preference; first matching rule wins)
Areas matchingArea weightWhy
type shop6shop sales floors of the retail floors (stores, anchors, food units, kiosks): the infected linger in the shops
kind platform2.2the platforms of the station at the bottom of the pit
type exit-stair / washroom0.5closed street exits and washrooms
type office-stair / stair-core / office-elevator0never in a stairwell, stair core or an elevator cab
kind closet0.5closets
public space1gallery walkways, bridges, the pit plaza and courts
any other area1.3

How many spawns one area may hold

The placement walks the area order once per pass (caps 1, 2, 3); an area takes one more spawn per visit while it is below its cap for that pass. Room modifiers never raise a cap.

Skyways · Street level (every building: lobbies, atrium courts, shops, service rooms): spawns one area may hold (passes 1, 2, 3)
Areas matchingCapWhy
kind platformpass cap + 1platforms hold one more per pass
kind closetat most 1closets: at most one
any other areathe pass cap
Tries per area visit
14 random eligible cells
Spacing
at least 4 m between spawns (straight line, same storey)

Placement defined at MALL_RING_PLACEMENT in game/src/ai/spawnTables.ts:506 (repository access required).

How a run places its count, and why it can fall short

  1. Draw count = U{8..12} (one draw per run), then the zombie types of that many spawns.
  2. Collect every eligible cell, grouped by area; order the areas by a weighted shuffle (Efraimidis–Spirakis keys u^(1/weight)).
  3. For each cap pass (1, 2, 3), walk the order: an area below its cap gets up to 14 random cell picks; the first pick ≥ 4 m from every enemy already placed on that storey takes one spawn.
  4. Stop when the count is reached. Spacing, caps and eligible floor can leave a run short of its count (placed < count); validation regenerates the attempt where the profile requires it.
  5. Each placed spawn is then a family by its own roll (see the family pool) — independent of the area unless a room modifier says otherwise.

Checks that reject a whole generation attempt

Context defined at SKYWAYS_SPAWN_PROFILE.contexts.street in game/src/ai/spawnTables.ts:779 (repository access required).

Skyway level (concourses, bridges, shops, the add-on hall) · floor · count 10–15 per run × 1 run

One run covers: the skyway level (concourses, bridges, shops, the add-on hall). Count per run uniform integer U{10..15} (rng.int, inclusive); E[count] = 12.5.

Same cell eligibility, keep-away, area weights, caps, tries and spacing as Street level (every building: lobbies, atrium courts, shops, service rooms) (identical source values).

How a run places its count, and why it can fall short

  1. Draw count = U{10..15} (one draw per run), then the zombie types of that many spawns.
  2. Collect every eligible cell, grouped by area; order the areas by a weighted shuffle (Efraimidis–Spirakis keys u^(1/weight)).
  3. For each cap pass (1, 2, 3), walk the order: an area below its cap gets up to 14 random cell picks; the first pick ≥ 4 m from every enemy already placed on that storey takes one spawn.
  4. Stop when the count is reached. Spacing, caps and eligible floor can leave a run short of its count (placed < count); validation regenerates the attempt where the profile requires it.
  5. Each placed spawn is then a family by its own roll (see the family pool) — independent of the area unless a room modifier says otherwise.

Checks that reject a whole generation attempt

Context defined at SKYWAYS_SPAWN_PROFILE.contexts.floor in game/src/ai/spawnTables.ts:780 (repository access required).

Service annex (per annex) · service · count 5–6 per run × one run per zone (0–1 per level)

One run covers: one seeded service annex off a station track tunnel (its rooms and corridors only). Count per run uniform integer U{5..6} (rng.int, inclusive); E[count] = 5.5.

Which cells can hold a spawn

  1. a FLOOR cell of the context's storeys (not the outer border row)
  2. walking distance from the start ≥ 36 cells (18 m)
  3. every cell within 1 cell(s) walkable
  4. the area's effective weight (area weight × room intensity) > 0
  5. an area of the zone (one service annex), ≥ 6 m from the annex's entry door (its keep point)
Skyways · Service annex (per annex): keep-away and clearance rules
RuleValueUnitIn metres
walking distance from the player start36cells18
clear walkable cells around the candidate (radius)1cells0.5
straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot6m6

Which areas are visited first

First matching rule wins (annex rooms (pump / electrical rooms, stores, workshops, custodial rooms) otherwise). A relative weight in the weighted area order, multiplied by the room intensity D of its room key (1 when the room has no modifier). Weight 0 = never a candidate.

Skyways · Service annex (per annex): area weights (relative order preference; first matching rule wins)
Areas matchingArea weightWhy
kind closet0.6annex closets (janitor / electrical / supply)
kind service1annex service corridors (1.5-2 m wide)
any other area1.4

How many spawns one area may hold

The placement walks the area order once per pass (caps 1, 2); an area takes one more spawn per visit while it is below its cap for that pass. Room modifiers never raise a cap.

Skyways · Service annex (per annex): spawns one area may hold (passes 1, 2)
Areas matchingCapWhy
kind closetat most 1closets: at most one
any other areathe pass cap
Tries per area visit
12 random eligible cells
Spacing
at least 5 m between spawns (straight line)

Placement defined at SERVICE_PLACEMENT in game/src/ai/spawnTables.ts:405 (repository access required).

How a run places its count, and why it can fall short

  1. Draw count = U{5..6} (one draw per run), then the zombie types of that many spawns.
  2. Collect every eligible cell, grouped by area; order the areas by a weighted shuffle (Efraimidis–Spirakis keys u^(1/weight)).
  3. For each cap pass (1, 2), walk the order: an area below its cap gets up to 12 random cell picks; the first pick ≥ 5 m from every enemy already placed takes one spawn.
  4. Stop when the count is reached. Spacing, caps and eligible floor can leave a run short of its count (placed < count); validation regenerates the attempt where the profile requires it.
  5. Each placed spawn is then a family by its own roll (see the family pool) — independent of the area unless a room modifier says otherwise.

Checks that reject a whole generation attempt

Context defined at SKYWAYS_SPAWN_PROFILE.contexts.service in game/src/ai/spawnTables.ts:803 (repository access required).

Anime convention (cosplay zombies on the venue event floor) · cosplay · count 4–6 per run × one run per zone (0–1 per level)

One run covers: the convention venue's event floor (main hall, exhibitors' floor, photo lounge, panel rooms) and, from layout version 6, the host building's other public floor joined to it by its stair (its street-floor concourse); nowhere else. Count per run uniform integer U{4..6} (rng.int, inclusive); E[count] = 5.

Which cells can hold a spawn

  1. a FLOOR cell of the context's storeys (not the outer border row)
  2. walking distance from the start ≥ 36 cells (18 m)
  3. every cell within 1 cell(s) walkable
  4. the area's effective weight (area weight × room intensity) > 0
  5. the convention venue's public event floor only (its main hall, exhibitors' floor, photo lounge and panel rooms — never registration, the back of house, storage or the washrooms): a 3 × 3-clear walkable floor cell, never a ramp, ≥ 3 m from every door of those areas and from the add-on's entry, ≥ 2.5 m from every mascot statue (the greeter included), off the stage + 1 m, a 0.5 m disc around the spawn never splitting the storey (fair passage)
Skyways · Anime convention (cosplay zombies on the venue event floor): keep-away and clearance rules
RuleValueUnitIn metres
walking distance from the player start36cells18
clear walkable cells around the candidate (radius)1cells0.5
straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot5m5

Which areas are visited first

First matching rule wins (nowhere outside the convention venue: never its registration, back of house, storage or washrooms, nor any other area of the level otherwise). A relative weight in the weighted area order, multiplied by the room intensity D of its room key (1 when the room has no modifier). Weight 0 = never a candidate.

Skyways · Anime convention (cosplay zombies on the venue event floor): area weights (relative order preference; first matching rule wins)
Areas matchingArea weightWhy
kind concourse / room / passage1the convention venue's public event floor (main hall, exhibitors' floor, photo lounge, panel rooms)
any other area0

How many spawns one area may hold

The placement walks the area order once per pass (caps 6); an area takes one more spawn per visit while it is below its cap for that pass. Room modifiers never raise a cap.

Skyways · Anime convention (cosplay zombies on the venue event floor): spawns one area may hold (passes 6)
Areas matchingCapWhy
any other areathe pass cap
Tries per area visit
24 random eligible cells
Spacing
at least 2 m between spawns (straight line)

Placement defined at COSPLAY_PLACEMENT in game/src/ai/cosplayContext.ts:19 (repository access required).

How a run places its count, and why it can fall short

  1. Only with the convention add-on (layout version 5+): draw count = U{4..6} (one draw, rng.int); every one a shambler (no coat roll: the look is a costume).
  2. Round-robin over the hosting areas — the main hall first, the others in a seeded order — one spawn per area per pass (spread over the venue), each from up to 24 random picks of that area's stand points.
  3. A pick is taken when it is ≥ 2 m from every enemy already on the storey and its fair-passage disc never splits the floor. Spacing and eligible floor can leave the run short of its count (placed < count); a run never regenerates the level.
  4. Each placed spawn is an ordinary zombie (the convention's own pool, rolled by the one family roll at the end).
  5. Layout version 6+: a SECOND run appended right after it (gen/skyways/cosplayFloors.ts placeCosplayFloorSpawns, fork skyways-cosplay-floors), U{2..4} more on the host building's other public storey joined to the venue by its stair (today its street floor: lobby / galleria / court, entrance halls — never a shop, washroom, back room or stair core), each pick uniform over that floor's stand points with the same keep-offs (landings, doors, the boarded street entrances, passage, spacing); same tags and pool. A convention level holds up to 10 cosplayers.

Checks that reject a whole generation attempt

Context defined at SKYWAYS_SPAWN_PROFILE.contexts.cosplay in game/src/ai/spawnTables.ts:781 (repository access required).

Room modifiers

All 60 room keys resolve to 1× for every family (neutral); the profile sets no room modifiers. A room key or family without an entry resolves to 1×, which leaves the baseline placement unchanged.

Room key = the area's purpose id (gen/purposes.ts) when it has one, else its room type. Each field resolves: purpose entry → room-type entry → 1 (missing = neutral). Two modifiers exist per room key and family. Density changes local intensity: how strongly the room's areas are preferred when spawns are spread. Weight changes conditional composition: which family a spawn placed in that room is. Neither changes the count range, and caps and spacing still apply. No explicit entries: every other room / family resolves to 1×. Rows list the room keys seen in the sampled census plus any explicit entry; a key not listed resolves to 1× as well.

What each room modifier changes (per room key and enemy family)
ModifierChangesHowAt 0At 2
Density (local intensity)local intensityarea weight × D, D = all.density × Σ_f p_f·w_f·d_f / Σ_f p_f·w_f (p = pool weight, w = weight modifier, d = density modifier); the room's family mix uses p_f·w_f·d_fD = 0: the room is never a candidate (no spawns there); the count roll and the other rooms are unchanged, so its spawns go elsewhere when capacity allows.The room is visited earlier in every cap pass, so it tends to fill its caps before the count runs out: more spawns there, fewer elsewhere, the same total.
Weight (conditional composition)conditional compositionP(family f | spawn lands in the room) = p_f·w_f·d_f / Σ_g p_g·w_g·d_gThat family never spawns in that room (its spawns there become the other families).Twice its relative odds in that room before normalisation; the room still attracts the same number of spawns.

The profile sets no explicit room modifier entries: every room key below resolves to the neutral 1×.

Skyways: resolved room modifiers for every room key the level can produce (1× = neutral)
Room keyKey kindSampled room typesRoom intensity D(room)Infected: densityInfected: weightBlightbelly: densityBlightbelly: weightSiren: densitySiren: weightTunnel scavenger (rat/dog): densityTunnel scavenger (rat/dog): weightStrainer: densityStrainer: weightScreacher: densityScreacher: weightBB: densityBB: weight
BakerybakeryRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Burger counterburgerRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Coffee barcoffeeRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
ConcourseconcourseRoom typeConcourse concourse1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Convenience storeconvenienceRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Custodial & waste roomcustodial-roomRoom purposeStorage room storage1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Deli counterdeliRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Donut shopdonutRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Electrical closetelectrical-closetRoom purposeJanitor closet janitor-closet, Supply closet supply-closet1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Electrical roomelectrical-roomRoom purposeUtility room utility1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
FloristfloristRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Janitor closetjanitor-closetRoom purposeJanitor closet janitor-closet, Supply closet supply-closet1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Juice barjuiceRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Key cutting & shoe repairkeysRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Crew locker roomlocker-roomRoom purposeCrew room crew-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Lost property officelost-propertyRoom purposeStorage room storage1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Arcademall-arcadeRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Arcade back roommall-arcade-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Beauty storemall-beautyRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Customer service deskmall-customer-serviceRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Kitchen store roommall-food-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Home storemall-homeRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Home store stock roommall-home-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Jewellermall-jewelryRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Kioskmall-kioskRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Luggage storemall-luggageRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Music storemall-musicRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Music store stock roommall-music-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Opticianmall-opticalRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Outdoor outfittermall-outdoorsRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Outdoor outfitter stock roommall-outdoors-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Pet storemall-petRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Shoe storemall-shoesRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Sporting goodsmall-sportsRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Sporting goods stock roommall-sports-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Women's fashion storemall-womenswearRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
NewsstandnewsstandRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Noodle counternoodlesRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Listening loungeoffice-listeningRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Open-plan officeoffice-openRoom typeOpen-plan office office-open1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Officeoffice-roomRoom typeOffice office-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Stair passagepassageRoom typeStair passage passage1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
PharmacypharmacyRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Phone repairphoneRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Pizza counterpizzaRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
PlatformplatformRoom typePlatform platform1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Retail arcaderetail-arcadeRoom typeRetail arcade retail-arcade1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Transit security officesecurity-officeRoom purposeStorage room storage1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Shawarma grillshawarmaRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Signal relay roomsignal-roomRoom purposeUtility room utility1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Ramen restaurantskyways-ramenRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Ramen kitchenskyways-ramen-kitchenRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Staff roomstaff-roomRoom purposeCrew room crew-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Stock roomstock-roomRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Maintenance storagestorageRoom purposeStorage room storage, Utility room utility1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Supply closetsupply-closetRoom purposeJanitor closet janitor-closet, Supply closet supply-closet1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Sushi countersushiRoom purposeFood counter eatery1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Electronics storetechRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
WashroomwashroomRoom purposeWashroom washroom1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Maintenance workshopworkshopRoom purposeStorage room storage1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×

Room intensity D(room) multiplies the room's baseline area weight (see placement rules). Defined at roomIntensity in game/src/ai/spawnTables.ts:992 (repository access required). Meaning of each field: room modifiers.

Sampled census

sampled Observed, not a rule. These figures come from running the real Skyways generator on a small fixed corpus: 4 generated layouts from seeds 11, 222, 3333, 44444, pistol start. Eligible floor is the floor the generator's own candidate filter accepted (83022 cells of 0.25 m², 20755.5 m² in total), not the map's bounding box. Densities are placed spawns per 100 m² of that eligible floor over this sample only. Families are counted with the seeded roster applied: what these levels hold. The roster changes families only, so the totals are the generator's.

SAMPLED: 4 sample levels of the registered generator (seeds 11, 222, 3333, 44444, shipped start weapon) WITH THE SEEDED ROSTER APPLIED (roster version 4: what a level holds; the roster only changes families, so counts, positions and eligible floor are the generator's). Eligible floor = cells the generator's own candidate filter accepted (walking distance, clearance, storey, stair / landing keep-off, weight > 0) x 0.25 m² — never bounding boxes. Not exhaustive; not a runtime rule.

Skyways: placed spawns per family with the seeded roster applied (sampled: 4 layouts)
FamilyPlaced over the sample (with the roster)Mean per levelSample levels that hold itPer 100 m² eligible floor (sampled)Placed by the per-spawn roll alone (before the roster pass)
Infectedzombie10125.254 of 40.487108
Blightbellyblightbelly1234 of 40.0587
Sirensiren71.754 of 40.0346
Tunnel scavenger (rat/dog)ratdog10.251 of 40.0053
Strainerstrainer000 of 400
Screacherscreacher20.51 of 40.010
BBbb10.251 of 40.0050
Skyways: placed spawns per generation context (sampled)
ContextEligible floor m²Placed over the sampleMean per levelPer 100 m² eligible floor (sampled)Placed by family (sampled outcome)
Skyway level (concourses, bridges, shops, the add-on hall)10394.85914.750.568zombie 48 (81.4 %) · blightbelly 6 (10.2 %) · siren 3 (5.1 %) · ratdog 1 (1.7 %) · bb 1 (1.7 %)
Station storey (platforms, pedway concourse, station back of house)4037.8235.750.57zombie 20 (87 %) · blightbelly 2 (8.7 %) · screacher 1 (4.3 %)
Street level (every building: lobbies, atrium courts, shops, service rooms)63234210.50.664zombie 33 (78.6 %) · blightbelly 4 (9.5 %) · siren 4 (9.5 %) · screacher 1 (2.4 %)
Skyways: placed spawns per area kind (sampled)
Area kindEligible floor m²Infected placedBlightbelly placedSiren placedTunnel scavenger (rat/dog) placedStrainer placedScreacher placedBB placedPer 100 m² eligible floor (sampled)
closet40.2500000000
concourse13292.8266000100.248
passage2115.500000000
platform2487.361000000.281
room2819.8695710112.98
Skyways: Infected spawns by type (sampled)
TypePlaced over the sample
shambler70
coated31
Skyways: room keys in the sample (sampled; baseline area weights as the generator assigned them)
Room keyBaseline area weight(s)Layouts with itAreasEligible floor m²Infected placedBlightbelly placedSiren placedTunnel scavenger (rat/dog) placedStrainer placedScreacher placedBB placedPer 100 m² eligible floor (sampled)
Bakerybakery0.5, 1426133.540000003
Burger counterburger0.5, 14655.2510000103.62
Coffee barcoffee0.5, 1436217.331000001.84
Concourseconcourse141196674165000100.33
Convenience storeconvenience642175.751001100015.84
Custodial & waste roomcustodial-room1.3113.500000000
Deli counterdeli0.5, 1424177.330000001.69
Donut shopdonut0.5, 1342200000000
Electrical closetelectrical-closet0.5348.2500000000
Electrical roomelectrical-room1.3444010000002.5
Floristflorist641341.7540000009.58
Janitor closetjanitor-closet0.54814.7500000000
Juice barjuice0.5, 14145520000003.64
Key cutting & shoe repairkeys6115.75100000017.39
Crew locker roomlocker-room1.31115.2510000006.56
Lost property officelost-property1.32211.510000008.7
Arcademall-arcade61174.2500000000
Arcade back roommall-arcade-back1.3112100000050
Beauty storemall-beauty611700000000
Customer service deskmall-customer-service61165.7510000001.52
Kitchen store roommall-food-back1.3112.5100000040
Home storemall-home63332000100000.313
Home store stock roommall-home-back1.33311.500000000
Jewellermall-jewelry6443000000000
Kioskmall-kiosk6124010000002.5
Luggage storemall-luggage6116.2500000000
Music storemall-music623122.800100000.815
Music store stock roommall-music-back1.3221410000007.14
Opticianmall-optical6118.5100000011.76
Outdoor outfittermall-outdoors623172.820100001.74
Outdoor outfitter stock roommall-outdoors-back1.32214.510000006.9
Pet storemall-pet61112.7500100007.84
Shoe storemall-shoes63336.500200005.48
Sporting goodsmall-sports635117.520000001.7
Sporting goods stock roommall-sports-back1.3332610000003.85
Women's fashion storemall-womenswear6119.7500000000
Newsstandnewsstand642291.7550000005.45
Noodle counternoodles0.5, 14848.500000000
Listening loungeoffice-listening612500000000
Open-plan officeoffice-open11120.7500000000
Officeoffice-room1128.7500000000
Stair passagepassage14232115.500000000
Pharmacypharmacy641251.7550000009.66
Phone repairphone64204511000016.67
Pizza counterpizza0.5, 13652.510000001.9
Platformplatform2.2482487.361000000.281
Retail arcaderetail-arcade141396655.5102000000.18
Transit security officesecurity-office1.33322.7500000000
Shawarma grillshawarma0.5, 14648.7501000002.05
Signal relay roomsignal-room1.3112.500000000
Ramen restaurantskyways-ramen11132.2510000003.1
Ramen kitchenskyways-ramen-kitchen1.3111100000000
Staff roomstaff-room1.3331900000000
Stock roomstock-room1.34738.2510000002.61
Maintenance storagestorage1.3241500000000
Supply closetsupply-closet0.54817.2500000000
Sushi countersushi0.5, 141063.2520000003.16
Electronics storetech641581.541000006.13
Washroomwashroom0.5438164.860000003.64
Maintenance workshopworkshop1.3111200000000

Horde members in the sample (separate pool)

Members
63 over the sample (15.75 per level)
Groups
6 (1.5 per level), 5–19 members each
By family
Infected 63, Blightbelly 0, Siren 0, Tunnel scavenger (rat/dog) 0, Strainer 0, Screacher 0, BB 0
By starting storey
storey 1: 41, storey 2: 22

Horde members are the SEPARATE horde pool (profile.horde): not part of the ambient counts, contexts, eligible floor or room rows above. Rules: roaming hordes.

How to read these numbers

More: How to read enemy numbers.

Where to tune it

Each value names the source file and export where it lives (the game repository is private).

Skyways: where each enemy spawn value is tuned
ValueCurrentWhere it lives
count range (station)5–8SKYWAYS_SPAWN_PROFILE.contexts.station.count in game/src/ai/spawnTables.ts:802 (repository access required)
count range (street)8–12SKYWAYS_SPAWN_PROFILE.contexts.street.count in game/src/ai/spawnTables.ts:802 (repository access required)
count range (floor)10–15SKYWAYS_SPAWN_PROFILE.contexts.floor.count in game/src/ai/spawnTables.ts:802 (repository access required)
count range (service)5–6SKYWAYS_SPAWN_PROFILE.contexts.service.count in game/src/ai/spawnTables.ts:844 (repository access required)
count range (cosplay)4–6SKYWAYS_SPAWN_PROFILE.contexts.cosplay.count in game/src/ai/spawnTables.ts:802 (repository access required)
family pool weightszombie 0.1, blightbelly 0.05, siren 0.8, ratdog 0.05, strainer 0, screacher 0, bb 0SKYWAYS_SPAWN_PROFILE.families in game/src/ai/spawnTables.ts:783 (repository access required)
coated chance0.4ZOMBIE_TYPES in game/src/ai/spawnTables.ts:379 (repository access required)
area weights7 rules, otherwise 1.3OFFICE_AREA_WEIGHTS in game/src/ai/spawnTables.ts:347 (repository access required)
capspasses 1 / 2 / 3; 2 rulesOFFICE_CAPS in game/src/ai/spawnTables.ts:361 (repository access required)
tries per area visit14OFFICE_PLACEMENT.tries in game/src/ai/spawnTables.ts:375 (repository access required)
spacing (m)4OFFICE_PLACEMENT.spacingM in game/src/ai/spawnTables.ts:375 (repository access required)
keep-away from the start (cells)18 m walking36OFFICE_PLACEMENT.startCells in game/src/ai/spawnTables.ts:375 (repository access required)
landing keep-off (m)5OFFICE_PLACEMENT.landingKeepM in game/src/ai/spawnTables.ts:375 (repository access required)
area weights6 rules, otherwise 1.3MALL_RING_AREA_WEIGHTS in game/src/ai/spawnTables.ts:501 (repository access required)
capspasses 1 / 2 / 3; 2 rulesMALL_CAPS in game/src/ai/spawnTables.ts:479 (repository access required)
tries per area visit14MALL_RING_PLACEMENT.tries in game/src/ai/spawnTables.ts:598 (repository access required)
spacing (m)4MALL_RING_PLACEMENT.spacingM in game/src/ai/spawnTables.ts:534 (repository access required)
keep-away from the start (cells)18 m walking36MALL_RING_PLACEMENT.startCells in game/src/ai/spawnTables.ts:598 (repository access required)
landing keep-off (m)5MALL_RING_PLACEMENT.landingKeepM in game/src/ai/spawnTables.ts:598 (repository access required)
area weights2 rules, otherwise 1.4SERVICE_AREA_WEIGHTS in game/src/ai/spawnTables.ts:387 (repository access required)
capspasses 1 / 2; 1 rulesSERVICE_CAPS in game/src/ai/spawnTables.ts:396 (repository access required)
tries per area visit12SERVICE_PLACEMENT.tries in game/src/ai/spawnTables.ts:406 (repository access required)
spacing (m)5SERVICE_PLACEMENT.spacingM in game/src/ai/spawnTables.ts:406 (repository access required)
keep-away from the start (cells)18 m walking36SERVICE_PLACEMENT.startCells in game/src/ai/spawnTables.ts:406 (repository access required)
landing keep-off (m)6SERVICE_PLACEMENT.landingKeepM in game/src/ai/spawnTables.ts:406 (repository access required)
area weights1 rules, otherwise 0COSPLAY_PLACEMENT.areaWeights in game/src/ai/cosplayContext.ts:20 (repository access required)
capspasses 6; 0 rulesCOSPLAY_PLACEMENT.caps in game/src/ai/cosplayContext.ts:24 (repository access required)
tries per area visit24COSPLAY_PLACEMENT.tries in game/src/ai/cosplayContext.ts:25 (repository access required)
spacing (m)2COSPLAY_PLACEMENT.spacingM in game/src/ai/cosplayContext.ts:25 (repository access required)
keep-away from the start (cells)18 m walking36COSPLAY_PLACEMENT.startCells in game/src/ai/cosplayContext.ts:25 (repository access required)
landing keep-off (m)5COSPLAY_PLACEMENT.landingKeepM in game/src/ai/cosplayContext.ts:25 (repository access required)
room modifiersroom key → family (or all) → {density, weight}none (all 1×)SKYWAYS_SPAWN_PROFILE.rooms in game/src/ai/spawnTables.ts:805 (repository access required)
eligibility (siren)street / floor; fallback zombie; at most 4 per levelSKYWAYS_SIREN_ELIGIBILITY in game/src/ai/spawnTables.ts:735 (repository access required)
spacing (siren, m)whole level, with the cap24SKYWAYS_SIREN_SPACING in game/src/ai/spawnTables.ts:744 (repository access required)
difficulty tiermetadata only (no scaling)2LEVELS.skyways.tier in game/src/levels/registry.ts:146 (repository access required)
horde groups per level1–2SKYWAYS_HORDE in game/src/ai/spawnTables.ts:764 (repository access required)
horde members per group5–20SKYWAYS_HORDE in game/src/ai/spawnTables.ts:764 (repository access required)
horde budget (total / per storey / groups per storey)32 / 20 / 1SKYWAYS_HORDE in game/src/ai/spawnTables.ts:764 (repository access required)
horde family poolzombie 1, blightbelly 0, siren 0, ratdog 0, strainer 0, screacher 0, bb 0SKYWAYS_HORDE in game/src/ai/spawnTables.ts:764 (repository access required)
seeded roster rate (blightbelly)chance a level map holds the family at all; one roll per level seed0.6FAMILY_ROSTER.blightbelly in game/src/ai/enemyRoster.ts:154 (repository access required)
seeded roster rate (siren)chance a level map holds the family at all; one roll per level seed0.85FAMILY_ROSTER.siren in game/src/ai/enemyRoster.ts:156 (repository access required)
seeded roster rate (ratdog)chance a level map holds the family at all; one roll per level seed0.6FAMILY_ROSTER.ratdog in game/src/ai/enemyRoster.ts:158 (repository access required)
seeded roster rate (strainer)chance a level map holds the family at all; one roll per level seed0.35FAMILY_ROSTER.strainer in game/src/ai/enemyRoster.ts:160 (repository access required)
seeded roster rate (screacher)chance a level map holds the family at all; one roll per level seed0.4FAMILY_ROSTER.screacher in game/src/ai/enemyRoster.ts:162 (repository access required)
seeded roster rate (bb)chance a level map holds the family at all; one roll per level seed0.4FAMILY_ROSTER.bb in game/src/ai/enemyRoster.ts:175 (repository access required)