Aircraft-set.xml: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 153: Line 153:
  </maintainers >
  </maintainers >
</syntaxhighlight>
</syntaxhighlight>
==== Previews ====
The preview system allows UI to show a visual preview of the aircraft during startup, on the website, and in the launcher. Several images can be provided, showing the aircraft exterior and interior. These are also used to provide an improved splash-screen experience, replacing the older system described below.
<syntaxhighlight lang="xml">
<previews>
        <preview>
          <type>exterior</type>
          <splash type="bool">true</splash>
          <path>Previews/exterior-1.png</path>
        </preview>
        <preview>
          <type>exterior</type>
          <splash type="bool">true</splash>
          <path>Previews/exterior-f16a-2.png</path>
        </preview>
        <preview>
          <type>panel</type>
          <splash type="bool">false</splash>
          <path>Previews/cockpit.png</path>
        </preview>
      </previews>
</syntaxhighlight>
Previews are tagged to allow automatic selection for certain use cases. It's recommended to include at least one exterior, daytime shot of the aircraft, and one interior shot fo the main instrument panel from the pilot's viewpoint. Beyond this any image of the aircraft is acceptable. Avoid including logo, badge or text elements in preview images since this gives poor quality results and restricts how the images can be used - different uses of the images will composite their own elements on top.
Preview file paths are relative to the -set.xml file. Permitted types at present are 'exterior' and 'panel' - the type can also be committed. By default all previews are considered for random selection as the splash screen - to prevent a particular preview being used as the splash screen, set the 'splash' tag to false.


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
580

edits

Navigation menu