<?xml version="1.0"?>

<!-- Lockheed Constellation 1049h        -->
<!-- Smoke particle effects, code by Peter "Farmboy" Brown -->


<PropertyList>

  <!-- Start up Smoke -->

  <!-- Smoke (starting engine, #1) -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[0]/cranking</property>
        <property>engines/engine[0]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-9.75</y-m>
      <z-m>0.9</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[0]/cranking</property>
        <property>engines/engine[0]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-9.75</y-m>
      <z-m>-0.6</z-m>
      <pitch-deg>35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[0]/cranking</property>
        <property>engines/engine[0]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-8.38</y-m>
      <z-m>-0.6</z-m>
      <pitch-deg>145</pitch-deg>
    </offsets>
  </model>


  <!-- Smoke (starting engine, #2) -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[1]/cranking</property>
        <property>engines/engine[1]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-4.75</y-m>
      <z-m>0.6</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[1]/cranking</property>
        <property>engines/engine[1]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-4.75</y-m>
      <z-m>-0.9</z-m>
      <pitch-deg>35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[1]/cranking</property>
        <property>engines/engine[1]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-3.56</y-m>
      <z-m>-0.9</z-m>
      <pitch-deg>145</pitch-deg>
    </offsets>
  </model>

  <!-- Smoke (starting engine, #3) -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[2]/cranking</property>
        <property>engines/engine[2]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4</x-m>
      <y-m>4.0</y-m>
      <z-m>0.6</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[2]/cranking</property>
        <property>engines/engine[2]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4</x-m>
      <y-m>4.0</y-m>
      <z-m>-0.9</z-m>
      <pitch-deg>35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[2]/cranking</property>
        <property>engines/engine[2]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4</x-m>
      <y-m>5.0</y-m>
      <z-m>-0.9</z-m>
      <pitch-deg>145</pitch-deg>
    </offsets>
  </model>

  <!-- Smoke (starting engine, #4) -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[3]/cranking</property>
        <property>engines/engine[3]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>8.25</y-m>
      <z-m>0.9</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[3]/cranking</property>
        <property>engines/engine[3]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>8.25</y-m>
      <z-m>-0.6</z-m>
      <pitch-deg>35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/smoke.xml</path>
    <condition>
      <and>
        <property>engines/engine[3]/cranking</property>
        <property>engines/engine[3]/running</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>9.81</y-m>
      <z-m>-0.6</z-m>
      <pitch-deg>145</pitch-deg>
    </offsets>
  </model>

  <!-- Fire , #1 -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire-in-flight.xml</path>
    <condition>
      <and>
	<greater-than>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</greater-than>
	<property>hazards/fire/engine[0]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-9.75</y-m>
      <z-m>0.9</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire-in-flight.xml</path>
    <condition>
      <and>
	<greater-than>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</greater-than>
	<property>hazards/fire/engine[0]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-8.38</y-m>
      <z-m>-0.6</z-m>
      <pitch-deg>145</pitch-deg>
    </offsets>
  </model>

  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire.xml</path>
    <condition>
      <and>
	<less-than-equals>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</less-than-equals>
	<property>hazards/fire/engine[0]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-9.75</y-m>
      <z-m>0.9</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>


  <!-- Fire, #2 -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire-in-flight.xml</path>
    <condition>
      <and>
	<greater-than>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</greater-than>
	<property>hazards/fire/engine[1]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-4.75</y-m>
      <z-m>0.6</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire-in-flight.xml</path>
    <condition>
      <and>
	<greater-than>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</greater-than>
	<property>hazards/fire/engine[1]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-3.56</y-m>
      <z-m>-0.9</z-m>
      <pitch-deg>145</pitch-deg>
    </offsets>
  </model>

  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire.xml</path>
    <condition>
      <and>
	<less-than-equals>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</less-than-equals>
	<property>hazards/fire/engine[1]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>-4.75</y-m>
      <z-m>0.6</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>


  <!-- Fire, #3 -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire-in-flight.xml</path>
    <condition>
      <and>
	<greater-than>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</greater-than>
	<property>hazards/fire/engine[2]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4</x-m>
      <y-m>4.0</y-m>
      <z-m>0.6</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire-in-flight.xml</path>
    <condition>
      <and>
	<greater-than>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</greater-than>
	<property>hazards/fire/engine[2]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4</x-m>
      <y-m>5.0</y-m>
      <z-m>-0.9</z-m>
      <pitch-deg>145</pitch-deg>
    </offsets>
  </model>

  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire.xml</path>
    <condition>
      <and>
	<less-than-equals>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</less-than-equals>
	<property>hazards/fire/engine[2]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4</x-m>
      <y-m>4.0</y-m>
      <z-m>0.6</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>

  <!-- Fire, #4 -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire-in-flight.xml</path>
    <condition>
      <and>
	<greater-than>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</greater-than>
	<property>hazards/fire/engine[3]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>8.25</y-m>
      <z-m>0.9</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire-in-flight.xml</path>
    <condition>
      <and>
	<greater-than>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</greater-than>
	<property>hazards/fire/engine[3]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>9.81</y-m>
      <z-m>-0.6</z-m>
      <pitch-deg>145</pitch-deg>
    </offsets>
  </model>

  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fire.xml</path>
    <condition>
      <and>
	<less-than-equals>
	  <property>position/altitude-agl-ft</property>
	  <value>11</value>
	</less-than-equals>					
	<property>hazards/fire/engine[3]</property>
      </and>
    </condition>
    <offsets>
      <x-m>-4.25</x-m>
      <y-m>8.25</y-m>
      <z-m>0.9</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>

  <!-- Jettison / Fuel dump, #1 -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fuel_dump.xml</path>
    <condition>
      <property>controls/fuel/jettison[0]/spray</property>
    </condition>
    <offsets>
      <x-m>-2.25</x-m>
      <y-m>-9.75</y-m>
      <z-m>0.9</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>

  <!-- Jettison / Fuel dump, #2 -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fuel_dump.xml</path>
    <condition>
      <property>controls/fuel/jettison[0]/spray</property>
    </condition>
    <offsets>
      <x-m>-2.25</x-m>
      <y-m>-4.75</y-m>
      <z-m>0.6</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>

  <!-- Jettison / Fuel dump, #3 -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fuel_dump.xml</path>
    <condition>
      <property>controls/fuel/jettison[1]/spray</property>
    </condition>
    <offsets>
      <x-m>-2.25</x-m>
      <y-m>4.0</y-m>
      <z-m>0.6</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>

  <!-- Jettison / Fuel dump, #4 -->
  <model>
    <path>Aircraft/Lockheed1049h/Models/Effects/fuel_dump.xml</path>
    <condition>
      <property>controls/fuel/jettison[1]/spray</property>
    </condition>
    <offsets>
      <x-m>-2.25</x-m>
      <y-m>8.25</y-m>
      <z-m>0.9</z-m>
      <pitch-deg>-35</pitch-deg>
    </offsets>
  </model>

</PropertyList>
