How it works

What the mod does simulate in the cabin is light. Six point lamps are built into the flight deck: a pair of glareshield washes, a pair of console floods, a centre pedestal fill and an aft cabin dome fill. They have fixed positions, ranges between 2.40 m and 3.20 m, and base intensities that sum to 6.20. The task lights are a separate control. The cockpit interaction panel offers OFF, DIM and BRIGHT, which map to emissive levels of 0, 0.45 and 1.0.
A policy function turns the selector, the brightness setting and the amount of daylight into a gain. Brightness runs from 0 to 2, default 1. With auto-night on, mode 1 (dim, tactical) gives a gain of 1.00 in full darkness and falls smoothly to 0.35 in full daylight; mode 2 (bright, work) gives 1.65 and falls to 0.80. With auto-night off the gain is fixed at 0.75 or 1.55. The result is multiplied by the brightness and cannot exceed 3.2. In practice the ceiling only matters in one case: mode 2, at night, with the brightness above 1.94. If power is lost, the configuration is off, or the selector is at zero, the gain is zero and the lamps are off, which keeps a dark aircraft distinct from a powered deck at reduced light.
Three tints are available. The default, TacticalGreen, is described in the code as an NVG-compatible emerald-cyan wash. WarmAmber and NeutralWhite are alternatives. The defaults are the mod's own design choice. The page makes no claim that this tint is compatible with real night-vision goggles, because no source for that has been checked; see the first open question.
A suite called CrewSystemsTests reports 13,883 passing checks covering crew geometry, optics, lifecycle and lighting, but that figure aggregates several areas and the log does not split out the lighting assertions. It exercises the code offline. The lighting has not been flown or viewed in the game for this page.
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 |
|---|---|---|---|---|
| Stations | ||||
| Crew stations | 2 | count | Simulated | [2] [3] |
| Seating arrangement | Side by side, each seat inside its own escape capsule | Simulated | [4] | |
| Pilot design-eye lateral offset from centreline | 0.74 | m | Simulated | [4] |
| Pilot design-eye height | 6.155 | m | Simulated | [4] |
| Pilot design-eye longitudinal position (forward of the model origin) | 16.93 | m | Simulated | [4] |
| Seat-to-seat eye separation | 1.48 | m | Derived | [4] D1 |
| Design-eye camera lens | 17.958 | mm | Simulated | [4] |
| Cabin | ||||
| Layout aft of the seats | Centre passage, berth to starboard, lavatory to port | Simulated | [4] | |
| Boarding | Ventral hatch aft of the seats, with ladder | Simulated | [4] | |
| Crew-fitting set | Five-point harness, bolsters, camlock, breathing-air and communications receptacles | Simulated | [4] | |
| Lighting | ||||
| Cockpit flood lamps | 6 | count | Simulated | [2] |
| Port glareshield wash position (x, y, z) | -0.64, 6.24, 17.48 | m | Simulated | [2] |
| Starboard glareshield wash position (x, y, z) | 0.64, 6.24, 17.48 | m | Simulated | [2] |
| Glareshield wash range | 2.60 | m | Simulated | [2] |
| Glareshield wash base intensity (each) | 1.25 | Unity light intensity | Simulated | [2] |
| Port console flood position (x, y, z) | -0.82, 6.08, 16.55 | m | Simulated | [2] |
| Starboard console flood position (x, y, z) | 0.82, 6.08, 16.55 | m | Simulated | [2] |
| Console flood range | 2.40 | m | Simulated | [2] |
| Console flood base intensity (each) | 1.10 | Unity light intensity | Simulated | [2] |
| Centre pedestal fill position (x, y, z) | 0.00, 6.42, 16.95 | m | Simulated | [2] |
| Centre pedestal fill range | 3.10 | m | Simulated | [2] |
| Centre pedestal fill base intensity | 0.85 | Unity light intensity | Simulated | [2] |
| Aft cabin dome fill position (x, y, z) | 0.00, 6.38, 15.85 | m | Simulated | [2] |
| Aft cabin dome fill range | 3.20 | m | Simulated | [2] |
| Aft cabin dome fill base intensity | 0.65 | Unity light intensity | Simulated | [2] |
| Sum of base flood intensities | 6.20 | Unity light intensity | Derived | [2] D2 |
| Task-light settings | OFF, DIM, BRIGHT | Simulated | [2] | |
| Task-light level, OFF / DIM / BRIGHT | 0 / 0.45 / 1.0 | fraction | Simulated | [2] |
| Task-light emissive colour at full level (R, G, B) | 2.4, 2.55, 2.65 | linear | Simulated | [2] |
| Dimmer policy | ||||
| Default brightness | 1.0 | gain | Simulated | [1] |
| Brightness range | 0.0–2.0 | gain | Simulated | [1] |
| Output gain ceiling | 3.2 | gain | Simulated | [1] |
| Selector modes | 1 = DIM / TACTICAL, 2 = BRIGHT / WORK, 0 = off | Simulated | [1] | |
| Mode-1 gain, auto-night on, full darkness | 1.00 | gain | Simulated | [1] |
| Mode-1 gain, auto-night on, full daylight | 0.35 | gain | Derived | [1] D3 |
| Mode-2 gain, auto-night on, full darkness | 1.65 | gain | Simulated | [1] |
| Mode-2 gain, auto-night on, full daylight | 0.80 | gain | Derived | [1] D3 |
| Mode-1 gain, auto-night off | 0.75 | gain | Simulated | [1] |
| Mode-2 gain, auto-night off | 1.55 | gain | Simulated | [1] |
| Brightness above which mode-2 night gain clamps | 1.94 | gain | Derived | [1] D4 |
| Default tint | TacticalGreen (R 0.32, G 0.96, B 0.78) | linear | Simulated | [1] |
| WarmAmber tint | R 1.00, G 0.68, B 0.34 | linear | Simulated | [1] |
| NeutralWhite tint | R 0.96, G 0.95, B 0.92 | linear | Simulated | [1] |
| User brightness at or below which the lights are off | 0.001 | gain | Simulated | [1] |
| Gain change that triggers an update | 0.015 | gain | Simulated | [2] |
| Verified behaviour | ||||
| Crew geometry, optics, lifecycle and lighting checks passed | 13,883 | count | Simulated | [5] |
Derivations
How each derived value in the table is calculated, with its inputs and assumptions.
D1 seat separation
Each design eye is 0.74 m from the centreline, on opposite sides: 2 x 0.74 m = 1.48 m. Assumes the two eye points are mirror images, as the design record states with a plus-or-minus sign. The record's frame is the Blender model frame; the lamp positions in the mod are in the aircraft's local frame, where the same eye height of about 6.155 m lines up with lamp heights between 6.08 m and 6.42 m. That match supports the reading that the frames agree, but the mapping itself is not stated in the files read.
D2 total base intensity
2 x 1.25 + 2 x 1.10 + 0.85 + 0.65 = 2.50 + 2.20 + 1.50 = 6.20.
D3 daylight gains
From 1: mode 1 gain = 1.00 - 0.65 x d; mode 2 gain = 1.65 - 0.85 x d, where d is the daylight factor from 0 to 1. At d = 1: 1.00 - 0.65 = 0.35 and 1.65 - 0.85 = 0.80. At d = 0 the gains are 1.00 and 1.65. Both are linear in d.
D4 clamp onset
Gain = mode base x brightness, capped at 3.2. For mode 2 at night, 1.65 x b = 3.2 gives b = 1.939, rounded to 1.94. For mode 2 with auto-night off, the maximum is 1.55 x 2.0 = 3.10, below the ceiling, and mode 1 never exceeds 1.00 x 2.0 = 2.0, so the ceiling affects only the one case above.
References
Internal sources
Swampsoft design records and mod source files behind the in-game values.
- Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xCockpitLightingPolicy.cs,Ba170xCockpitLightingPolicy:DefaultBrightness,MinBrightness,MaxBrightness,DefaultTint,ComputeEffectiveGain,ResolveTint. - Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xCockpitLighting.cs,Ba170xCockpitLighting.FloodSpecs, the task-light level textures (levels), the gain-change threshold, the "dual crew stations" comment. - Mod sourceB/A-170X design specification, baseline/BA170X_C30_21_Editable_Model/design/
a170x-design-spec.md,section 6: each crew seat is an escape capsule, port and starboard. - Mod sourceB/A-170X design specification, baseline/BA170X_C30_21_Editable_Model/design/
a170x-design-spec.md,section 5 (cockpit, "Two pilots, side-by-side", eye empties, lens), section 2 (aft cabin, boarding), section 6 (escape capsules). - Mod sourceB/A-170X 0.22.9 offline suite log,
logs/suites.log,CrewSystemsTests: "PASS 13883 crew geometry-resource, optics, lifecycle and lighting checks; 156 r8.2 performance checks".