<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>

<!-- 
     ************************************************************************
     Douglas DC-3 C47
     January 2012 modified by PAF team : http://http://equipe-flightgear.forumactif.com
     December 2012 updated  by Helijah : http://helijah.free.fr / http://embaranger.free.fr
     ************************************************************************
-->

  <name>EN-4-Take off</name>
  <description>
With the help of this tutorial, you will be able to take off your DC-3 in the state of the art.

take-off procedure :
  -


  </description>



<!-- Configuration au démarrage du tutoriel-->

  <init>
    <set>
      <property>controls/gear/tailwheel-lock</property>
      <value>1</value>
    </set>
    <set>
      <property>controls/flight/flaps</property>
      <value>0.0</value>
    </set>
    <set>
      <property>controls/gear/brake-parking-pos</property>
      <value>1</value>
    </set>
    <set>
      <property>controls/flight/elevator-trim</property>
      <value>0</value>
    </set>
    <set>
      <property>controls/flight/elevator-trim</property>
      <value>0</value>
    </set>
    <set>
      <property>controls/flight/aileron-trim</property>
      <value>0</value>
    </set>
    <set>
      <property>controls/flight/rudder-trim</property>
      <value>0</value>
    </set>
    <set>
      <property>instrumentation/doors/crew/position-norm</property>
      <value>0</value>
    </set>
    <set>
      <property>instrumentation/doors/cargo/position-norm</property>
      <value>0</value>
    </set>
    <set>
      <property>controls/fuel/tank[0]/boost-pump-pos</property>
      <value>0</value>
    </set>
    <set>
      <property>controls/fuel/tank[1]/boost-pump-pos</property>
      <value>0</value>
    </set>
  </init>
  
  <step>
      <message> </message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>0</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>56</field-of-view>
    </view>
	<error>
   <message>Please start the engines, you can use the tutorial startup</message>
      <condition>
        <equals>
          <property>engines/engine/running</property>
          <value>0</value>
        </equals>
      </condition>
    </error>
    <exit>
   <message>The engines are  running ?</message>
      <condition>
		<equals>
          <property>engines/engine/running</property>
          <value>1</value>
        </equals>
      </condition>
    </exit>
  </step>
  
<!-- vérification moteurs démarrés-->
  <step>
    <message>Everything is going well for the left engine</message>
    <view>
      <heading-offset-deg>95</heading-offset-deg>
      <pitch-offset-deg>-33</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>-0.75</x-offset-m>
      <y-offset-m>0.4</y-offset-m>
      <z-offset-m>-7.9</z-offset-m>
      <field-of-view>67.0</field-of-view>
    </view>
  </step>

  <step>
    <message>right engine...</message>
    <view>
      <heading-offset-deg>-100</heading-offset-deg>
      <pitch-offset-deg>-30</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>0.65</x-offset-m>
      <y-offset-m>0.48</y-offset-m>
      <z-offset-m>-7.95</z-offset-m>
      <field-of-view>65.0</field-of-view>
    </view>
  </step>

  <step>
    <message>OK</message>
    <view>
      <heading-offset-deg>-100</heading-offset-deg>
      <pitch-offset-deg>-30</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>0.65</x-offset-m>
      <y-offset-m>0.48</y-offset-m>
      <z-offset-m>-7.95</z-offset-m>
      <field-of-view>65.0</field-of-view>
    </view>
  </step>-->
  

