TwinFan / XPMP2

Multiplayer library for X-Plane 11/12 with instancing, TCAS override, and sound
https://twinfan.github.io/XPMP2/
Other
24 stars 16 forks source link

Airline code mapping #64

Closed TwinFan closed 7 months ago

TwinFan commented 9 months ago

Current Situation / Problem Subsidiary airlines operate under their own airline code but use liveries (or even actual planes) of their mother companies. These often new subsidiary airlines codes aren't mentioned in the often older xsb_aircraft.txt files. As a result, planes of the subsidiary airline are rendered with a random livery although probably a matching livery for the mother company would be available.

Suggested Solution Provide a way to match subsidiary and mother company, similar to what happens to aircraft type codes in the related.txt file, just for airline codes, like

; Aer Lingus
EIN EUK
; Ryan Air
RYR RUK

Alternatives Lots of fiddling right in the xsb_aircraft.txt file to add AIRLINE lines under each EIN model to also allow matching for EUK.

Benefits Better livery matching for subsidiary airlines.

Additional context Suggested in a forum post.