<?xml version="1.0" encoding="UTF-8"?>

<PropertyList>
<!-- landing lights with auto off on retract -->


  <!-- rembrandt auto switching for glass -->
  <effect>
  <inherits-from>Effects/model-transparent</inherits-from>
  <condition>
    <property>sim/rendering/rembrandt/enabled</property>
  </condition>
  
  <object-name>light</object-name>
   <object-name>Light</object-name>
  
  
</effect>

<!-- Turns off non rembrant lighting and effects -->
<animation>
        <type>select</type>
         <object-name>Taxi-Light</object-name>
		<object-name>NoseGearLandinglight</object-name>
	
		<condition>
            <not>
            <property>/sim/rendering/rembrandt/enabled</property>
            </not>
        </condition>
    </animation>	
	
 
 
  <!-- Landing lights -->
   <model>
<path>Aircraft/Harrier-GR1/Models/Lights/normal/landinglight.xml</path>
<name>NoseGearLandinglight</name>     
<condition>
 <equals>
<property>gear/gear[0]/position-norm</property>
<value type="bool">true</value>
 </equals>
  </condition>

<offsets>
      <x-m>0</x-m>
      <y-m>0</y-m>
      <z-m>0</z-m>
      <pitch-deg>0</pitch-deg>
      <heading-deg>0</heading-deg>    
</offsets>
</model>

<model>
    <name>Taxi-Light</name>
    <path>Aircraft/Harrier-GR1/Models/Lights/normal/light-cone.xml</path>
    <offsets>
       <x-m>0</x-m>
      <y-m>0</y-m>
      <z-m>0</z-m>
      <pitch-deg>0</pitch-deg>
      <heading-deg>0</heading-deg>
    </offsets>
  </model>
  
  <model>
    <name>Taxi-LightR</name>
    <path>Aircraft/Harrier-GR1/Models/Lights/remb/LandingLight.xml</path>
    <offsets>
       <x-m></x-m>
      <y-m>0</y-m>
      <z-m></z-m>
      <pitch-deg>0</pitch-deg>
      <heading-deg>0</heading-deg>
    </offsets>
  </model>
  
  
 
  <animation>
    <type>select</type>
    <object-name>Taxi-Light</object-name>
	<object-name>Taxi-LightR</object-name>
	<name>NoseGearLandinglight</name> 
	
     <condition>
      <equals>
        <property>gear/gear[0]/position-norm</property>
        <value> 1 </value>
      </equals>
    </condition>
  </animation> 
  
 </PropertyList>