<!-- explications-->
  <step>
    <message>After a short briefing, we will take off, Buckle up</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>0</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
  </step>

  <step>
    <message>We will go full throttle gradually (between 5 and 10 seconds)</message>
    <view>
      <heading-offset-deg>-47</heading-offset-deg>
      <pitch-offset-deg>-50</pitch-offset-deg>
      <roll-offset-deg>-7</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
  </step>

  <step>
    <message>Look at the manifold pressure, I will indicate the manifold pressure for different stages of flight</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-40</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>0.15</x-offset-m>
      <y-offset-m>0.1</y-offset-m>
      <z-offset-m>-8.2</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
  </step>
  
   <step>
    <message>Pay attention to the effects of engine torque, they will make you turn to the left</message>
    <view>
      <heading-offset-deg>1</heading-offset-deg>
      <pitch-offset-deg>-41</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>0.15</x-offset-m>
      <y-offset-m>0.1</y-offset-m>
      <z-offset-m>-8.2</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
  </step>
  
   <step>
    <message>You can correct it with the rudder</message>
    <view>
      <heading-offset-deg>25</heading-offset-deg>
      <pitch-offset-deg>-45</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.1</x-offset-m>
      <y-offset-m>0.1</y-offset-m>
      <z-offset-m>-8.2</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
  </step>

  <step>
    <message>I will show you also the propellers RPM you have to comply</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-37</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.13</x-offset-m>
      <y-offset-m>0.09</y-offset-m>
      <z-offset-m>-8.23</z-offset-m>
      <field-of-view>57</field-of-view>
    </view>
  </step>
  
  <step>
    <message>You can change the RPM with the propeller pitch levers (white)</message>
    <view>
      <heading-offset-deg>-10</heading-offset-deg>
      <pitch-offset-deg>-62</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.1</x-offset-m>
      <y-offset-m>0.29</y-offset-m>
      <z-offset-m>-8</z-offset-m>
      <field-of-view>60.0</field-of-view>
    </view>
  </step>
  
   <step>
    <message>he rotational speed of the aircraft is about 85 kts</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-17</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
  </step>
 
   <step>
    <message>During the acceleration, pull the handle to you</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-20</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.4</x-offset-m>
      <y-offset-m>0.3</y-offset-m>
      <z-offset-m>-7.95</z-offset-m>
      <field-of-view>62</field-of-view>
    </view>
  </step>
  
  <step>
    <message>Release the pressure on the handle around 55 kts</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-20</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.2</y-offset-m>
      <z-offset-m>-8.19</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
  </step>

   <step>
    <message>The tail wheel will rise and the aircraft will take its flight line</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-8</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
  </step>
  
   <step>
    <message>It takes off almost alone</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-8</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
  </step>

   <step>
    <message>After rotation, do not take a high inclination, let the plane accelerate</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-8</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
  </step>

   <step>
    <message>Well ! we will go there, you will set the cowl flaps in TRAIL position</message>
    <view>    
	  <heading-offset-deg>-120</heading-offset-deg>
      <pitch-offset-deg>-10</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>0.58</x-offset-m>
      <y-offset-m>0.48</y-offset-m>
      <z-offset-m>-8.12</z-offset-m>
      <field-of-view>60</field-of-view>
    </view> 
   </step> 

   <step>
    <message>Place the two switches in TRAIL position</message>
	 <view>
	  <heading-offset-deg>-15</heading-offset-deg>
      <pitch-offset-deg>-45</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>0.6</x-offset-m>
      <y-offset-m>0.48</y-offset-m>
      <z-offset-m>-7.8</z-offset-m>
      <field-of-view>62</field-of-view>
    </view>
    <exit>
      <condition>
        <and>
		<equals>
            <property>controls/engines/engine/cowl-flaps-cmd</property>
            <value>2</value>
		</equals>
		<equals>
            <property>controls/engines/engine[1]/cowl-flaps-cmd</property>
            <value>2</value>
		</equals>
        </and>
      </condition>
    </exit>
  </step>
 
   <step>
    <message>The cowl flaps are used to cool the engine</message>
    <view>
	  <heading-offset-deg>-120</heading-offset-deg>
      <pitch-offset-deg>-10</pitch-offset-deg>
      <roll-offset-deg>0.0</roll-offset-deg>
      <x-offset-m>0.58</x-offset-m>
      <y-offset-m>0.48</y-offset-m>
      <z-offset-m>-8.12</z-offset-m>
      <field-of-view>59</field-of-view>
    </view> 
   </step>


<!-- frein parc -->
  <step>
    <message>Remove parking brake</message>
      <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-12</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.05</x-offset-m>
      <y-offset-m>-0.4</y-offset-m>
      <z-offset-m>-8</z-offset-m>
      <field-of-view>52</field-of-view>
    </view>
    <error>
	  <message>Click on the red button or use shift+b</message>
      <condition>
		<equals>
          <property>controls/gear/brake-parking</property>
          <value>1</value>
		</equals>
      </condition>
    </error>
    <exit>
      <condition>
		<equals>
          <property>controls/gear/brake-parking</property>
          <value>0</value>
        </equals>
      </condition>
    </exit>  
  </step>


