B/A-170X Deathstar · Systems guide

Internal carriage from nose to main bay

The B/A-170X carries its stores in internal cavities: a large main bay, a pair of forward heater bays and a pair of auxiliary bays, plus the two directed-energy mounts. This is a fictional layout; the aircraft is a design study, and nothing on this page describes a real airframe.

How it works

Deathstar with all thirteen released Swampsoft store types. The studio display brings alternative station options together in one scene.
Deathstar with all thirteen released Swampsoft store types. The studio display brings alternative station options together in one scene. Blender studio render · installed aircraft art and Swampsoft Weapons 0.2.7

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.
Internal carriage from nose to main bay specification
FieldValueUnitBasisSource
Main bay
Authored carriage slots in the main bay5countSimulated[3]
Full-length (exclusive) carriage slot index4indexSimulated[3]
Bay floor height4.88mSimulated[3]
Bay ceiling height6.23mSimulated[3]
Usable bay height1.35mDerived[3] D2
Aft limit of the carriage envelope-3.10mSimulated[3]
Forward limit of the carriage envelope7.65mSimulated[3]
Carriage envelope length10.75mDerived[3] D2
Controlled-release sill height4.42mSimulated[3]
Hardware ceiling6.248mSimulated[4]
Stepped full-length carriage half-width1.83mSimulated[3]
Stepped full-length carriage full width3.66mDerived[3] D2
Stepped full-length carriage aft end2.20mSimulated[3]
Packing
Legacy clearance X / Y / Z0.06 / 0.06 / 0.08mSimulated[3]
Dense-packing clearance X / Y / Z0.04 / 0.04 / 0.06mSimulated[3]
Maximum stores per carriage256countSimulated[3] [4]
Packing familyAxis-aligned, straight-down release, native store scaleSimulated[4]
Hexagonal vertical nestingCylindrical stores onlySimulated[3]
Hexagonal row pitch rulesqrt((max(sx, sy) + gapX)^2 - (0.5 (sx + gapX))^2)mSimulated[3]
Release
Release priority encodinglayer x 2048 + slot x 256 + indexSimulated[2]
Largest encoded priority523,519integerDerived[2] D3
Lowest layer fires firstLower layers take lower native prioritiesSimulated[3]
Selection
Full-length carriage excludes slots 0 to 3YesSimulated[2]
Three-selection legacy loadout mappingForward to slot 0, aft to slot 2, full to slot 4Simulated[2]
Multi-bay slot 5 defaultChin C-RAMSimulated[2]
Multi-bay slot 6 defaultDorsal HEL-1Simulated[2]
Carriage policy schemaba170x.custom-carriages.v1Simulated[4]
Carriage policy revisionba170x-carriages-0111-grid1Simulated[4]
Stepped full-length revisionba170x-carriages-0113-step1Simulated[4]
Carriage policy contract size2,868BSimulated[4]
Late providers need a restartYesSimulated[4]
Forward role is a preset preference onlyYesSimulated[4]
Registration boundaryBlueprinter.PatchRunner.ApplyAllOps, postfixSimulated[4]
Heater bays (slots 7 and 8)
Clear length4.68mSimulated[1]
Clear width0.50mSimulated[1]
Clear height0.48mSimulated[1]
Permitted storesInfrared Fox-2 air-to-air onlySimulated[1]
Wall allowance X / Y / Z12.00 / 11.59 / 27.00mmSimulated[1]
Auxiliary bays (slots 9 and 10)
Clear length5.30mSimulated[1]
Clear width0.664mSimulated[1]
Clear height0.55mSimulated[1]
Permitted storesFox-3 active radar, anti-radiation, AGM-214 Fulmen, AGM-192A Halberd-S onlySimulated[1]
Wall allowance X / Y / Z10.00 / 12.37 / 17.00mmSimulated[1]
Side bays
Maximum stores per side-bay group8countSimulated[1]
Side-bay gap X / Y / Z0.025 / 0.025 / 0.05mSimulated[1]
Fin stagger for two-store fin-staggered layout0.55mSimulated[1]
Verified behaviour
Bespoke carriages checked24countSimulated[5]
Weapons covered by bespoke carriages9countSimulated[5]
Slot selections checked34countSimulated[5]
Bay-selection checks passed109countSimulated[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.

InputValueUnitLabelKey
Heater cavity inner L / W / H4.734 / 0.524 / 0.503mSimulated1
Heater clear L / W / H4.68 / 0.50 / 0.48mSimulated1
Auxiliary cavity inner L / W / H5.334 / 0.684 / 0.575mSimulated1
Auxiliary clear L / W / H5.30 / 0.664 / 0.55mSimulated1

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.

  1. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xSideBaysLayout.cs, Ba170xSideBays constants CheekMax*, ChineMax*, SideGap*, FinStaggerZ, MaxSideStores; cavity comment block.
  2. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xBayPolicy.cs, Ba170xBayPolicy.Resolve, Priority, NormalizeSelections, NormalizeMultiBaySelections.
  3. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xBayLayout.cs, Ba170xBayLayout constants SlotCount, FullLengthIndex, Floor, Ceiling, GapX, DenseGapX, Aft, Forward, ReleaseSill, MaxStores, FullAftHalfWidth, FullAftEnd; HexPitchY.
  4. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xCarriagePolicyContract.cs, Ba170xCarriagePolicyContract constants Schema, Revision, PackingFamily, MaxStores, HardwareCeiling, SteppedFullLengthRevision.
  5. 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".