How it works

The main bay has five authored carriage slots. Slot 4 is the full-length carriage, and it is exclusive. If it is selected, slots 0 to 3 are forced empty, because the full-length carriage occupies the same volume. The bay gives a floor at 4.88 m and a ceiling at 6.23 m, so a stack of stores has 1.35 m of height to share, and the carriage envelope runs 10.75 m from -3.10 m aft to 7.65 m forward. A stepped full-length variant also borrows an already-proved aft corridor, widening to 3.66 m for the last 2.20 m of the bay without adding hull volume.
Each carriage is packed on an axis-aligned grid with every store hanging straight down at its native scale. The mod never rescales a weapon to make it fit. Gaps are 0.06 m by 0.06 m by 0.08 m in the legacy layout, and 0.04 m by 0.04 m by 0.06 m in the dense layout. Cylindrical stores may nest hexagonally, shifting alternate layers sideways so the row pitch falls below the diameter plus the gap. The code comments describe this as the maximum capacity within this packing family. No claim of a global packing optimum is made, and none is verified here.
Release order is deterministic. The game sorts weapons by a floating-point priority, so the mod encodes layer, slot and index into one integer (layer times 2048, plus slot times 256, plus index). A lower layer always fires before any higher one. The largest value that encoding can produce is 523,519, well inside the range a single-precision float holds exactly, so no two stores can tie or round together.
The forward heater bays (slots 7 and 8) take infrared Fox-2 missiles only. The auxiliary bays (slots 9 and 10) take Fox-3 active-radar missiles, anti-radiation missiles, the AGM-214 Fulmen and the AGM-192A Halberd-S. Each clear box is the cavity measured on the airframe model, less a wall allowance. The derivation below reproduces the recorded allowances from the cavity sizes. Slots 5 and 6 are the chin C-RAM and dorsal HEL-1 directed-energy mounts, and are described on their own pages.
What has been verified: an offline suite checked 24 bespoke carriages across 9 weapons, 34 slot selections and 109 checks, and every check passed. That suite runs the production layout code against stored dimensions. It proves the arithmetic and the selection rules. It does not prove that a carriage visually fits the airframe in flight, and none of this has been flown. A real-world comparison, such as published internal-bay dimensions for operational aircraft, is not cited on this page; see the first open question.
Specification
- SimulatedThe value the mod uses in the game, read from its source.
- DerivedCalculated from other cited values; the working is shown.
| Field | Value | Unit | Basis | Source |
|---|---|---|---|---|
| Main bay | ||||
| Authored carriage slots in the main bay | 5 | count | Simulated | [3] |
| Full-length (exclusive) carriage slot index | 4 | index | Simulated | [3] |
| Bay floor height | 4.88 | m | Simulated | [3] |
| Bay ceiling height | 6.23 | m | Simulated | [3] |
| Usable bay height | 1.35 | m | Derived | [3] D2 |
| Aft limit of the carriage envelope | -3.10 | m | Simulated | [3] |
| Forward limit of the carriage envelope | 7.65 | m | Simulated | [3] |
| Carriage envelope length | 10.75 | m | Derived | [3] D2 |
| Controlled-release sill height | 4.42 | m | Simulated | [3] |
| Hardware ceiling | 6.248 | m | Simulated | [4] |
| Stepped full-length carriage half-width | 1.83 | m | Simulated | [3] |
| Stepped full-length carriage full width | 3.66 | m | Derived | [3] D2 |
| Stepped full-length carriage aft end | 2.20 | m | Simulated | [3] |
| Packing | ||||
| Legacy clearance X / Y / Z | 0.06 / 0.06 / 0.08 | m | Simulated | [3] |
| Dense-packing clearance X / Y / Z | 0.04 / 0.04 / 0.06 | m | Simulated | [3] |
| Maximum stores per carriage | 256 | count | Simulated | [3] [4] |
| Packing family | Axis-aligned, straight-down release, native store scale | Simulated | [4] | |
| Hexagonal vertical nesting | Cylindrical stores only | Simulated | [3] | |
| Hexagonal row pitch rule | sqrt((max(sx, sy) + gapX)^2 - (0.5 (sx + gapX))^2) | m | Simulated | [3] |
| Release | ||||
| Release priority encoding | layer x 2048 + slot x 256 + index | Simulated | [2] | |
| Largest encoded priority | 523,519 | integer | Derived | [2] D3 |
| Lowest layer fires first | Lower layers take lower native priorities | Simulated | [3] | |
| Selection | ||||
| Full-length carriage excludes slots 0 to 3 | Yes | Simulated | [2] | |
| Three-selection legacy loadout mapping | Forward to slot 0, aft to slot 2, full to slot 4 | Simulated | [2] | |
| Multi-bay slot 5 default | Chin C-RAM | Simulated | [2] | |
| Multi-bay slot 6 default | Dorsal HEL-1 | Simulated | [2] | |
| Carriage policy schema | ba170x.custom-carriages.v1 | Simulated | [4] | |
| Carriage policy revision | ba170x-carriages-0111-grid1 | Simulated | [4] | |
| Stepped full-length revision | ba170x-carriages-0113-step1 | Simulated | [4] | |
| Carriage policy contract size | 2,868 | B | Simulated | [4] |
| Late providers need a restart | Yes | Simulated | [4] | |
| Forward role is a preset preference only | Yes | Simulated | [4] | |
| Registration boundary | Blueprinter.PatchRunner.ApplyAllOps, postfix | Simulated | [4] | |
| Heater bays (slots 7 and 8) | ||||
| Clear length | 4.68 | m | Simulated | [1] |
| Clear width | 0.50 | m | Simulated | [1] |
| Clear height | 0.48 | m | Simulated | [1] |
| Permitted stores | Infrared Fox-2 air-to-air only | Simulated | [1] | |
| Wall allowance X / Y / Z | 12.00 / 11.59 / 27.00 | mm | Simulated | [1] |
| Auxiliary bays (slots 9 and 10) | ||||
| Clear length | 5.30 | m | Simulated | [1] |
| Clear width | 0.664 | m | Simulated | [1] |
| Clear height | 0.55 | m | Simulated | [1] |
| Permitted stores | Fox-3 active radar, anti-radiation, AGM-214 Fulmen, AGM-192A Halberd-S only | Simulated | [1] | |
| Wall allowance X / Y / Z | 10.00 / 12.37 / 17.00 | mm | Simulated | [1] |
| Side bays | ||||
| Maximum stores per side-bay group | 8 | count | Simulated | [1] |
| Side-bay gap X / Y / Z | 0.025 / 0.025 / 0.05 | m | Simulated | [1] |
| Fin stagger for two-store fin-staggered layout | 0.55 | m | Simulated | [1] |
| Verified behaviour | ||||
| Bespoke carriages checked | 24 | count | Simulated | [5] |
| Weapons covered by bespoke carriages | 9 | count | Simulated | [5] |
| Slot selections checked | 34 | count | Simulated | [5] |
| Bay-selection checks passed | 109 | count | Simulated | [5] |
Derivations
How each derived value in the table is calculated, with its inputs and assumptions.
D1 heater and auxiliary bay wall allowances
The source comment records inner cavity sizes and the clear box. The recorded allowance should equal half the difference, because the clearance is taken from both walls.
| Input | Value | Unit | Label | Key |
|---|---|---|---|---|
| Heater cavity inner L / W / H | 4.734 / 0.524 / 0.503 | m | Simulated | 1 |
| Heater clear L / W / H | 4.68 / 0.50 / 0.48 | m | Simulated | 1 |
| Auxiliary cavity inner L / W / H | 5.334 / 0.684 / 0.575 | m | Simulated | 1 |
| Auxiliary clear L / W / H | 5.30 / 0.664 / 0.55 | m | Simulated | 1 |
allowance = (inner - clear) / 2. Heater X: (0.524 - 0.50) / 2 = 0.012 m = 12.0 mm (recorded 12.00). Heater Z: (4.734 - 4.68) / 2 = 27.0 mm (recorded 27.00). Heater Y: (0.503 - 0.48) / 2 = 11.5 mm against 11.59 recorded. Auxiliary X: (0.684 - 0.664) / 2 = 10.0 mm (recorded 10.00). Auxiliary Z: (5.334 - 5.30) / 2 = 17.0 mm (recorded 17.00). Auxiliary Y: (0.575 - 0.55) / 2 = 12.5 mm against 12.37 recorded.
The two Y values differ by 0.09 mm and 0.13 mm. The inner heights are printed to three decimal places and the recorded allowances to two decimals of a millimetre, so the likely cause is rounding of the stored inner height. That is an assumption, not a verified cause. If the recorded inner dimension were itself rounded the other way, the residual would vanish; this is carried as an open question and not rounded away.
D2 derived envelope sizes
Usable height = ceiling - floor = 6.23 m - 4.88 m = 1.35 m. Envelope length = forward - aft = 7.65 m - (-3.10 m) = 10.75 m. Stepped full width = 2 x 1.83 m = 3.66 m. Assumes all three constants share one aircraft-frame axis system, which the code comments state for the bay. Would break if the floor and ceiling were measured in different frames.
D3 largest release priority
Priority = layer x 2048 + slot x 256 + index. The code bounds layer and index to 0..255 and slot to 0..4 2. Maximum = 255 x 2048 + 4 x 256 + 255 = 522,240 + 1,024 + 255 = 523,519. A single-precision float holds every integer up to 2^24 = 16,777,216 exactly, and 523,519 is below that. The ordering claim also holds because index (<256) cannot spill into the slot term and slot x 256 (<=1,024 + 255 < 2048) cannot spill into the layer term. Assumes the native sort converts priority to a 32-bit float, as the code comment states.
D4 hexagonal row pitch, illustrative
For a hypothetical cylindrical store with sx = sy = 0.30 m and the dense gap 0.04 m: dMin = 0.30 + 0.04 = 0.34 m; half-pitch = 0.5 x (0.30 + 0.04) = 0.17 m; row pitch = sqrt(0.34^2 - 0.17^2) = sqrt(0.1156 - 0.0289) = 0.2944 m, against a square pitch of 0.34 m, a saving of 13.4 %. This store is invented to show the formula; it is not a weapon in the game, and no table row depends on it.
References
Internal sources
Swampsoft design records and mod source files behind the in-game values.
- Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xSideBaysLayout.cs,Ba170xSideBaysconstantsCheekMax*,ChineMax*,SideGap*,FinStaggerZ,MaxSideStores; cavity comment block. - Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xBayPolicy.cs,Ba170xBayPolicy.Resolve,Priority,NormalizeSelections,NormalizeMultiBaySelections. - Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xBayLayout.cs,Ba170xBayLayoutconstantsSlotCount,FullLengthIndex,Floor,Ceiling,GapX,DenseGapX,Aft,Forward,ReleaseSill,MaxStores,FullAftHalfWidth,FullAftEnd;HexPitchY. - Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xCarriagePolicyContract.cs,Ba170xCarriagePolicyContractconstantsSchema,Revision,PackingFamily,MaxStores,HardwareCeiling,SteppedFullLengthRevision. - Mod sourceB/A-170X 0.22.9 offline suite log,
logs/suites.log,BaySelectionTests: "bespoke carriages 24 across 9 weapons, 34 slot selections checked"; "PASS: 109 bay-selection checks".