Missions

From FlightGear wiki
Jump to navigation Jump to search
WIP.png Work in progress
This article or section will be worked on in the upcoming hours or days.
See history for the latest developments.

Mission objects

Actions

mission-intro-action

mission-briefing-action

<object>
    <type>mission-briefing-action</type>
    <skill-level-0-label>...</skill-level-0-label>
    <skill-level-1-label>...</skill-level-1-label>
    <skill-level-2-label>...</skill-level-2-label>
    <skill-level-0-objectives>
        <object-reference>...</object-reference>
        <object-reference>...</object-reference>
        ...
    </skill-level-0-objectives>
    <skill-level-1-objectives>
        <object-reference>...</object-reference>
        <object-reference>...</object-reference>
        ...
    </skill-level-1-objectives>
    <skill-level-2-objectives>
        <object-reference>...</object-reference>
        <object-reference>...</object-reference>
        ...
    </skill-level-2-objectives>
    <skill-level-0-actions>
        <object-reference>...</object-reference>
        <object-reference>...</object-reference>
        ...
    </skill-level-0-actions>
    <skill-level-1-actions>
        <object-reference>...</object-reference>
        <object-reference>...</object-reference>
        ...
    </skill-level-1-actions>
    <skill-level-2-actions>
        <object-reference>...</object-reference>
        <object-reference>...</object-reference>
        ...
    </skill-level-2-actions>
</object>

adjust-payload-action

<object>
    <name>...</name>
    <type>adjust-payload-action</type>
    <station-id>...</station-id>
    <adjustment-type>...</adjustment-type> "set" or "add"; default: "set"
    <weight>...</weight>
    <units>kg</units>                      "kg" or "lb"; default: "lb"
</object>

dialog-action

<object>
    <name>...</name>
    <type>dialog-action</type>
    <text>...</text>
    <sound-file>...</sound-file>           *.wav
    <delay-sec>...</delay-sec>
</object>

model

<object>
    <name>...</name>
    <type>model</type>
    <activated>...</activated>                    0/1
    <path>...</path>
    <orientation>
        <heading-deg>...</heading-deg>
        <pitch-deg>...</pitch-deg>
        <roll-deg>...</roll-deg>
    </orientation>
    <world-position>
        <latitude-deg>...</latitude-deg>
        <longitude-deg>...</longitude-deg>
        <altitude-m>...</altitude-m>
        <altitude-is-AGL>...</altitude-is-AGL>    0/1
    </world-position>
</object>

object-activation-action

<object>
    <name>...</name>
    <type>object-activation-action</type>
    <object-state>...</object-state>                         0/1
    <reference-list>
        <object-reference>...</object-reference>
        <object-reference>...</object-reference>
        ...
    </reference-list>
</object>

random-action

refuel-action

single-shot-sound-action

objective-status-action

Triggers

airport-landing-trigger

area-landing-trigger

menu-prompt-trigger

<object>
    <name>...</name>
    <type>menu-prompt-trigger</type>
    <activated>...</activated>
    <text>...</text>
    <menu-item>
        <text>...</text>
        <actions>...</actions>
    </menu-item>
    <menu-item>...</menu-item>
</object>

property-trigger

<object>
    <name>...</name>
    <type>property-trigger</type>
    <activated>...</activated>
    <condition>...</condition>
    <actions>...</actions>
</object>

proximity-trigger

timer-trigger

Areas

Objectives

<object>
    <name>...</name>
    <type>objective</type>
    <text>...</text>
    <briefing>...</briefing>
    <optional>...</optional>
</object>


Mission examples

Adding extensions