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

<PropertyList>

 <path>NMM.ac</path>


 <nasal>
<load>
   if (!contains(globals, "scenery")) globals["scenery"] = {};
   if (!contains(scenery, "EHSB")) scenery["EHSB"] = {};
   if (!contains(scenery.EHSB, "EHSB")) scenery.EHSB["EHSB"] = {};
   if (contains(scenery, "sharedDoor")) {
     scenery.EHSB.EHSB[0] =
       { door :
       [scenery.sharedDoor.new("/scenery/EHSB/EHSB[0]/door[0]", 20), scenery.sharedDoor.new("/scenery/EHSB/EHSB[0]/door[1]", 5), scenery.sharedDoor.new("/scenery/EHSB/EHSB[0]/door[2]", 5), scenery.sharedDoor.new("/scenery/EHSB/EHSB[0]/door[3]", 5), scenery.sharedDoor.new("/scenery/EHSB/EHSB[0]/door[4]", 5)
	 ]
       };
   } else {
     scenery.EHSB.EHSB[0] =
       { door :
       [aircraft.door.new("/scenery/EHSB/EHSB[0]/door[0]", 20),
 aircraft.door.new("/scenery/EHSB/EHSB[0]/door[1]", 5), aircraft.door.new("/scenery/EHSB/EHSB[0]/door[2]", 5), aircraft.door.new("/scenery/EHSB/EHSB[0]/door[3]", 5), aircraft.door.new("/scenery/EHSB/EHSB[0]/door[4]", 5)         ]
       };
   }
  </load>
  <unload>
   if (contains(scenery, "sharedDoor")) {
     scenery.EHSB.EHSB[0].door[0].destroy();
 scenery.EHSB.EHSB[0].door[1].destroy(); scenery.EHSB.EHSB[0].door[2].destroy(); scenery.EHSB.EHSB[0].door[3].destroy(); scenery.EHSB.EHSB[0].door[4].destroy();  }
  </unload>

 </nasal>

 <animation>

  <type>alpha-test</type>

  <alpha-factor>0.01</alpha-factor>

 </animation>
 
 <animation>

  <type>pick</type>

  <object-name>Entrance-1</object-name>

  <visible>true</visible>

  <action>

   <name>click</name>

   <button>0</button>

   <repeatable>false</repeatable>

   <binding>

    <command>nasal</command>

    <script>scenery.EHSB.EHSB[0].door[1].toggle();</script>

   </binding>

  </action>

 </animation>


 <animation>
  <type>translate</type>
  <object-name>Entrance-1</object-name>
  <property>/scenery/EHSB/EHSB[0]/door[1]/position-norm</property>
 <interpolation>
  <entry>
   <ind>0.0</ind>
   <dep>0.0</dep>
  </entry>
  <entry>
   <ind>0.25</ind>
   <dep>0</dep>
  </entry>
  <entry>
   <ind>0.5</ind>
   <dep>0.07</dep>
  </entry>
  <entry>
   <ind>1.0</ind>
   <dep>0.07</dep>
  </entry>
 </interpolation>
 <axis>
  <x>0</x>
  <y>-1</y>
  <z>0</z>
 </axis>
 </animation>

 <animation>
  <type>translate</type>
  <object-name>Entrance-1</object-name>
  <property>/scenery/EHSB/EHSB[0]/door[1]/position-norm</property>
 <interpolation>
  <entry>
   <ind>0.0</ind>
   <dep>0.0</dep>
  </entry>
  <entry>
   <ind>0.5</ind>
   <dep>0</dep>
  </entry>
  <entry>
   <ind>1.0</ind>
   <dep>2.500</dep>
  </entry>
 </interpolation>
 <axis>
  <x>1</x>
  <y>0</y>
  <z>0</z>
 </axis>
 </animation>
 
  <animation>

  <type>pick</type>

  <object-name>Entrance-2</object-name>

  <visible>true</visible>

  <action>

   <name>click</name>

   <button>0</button>

   <repeatable>false</repeatable>

   <binding>

    <command>nasal</command>

    <script>scenery.EHSB.EHSB[0].door[2].toggle();</script>

   </binding>

  </action>

 </animation>
 
  <animation>
  <type>translate</type>
  <object-name>Entrance-2</object-name>
  <property>/scenery/EHSB/EHSB[0]/door[2]/position-norm</property>
 <interpolation>
  <entry>
   <ind>0.0</ind>
   <dep>0.0</dep>
  </entry>
  <entry>
   <ind>0.25</ind>
   <dep>0</dep>
  </entry>
  <entry>
   <ind>0.5</ind>
   <dep>0.07</dep>
  </entry>
  <entry>
   <ind>1.0</ind>
   <dep>0.07</dep>
  </entry>
 </interpolation>
 <axis>
  <x>1</x>
  <y>0</y>
  <z>0</z>
 </axis>
 </animation>

 <animation>
  <type>translate</type>
  <object-name>Entrance-2</object-name>
  <property>/scenery/EHSB/EHSB[0]/door[2]/position-norm</property>
 <interpolation>
  <entry>
   <ind>0.0</ind>
   <dep>0.0</dep>
  </entry>
  <entry>
   <ind>0.5</ind>
   <dep>0</dep>
  </entry>
  <entry>
   <ind>1.0</ind>
   <dep>2.500</dep>
  </entry>
 </interpolation>
 <axis>
  <x>0</x>
  <y>1</y>
  <z>0</z>
 </axis>
 </animation>
 
   <animation>

  <type>pick</type>

  <object-name>Entrance-3</object-name>

  <visible>true</visible>

  <action>

   <name>click</name>

   <button>0</button>

   <repeatable>false</repeatable>

   <binding>

    <command>nasal</command>

    <script>scenery.EHSB.EHSB[0].door[3].toggle();</script>

   </binding>

  </action>

 </animation>
 
  <animation>
  <type>translate</type>
  <object-name>Entrance-3</object-name>
  <property>/scenery/EHSB/EHSB[0]/door[3]/position-norm</property>
 <interpolation>
  <entry>
   <ind>0.0</ind>
   <dep>0.0</dep>
  </entry>
  <entry>
   <ind>0.25</ind>
   <dep>0</dep>
  </entry>
  <entry>
   <ind>0.5</ind>
   <dep>0.07</dep>
  </entry>
  <entry>
   <ind>1.0</ind>
   <dep>0.07</dep>
  </entry>
 </interpolation>
 <axis>
  <x>1</x>
  <y>0</y>
  <z>0</z>
 </axis>
 </animation>

 <animation>
  <type>translate</type>
  <object-name>Entrance-3</object-name>
  <property>/scenery/EHSB/EHSB[0]/door[3]/position-norm</property>
 <interpolation>
  <entry>
   <ind>0.0</ind>
   <dep>0.0</dep>
  </entry>
  <entry>
   <ind>0.5</ind>
   <dep>0</dep>
  </entry>
  <entry>
   <ind>1.0</ind>
   <dep>2.500</dep>
  </entry>
 </interpolation>
 <axis>
  <x>0</x>
  <y>1</y>
  <z>0</z>
 </axis>
 </animation>
 
 	<animation>
 <type>select</type>
 <object-name>GlassFixed</object-name>
 <object-name>Entrance-1</object-name>
 <object-name>Entrance-2</object-name>
 <object-name>Entrance-3</object-name>
 <object-name>Floors</object-name>
 <object-name>Foundation</object-name>
 <object-name>Frame</object-name>
 <object-name>NMM</object-name>
 <object-name>Roofing</object-name>
 <object-name>Structure</object-name>
 <object-name>Tower</object-name>
 <object-name>Trim</object-name>
 <object-name>Walls</object-name>
 <object-name>F-15</object-name>
 <object-name>F-16</object-name>
 <object-name>C-47</object-name>
 <object-name>Westland-Lynx</object-name>
 <object-name>Breguet-Atlantic</object-name>
 <object-name>NF-5B</object-name>
 <object-name>F-104</object-name>
 <object-name>Hawker-Hunter</object-name>
 <object-name>F-84F</object-name>
 <object-name>Lights</object-name>
 <object-name>Nike-Hercules</object-name>
 <object-name>Nike-Hercules-Launcher</object-name>
		<condition>
			<and>
				<or>
					<greater-than>
						<property>sim/time/utc/year</property>
						<value>2015</value>
					</greater-than>
					<and>
						<equals>
							<property>sim/time/utc/year</property>
							<value>2015</value>
						</equals>
					</and>
				</or>
			</and>
		</condition>
	</animation>
 
   <animation>
    <type>noshadow</type>
 <object-name>GlassFixed</object-name>
 <object-name>Entrance-1</object-name>
 <object-name>Entrance-2</object-name>
 <object-name>Entrance-3</object-name>
  </animation>
  
    <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
 <object-name>GlassFixed</object-name>
 <object-name>Entrance-1</object-name>
 <object-name>Entrance-2</object-name>
 <object-name>Entrance-3</object-name>
  </effect>
 
 <model>
  <name>F-15</name>
  <path>Models/Aircraft/F-15-lowpoly.xml</path>
  <offsets>
   <x-m>100</x-m>
   <y-m>25</y-m>
   <z-m>6</z-m>
   <pitch-deg>0</pitch-deg>
   <heading-deg>-45</heading-deg>
   <roll-deg>-5</roll-deg>
  </offsets>
 </model>
 
 <model>
  <name>NF-5B</name>
  <path>Models/Aircraft/m2000-5_lowpoly.ac</path>
  <offsets>
   <x-m>120</x-m>
   <y-m>23</y-m>
   <z-m>7</z-m>
   <pitch-deg>-5</pitch-deg>
   <heading-deg>-10</heading-deg>
   <roll-deg>-30</roll-deg>
  </offsets>
 </model>
 
 <model>
  <name>F-104</name>
  <path>Models/Aircraft/m2000-N_lowpoly.ac</path>
  <offsets>
   <x-m>135</x-m>
   <y-m>26</y-m>
   <z-m>12</z-m>
   <pitch-deg>10</pitch-deg>
   <heading-deg>0</heading-deg>
   <roll-deg>150</roll-deg>
  </offsets>
 </model>
 
 <model>
  <name>Hawker-Hunter</name>
  <path>Models/Aircraft/m2000-5_lowpoly.ac</path>
  <offsets>
   <x-m>150</x-m>
   <y-m>25</y-m>
   <z-m>8.5</z-m>
   <pitch-deg>10</pitch-deg>
   <heading-deg>10</heading-deg>
   <roll-deg>-30</roll-deg>
  </offsets>
 </model>
 
 <model>
  <name>F-84F</name>
  <path>Models/Aircraft/m2000-N_lowpoly.ac</path>
  <offsets>
   <x-m>165</x-m>
   <y-m>27.5</y-m>
   <z-m>5.5</z-m>
   <pitch-deg>15</pitch-deg>
   <heading-deg>10</heading-deg>
   <roll-deg>-5</roll-deg>
  </offsets>
 </model>
 
 <model>
  <name>Breguet-Atlantic</name>
  <path>Models/Aircraft/atlantique2.ac</path>
  <offsets>
   <x-m>10</x-m>
   <y-m>55</y-m>
   <z-m>0.5</z-m>
   <pitch-deg>0</pitch-deg>
  </offsets>
 </model>
 
 <model>
  <name>C-47</name>
  <path>Models/Aircraft/dc3_lowpoly.ac</path>
  <offsets>
   <x-m>60</x-m>
   <y-m>30</y-m>
   <z-m>7</z-m>
   <pitch-deg>-10</pitch-deg>
  </offsets>
 </model>
 
 <model>
  <name>F-16</name>
  <path>Models/Aircraft/f16_lowpoly.ac</path>
  <offsets>
   <x-m>85</x-m>
   <y-m>40</y-m>
   <z-m>1.7</z-m>
   <pitch-deg>10</pitch-deg>
   <heading-deg>-45</heading-deg>
  </offsets>
 </model>
 
 <model>
  <name>Westland-Lynx</name>
  <path>Models/Aircraft/lynx-roue.ac</path>
  <offsets>
   <x-m>230</x-m>
   <y-m>45</y-m>
   <z-m>1.7</z-m>
   <pitch-deg>0</pitch-deg>
  </offsets>
 </model>
 
 <model>
  <name>Nike-Hercules-Launcher</name>
  <path>Models/Military/nike_hercules_launcher.ac</path>
  <offsets>
   <x-m>185</x-m>
   <y-m>9</y-m>
   <z-m>1.7</z-m>
   <pitch-deg>0</pitch-deg>
   <heading-deg>180</heading-deg>
  </offsets>
 </model>
 
 <model>
  <name>Nike-Hercules</name>
  <path>Models/Military/nike_missile-stationary.ac</path>
  <offsets>
   <x-m>185</x-m>
   <y-m>9</y-m>
   <z-m>4.1</z-m>
   <pitch-deg>0</pitch-deg>
   <heading-deg>180</heading-deg>
  </offsets>
 </model>
 
  <model>
  <name>Nike-Hercules-Launcher</name>
  <path>Models/Military/nike_hercules_launcher.ac</path>
  <offsets>
   <x-m>175</x-m>
   <y-m>9</y-m>
   <z-m>1.7</z-m>
   <pitch-deg>0</pitch-deg>
   <heading-deg>180</heading-deg>
  </offsets>
 </model>
 
 <model>
  <name>Nike-Hercules</name>
  <path>Models/Military/nike_missile-stationary.ac</path>
  <offsets>
   <x-m>175</x-m>
   <y-m>9</y-m>
   <z-m>4.1</z-m>
   <pitch-deg>0</pitch-deg>
   <heading-deg>180</heading-deg>
  </offsets>
 </model>
 
 <model>
   <name>Lights</name>
     <path>Models/Airport/LIGHTCONE22M_rembrandt.xml</path> 
	 <offsets> 
	     <x-m>18</x-m>
	     <y-m>27</y-m>
	     <z-m>0.5</z-m>
	 </offsets>
 </model>
 
 <model>
    <name>Lights</name>
     <path>Models/Airport/LIGHTCONE22M_rembrandt.xml</path> 
	 <offsets> 
	     <x-m>18</x-m>
	     <y-m>77</y-m>
	     <z-m>0.9</z-m>
	 </offsets>
 </model>
 
  <model>
     <name>Lights</name>
     <path>Models/Airport/LIGHTCONE22M_rembrandt.xml</path> 
	 <offsets> 
	     <x-m>218</x-m>
	     <y-m>27</y-m>
	     <z-m>1.55</z-m>
	 </offsets>
 </model>
 
 <model>
    <name>Lights</name>
     <path>Models/Airport/LIGHTCONE22M_rembrandt.xml</path> 
	 <offsets> 
	     <x-m>218</x-m>
	     <y-m>77</y-m>
	     <z-m>1.55</z-m>
	 </offsets>
 </model>
 
 <model>
    <name>Lights</name>
     <path>Models/Airport/LIGHTCONE22M_rembrandt.xml</path> 
	 <offsets> 
	     <x-m>168</x-m>
	     <y-m>27</y-m>
	     <z-m>1.55</z-m>
	 </offsets>
 </model>
 
 <model>
    <name>Lights</name>
     <path>Models/Airport/LIGHTCONE22M_rembrandt.xml</path> 
	 <offsets> 
	     <x-m>168</x-m>
	     <y-m>77</y-m>
	     <z-m>1.55</z-m>
	 </offsets>
 </model>
 
 <model>
    <name>Lights</name>
     <path>Models/Airport/LIGHTCONE22M_rembrandt.xml</path> 
	 <offsets> 
	     <x-m>118</x-m>
	     <y-m>27</y-m>
	     <z-m>1.55</z-m>
	 </offsets>
 </model>
 
 <model>
    <name>Lights</name>
     <path>Models/Airport/LIGHTCONE22M_rembrandt.xml</path> 
	 <offsets> 
	     <x-m>118</x-m>
	     <y-m>77</y-m>
	     <z-m>1.55</z-m>
	 </offsets>
 </model>
 
 <model>
    <name>Lights</name>
     <path>Models/Airport/LIGHTCONE22M_rembrandt.xml</path> 
	 <offsets> 
	     <x-m>68</x-m>
	     <y-m>27</y-m>
	     <z-m>1.55</z-m>
	 </offsets>
 </model>
 
 <model>
    <name>Lights</name>
     <path>Models/Airport/LIGHTCONE22M_rembrandt.xml</path> 
	 <offsets> 
	     <x-m>68</x-m>
	     <y-m>77</y-m>
	     <z-m>1.55</z-m>
	 </offsets>
 </model>
 
  <model>
     <name>Lights</name>
     <path>Models/Airport/apronv20_lightpole.xml</path> 
	 <offsets> 
	     <x-m>107.5</x-m>
	     <y-m>150</y-m>
	     <z-m>-4.2</z-m>
	 </offsets>
 </model>
 
