Debian Codegraph @

Docs/README.aircraft-metadata.md

raw symbols SCIP
1 Aircraft meta-data
2
3 The aim of aircraft meta-data is to make the user-experience around aircraft as easy and correct as possible,
4 especially for less experienced users. Meta-data is collected in the aircraft's -set.xml file as properties,
5 and extracted by various tools. Most notably the website and catalog (hangar) system use aircraft meta-data
6 to present aircraft to users before downloading / installing aircraft.
7
8 (The wiki also parses this information for each aircraft page)
9
10 Basic Information
11
12 - the name of your aircraft. For historical reasons this is stored in a tag called <description>, but
13 treat it like full name of your aircraft. This is the primary string displayed to users, so ensure it's
14 fully descriptive without being too long.
15
16 Good examples:
17 - Boeing 737-800
18 - Cessna C172P (with floats)
19 - Mikoyan MiG-27 (Flogger)
20
21 Bad examples:
22 - B738
23 (too short / confusing)
24 - deHavilland Canada DHC-6 Twin Otter
25 (manufacturer name is overly detailed, 'DHC-6 Twin Otter' would be fine)
26 - Boeing / McDonnell-Douglas MD-11
27 (Yes Boeing bought McDonnell-Douglas but not important info for the name,
28 probably 'McDonnell-Doughal MD-11' is sufficient)
29
30 Where the name is long, remember that the description (discussed below) is also searched when
31 searching aircraft. Therefore, it may be appropriate to omit information from the name, to keep
32 the total length shorter.
33
34 - an brief description of your aircraft. This is stored in <long-description> and should be a few sentances
35 or paragraphs at most. Do not include formatting in this text, it will be word-wrapped when presented.
36 (Paragraph breaks will be included)
37
38 Typically the text should include useful search terms, and often corresponds to the introductory
39 paragraph you might encounter for the aircraft on Wikipedia. It's not intended to be a comprehensive
40 README, just enough to help the user decide if this is the aircraft they want, especially when
41 comparing different versions or variants
42
43 Mentioning nicknames for aircraft in the description is encouraged, since this again aids user
44 searches: eg 'jumbo jet' for the 747, or 'mad dog' for the MD-80.
45
46 The long-description can be localized by supplying a value inside langauge tags:
47
48 <de>
49 <long-description>...description in Germans</long-description>
50 </de>
51
52 - ratings
53
54 .. link to the main aircraft ratings policy ...
55
56
57 - tags
58
59 The tag system allows systems to categorise aircraft, for example allowing more advanced searches
60 in the future. Tags allow better feedback to the user when interacting with your aircraft - for
61 example if the aircraft is tagged as towable, a glider, or a helicopter, the startup behaviour
62 can be customised.
63
64 Most importantly, set the following tags if appropriate:
65
66 glider
67 helicopter
68 floats
69 skis
70 seaplane
71 airship
72 amphibious
73 vtol
74
75 These tags are the most helpful in customising the start-up experience based on the
76 type of aircraft. (Especially, which starting locations are offered / preferred
77 when searching)
78
79 - author information
80
81 Previously, aircraft could define a single <author> tag with a string listing the authors
82 of the aircraft. This often ended up containing other information, and for complex
83 aircraft, could become very long.
84
85 For FlightGear 2018.3.0 onwards there is a replacement system, based around a structured
86 list of authors. For each author their name can be supplied, and optionally other data
87 if desired: nickname, email and a description of what they contributed.
88
89 (The strucutre of this deliberatley matches that for add-ons)
90
91 Both the old and and new data can co-exist to allow aircraft compatability with older
92 versions of FlightGear.
93
94 - maintainers information
95
96 To distuinguish contributions and previous authors from active maintainers, there
97 is a seperate maintainers section which can be provided. The syntax is the same
98 as for the authors, but the contact email is more important. In the future we might
99 potentially use this data to contact / notify all maintainers of aircraft.
100
101 - URL information
102
103 Aircraft can list significant URLs, such as their home page, support forum or code
104 repository. Again the format matches that uses for add-ons:
105
106 <urls>
107 <home-page>http://www.flightgear.org</home-page>
108 <wikipedia>https://en.wikipedia.org/wiki/Cessna_172</wikipedia>
109 </urls>
110
111 - previews (splash screens)
112
113 Preview images allow users to make a visual assement of an aircraft when browing
114 a hangar, and also provide a richer visual experience when using the built-in
115 launcher and when starting up.
116
117 Do /not/ include text or logo elements in preview images, since this reduces where
118 and how they can be used. For use on splash-screens, there is explicit support
119 overlaying a logo image instead of text. (link to the docs on this...)
120
121 Performance and Flight-planning Data
122
123 Information under /aircraft/performance is used for providing reasonable
124 default values in the UI, and suggesting when user-entered values might
125 be inappropriate. (Note these values do not influence the actual simulation
126 at all, they are informational only)
127
128 /aircraft/performance/minimum
129
130 * minimum-takeoff-length-ft
131 * minimum-landing-length-ft
132
133 If present, this will be used to improve airport and runway selection, by
134 preferring airports with sufficiently large runways to operate.
135
136 /aircraft/performance/cruise
137
138 * mach
139 * airspeed-knots
140 * altitude-ft
141 * flight-level
142
143 These values set defaults when planning a flight, and allow basic estimation
144 of the enroute time for a flight-plan. Provide either a Mach or knots value,
145 and similarly either a flight-level or altitude value.
146
147 /aircraft/performance/maximum
148
149 * mach
150 * airspeed-knots
151 * altitude-ft
152 * flight-level
153
154 These values allow the UI to warn if the user would exceed aircraft paramters,
155 for example with their choosen starting configuration. (The user can choose to
156 ignore the warning, of course)
157
158 /aircraft/performance/approach
159
160 * airspeed-knots
161
162 This value allows the UI to suggest a plausibe value for approaches / pattern
163 operations for the aircraft.
164
165 /aircraft/icao/
166
167 * type
168
169 This is the official ICAO aircraft type string. This can be looked up here: