
<!-- ################# Common Visibility Conditions for ModelConverterX when converting from FS2004 to FSX (or later) ############# -->

  <!-- used for Attached Object taxi lights - controlled by a taxi light switch. From AIG. -->
  <PartInfo>
    <Name>light_taxi_visible</Name>
    <AnimLength>100</AnimLength>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT TAXI, bool)
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

    <PartInfo> <!-- used for Attached Object landing lights - controlled by a landing light switch. From AIG. -->
        <Name>special_light</Name>
        <AnimLength>100</AnimLength>
        <Visibility>
            <Parameter>
                <Code>
                    (A:LIGHT LANDING, bool)
                </Code>
            </Parameter>
        </Visibility>
    </PartInfo>

  <PartInfo>
     <Name>L_chocks_2</Name> <!-- for 2 engine planes - visible when brake is on and LH engine is stopped -->
     <Visibility>
        <Parameter>
           <Code> 
              (A:BRAKE PARKING POSITION, bool) 1 == (A:GENERAL ENG1 COMBUSTION, bool) 0 == &amp;&amp; 
           </Code>
        </Parameter>
        <MinValue>1</MinValue>
     </Visibility>
   </PartInfo>

  <PartInfo>
     <Name>L_chocks_4</Name> <!-- for 4 engine planes - visible when brake is on and LH engines are stopped -->
     <Visibility>
        <Parameter>
           <Code> 
              (A:BRAKE PARKING POSITION, bool) 1 == (A:GENERAL ENG1 COMBUSTION, bool) 0 == (A:GENERAL ENG2 COMBUSTION, bool) 0 == &amp;&amp; &amp;&amp; 
           </Code>
        </Parameter>
        <MinValue>1</MinValue>
     </Visibility>
   </PartInfo>

   <PartInfo>
   <Name>R_chocks_2</Name> <!-- for 2 engine planes - visible when brake is on and RH engine is stopped -->
       <Visibility>
          <Parameter>
             <Code> 
                (A:BRAKE PARKING POSITION, bool) 1 == (A:GENERAL ENG2 COMBUSTION, bool) 0 == &amp;&amp; 
             </Code>
          </Parameter>
          <MinValue>1</MinValue>
       </Visibility>
   </PartInfo>

   <PartInfo>
   <Name>R_chocks_4</Name> <!-- for 4 engine planes - visible when brake is on and RH engines are stopped -->
       <Visibility>
          <Parameter>
             <Code> 
                (A:BRAKE PARKING POSITION, bool) 1 == (A:GENERAL ENG3 COMBUSTION, bool) 0 == (A:GENERAL ENG4 COMBUSTION, bool) 0 == &amp;&amp; &amp;&amp; 
             </Code>
          </Parameter>
          <MinValue>1</MinValue>
       </Visibility>
   </PartInfo>

   <PartInfo>
   <Name>airstairs_2</Name> <!-- for 2 engine plane - visible (not animated) when door #1 (passenger) is open, brake is on, and LH engine is stopped -->
      <Visibility>
         <Parameter>
            <Code>
              (A:EXIT OPEN:0, percent) 1 &gt; (A:BRAKE PARKING POSITION, bool) 1 == (A:GENERAL ENG1 COMBUSTION, bool) 0 == &amp;&amp; &amp;&amp; 
            </Code>
         </Parameter>
         <MinValue>1</MinValue>
     </Visibility>
    </PartInfo>

   <PartInfo>
   <Name>airstairs_4</Name> <!-- for 4 engine plane - visible (not animated) when door #1 (passenger) is open, brake is on, and LH engines are stopped -->
      <Visibility>
         <Parameter>
            <Code>
              (A:EXIT OPEN:0, percent) 1 &gt; (A:BRAKE PARKING POSITION, bool) 1 == (A:GENERAL ENG1 COMBUSTION, bool) 0 == (A:GENERAL ENG2 COMBUSTION, bool) 0 == &amp;&amp; &amp;&amp; &amp;&amp; 
            </Code>
         </Parameter>
         <MinValue>1</MinValue>
     </Visibility>
    </PartInfo>

   <PartInfo>
   <Name>ground_equipment</Name> <!-- visible when brake is on and all engines are stopped -->
      <Visibility>
         <Parameter>
            <Code>
              (A:BRAKE PARKING POSITION, bool) 1 == (A:GENERAL ENG1 COMBUSTION, bool) 0 == (A:GENERAL ENG2 COMBUSTION, bool) 0 == (A:GENERAL ENG3 COMBUSTION, bool) 0 == (A:GENERAL ENG4 COMBUSTION, bool) 0 == &amp;&amp; &amp;&amp; &amp;&amp; &amp;&amp;
            </Code>
         </Parameter>
         <MinValue>1</MinValue>
     </Visibility>
    </PartInfo>

   <PartInfo>
   <Name>maint_pltfm_2</Name> <!-- for 2 engine plane - visible when door #3 (crew) is open, brake is on, and RH engine is stopped -->
      <Visibility>
         <Parameter>
            <Code>
              (A:EXIT OPEN:2, percent) 50 &gt; (A:BRAKE PARKING POSITION, bool) 1 == (A:GENERAL ENG2 COMBUSTION, bool) 0 == &amp;&amp; &amp;&amp; 
            </Code>
         </Parameter>
         <MinValue>1</MinValue>
     </Visibility>
    </PartInfo>

   <PartInfo>
   <Name>maint_pltfm_4</Name> <!-- for 4 engine plane - visible when door #3 (crew) is open, brake is on, and RH engines are stopped -->
      <Visibility>
         <Parameter>
            <Code>
              (A:EXIT OPEN:2, percent) 50 &gt; (A:BRAKE PARKING POSITION, bool) 1 == (A:GENERAL ENG3 COMBUSTION, bool) 0 == (A:GENERAL ENG4 COMBUSTION, bool) 0 == &amp;&amp; &amp;&amp; &amp;&amp; 
            </Code>
         </Parameter>
         <MinValue>1</MinValue>
     </Visibility>
    </PartInfo>

    <PartInfo> <!-- used for parts visible only when gear is not fully up (wheel wells, etc.) -->
    <Name>gear_down_visible</Name>
       <Visibility>
          <Parameter>
             <Code>
                (A:GEAR ANIMATION POSITION:0,keyframes) 5 &gt;
             </Code>
          </Parameter>
       </Visibility>
    </PartInfo>

  <PartInfo>  <!-- used for parts visible only when gear is not fully down nor fully up (certain wheel wells, etc.)  -->
    <Name>gear_travel_visible</Name>
    <Visibility>
      <Parameter>
          <Code>
             5 95 (A:GEAR ANIMATION POSITION:0,keyframes) rng
          </Code>
      </Parameter>
    </Visibility>
  </PartInfo>

<!-- ########################### Common Animations for ModelConverterX when converting from FS2004 to FSX (or later) ################## -->

    <Animation name="c_wheel_FS9" guid="BC935F16-43CD-4042-8EF3-06E44A5940AB" length="200" type="Sim" typeparam2="c_wheel_FS9" typeparam="AutoPlay" />

    <PartInfo>
        <Name>c_wheel_FS9</Name>
        <AnimLength>200</AnimLength>
        <Animation>
            <Parameter>
          <Code>
            (A:GEAR CENTER STEER ANGLE, grads) 0 &gt; if{ (A:GEAR CENTER STEER ANGLE, grads) 0.5 * 100 + } els{ (A:GEAR CENTER STEER ANGLE, grads) 0.5 * 200 + }
          </Code>
            </Parameter>
        </Animation>
    </PartInfo>


<!-- ############################################ Default parts below this point ######################################## -->

