<PropertyList>
  <name>Start Up</name>
  <description>
Before you go flying, you'll need to learn how to start the engines.

This tutorial will take you through the pre-startup checklist and starting the Robin DR400 Dauhpin.
  </description>
  <timeofday>morning</timeofday>

  <presets>
    <airport-id>KLVK</airport-id>
    <on-ground>1</on-ground>
    <runway>12</runway>
    <altitude-ft>-9999</altitude-ft>
    <latitude-deg>37.6952</latitude-deg>
    <longitude-deg>-121.8167</longitude-deg>
    <heading-deg>175.0</heading-deg>
    <airspeed-kt>0</airspeed-kt>
    <glideslope-deg>0</glideslope-deg>
    <offset-azimuth-deg>0</offset-azimuth-deg>
    <offset-distance-nm>0</offset-distance-nm>
  </presets>

  <init>
    <set>
      <property>/controls/gear/brake-parking</property>
      <value>1</value>
    </set>
    <set>
      <property>/controls/flight/flaps</property>
      <value>0.0</value>
    </set>
    <set>
      <property>/controls/engines/engine/magnetos</property>
      <value>0</value>
    </set>
    <set>
      <property>/controls/engines/engine/master-alt</property>
      <value>0</value>
    </set>
    <set>
      <property>/controls/engines/engine/throttle</property>
      <value>0.0</value>
    </set>
    <set>
      <property>/engines/engine/running</property>
      <value>false</value>
    </set>
    <set>
      <property>/instrumentation/adf/frequencies/selected-khz</property>
      <value>340</value>
    </set>
    <set>
      <property>/environment/weather-scenario</property>
      <value>Fair weather</value>
    </set>
    <set>
      <property>/controls/flight/elevator-trim</property>
      <value>0.17</value>
    </set>
  </init>

  <step>
    <message>Welcome to Livermore Municipal Airport. In this lesson we'll go through the pre-startup checks and start the aircraft.</message>
    <wait>10</wait>
  </step>
  
  <step>
    <message>Before we start up, we need to brief what we'll do in case of an engine fire on startup. As
      this isn't our aircraft, and we're fully insured, we'll simply open the door and run away.</message>
    <wait>10</wait>
  </step>
  
  <step>
    <message>Next, we check our seatbelts, and seat adjustments. DR400 can get worn seat rails that
      sometimes cause the seat to slip backwards, often just as you take off, so make sure it is secure.</message>
    <wait>10</wait>
  </step>

  <step>
    <message>Firstly we need to switch on the battery. Click the "Batterie" switch</message>
    <view>
      <heading-offset-deg>9.4</heading-offset-deg>
      <pitch-offset-deg>-33.9</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>-0.2</x-offset-m>
      <y-offset-m>0.6</y-offset-m>
      <z-offset-m>-1.2</z-offset-m>
      <field-of-view>24.2</field-of-view>
    </view>
    <marker>
      <x-m>-1.9133</x-m>
      <y-m>-0.3533</y-m>
      <z-m>0.0692</z-m>
      <scale>1.2167</scale>
    </marker>
    <error>
      <message>Click the "Batterie" switch, so battery is ON</message>
      <condition>
        <not>
          <property>/controls/electric/battery-switch</property>
        </not>
      </condition>
    </error>
    <exit>
      <condition>
        <property>/controls/electric/battery-switch</property>
      </condition>
    </exit>
  </step>

  <step>
    <message>The fuel selector is set to PRINCIPAL</message>
    <view>
      <heading-offset-deg>332.4</heading-offset-deg>
      <pitch-offset-deg>-70.8</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>-0.1</x-offset-m>
      <y-offset-m>0.5</y-offset-m>
      <z-offset-m>-1.6</z-offset-m>
      <field-of-view>27.7</field-of-view>
    </view>
    <error>
      <message>Click the left hotspot two times, so fuel selector is set to PRINCIPAL</message>
      <condition>
        <not-equals>
          <property>/controls/fuel/selected-tank</property>
          <value>1</value>
        </not-equals>
      </condition>
    </error>
    <exit>
      <condition>
        <equals>
          <property>/controls/fuel/selected-tank</property>
          <value>1</value>
        </equals>
      </condition>
    </exit>
  </step>

  <step>
    <message>Make sure mixture is set to FULL RICH. Drag it up or press m</message>
    <view>
      <heading-offset-deg>341.8</heading-offset-deg>
      <pitch-offset-deg>-36.0</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>-0.2</x-offset-m>
      <y-offset-m>0.6</y-offset-m>
      <z-offset-m>-1.2</z-offset-m>
      <field-of-view>30.5</field-of-view>
    </view>
    <marker>
      <x-m>-1.8375</x-m>
      <y-m>0.0050</y-m>
      <z-m>0.0242</z-m>
      <scale>2.0333</scale>
    </marker>
    <error>
      <message>Make sure mixture is set to FULL RICH. Drag it up or press m</message>
      <condition>
        <less-than>
          <property>/controls/engines/engine/mixture</property>
          <value>0.85</value>
        </less-than>
      </condition>
    </error>
    <exit>
      <condition>
        <greater-than-equals>
          <property>/controls/engines/engine/mixture</property>
          <value>0.85</value>
        </greater-than-equals>
      </condition>
    </exit>
  </step>

  <step>
    <message>Then we need to swith ON the fuel pump. Click the POMPE ELECTR switch</message>
    <interval>2</interval>
    <view>
      <heading-offset-deg>341.4</heading-offset-deg>
      <pitch-offset-deg>-33.2</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>-0.2</x-offset-m>
      <y-offset-m>0.6</y-offset-m>
      <z-offset-m>-1.2</z-offset-m>
      <field-of-view>19.2</field-of-view>
    </view>
    <marker>
      <x-m>-1.9058</x-m>
      <y-m>0.0200</y-m>
      <z-m>0.0700</z-m>
      <scale>1.5000</scale>
    </marker>
    <error>
      <message>Click the left hotspot two times, so fuel selector is set to PRINCIPAL</message>
      <condition>
        <not>
          <property>/controls/fuel/tank/boost-pump</property>
        </not>
      </condition>
    </error>
    <exit>
      <condition>
        <property>/controls/fuel/tank/boost-pump</property>
      </condition>
    </exit>
  </step>

  <step>
    <message>Open the throttle slightly. Use your joystick throttle control, or drag the throttle with your mouse, 
      or PgUp to increase throttle to about 10%.</message>
    <view>
      <heading-offset-deg>22.7</heading-offset-deg>
      <pitch-offset-deg>-27.6</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>-0.2</x-offset-m>
      <y-offset-m>0.6</y-offset-m>
      <z-offset-m>-1.2</z-offset-m>
      <field-of-view>39.9</field-of-view>
    </view>
    <marker>
      <x-m>-1.7742</x-m>
      <y-m>-0.4500</y-m>
      <z-m>0.2342</z-m>
      <scale>2.6667</scale>
    </marker>
    <error>
      <message>Push in the throttle using PgUp, or dragging the throttle with your mouse or your joystick throttle control.</message>
      <message>Open the throttle a bit more.</message>
      <condition>
        <less-than>
          <property>/controls/engines/engine/throttle</property>
          <value>0.05</value>
        </less-than>
      </condition>
    </error>
    <error>
      <message>That's a bit too much. Pull it out slightly using your joystick throttle control, or PgDn or dragging the throttle with your mouse.</message>
      <condition>
        <greater-than>
          <property>/controls/engines/engine/throttle</property>
          <value>0.2</value>
        </greater-than>
      </condition>
    </error>
    <exit>
      <condition>
        <and>
          <greater-than>
            <property>/controls/engines/engine/throttle</property>
            <value>0.05</value>
          </greater-than>
          <less-than>
            <property>/controls/engines/engine/throttle</property>
            <value>0.2</value>
          </less-than>
        </and>
      </condition>
    </exit>
  </step>
  
  <step>
    <message>Now, we'll check no-one is about to walk into our propeller.</message>
    <wait>2</wait>
    <view>
      <heading-offset-deg>36.6</heading-offset-deg>
      <pitch-offset-deg>-13.8</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>-0.2</x-offset-m>
      <y-offset-m>0.6</y-offset-m>
      <z-offset-m>-1.2</z-offset-m>
      <field-of-view>93.9</field-of-view>
    </view>
  </step>
  
  <step>
    <message>Looks clear.</message>
    <wait>2</wait>
    <view>
      <heading-offset-deg>323.2</heading-offset-deg>
      <pitch-offset-deg>-9.4</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>-0.2</x-offset-m>
      <y-offset-m>0.6</y-offset-m>
      <z-offset-m>-1.2</z-offset-m>
      <field-of-view>93.9</field-of-view>
    </view>
  </step>
  
  <step>
    <message>We need to switch on the magnetos. Click the right hotspot three times, so the key is set to BOTH.</message>
    <view>
      <heading-offset-deg>6.9</heading-offset-deg>
      <pitch-offset-deg>-34.4</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>-0.2</x-offset-m>
      <y-offset-m>0.6</y-offset-m>
      <z-offset-m>-1.2</z-offset-m>
      <field-of-view>24.2</field-of-view>
    </view>
    <marker>
      <x-m>-1.9133</x-m>
      <y-m>-0.2975</y-m>
      <z-m>0.0583</z-m>
      <scale>1.8167</scale>
    </marker>
    <error>
      <message>Click the right hotspot three times, so both magnetos are on and the key
        is set to BOTH.</message>
      <condition>
        <less-than>
          <property>/controls/engines/engine/magnetos</property>
          <value>3</value>
        </less-than>
      </condition>
    </error>
    
    <exit>
      <condition>
        <equals>
          <property>/controls/engines/engine/magnetos</property>
          <value>3</value>
        </equals>
      </condition>
    </exit>
  </step>
  
  <step>
    <message>Finally, we can start the engine. Hold down s, or the red switch until the engine catches.</message>
    <view>
      <heading-offset-deg>342.6</heading-offset-deg>
      <pitch-offset-deg>-38.6</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>-0.2</x-offset-m>
      <y-offset-m>0.6</y-offset-m>
      <z-offset-m>-1.2</z-offset-m>
      <field-of-view>45.4</field-of-view>
    </view>
    <marker>
      <x-m>-1.8092</x-m>
      <y-m>0.0000</y-m>
      <z-m>-0.1033</z-m>
      <scale>0.8667</scale>
    </marker>
    <error>
      <message>Wrong way - set the magnetos back to BOTH.</message>
      <message>You need the magnetos on to start the engine. Set them to BOTH by clicking the right hotspot or pressing }.</message>
      <condition>
        <not-equals>
          <property>/controls/engines/engine/magnetos</property>
          <value>3</value>
        </not-equals>
      </condition>
    </error>
    <exit>
      <condition>
        <equals>
          <property>/engines/engine/running</property>
          <value>1</value>
        </equals>
      </condition>
    </exit>
  </step>

  <step>
    <message>Great, the engine is running. We can swith ON the alternator. Click the ALTERNAT switch</message>
    <view>
      <heading-offset-deg>1.3</heading-offset-deg>
      <pitch-offset-deg>-20.6</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>-0.2</x-offset-m>
      <y-offset-m>0.6</y-offset-m>
      <z-offset-m>-1.2</z-offset-m>
      <field-of-view>61.1</field-of-view>
    </view>
    <marker>
      <x-m>-1.9125</x-m>
      <y-m>-0.3342</y-m>
      <z-m>0.0733</z-m>
      <scale>1.3667</scale>
    </marker>
    <error>
      <message>Click the ALTERNAT swith, so alternator set to ON and make the CHARGE warning off</message>
      <condition>
        <not>
          <property>/controls/engines/engine/master-alt</property>
        </not>
      </condition>
    </error>
    <exit>
      <condition>
        <property>/controls/engines/engine/master-alt</property>
      </condition>
    </exit>
  </step>

  <end>
    <message>Great. We're now ready to taxi to the runway.</message>
  </end>
</PropertyList>