<animation>
 <type>material</type> 
 <object-name>NMM</object-name>
 <condition>
  <greater-than>
    <property>/sim/time/sun-angle-rad</property>
    <value>1.49</value>
   </greater-than>
 </condition>
 <emission>	
  <red>0.8</red>	
  <green>0.8</green>	
  <blue>0.8</blue>
 </emission>
</animation>

<animation>
 <type>material</type> 
 <object-name>GlassFixed</object-name>
 <object-name>Entrance-1</object-name>
 <object-name>Entrance-2</object-name>
 <object-name>Entrance-3</object-name>
 <condition>
  <greater-than>
    <property>/sim/time/sun-angle-rad</property>
    <value>1.49</value>
   </greater-than>
 </condition>
 <emission>	
  <red>0.1</red>	
  <green>0.1</green>	
  <blue>0.1</blue>
 </emission>
</animation>

<animation>
 <type>material</type> 
 <object-name>F-15</object-name>
 <object-name>F-16</object-name>
 <object-name>C-47</object-name>
 <object-name>Westland-Lynx</object-name>
 <object-name>Breguet-Atlantic</object-name>
 <object-name>NF-5B</object-name>
 <object-name>F-104</object-name>
 <object-name>Hawker-Hunter</object-name>
 <object-name>F-84F</object-name>
 <condition>
  <greater-than>
    <property>/sim/time/sun-angle-rad</property>
    <value>1.49</value>
   </greater-than>
 </condition>
 <emission>	
  <red>0.5</red>	
  <green>0.5</green>	
  <blue>0.5</blue>
 </emission>
</animation>

</PropertyList>