<!-- Gaz -->
  <step>
    <message>Progressively, go full throttle</message>
	 <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-8</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
  </step>
  
  <step>
    <message>Reach the manifold pressure of 52"</message>
    <view>
      <heading-offset-deg>-18</heading-offset-deg>
      <pitch-offset-deg>-24</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
    <error>
      <message>Go faster !</message>
      <condition>
        <less-than>
          <property>controls/engines/engine[0]/throttle</property>
          <value>0.2</value>
        </less-than>
      </condition>
    </error>
    <exit>
      <condition>
          <greater-than>
            <property>controls/engines/engine[0]/throttle</property>
            <value>0.9</value>
          </greater-than>
      </condition>
    </exit>
  </step>

  <!-- position manche -->
  <step>
    <message>Keep the plane aligned with the runway and pull the handle to you</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-9</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
    <error>
      <message>Pull the handle to you more</message>
      <condition>
          <greater-than>
            <property>controls/flight/elevator</property>
            <value>-0.4</value>
          </greater-than>
      </condition>
    </error>
    <exit>
      <condition>
        <less-than>
          <property>controls/flight/elevator</property>
          <value>-0.4</value>
        </less-than>
      </condition>
    </exit>
  </step>
  
    <!-- avant rotation -->
  <step>
    <message>At 55kts release the pressure on the handle</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-18</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.4</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>62</field-of-view>
    </view>
    <error>
      <message>Be careful, keep your plane on course</message>
      <condition>
        <less-than>
          <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
          <value>70</value>
        </less-than>
      </condition>
    </error>
    <exit>
      <message>Rotation, pull the handle</message>
      <condition>
          <greater-than>
            <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
            <value>70</value>
          </greater-than>
      </condition>
    </exit>
  </step>

   <step>
    <message>Keep a horizontal attitude</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-19</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.4</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>63</field-of-view>
    </view>
    <error>
      <message>Let the plane pick up speed and exceed 105kts</message>
      <condition>
        <less-than>
          <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
          <value>104</value>
        </less-than>
      </condition>
    </error>
    <exit>
      <condition>
          <greater-than>
            <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
            <value>104</value>
          </greater-than>
      </condition>
    </exit>
   </step>
   
   <step>
    <message>Well, reduce the throttle to an manifold pressure of 43 inches</message>
    <view>
      <heading-offset-deg>-18</heading-offset-deg>
      <pitch-offset-deg>-23</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
    <error>
      <message>Reduce the throttle to an manifold pressure of 43 inches</message>
      <condition>
          <greater-than>
          <property>engines/engine/mp-osi</property>
          <value>45</value>
          </greater-than>
      </condition>
    </error>
    <exit>
      <condition>
        <less-than>
            <property>engines/engine/mp-osi</property>
            <value>45</value>
        </less-than>
      </condition>
    </exit>
   </step>

   <step>
    <message>You can retract the landing gear</message>
   </step>

   <step>
    <message>Reduce RPM to 2400</message>
    <view>
      <heading-offset-deg>-25</heading-offset-deg>
      <pitch-offset-deg>-30</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
    <error>
      <message>Use the white handles or keyboard key (shift + n and n)</message>
      <condition>
          <greater-than>
          <property>engines/engine/rpm</property>
          <value>2500</value>
          </greater-than>
      </condition>
     <view>
      <heading-offset-deg>-40</heading-offset-deg>
      <pitch-offset-deg>-37</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.475</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>60</field-of-view>
    </view>
    </error>
    <exit>
      <condition>
        <less-than>
            <property>engines/engine/mp-osi</property>
            <value>2500</value>
        </less-than>
      </condition>
    </exit>
   </step>
   
  <step>
    <message>Well, keep climbing</message>
    <view>
      <heading-offset-deg>0</heading-offset-deg>
      <pitch-offset-deg>-20</pitch-offset-deg>
      <roll-offset-deg>0</roll-offset-deg>
      <x-offset-m>-0.4</x-offset-m>
      <y-offset-m>0.434</y-offset-m>
      <z-offset-m>-7.965</z-offset-m>
      <field-of-view>62</field-of-view>
    </view>
  </step>

  <end>
    <message>Congratulations, you take off the DC-3!</message>
  </end>

</PropertyList>
