B/A-170X Deathstar · Systems guide

Sixteen wheels and three door sequences

The B/A-170X landing gear is a fictional installation with a long, deliberate cycle. The cycle is driven by an authored animation with 552 frames at 24 frames per second, which is 23 s. The doors lead: the first 72 frames, or 3.0 s, open the doors while the legs stay stowed. Then the native game gear starts folding, at the stock actuator speed of 4.5 degrees per second across a 90-degree hinge, which takes 20 s. The wheel truck and the visible deployment finish together, 23 s after the command. Retraction takes 20 s on a native clock, with the doors closing over the final 72 frames. This page makes no comparison with a real aircraft's gear cycle; the open questions list that.

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 point of the timing code is to keep the visible mechanism honest. The game owns the real gear angle, which decides contact and collision. The mod owns the doors and linkage, which only look right if they follow the game's gear without teleporting. A small clock turns the native gear progress into a source clip phase, where 0 is extended and 1 is stowed. While the game's gear sits at an endpoint, the clock lets the authored doors finish their travel at a rate of one door share (72 / 552, about 13 %) per 3 s, which works out at about 4.35 % of the cycle per second. If the pilot commands gear down immediately, the three-second door sequence is kept, so the doors are open before the legs begin to move. If the gear is reversed part of the way, the clock preserves the visible pose instead of snapping. Paused game time does not advance the doors. Retraction clocks are held native: the offline test steps 480 frames at 24 per second and requires the visible phase to match native progress at every step.

The mod must also not disturb the game's own leg actuator. A hold object captures a custom leg speed, sets the rate to zero while the doors lead, and restores the original rate afterwards. The offline test checks that a captured 3.25 degrees per second is restored exactly, and that the stock 4.5 degrees per second is back after the cycle.

Mass is handled separately. When a wheel breaks, the game's native routine subtracts only the rigid body mass and leaves the part's persistent mass untouched, so fuel or mode rebuilds would resurrect the lost mass. The mod keeps a ledger of one event per native gear split and moves the mass off the host part at the gear's hinge, using the native gear hierarchy, which must have unit scale. If the native member names change, the mod raises a missing-member error instead of guessing. The public guide describes four nose wheels and two six-wheel main trucks; no constant in the source read here counts wheels, so that is listed as an open question and not as a table value.

What is verified: the timing is exercised by an offline harness, with named assertions such as "Native wheel and visible deployment finish together" and "Twenty-second retract stays native". That proves the clock arithmetic. It does not prove that the gear looks right in the game or that the doors clear the truck; no flight has been made 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.
Sixteen wheels and three door sequences specification
FieldValueUnitBasisSource
Timing
Authored clip length552framesSimulated[1] [2]
Authored clip frame rate24frames/sSimulated[1]
Authored door sequence length72framesSimulated[1]
Door sequence duration3.0sSimulated[1] [2]
Full authored cycle23sDerived[1] [2] D1
Door share of the authored cycle0.1304fractionDerived[1] D1
Native fold start after the doors open3sSimulated[2]
Native wheel and visible deployment finish23sSimulated[2]
Native gear leg actuator rate4.5°/sSimulated[2]
Native leg hinge travel90°Simulated[2]
Leg travel time at the native rate20sDerived[2] D2
Retract time20sSimulated[2]
Immediate gear-down door sequence3sSimulated[2]
Doors
Door track clock rate while finishing0.0435fraction/sDerived[1] D3
Mass
Gear mass bookkeeping eventOne per native gear splitSimulated[3]
Wheel-break mass handlingMass is moved off the host part, not erasedSimulated[3]
Required native methodLandingGear.BreakWheelSimulated[3]
Required native frame scale1unit scaleSimulated[3]
Offline checks
Leg hold restores previously owned rate3.25°/sSimulated[2]
Retract frames checked at 24 fps480framesSimulated[2]

Derivations

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

D1 authored cycle length

552 frames / 24 frames per second = 23 s. Door sequence = 72 / 24 = 3.0 s. Door fraction = 72 / 552 = 0.1304. Inputs 1. The harness asserts the same finish time, 23 s, within two frame intervals 2.

D2 leg travel time

90 deg / 4.5 deg/s = 20 s. The native fold starts at 3 s and ends at 23 s, so 3 s plus 20 s equals 23 s, matching the authored cycle 2.

D3 door finishing rate

FinishRate = DoorFraction / SourceDoorSeconds = 0.1304 / 3.0 s = 0.0435 per second 1.

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/Ba170xMechanismClock.cs, Ba170xMechanismClock.SourceDoorSeconds, DoorFraction, FinishRate, Step.
  2. Mod sourceB/A-170X 0.22.9, src/tools/tests/GearTimingTests/Program.cs, "Native wheel and visible deployment finish together"; "Native fold starts after doors open"; "Original 4.5 degree/s native actuator restored"; "Twenty-second retract stays native"; "Capture custom native leg speed".
  3. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xGearMassProperties.cs, Ba170xGearMassProperties.Capture, Transfer, LandingGear.BreakWheel check; "Invalid native gear mass transfer.".