B/A-170X Deathstar · Systems guide

Mass and gear state

This page covers two things: how heavy the B/A-170X is in the game, and how the mod keeps the aircraft's mass, centre of mass and inertia consistent while parts are created, burned or broken off. The aircraft is fictional, so the masses are design choices, not measurements of a real airframe, and this page compares them with no real aircraft. The open questions list that comparison.

How it works

Port main gear during extension, then at downlock. The wheel truck swings through the open door group before the doors settle.
Port main gear during extension, then at downlock. The wheel truck swings through the open door group before the doors settle. Swampsoft motion study and Nuclear Option / r8 gear fixture

The game definition gives an empty mass of 120,000 kg and an internal fuel load of 90,000 kg. The published maximum gross mass is 245,000 kg, which the 12-03 dossier explains as 120 t dry, 90 t of fuel and a 35 t combined allowance for racks and stores at full fuel. The 35 t is the difference, 245 minus 120 minus 90, and bay fit still limits what can actually be carried. Fuel is therefore 36.7 % of gross mass at the limit and the empty aircraft is 49.0 %. A heavier store load than 35 t at full fuel would exceed the published gross limit, and the page does not state whether the game enforces it; the 12-03 readback did not establish a launch interlock for the sister aircraft either.

The mod's mass code does not replace the game's physics. Its header states that native physics creates and destroys the rigid body of each part, and the mod's job is to keep the explicitly authored mass centres stable through those changes, then let PhysX derive inertia from the current set of fitted convex colliders. It does not replace the game's damage or rigid-body and joint lifecycle.

Fuel burn is the common case. When the topology is constant and the centre of mass is stationary, the mod scales the current principal inertia tensor by the ratio of new to old mass. The code comment calls this mathematically exact, and it avoids hundreds of collider rebuilds per second. When parts detach, the mod removes only the detached group's actual current contributions instead of leaving the old merged mass on the root body until the next update. It sums local hierarchies in body-local coordinates, because subtracting two large world positions would lose precision before the double-precision sum, and so floating-origin positions never enter the sum.

The body's solver is raised to at least 16 position iterations and 4 velocity iterations. The native folding-wing joints request 80 iterations on both bodies, and the mod never lowers an existing budget, so fuel and mass updates cannot weaken the wing-tip joint.

Gear gets its own bookkeeping, described on the gear page. When a wheel breaks, the native routine subtracts only the rigid-body mass; the mod's ledger keeps the departed mass from reappearing on a rebuild.

A normal-load loop in the flight control code uses a 2.3 Hz low-pass with damping 0.95. It is listed here because it lives in the load-control file, not the mass file; its use is described on the flight control page.

What is verified: the constants are read from the shipped source, and the dossier masses are copied from the 12-03 readback of the game configuration. No inertia tensor, centre-of-mass travel or per-store mass is published here, because no constant holds them; the game derives them at run time. None of this has been flown in the game for this release.

Specification

  • SimulatedThe value the mod uses in the game, read from its source.
  • DerivedCalculated from other cited values; the working is shown.
Mass and gear state specification
FieldValueUnitBasisSource
Game definition
Empty (dry) mass120,000kgSimulated[1]
Internal fuel90,000kgSimulated[1]
Combined rack and store allowance at full fuel35,000kgDerived[1] D1
Maximum gross mass245,000kgSimulated[1]
Maximum gross mass in tonnes245tDerived[1] D1
Fuel share of gross mass36.7%Derived[1] D1
Empty share of gross mass49.0%Derived[1] D1
Solver
Minimum position solver iterations on the aircraft body16countSimulated[2]
Minimum velocity solver iterations on the aircraft body4countSimulated[2]
Native folding-wing joint iterations preserved80countSimulated[2]
Inertia
Inertia scaling on constant-topology fuel burnLinear in mass (new mass / old mass)Simulated[2]
Mass centresAuthored, kept stable across body creation and destructionSimulated[2]
Inertia sourcePhysX, from fitted convex collidersSimulated[2]
Gear
Wheel-break mass transferOne ledger event per native gear splitSimulated[3]
Load loop
Normal-load low-pass cutoff2.3HzSimulated[4]
Normal-load damping0.95ratioSimulated[4]

Derivations

How each derived value in the table is calculated, with its inputs and assumptions.

D1 mass shares and the store allowance

Store allowance = 245,000 - 120,000 - 90,000 = 35,000 kg. Fuel share = 90,000 / 245,000 = 36.7 %. Empty share = 120,000 / 245,000 = 49.0 %. Gross in tonnes = 245,000 / 1,000 = 245 t. Inputs 1. Assumes the three masses are additive as the dossier states.

References

Internal sources

Swampsoft design records and mod source files behind the in-game values.

  1. Mod sourceB/A-170X 0.22.9 game configuration as published in the 12-03 specification sheet SC-001, aircraft mass 120,000 kg; internal fuel 90,000 kg; 245 t game gross limit.
  2. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xMassProperties.cs, Ba170xMassProperties.PositionIterations, VelocityIterations; the header and the principal-inertia scaling comment.
  3. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xGearMassProperties.cs, Ba170xGearMassProperties.Capture, Transfer.
  4. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xLoadControl.cs, Ba170xLoadControl.LoadCutoffHz, damping.