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.tierin game/src/levels/registry.ts:146 (repository access required) - Spawn profile
- Skyways —
SKYWAYS_SPAWN_PROFILEin 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.
| Context | Storeys one run covers | Runs per level | Count per run | E[count] per run | Per level | E per level |
|---|---|---|---|---|---|---|
| Station storey (platforms, pedway concourse, station back of house)station | the station storey (platforms, the pedway concourse, the station back of house) | 1 | 5–8U{5..8} | 6.5 | 5–8 | 6.5 |
| Street level (every building: lobbies, atrium courts, shops, service rooms)street | the street level (every building: lobbies, atrium courts, entrance halls, shops, service rooms) | 1 | 8–12U{8..12} | 10 | 8–12 | 10 |
| Skyway level (concourses, bridges, shops, the add-on hall)floor | the skyway level (concourses, bridges, shops, the add-on hall) | 1 | 10–15U{10..15} | 12.5 | 10–15 | 12.5 |
| Service annex (per annex)service | one seeded service annex off a station track tunnel (its rooms and corridors only) | 0–1one per zone (seeded) | 5–6U{5..6} | 5.5 | 0–6zone budget, not in the total | 5.5per zone |
| Anime convention (cosplay zombies on the venue event floor)cosplay | 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 | 0–1one per zone (seeded) | 4–6U{4..6} | 5 | 0–6zone budget, not in the total | 5per zone |
| Whole level | all core contexts (zones reported separately) | 23–35 | 29 |
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).
| Family | Weight | Conditional share (per-spawn roll) | Expected per level by the per-spawn roll alone (before the roster) | Seeded roster: chance the level's roll includes it | Per level with the roster (sampled) |
|---|---|---|---|---|---|
| Infectedzombie | 0.1 | 0.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 sampled | alwaysthe baseline: never rolled | in 20 of 20 levels · 28.55 per level sampled |
| Blightbellyblightbelly | 0.05 | 0.05 / 1 | 1.45 | 60%of level map seeds · share top-up | in 16 of 20 levels · 2.5 per level · 3.13 per level that holds it sampled |
| Sirensiren | 0.8 | 0.8 / 1draw share; 4.6% of the placed spawns after the rule, before the roster pass sampled (eligibility rule) | 1.6 sampled | 85%of level map seeds · at least one where a room qualifies | in 11 of 20 levels · 1.1 per level · 2 per level that holds it sampled |
| Tunnel scavenger (rat/dog)ratdog | 0.05 | 0.05 / 1 | 1.45 | 60%of level map seeds · share top-up | in 13 of 20 levels · 1.85 per level · 2.85 per level that holds it sampled |
| Strainerstrainer | 0 | 0 / 1level pool; its weight is in a context's own pool: Service annex (per annex) 8% | 0 | 35%of the map seeds whose map has a spawn in its contexts · exactly one, in its contexts | in 1 of 20 levels · 0.05 per level · 1 per level that holds it sampled |
| Screacherscreacher | 0 | 0 / 1roster-only: no per-spawn roll draws it (placed by the seeded roster alone) | 0 | 40%of level map seeds · a count in place of ordinary zombies | in 5 of 20 levels · 0.45 per level · 1.8 per level that holds it sampled |
| BBbb | 0 | 0 / 1roster-only: no per-spawn roll draws it (placed by the seeded roster alone) | 0 | 40%of level map seeds · a count in place of ordinary zombies | in 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
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:
- 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
- area kind room
- never in (room type or purpose): washroom, stair-core, storage, utility, office-stair, office-elevator
- the area's shorter side ≥ 8 cells (4 m)
- the area ≥ 100 cells (25 m²)
- a clear 1.5 × 1.5 m patch: every cell within 1 cell(s) is walkable floor of the same area
- ≥ 3 m from the centre of every doorway of its area
- 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)
- at most 4 per generated level (all contexts; later draws in spawn order fall back)
- ≥ 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.
| Family | Placed over the sample | Mean per level | Placed share |
|---|---|---|---|
| Infectedzombie | 594 | 29.7 | |
| Blightbellyblightbelly | 34 | 1.7 | |
| Sirensiren | 32 | 1.6 | |
| Tunnel scavenger (rat/dog)ratdog | 38 | 1.9 | |
| Strainerstrainer | 2 | 0.1 | |
| Screacherscreacher | 0 | 0 | |
| BBbb | 0 | 0 |
| Draws (roll landed on it) | Placed | Placed per level (mean) | Levels with none | Most in one level |
|---|---|---|---|---|
| 559 | 32 | 1.6 | 4 of 20 | 4 |
| Placed in one level | Layouts |
|---|---|
| 0 | 4 |
| 1 | 5 |
| 2 | 8 |
| 3 | 1 |
| 4 | 2 |
| Criterion | Draws |
|---|---|
| size | 192 |
| context | 155 |
| kind | 120 |
| door | 30 |
| passage | 11 |
| room | 9 |
| clear | 5 |
| spacing | 3 |
| cap | 2 |
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
- 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).
| Family | Weight | Conditional share |
|---|---|---|
| Infectedzombie | 1 | 1 / 1 |
| Blightbellyblightbelly | 0 | never in a horde |
| Sirensiren | 0 | never in a horde |
| Tunnel scavenger (rat/dog)ratdog | 0 | never in a horde |
| Strainerstrainer | 0 | never in a horde |
| Screacherscreacher | 0 | never in a horde |
| BBbb | 0 | never in a horde |
- A SEPARATE pool: horde members are placed once at generation, after the ambient contexts and the ambient family roll, and never count against the ambient budget (or the reverse).
- Every member carries the horde pool's own context tag 'horde' (declared by the profile's horde rules), never an ambient context: no ambient family roll or eligibility rule (no Siren) ever reaches a horde member.
- The horde family pool is explicit: the ambient rat/dog and Blightbelly shares are NOT applied to hordes, and Sirens never join an ordinary-zombie horde (validation rejects them).
- Finite: no spawner, no kill top-up and no revisit respawn. Kills persist through the run memory like every enemy; a group whose members all died stays dead.
- Members roam together on the patrol graph of real walkable links (gallery walkways, bridges, escalators / stairs); each member can break formation to chase with the ordinary AI.
Defined at SKYWAYS_HORDE in game/src/ai/spawnTables.ts:764 (repository access required).
Seeded roster
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.
| Family | Can this level hold it | Chance the roll includes it | On this level | The roll itself over level seeds 1 to 10000 | Sample levels with the roster (sampled) |
|---|---|---|---|---|---|
| Infectedzombie | always: the baseline, never rolled | alwaysthe baseline: never rolled | Always: the baseline family, never rolled. The other families only ever take ordinary ambient zombie slots. | not rolled | in 20 of 20 levels · 28.55 per level sampled |
| Blightbellyblightbelly | yes: every map of the level is rolled | 60%of level map seeds · share top-up | The 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 seeds | in 16 of 20 levels · 2.5 per level · 3.13 per level that holds it sampled |
| Sirensiren | yes: every map of the level is rolled | 85%of level map seeds · at least one where a room qualifies | The 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 seeds | in 11 of 20 levels · 1.1 per level · 2 per level that holds it sampled |
| Tunnel scavenger (rat/dog)ratdog | yes: every map of the level is rolled | 60%of level map seeds · share top-up | The 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 seeds | in 13 of 20 levels · 1.85 per level · 2.85 per level that holds it sampled |
| Strainerstrainer | depends on the map: only a map with a spawn in its contexts is rolled | 35%of the map seeds whose map has a spawn in its contexts · exactly one, in its contexts | The 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 seeds | in 1 of 20 levels · 0.05 per level · 1 per level that holds it sampled |
| Screacherscreacher roster-only | yes: every map of the level is rolled | 40%of level map seeds · a count in place of ordinary zombies | The 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 seeds | in 5 of 20 levels · 0.45 per level · 1.8 per level that holds it sampled |
| BBbb roster-only | yes: every map of the level is rolled | 40%of level map seeds · a count in place of ordinary zombies | The 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 seeds | in 5 of 20 levels · 0.5 per level · 2 per level that holds it sampled |
How a family this level holds is placed
- Blightbelly (share top-up). Share top-up ("option B"), at least one. What the per-spawn roll placed stays; then every remaining ordinary ambient zombie slot whose pool gives the family weight converts with chance share × (1 / rate − 1) × (ambient slots whose pool gives it weight / the ordinary zombie slots among them). A level that holds the family so has about (the per-spawn roll's number) / rate of it, and over many levels the family total stays about what the per-spawn roll alone placed — concentrated on fewer levels. At rate 1 nothing is topped up. PRESENT MEANS AT LEAST ONE: if the per-spawn roll and the top-ups together left none, one ordinary ambient zombie slot whose pool gives the family weight becomes it (picked by weight: a slot with a larger share is more likely), also at rate 1. Only a level with no such slot at all holds none (the pass reports "no slot"). Its rule.
- Siren (at least one where a room qualifies). At least one where a room qualifies. Her per-spawn draw weight, room eligibility, per-level cap and spacing decide as before. Only if that left none: an ordinary ambient zombie standing where she is eligible becomes her — else a member of a share-top-up family standing there, which is exchanged to an ordinary zombie slot elsewhere. A level in which no such enemy stands in a room she is eligible in holds none (the pass reports "no slot"). Its rule.
- Tunnel scavenger (rat/dog) (share top-up). Share top-up ("option B"), at least one. What the per-spawn roll placed stays; then every remaining ordinary ambient zombie slot whose pool gives the family weight converts with chance share × (1 / rate − 1) × (ambient slots whose pool gives it weight / the ordinary zombie slots among them). A level that holds the family so has about (the per-spawn roll's number) / rate of it, and over many levels the family total stays about what the per-spawn roll alone placed — concentrated on fewer levels. At rate 1 nothing is topped up. PRESENT MEANS AT LEAST ONE: if the per-spawn roll and the top-ups together left none, one ordinary ambient zombie slot whose pool gives the family weight becomes it (picked by weight: a slot with a larger share is more likely), also at rate 1. Only a level with no such slot at all holds none (the pass reports "no slot"). Its rule.
- Strainer (exactly one, in its contexts). Exactly one, in its contexts (service, damp). Only a map that has an ambient spawn in one of them is rolled. Present: one the per-spawn roll placed there is kept and any others become ordinary zombies; with none, an ordinary ambient zombie slot there converts — else the slot of a share-top-up family's member there, which is exchanged to an ordinary zombie slot elsewhere. A level whose roll includes the family always holds exactly one. Its rule.
- Screacher (a count in place of ordinary zombies). Counted: placed by the roster alone (no per-spawn roll can draw it). One count per level map — 1 in 40 %, 2 in 40 %, 3 in 20 % of the levels that hold it — and that many ordinary ambient zombie slots of the contexts station, street, floor, roof, pit, ring become the family: only in an area at least 6 cells (3 m) on its shorter side and 80 cells (20 m²) large, never area kind closet and never a room of type / purpose exit-stair, washroom, office-stair, stair-core, office-elevator, supply-closet, janitor-closet, electrical-closet; never a horde member, an outfit zombie or a spawn of another context. Slots are taken in a seeded order, each at least 14 m (straight 3D line) from the ones already taken: where the level cannot space them out the level holds as many as fit, at least one. A level with no such slot at all relaxes the rule to any ordinary ambient zombie of those contexts, then to any ordinary ambient zombie. Each one takes a model variant (sc01, sc02, sc03, sc04), dealt in turn from a seeded start. Its rule.
- BB (a count in place of ordinary zombies). Counted: placed by the roster alone (no per-spawn roll can draw it). One count per level map — 1 in 35 %, 2 in 40 %, 3 in 25 % of the levels that hold it — and that many ordinary ambient zombie slots of the contexts station, street, floor, pit, ring become the family: only in an area at least 5 cells (2.5 m) on its shorter side and 60 cells (15 m²) large, never area kind closet and never a room of type / purpose exit-stair, washroom, office-stair, stair-core, office-elevator, supply-closet, janitor-closet, electrical-closet; never a horde member, an outfit zombie or a spawn of another context. Slots are taken in a seeded order, each at least 9 m (straight 3D line) from the ones already taken: where the level cannot space them out the level holds as many as fit, at least one. A level with no such slot at all relaxes the rule to any ordinary ambient zombie of those contexts, then to any ordinary ambient zombie. Each one takes a model variant (lullaby, binky, teddy, changeling), dealt in turn from a seeded start. PLACED LAST (its rule applies from roster version 3): after every family of an earlier roster version has its slots, whatever their policies. It takes only ordinary ambient zombie slots those families left, so each of them stands exactly where the earlier version put it. Its rule.
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.
- Blightbelly: rolled present in 16 of the 20 sample levels; 16 of them hold it. Long-run rate: 60% of level map seeds.
- Siren: rolled present in 15 of the 20 sample levels; 11 of them hold it. Long-run rate: 85% of level map seeds.
- Tunnel scavenger (rat/dog): rolled present in 13 of the 20 sample levels; 13 of them hold it. Long-run rate: 60% of level map seeds.
- Strainer: 5 of the 20 sample levels could hold it (a map with a spawn in its contexts); 1 of those rolled it present and 1 hold it. Long-run rate: 35% of such maps.
- Screacher: rolled present in 5 of the 20 sample levels; 5 of them hold it. Long-run rate: 40% of level map seeds.
- BB: rolled present in 5 of the 20 sample levels; 5 of them hold it. Long-run rate: 40% of level map seeds.
| Family | Levels that could hold it | Levels whose roll included it | Levels that hold it | Placed by the per-spawn roll alone (before the pass) | Slots the pass took from it | Slots the pass gave it | With the roster (after the pass) | Mean per level | Mean per level that holds it | Most in one level | Share of the ambient enemies | Present without a legal slot | Levels by number held (number: levels) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Infectedzombie | 20 | 20 | 20 | 594 | 50 | 27 | 571 | 28.55 | 28.55 | 41 | 0 | — | |
| Blightbellyblightbelly | 20 | 16 | 16 | 34 | 6 | 22 | 50 | 2.5 | 3.13 | 7 | 0 | 0: 4 · 1: 4 · 2: 3 · 3: 3 · 4: 2 · 5: 2 · 6: 1 · 7: 1 | |
| Sirensiren | 20 | 15 | 11 | 32 | 10 | 0 | 22 | 1.1 | 2 | 4 | 4 | 0: 9 · 1: 4 · 2: 5 · 3: 0 · 4: 2 | |
| Tunnel scavenger (rat/dog)ratdog | 20 | 13 | 13 | 38 | 12 | 11 | 37 | 1.85 | 2.85 | 8 | 0 | 0: 7 · 1: 1 · 2: 6 · 3: 4 · 4: 1 · 5: 0 · 6: 0 · 7: 0 · 8: 1 | |
| Strainerstrainer | 5 | 1 | 1 | 2 | 2 | 1 | 1 | 0.05 | 1 | 1 | 0 | 0: 19 · 1: 1 | |
| Screacherscreacher | 20 | 5 | 5 | 0 | 0 | 9 | 9 | 0.45 | 1.8 | 3 | 0 | 0: 15 · 1: 2 · 2: 2 · 3: 1 | |
| BBbb | 20 | 5 | 5 | 0 | 0 | 10 | 10 | 0.5 | 2 | 3 | 0 | 0: 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
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.
| Type | Chance 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.
| Context | Spawns 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)
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
- a FLOOR cell of the context's storeys (not the outer border row)
- walking distance from the start ≥ 36 cells (18 m)
- every cell within 1 cell(s) walkable
- not a stair ramp, not in a stair-role area, the area on its own storey
- ≥ 5 m from every keep point of the storey
- the area's effective weight (area weight × room intensity) > 0
| Rule | Value | Unit | In metres |
|---|---|---|---|
| walking distance from the player start | 36 | cells | 18 |
| clear walkable cells around the candidate (radius) | 1 | cells | 0.5 |
| straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot | 5 | m | 5 |
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.
| Areas matching | Area weight | Why |
|---|---|---|
| kind platform | 2.2 | the platform of the station under the tower |
| type exit-stair / washroom | 0.5 | closed street exits and washrooms |
| type office-stair / stair-core / office-elevator | 0 | never in a stairwell, stair core or the elevator cab |
| type eatery / shop | 0.5 | storefront units |
| kind closet | 0.5 | closets |
| type office-open | 1.6 | open-plan office floors |
| public space | 1 | other public halls, lobby and corridors |
| any other area | 1.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.
| Areas matching | Cap | Why |
|---|---|---|
| kind platform | pass cap + 1 | platforms hold one more per pass |
| kind closet | at most 1 | closets: at most one |
| any other area | the 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
- Draw count = U{5..8} (one draw per run), then the zombie types of that many spawns.
- Collect every eligible cell, grouped by area; order the areas by a weighted shuffle (Efraimidis–Spirakis keys u^(1/weight)).
- 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.
- 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.
- 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
- fewer than 5 placed in one run → the whole attempt is regenerated
- more than 8 placed in one run → the whole attempt is regenerated
- an enemy closer than 36 walking cells to the start, on an unreachable cell or intersecting geometry → the attempt is regenerated
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)
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
- a FLOOR cell of the context's storeys (not the outer border row)
- walking distance from the start ≥ 36 cells (18 m)
- every cell within 1 cell(s) walkable
- not a stair ramp, not in a stair-role area, the area on its own storey
- ≥ 5 m from every keep point of the storey
- the area's effective weight (area weight × room intensity) > 0
| Rule | Value | Unit | In metres |
|---|---|---|---|
| walking distance from the player start | 36 | cells | 18 |
| clear walkable cells around the candidate (radius) | 1 | cells | 0.5 |
| straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot | 5 | m | 5 |
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.
| Areas matching | Area weight | Why |
|---|---|---|
| type shop | 6 | shop sales floors of the retail floors (stores, anchors, food units, kiosks): the infected linger in the shops |
| kind platform | 2.2 | the platforms of the station at the bottom of the pit |
| type exit-stair / washroom | 0.5 | closed street exits and washrooms |
| type office-stair / stair-core / office-elevator | 0 | never in a stairwell, stair core or an elevator cab |
| kind closet | 0.5 | closets |
| public space | 1 | gallery walkways, bridges, the pit plaza and courts |
| any other area | 1.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.
| Areas matching | Cap | Why |
|---|---|---|
| kind platform | pass cap + 1 | platforms hold one more per pass |
| kind closet | at most 1 | closets: at most one |
| any other area | the 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
- Draw count = U{8..12} (one draw per run), then the zombie types of that many spawns.
- Collect every eligible cell, grouped by area; order the areas by a weighted shuffle (Efraimidis–Spirakis keys u^(1/weight)).
- 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.
- 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.
- 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
- fewer than 8 placed in one run → the whole attempt is regenerated
- more than 12 placed in one run → the whole attempt is regenerated
- an enemy closer than 36 walking cells to the start, on an unreachable cell or intersecting geometry → the attempt is regenerated
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)
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
- Draw count = U{10..15} (one draw per run), then the zombie types of that many spawns.
- Collect every eligible cell, grouped by area; order the areas by a weighted shuffle (Efraimidis–Spirakis keys u^(1/weight)).
- 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.
- 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.
- 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
- fewer than 10 placed in one run → the whole attempt is regenerated
- more than 15 placed in one run → the whole attempt is regenerated
- an enemy closer than 36 walking cells to the start, on an unreachable cell or intersecting geometry → the attempt is regenerated
Context defined at SKYWAYS_SPAWN_PROFILE.contexts.floor in game/src/ai/spawnTables.ts:780 (repository access required).
Service annex (per annex)
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
- a FLOOR cell of the context's storeys (not the outer border row)
- walking distance from the start ≥ 36 cells (18 m)
- every cell within 1 cell(s) walkable
- the area's effective weight (area weight × room intensity) > 0
- an area of the zone (one service annex), ≥ 6 m from the annex's entry door (its keep point)
| Rule | Value | Unit | In metres |
|---|---|---|---|
| walking distance from the player start | 36 | cells | 18 |
| clear walkable cells around the candidate (radius) | 1 | cells | 0.5 |
| straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot | 6 | m | 6 |
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.
| Areas matching | Area weight | Why |
|---|---|---|
| kind closet | 0.6 | annex closets (janitor / electrical / supply) |
| kind service | 1 | annex service corridors (1.5-2 m wide) |
| any other area | 1.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.
| Areas matching | Cap | Why |
|---|---|---|
| kind closet | at most 1 | closets: at most one |
| any other area | the 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
- Draw count = U{5..6} (one draw per run), then the zombie types of that many spawns.
- Collect every eligible cell, grouped by area; order the areas by a weighted shuffle (Efraimidis–Spirakis keys u^(1/weight)).
- 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.
- 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.
- 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
- more than 6 placed in one run → the whole attempt is regenerated
- an enemy closer than 36 walking cells to the start, on an unreachable cell or intersecting geometry → the attempt is regenerated
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)
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
- a FLOOR cell of the context's storeys (not the outer border row)
- walking distance from the start ≥ 36 cells (18 m)
- every cell within 1 cell(s) walkable
- the area's effective weight (area weight × room intensity) > 0
- 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)
| Rule | Value | Unit | In metres |
|---|---|---|---|
| walking distance from the player start | 36 | cells | 18 |
| clear walkable cells around the candidate (radius) | 1 | cells | 0.5 |
| straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot | 5 | m | 5 |
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.
| Areas matching | Area weight | Why |
|---|---|---|
| kind concourse / room / passage | 1 | the convention venue's public event floor (main hall, exhibitors' floor, photo lounge, panel rooms) |
| any other area | 0 |
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.
| Areas matching | Cap | Why |
|---|---|---|
| any other area | the 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
- 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).
- 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.
- 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.
- Each placed spawn is an ordinary zombie (the convention's own pool, rolled by the one family roll at the end).
- 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
- more than 6 placed in one run → the whole attempt is regenerated
- an enemy closer than 36 walking cells to the start, on an unreachable cell or intersecting geometry → the attempt is regenerated
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.
| Modifier | Changes | How | At 0 | At 2 |
|---|---|---|---|---|
| Density (local intensity) | local intensity | area 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_f | D = 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 composition | P(family f | spawn lands in the room) = p_f·w_f·d_f / Σ_g p_g·w_g·d_g | That 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×.
| Room key | Key kind | Sampled room types | Room intensity D(room) | Infected: density | Infected: weight | Blightbelly: density | Blightbelly: weight | Siren: density | Siren: weight | Tunnel scavenger (rat/dog): density | Tunnel scavenger (rat/dog): weight | Strainer: density | Strainer: weight | Screacher: density | Screacher: weight | BB: density | BB: weight |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Bakerybakery | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Burger counterburger | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Coffee barcoffee | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Concourseconcourse | Room type | Concourse concourse | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Convenience storeconvenience | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Custodial & waste roomcustodial-room | Room purpose | Storage room storage | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Deli counterdeli | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Donut shopdonut | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Electrical closetelectrical-closet | Room purpose | Janitor closet janitor-closet, Supply closet supply-closet | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Electrical roomelectrical-room | Room purpose | Utility room utility | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Floristflorist | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Janitor closetjanitor-closet | Room purpose | Janitor closet janitor-closet, Supply closet supply-closet | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Juice barjuice | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Key cutting & shoe repairkeys | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Crew locker roomlocker-room | Room purpose | Crew room crew-room | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Lost property officelost-property | Room purpose | Storage room storage | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Arcademall-arcade | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Arcade back roommall-arcade-back | Room purpose | Stock room stock-room | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Beauty storemall-beauty | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Customer service deskmall-customer-service | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Kitchen store roommall-food-back | Room purpose | Stock room stock-room | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Home storemall-home | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Home store stock roommall-home-back | Room purpose | Stock room stock-room | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Jewellermall-jewelry | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Kioskmall-kiosk | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Luggage storemall-luggage | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Music storemall-music | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Music store stock roommall-music-back | Room purpose | Stock room stock-room | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Opticianmall-optical | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Outdoor outfittermall-outdoors | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Outdoor outfitter stock roommall-outdoors-back | Room purpose | Stock room stock-room | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Pet storemall-pet | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Shoe storemall-shoes | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Sporting goodsmall-sports | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Sporting goods stock roommall-sports-back | Room purpose | Stock room stock-room | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Women's fashion storemall-womenswear | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Newsstandnewsstand | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Noodle counternoodles | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Listening loungeoffice-listening | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Open-plan officeoffice-open | Room type | Open-plan office office-open | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Officeoffice-room | Room type | Office office-room | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Stair passagepassage | Room type | Stair passage passage | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Pharmacypharmacy | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Phone repairphone | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Pizza counterpizza | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Platformplatform | Room type | Platform platform | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Retail arcaderetail-arcade | Room type | Retail arcade retail-arcade | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Transit security officesecurity-office | Room purpose | Storage room storage | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Shawarma grillshawarma | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Signal relay roomsignal-room | Room purpose | Utility room utility | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Ramen restaurantskyways-ramen | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Ramen kitchenskyways-ramen-kitchen | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Staff roomstaff-room | Room purpose | Crew room crew-room | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Stock roomstock-room | Room purpose | Stock room stock-room | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Maintenance storagestorage | Room purpose | Storage room storage, Utility room utility | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Supply closetsupply-closet | Room purpose | Janitor closet janitor-closet, Supply closet supply-closet | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Sushi countersushi | Room purpose | Food counter eatery | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Electronics storetech | Room purpose | Shop shop | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Washroomwashroom | Room purpose | Washroom washroom | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× | 1× |
| Maintenance workshopworkshop | Room purpose | Storage room storage | 1× | 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.
| Family | Placed over the sample (with the roster) | Mean per level | Sample levels that hold it | Per 100 m² eligible floor (sampled) | Placed by the per-spawn roll alone (before the roster pass) |
|---|---|---|---|---|---|
| Infectedzombie | 101 | 25.25 | 4 of 4 | 0.487 | 108 |
| Blightbellyblightbelly | 12 | 3 | 4 of 4 | 0.058 | 7 |
| Sirensiren | 7 | 1.75 | 4 of 4 | 0.034 | 6 |
| Tunnel scavenger (rat/dog)ratdog | 1 | 0.25 | 1 of 4 | 0.005 | 3 |
| Strainerstrainer | 0 | 0 | 0 of 4 | 0 | 0 |
| Screacherscreacher | 2 | 0.5 | 1 of 4 | 0.01 | 0 |
| BBbb | 1 | 0.25 | 1 of 4 | 0.005 | 0 |
| Context | Eligible floor m² | Placed over the sample | Mean per level | Per 100 m² eligible floor (sampled) | Placed by family (sampled outcome) |
|---|---|---|---|---|---|
| Skyway level (concourses, bridges, shops, the add-on hall) | 10394.8 | 59 | 14.75 | 0.568 | zombie 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.8 | 23 | 5.75 | 0.57 | zombie 20 (87 %) · blightbelly 2 (8.7 %) · screacher 1 (4.3 %) |
| Street level (every building: lobbies, atrium courts, shops, service rooms) | 6323 | 42 | 10.5 | 0.664 | zombie 33 (78.6 %) · blightbelly 4 (9.5 %) · siren 4 (9.5 %) · screacher 1 (2.4 %) |
| Area kind | Eligible floor m² | Infected placed | Blightbelly placed | Siren placed | Tunnel scavenger (rat/dog) placed | Strainer placed | Screacher placed | BB placed | Per 100 m² eligible floor (sampled) |
|---|---|---|---|---|---|---|---|---|---|
| closet | 40.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| concourse | 13292.8 | 26 | 6 | 0 | 0 | 0 | 1 | 0 | 0.248 |
| passage | 2115.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| platform | 2487.3 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0.281 |
| room | 2819.8 | 69 | 5 | 7 | 1 | 0 | 1 | 1 | 2.98 |
| Type | Placed over the sample |
|---|---|
| shambler | 70 |
| coated | 31 |
| Room key | Baseline area weight(s) | Layouts with it | Areas | Eligible floor m² | Infected placed | Blightbelly placed | Siren placed | Tunnel scavenger (rat/dog) placed | Strainer placed | Screacher placed | BB placed | Per 100 m² eligible floor (sampled) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Bakerybakery | 0.5, 1 | 4 | 26 | 133.5 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
| Burger counterburger | 0.5, 1 | 4 | 6 | 55.25 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3.62 |
| Coffee barcoffee | 0.5, 1 | 4 | 36 | 217.3 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 1.84 |
| Concourseconcourse | 1 | 4 | 119 | 6674 | 16 | 5 | 0 | 0 | 0 | 1 | 0 | 0.33 |
| Convenience storeconvenience | 6 | 4 | 21 | 75.75 | 10 | 0 | 1 | 1 | 0 | 0 | 0 | 15.84 |
| Custodial & waste roomcustodial-room | 1.3 | 1 | 1 | 3.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Deli counterdeli | 0.5, 1 | 4 | 24 | 177.3 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 1.69 |
| Donut shopdonut | 0.5, 1 | 3 | 4 | 22 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Electrical closetelectrical-closet | 0.5 | 3 | 4 | 8.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Electrical roomelectrical-room | 1.3 | 4 | 4 | 40 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2.5 |
| Floristflorist | 6 | 4 | 13 | 41.75 | 4 | 0 | 0 | 0 | 0 | 0 | 0 | 9.58 |
| Janitor closetjanitor-closet | 0.5 | 4 | 8 | 14.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Juice barjuice | 0.5, 1 | 4 | 14 | 55 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 3.64 |
| Key cutting & shoe repairkeys | 6 | 1 | 1 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 17.39 |
| Crew locker roomlocker-room | 1.3 | 1 | 1 | 15.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6.56 |
| Lost property officelost-property | 1.3 | 2 | 2 | 11.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 8.7 |
| Arcademall-arcade | 6 | 1 | 1 | 74.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Arcade back roommall-arcade-back | 1.3 | 1 | 1 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 50 |
| Beauty storemall-beauty | 6 | 1 | 1 | 7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Customer service deskmall-customer-service | 6 | 1 | 1 | 65.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1.52 |
| Kitchen store roommall-food-back | 1.3 | 1 | 1 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 40 |
| Home storemall-home | 6 | 3 | 3 | 320 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0.313 |
| Home store stock roommall-home-back | 1.3 | 3 | 3 | 11.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Jewellermall-jewelry | 6 | 4 | 4 | 30 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Kioskmall-kiosk | 6 | 1 | 2 | 40 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2.5 |
| Luggage storemall-luggage | 6 | 1 | 1 | 6.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Music storemall-music | 6 | 2 | 3 | 122.8 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0.815 |
| Music store stock roommall-music-back | 1.3 | 2 | 2 | 14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7.14 |
| Opticianmall-optical | 6 | 1 | 1 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11.76 |
| Outdoor outfittermall-outdoors | 6 | 2 | 3 | 172.8 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 1.74 |
| Outdoor outfitter stock roommall-outdoors-back | 1.3 | 2 | 2 | 14.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6.9 |
| Pet storemall-pet | 6 | 1 | 1 | 12.75 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 7.84 |
| Shoe storemall-shoes | 6 | 3 | 3 | 36.5 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 5.48 |
| Sporting goodsmall-sports | 6 | 3 | 5 | 117.5 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1.7 |
| Sporting goods stock roommall-sports-back | 1.3 | 3 | 3 | 26 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3.85 |
| Women's fashion storemall-womenswear | 6 | 1 | 1 | 9.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Newsstandnewsstand | 6 | 4 | 22 | 91.75 | 5 | 0 | 0 | 0 | 0 | 0 | 0 | 5.45 |
| Noodle counternoodles | 0.5, 1 | 4 | 8 | 48.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Listening loungeoffice-listening | 6 | 1 | 2 | 5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Open-plan officeoffice-open | 1 | 1 | 1 | 20.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Officeoffice-room | 1 | 1 | 2 | 8.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Stair passagepassage | 1 | 4 | 23 | 2115.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Pharmacypharmacy | 6 | 4 | 12 | 51.75 | 5 | 0 | 0 | 0 | 0 | 0 | 0 | 9.66 |
| Phone repairphone | 6 | 4 | 20 | 45 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 6.67 |
| Pizza counterpizza | 0.5, 1 | 3 | 6 | 52.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1.9 |
| Platformplatform | 2.2 | 4 | 8 | 2487.3 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0.281 |
| Retail arcaderetail-arcade | 1 | 4 | 139 | 6655.5 | 10 | 2 | 0 | 0 | 0 | 0 | 0 | 0.18 |
| Transit security officesecurity-office | 1.3 | 3 | 3 | 22.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Shawarma grillshawarma | 0.5, 1 | 4 | 6 | 48.75 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2.05 |
| Signal relay roomsignal-room | 1.3 | 1 | 1 | 2.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Ramen restaurantskyways-ramen | 1 | 1 | 1 | 32.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3.1 |
| Ramen kitchenskyways-ramen-kitchen | 1.3 | 1 | 1 | 11 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Staff roomstaff-room | 1.3 | 3 | 3 | 19 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Stock roomstock-room | 1.3 | 4 | 7 | 38.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2.61 |
| Maintenance storagestorage | 1.3 | 2 | 4 | 15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Supply closetsupply-closet | 0.5 | 4 | 8 | 17.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Sushi countersushi | 0.5, 1 | 4 | 10 | 63.25 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 3.16 |
| Electronics storetech | 6 | 4 | 15 | 81.5 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 6.13 |
| Washroomwashroom | 0.5 | 4 | 38 | 164.8 | 6 | 0 | 0 | 0 | 0 | 0 | 0 | 3.64 |
| Maintenance workshopworkshop | 1.3 | 1 | 1 | 12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Horde members in the sample
- 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
- Count range = intensity: how many spawns one run of a context tries to place, drawn uniformly. E[count] = (lo + hi) / 2.
- Conditional share = weight / Σ weights: the chance that one placed spawn draws that family. It sets the mix, not the number. A family with an eligibility rule places fewer than it draws (measured, sampled).
- Seeded roster = the chance that this level holds a special family at all, rolled once per family from the level seed, after the per-spawn roll. A level has the family or has none of it; the enemy count never changes.
- Area weights and caps decide where spawns go and are not chances. Eligibility, spacing, caps and tries can leave a level with fewer spawns than the count drew.
- Per 100 m² figures are sampled over eligible floor of a named corpus, never a runtime rule.
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).
| Value | Current | Where it lives |
|---|---|---|
| count range (station) | 5–8 | SKYWAYS_SPAWN_PROFILE.contexts.station.count in game/src/ai/spawnTables.ts:802 (repository access required) |
| count range (street) | 8–12 | SKYWAYS_SPAWN_PROFILE.contexts.street.count in game/src/ai/spawnTables.ts:802 (repository access required) |
| count range (floor) | 10–15 | SKYWAYS_SPAWN_PROFILE.contexts.floor.count in game/src/ai/spawnTables.ts:802 (repository access required) |
| count range (service) | 5–6 | SKYWAYS_SPAWN_PROFILE.contexts.service.count in game/src/ai/spawnTables.ts:844 (repository access required) |
| count range (cosplay) | 4–6 | SKYWAYS_SPAWN_PROFILE.contexts.cosplay.count in game/src/ai/spawnTables.ts:802 (repository access required) |
| family pool weights | zombie 0.1, blightbelly 0.05, siren 0.8, ratdog 0.05, strainer 0, screacher 0, bb 0 | SKYWAYS_SPAWN_PROFILE.families in game/src/ai/spawnTables.ts:783 (repository access required) |
| coated chance | 0.4 | ZOMBIE_TYPES in game/src/ai/spawnTables.ts:379 (repository access required) |
| area weights | 7 rules, otherwise 1.3 | OFFICE_AREA_WEIGHTS in game/src/ai/spawnTables.ts:347 (repository access required) |
| caps | passes 1 / 2 / 3; 2 rules | OFFICE_CAPS in game/src/ai/spawnTables.ts:361 (repository access required) |
| tries per area visit | 14 | OFFICE_PLACEMENT.tries in game/src/ai/spawnTables.ts:375 (repository access required) |
| spacing (m) | 4 | OFFICE_PLACEMENT.spacingM in game/src/ai/spawnTables.ts:375 (repository access required) |
| keep-away from the start (cells)18 m walking | 36 | OFFICE_PLACEMENT.startCells in game/src/ai/spawnTables.ts:375 (repository access required) |
| landing keep-off (m) | 5 | OFFICE_PLACEMENT.landingKeepM in game/src/ai/spawnTables.ts:375 (repository access required) |
| area weights | 6 rules, otherwise 1.3 | MALL_RING_AREA_WEIGHTS in game/src/ai/spawnTables.ts:501 (repository access required) |
| caps | passes 1 / 2 / 3; 2 rules | MALL_CAPS in game/src/ai/spawnTables.ts:479 (repository access required) |
| tries per area visit | 14 | MALL_RING_PLACEMENT.tries in game/src/ai/spawnTables.ts:598 (repository access required) |
| spacing (m) | 4 | MALL_RING_PLACEMENT.spacingM in game/src/ai/spawnTables.ts:534 (repository access required) |
| keep-away from the start (cells)18 m walking | 36 | MALL_RING_PLACEMENT.startCells in game/src/ai/spawnTables.ts:598 (repository access required) |
| landing keep-off (m) | 5 | MALL_RING_PLACEMENT.landingKeepM in game/src/ai/spawnTables.ts:598 (repository access required) |
| area weights | 2 rules, otherwise 1.4 | SERVICE_AREA_WEIGHTS in game/src/ai/spawnTables.ts:387 (repository access required) |
| caps | passes 1 / 2; 1 rules | SERVICE_CAPS in game/src/ai/spawnTables.ts:396 (repository access required) |
| tries per area visit | 12 | SERVICE_PLACEMENT.tries in game/src/ai/spawnTables.ts:406 (repository access required) |
| spacing (m) | 5 | SERVICE_PLACEMENT.spacingM in game/src/ai/spawnTables.ts:406 (repository access required) |
| keep-away from the start (cells)18 m walking | 36 | SERVICE_PLACEMENT.startCells in game/src/ai/spawnTables.ts:406 (repository access required) |
| landing keep-off (m) | 6 | SERVICE_PLACEMENT.landingKeepM in game/src/ai/spawnTables.ts:406 (repository access required) |
| area weights | 1 rules, otherwise 0 | COSPLAY_PLACEMENT.areaWeights in game/src/ai/cosplayContext.ts:20 (repository access required) |
| caps | passes 6; 0 rules | COSPLAY_PLACEMENT.caps in game/src/ai/cosplayContext.ts:24 (repository access required) |
| tries per area visit | 24 | COSPLAY_PLACEMENT.tries in game/src/ai/cosplayContext.ts:25 (repository access required) |
| spacing (m) | 2 | COSPLAY_PLACEMENT.spacingM in game/src/ai/cosplayContext.ts:25 (repository access required) |
| keep-away from the start (cells)18 m walking | 36 | COSPLAY_PLACEMENT.startCells in game/src/ai/cosplayContext.ts:25 (repository access required) |
| landing keep-off (m) | 5 | COSPLAY_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 level | SKYWAYS_SIREN_ELIGIBILITY in game/src/ai/spawnTables.ts:735 (repository access required) |
| spacing (siren, m)whole level, with the cap | 24 | SKYWAYS_SIREN_SPACING in game/src/ai/spawnTables.ts:744 (repository access required) |
| difficulty tiermetadata only (no scaling) | 2 | LEVELS.skyways.tier in game/src/levels/registry.ts:146 (repository access required) |
| horde groups per level | 1–2 | SKYWAYS_HORDE in game/src/ai/spawnTables.ts:764 (repository access required) |
| horde members per group | 5–20 | SKYWAYS_HORDE in game/src/ai/spawnTables.ts:764 (repository access required) |
| horde budget (total / per storey / groups per storey) | 32 / 20 / 1 | SKYWAYS_HORDE in game/src/ai/spawnTables.ts:764 (repository access required) |
| horde family pool | zombie 1, blightbelly 0, siren 0, ratdog 0, strainer 0, screacher 0, bb 0 | SKYWAYS_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 seed | 0.6 | FAMILY_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 seed | 0.85 | FAMILY_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 seed | 0.6 | FAMILY_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 seed | 0.35 | FAMILY_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 seed | 0.4 | FAMILY_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 seed | 0.4 | FAMILY_ROSTER.bb in game/src/ai/enemyRoster.ts:175 (repository access required) |