B/A-170X Deathstar · Systems guide

Working by floodlight

The cockpit of the B/A-170X has a flood light that makes the console legible at night without washing out the displays by day. The aircraft is fictional, and this page compares the light policy with no real cockpit lighting standard; that comparison is an open question. The policy is a pure calculation with no engine dependency, so an offline suite can test every dimmer, auto-night, tint and power-loss state.

How it works

Neutral-white panel fill at gain 2 under fixed night exposure.
Neutral-white panel fill at gain 2 under fixed night exposure. Night Deck 1.0.1 · controlled Unity capture

The light gain is the product of a base gain and the crew's brightness setting. The brightness runs from 0 to 2 and defaults to

  1. The base gain depends on the selector. Position 1 is DIM or TACTICAL; position 2 is BRIGHT or WORK; position 0, or a

dark aircraft, or the feature switched off, returns zero. With auto-night enabled, the base follows the daylight factor from 0 at night to 1 in full sun. In DIM the base is 1.00 minus 0.65 times the daylight factor, so it falls from 1.00 at night to 0.35 in full sun. In BRIGHT it is 1.65 minus 0.85 times the daylight factor, from 1.65 to 0.80. Without auto-night the bases are fixed at 0.75 for DIM and 1.55 for BRIGHT. The result is clamped to 3.2. The product of the highest base and the maximum brightness would be 3.3, so the clamp bites only at the extreme setting.

Three tints are defined. The default tint, TacticalGreen, resolves to an emerald-cyan of (0.32, 0.96, 0.78). The source comment describes it as a night-vision-compatible instrument wash. WarmAmber and NeutralWhite are the other two, at (1.00, 0.68, 0.34) and (0.96, 0.95, 0.92). An unknown tint name falls back to the default.

The scene is sampled for brightness every 0.25 s, four times a second, so the daylight factor changes smoothly rather than flickering with every frame. Exterior lamps are governed separately, on the exterior lights page.

The public guide also mentions two independent task lights that let the crew read the pedestal without flooding the compartment, and gear-mounted projectors. The task lights are described on the crew cabin page; this page does not tabulate lamp counts, colour temperatures in kelvin, or lamp power, since no constant in the lighting policy holds them. These are listed as open questions.

What is verified: every number above is read from the shipped source, and the source records that the policy is exercised by the offline verification suite. No in-cockpit brightness has been measured in luminance units, so the gain is a dimensionless factor, and none of it has been flown in the game for this release. The night-deck add-on adds its own controlled captures, which show the tints at fixed exposure.

Specification

  • SimulatedThe value the mod uses in the game, read from its source.
  • DerivedCalculated from other cited values; the working is shown.
Working by floodlight specification
FieldValueUnitBasisSource
Brightness
Default brightness1.0gainSimulated[1]
Minimum brightness0.0gainSimulated[1]
Maximum brightness2.0gainSimulated[1]
Brightness below which light is off0.001gainSimulated[1]
Maximum effective gain3.2gainSimulated[1]
Highest unclamped gain (BRIGHT, night, maximum brightness)3.3gainDerived[1] D1
Dim mode
Base gain at night, auto-night on1.00gainSimulated[1]
Base gain in full daylight, auto-night on0.35gainDerived[1] D1
Base gain with auto-night off0.75gainSimulated[1]
Bright mode
Base gain at night, auto-night on1.65gainSimulated[1]
Base gain in full daylight, auto-night on0.80gainDerived[1] D1
Base gain with auto-night off1.55gainSimulated[1]
Control
Selector positions that give light1 (DIM / TACTICAL), 2 (BRIGHT / WORK)positionSimulated[1]
Light is off when unpowered, disabled or selector at 0YesSimulated[1]
Tint
Default tint nameTacticalGreenSimulated[3]
Tactical emerald-cyan (R / G / B)0.32 / 0.96 / 0.78fractionSimulated[1]
WarmAmber (R / G / B)1.00 / 0.68 / 0.34fractionSimulated[1]
NeutralWhite (R / G / B)0.96 / 0.95 / 0.92fractionSimulated[1]
Scene
Scene lighting sample interval0.25sSimulated[2]
Scene lighting sample rate4HzDerived[2] D2

Derivations

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

D1 gain at the ends of the range

DIM, day = 1: 1.00 - 0.65 x 1 = 0.35. BRIGHT, day = 1: 1.65 - 0.85 x 1 = 0.80. Highest unclamped: 1.65 x 2.0 = 3.30, clamped to 3.2. Inputs 1. The daylight factor is clamped to 0 to 1 in the code.

D2 sample rate

1 / 0.25 s = 4 Hz 2.

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/Ba170xCockpitLightingPolicy.cs, Ba170xCockpitLightingPolicy.ComputeEffectiveGain, ResolveTint, MinBrightness, MaxBrightness, DefaultBrightness.
  2. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xSceneLighting.cs, Ba170xSceneLighting.SampleIntervalSeconds.
  3. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xCockpitLightingPolicy.cs, Ba170xCockpitLightingPolicy.DefaultTint.