<PropertyList>

 <path>helipad-light.ac</path>

 <animation>
    	<type>light</type>
		<light-type>spot</light-type>
		<object-name>heli.volume.1</object-name>
		<nopreview />
		<direction><x>-1</x><y>0</y><z>0.2</z></direction>
		<position><x>30</x><y>0</y><z>0.05</z></position>
		<ambient><r>0.1</r><g>0.1</g><b>0.1</b><a>0.1</a></ambient>
		<diffuse><r>0.85</r><g>0.85</g><b>0.85</b><a>1.0</a></diffuse>
		<specular><r>0.9</r><g>0.9</g><b>0.8</b><a>1</a></specular>
		<attenuation><c>0.5</c><l>0.07</l><q>0</q></attenuation>
		<exponent>7.0</exponent>
		<cutoff>80</cutoff>
		<near-m>0.1</near-m>
		<far-m>80</far-m>
		<dim-factor>
		<offset>0.2</offset>
        <expression>
        <product>
          <value>-1</value>
          <sum>
            <product>
              <max>
                <pow>
                  <cos><property>/sim/time/sun-angle-rad</property></cos>
                  <value>0.3</value>
                </pow>
                <value>0</value>
              </max>
              <value>1.0</value>
            </product>
            <value>-1</value>
          </sum>
        </product>
      </expression>
    </dim-factor>
 </animation>
 
 <animation>
    	<type>light</type>
		<light-type>spot</light-type>
		<object-name>heli.volume.2</object-name>
		<nopreview />
		<direction><x>1</x><y>0</y><z>0.2</z></direction>
		<position><x>-30</x><y>0</y><z>0.05</z></position>
		<ambient><r>0.1</r><g>0.1</g><b>0.1</b><a>0.1</a></ambient>
		<diffuse><r>0.75</r><g>0.75</g><b>0.75</b><a>1.0</a></diffuse>
		<specular><r>0.9</r><g>0.9</g><b>0.8</b><a>1</a></specular>
		<attenuation><c>0.5</c><l>0.07</l><q>0</q></attenuation>
		<exponent>7.0</exponent>
		<cutoff>80</cutoff>
		<near-m>0.1</near-m>
		<far-m>80</far-m>
		<dim-factor>
		<offset>0.2</offset>
        <expression>
        <product>
          <value>-1</value>
          <sum>
            <product>
              <max>
                <pow>
                  <cos><property>/sim/time/sun-angle-rad</property></cos>
                  <value>0.3</value>
                </pow>
                <value>0</value>
              </max>
              <value>1.0</value>
            </product>
            <value>-1</value>
          </sum>
        </product>
      </expression>
    </dim-factor>
 </animation>
 
  <animation>
   <type>select</type>
   <object-name>helipad.lens1.on</object-name>
   <object-name>helipad.lens2.on</object-name>
   <object-name>heli.volume.1</object-name>
   <object-name>heli.volume.2</object-name>
   <condition>
    <property>/scenery/EGOD/lighting/power</property>
    <property>/scenery/EGOD/lighting/helipad-lights</property>
   </condition>
  </animation>
  
  <animation>
   <type>select</type>
   <object-name>helipad.lens1.off</object-name>
   <object-name>helipad.lens2.off</object-name>
   <condition>
	<or>
	 <not>
	  <property>/scenery/EGOD/lighting/helipad-lights</property>
	 </not>
	 <not>
	  <property>/scenery/EGOD/lighting/power</property>
	 </not>
	 <and>
	  <not><property>/scenery/EGOD/lighting/helipad-lights</property></not>
	  <not><property>/scenery/EGOD/lighting/power</property></not>
	 </and>
	</or>
   </condition>
  </animation>
  
  <animation>
   <type>material</type>
   <object-name>helipad.lens1.on</object-name>
   <object-name>helipad.lens2.on</object-name>
   <emission>
    <red>0.85</red>
    <green>0.95</green>
    <blue>0.5</blue>
   </emission>
  </animation>
 
</PropertyList>