How it works

Darkness is judged from two scales, daylight and ambient light, each with separate entry and exit thresholds. Lamps come on when daylight drops below 0.35 or ambient light below 0.12, and go off again only when daylight rises above 0.55 or ambient above 0.18. The 0.20 daylight gap keeps lights from flickering at dusk. A reference ambient level of 0.025 is used to scale the lamps at full night.
Two flashers carry the anticollision job. The strobe has an 0.80 s cycle and is limited to flight below 3,000 m. The beacon has a 1.20 s cycle, and the ventral beacon runs 0.60 s out of phase with it, so the two never fire together. The source comment says anticollision lights retract above Mach 1.1 on the XB-70, and the mod follows that with a supersonic emission-control rule: they go dark above Mach 1.10 and come back below Mach 1.02, a 0.08 Mach hysteresis. Navigation lights have a sector edge softened over 3.0 degrees on each side.
Two spot beams hang on the nose gear mount, in the part called Mechanism_NoseGear_001, 0.48 m forward and 0.15 m up in its local frame. They work only while the nose gear is within 12 % of fully down, so they go out as the gear retracts. The taxi flood is wide: 66 degrees, 900 m range, intensity 390,000 in Unity light units. The landing light is narrow: 24 degrees, 1,000 m range, intensity 540,000. On the ground both aim level; in the air the flood tilts 11.0 degrees and the landing light 12.5 degrees. The beam follows pitch with a 0.6 s time constant, and ground aim tolerates only 3.0 degrees of pitch. The landing light needs at least 28 m/s ground speed, about 54 kn.
Each beam uses a 512-pixel cookie texture to shape the pattern. If the cookie cannot be loaded, the mod falls back to a plain cone at 5 % (flood) or 8 % (landing) of normal strength and never wider than 40 degrees, so a failed asset cannot blind the cockpit. Point lamps near the camera are drawn only within 120 m, and distant coronas fade between 6,000 m and 10,000 m so a lit aircraft stays visible without becoming a star.
What is verified: the numbers come from the shipped source. The light intensities are in Unity's own units and have not been converted to candela, so they should not be compared with real lamp ratings; the conversion is an open question. None of this has been flown in the game.
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 |
|---|---|---|---|---|
| Contract | ||||
| Exterior light contract identifier | BA170X_EXTERIOR_LIGHTS_V2 | Simulated | [1] | |
| Darkness switching | ||||
| Dark entry daylight threshold | 0.35 | fraction | Simulated | [1] |
| Dark exit daylight threshold | 0.55 | fraction | Simulated | [1] |
| Dark entry ambient threshold | 0.12 | fraction | Simulated | [1] |
| Dark exit ambient threshold | 0.18 | fraction | Simulated | [1] |
| Night ambient reference | 0.025 | fraction | Simulated | [1] |
| Daylight hysteresis band | 0.20 | fraction | Derived | [1] D1 |
| Flashing | ||||
| Strobe cycle | 0.80 | s | Simulated | [1] |
| Beacon cycle | 1.20 | s | Simulated | [1] |
| Ventral beacon offset | 0.60 | s | Simulated | [1] |
| Strobe low-altitude limit | 3,000 | m | Simulated | [1] |
| Navigation sector edge half-width | 3.0 | ° | Simulated | [1] |
| Anticollision lights off above (enter) | Mach 1.10 | Mach | Simulated | [1] |
| Anticollision lights return below (exit) | Mach 1.02 | Mach | Simulated | [1] |
| Supersonic hysteresis | 0.08 | Mach | Derived | [1] D1 |
| Headlights | ||||
| Maximum nose-gear travel from fully down for headlights | 12 | % | Simulated | [1] |
| Landing light minimum ground speed | 28 | m/s | Simulated | [1] |
| Landing light minimum ground speed in knots | 54.4 | kn | Derived | [1] D2 |
| Mounting part | Mechanism_NoseGear_001 | Simulated | [1] | |
| Mounting offset local X / Y / Z | 0.00 / 0.48 / 0.15 | m | Simulated | [1] |
| Spot origin offset along lamp normal | 0.01 | m | Simulated | [1] |
| Taxi flood | ||||
| Intensity | 390,000 | Unity light intensity units | Simulated | [1] |
| Range | 900 | m | Simulated | [1] |
| Spot / inner cone angle | 66 / 64 | ° | Simulated | [1] |
| Aim on ground / in air | 0.0 / 11.0 | ° | Simulated | [1] |
| Landing light | ||||
| Intensity | 540,000 | Unity light intensity units | Simulated | [1] |
| Range | 1,000 | m | Simulated | [1] |
| Spot / inner cone angle | 24 / 23 | ° | Simulated | [1] |
| Aim on ground / in air | 0.0 / 12.5 | ° | Simulated | [1] |
| Aiming | ||||
| Maximum pitch with ground aim | 3.0 | ° | Simulated | [1] |
| Aim slew time constant | 0.6 | s | Simulated | [1] |
| Cookies | ||||
| Light cookie resolution | 512 | px | Simulated | [1] |
| Flood / landing scale without a cookie | 0.05 / 0.08 | fraction | Simulated | [1] |
| Maximum spot angle without a cookie | 40 | ° | Simulated | [1] |
| Point lights | ||||
| Maximum camera distance for exterior point lights | 120 | m | Simulated | [1] |
| Coronas | ||||
| Corona minimum size | 3.0 | px | Simulated | [1] |
| Corona fade start / end | 6,000 / 10,000 | m | Simulated | [1] |
Derivations
How each derived value in the table is calculated, with its inputs and assumptions.
D1 hysteresis bands
Daylight band = 0.55 - 0.35 = 0.20; supersonic band = 1.10 - 1.02 = 0.08 Mach. Inputs 1. Assumes the exit threshold is always evaluated after the entry threshold, as the names state.
D2 landing light speed in knots
28 m/s / 0.514444 m/s per knot = 54.4 kn, using the definition 1 kn = 1,852 m per hour. Input 1.
References
Internal sources
Swampsoft design records and mod source files behind the in-game values.
- Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xExteriorLightsPolicy.cs,Ba170xExteriorLightsPolicyconstantsContractId,DarkEnterDaylight,DarkExitDaylight,DarkEnterAmbient,DarkExitAmbient,GearHeadlightMaxTravel,SupersonicEmconEnterMach,SupersonicEmconExitMach,StrobeLowAltitudeM,LandingMinGroundSpeedMps,StrobeCycleSec,BeaconCycleSec,TaxiFloodIntensity,LandingIntensity,AimSlewTauSeconds,CookieResolution,CoronaFadeStartM,HeadlightPart.