<PropertyList>
	<path>SVMIhangar.ac</path>

<nasal>
  <load>
   if (!contains(globals, "scenery")) globals["scenery"] = {};
   if (!contains(scenery, "SVMIhangar")) scenery["SVMIhangar"] = {};
   if (!contains(scenery.SVMIhangar, "hangar")) scenery.SVMIhangar["hangar"] = [nil];
   scenery.SVMIhangar.hangar[0] =
     { door :
       [aircraft.door.new("/scenery/SVMIhangar/hangar[0]/door[0]",30),
        aircraft.door.new("/scenery/SVMIhangar/hangar[0]/door[1]",30)
       ]
     };
  </load>
 </nasal>




 <animation>
  <type>translate</type> 
  <object-name>door1</object-name> 
  <property>/scenery/SVMIhangar/hangar[0]/door[0]/position-norm</property> 
  <factor>12</factor> 
- <axis>
  <x>4</x> 
  <y>0</y> 
  <z>0</z> 
  </axis>
  </animation>
- <animation>
  <type>translate</type> 
  <object-name>door2</object-name> 
  <property>/scenery/SVMIhangar/hangar[0]/door[0]/position-norm</property> 
  <factor>24</factor> 
- <axis>
  <x>4</x> 
  <y>0</y> 
  <z>0</z> 
  </axis>
  </animation>
- <animation>
  <type>translate</type> 
  <object-name>door3</object-name> 
  <property>/scenery/SVMIhangar/hangar[0]/door[0]/position-norm</property> 
  <factor>36</factor> 
- <axis>
  <x>4</x> 
  <y>0</y> 
  <z>0</z> 
  </axis>
  </animation>

 <animation>
  <type>translate</type> 
  <object-name>door4</object-name> 
  <property>/scenery/SVMIhangar/hangar[0]/door[1]/position-norm</property> 
  <factor>-36</factor> 
- <axis>
  <x>4</x> 
  <y>0</y> 
  <z>0</z> 
  </axis>
  </animation>
- <animation>
  <type>translate</type> 
  <object-name>door5</object-name> 
  <property>/scenery/SVMIhangar/hangar[0]/door[1]/position-norm</property> 
  <factor>-24</factor> 
- <axis>
  <x>4</x> 
  <y>0</y> 
  <z>0</z> 
  </axis>
  </animation>
- <animation>
  <type>translate</type> 
  <object-name>door6</object-name> 
  <property>/scenery/SVMIhangar/hangar[0]/door[1]/position-norm</property> 
  <factor>-12</factor> 
- <axis>
  <x>4</x> 
  <y>0</y> 
  <z>0</z> 
  </axis>
  </animation>

- <animation>
  <type>pick</type> 
  <object-name>Rdoor</object-name> 
  <visible>true</visible> 
- <action>
  <name>click</name> 
  <button>0</button> 
  <repeatable>false</repeatable> 
- <binding>
  <command>nasal</command> 
  <script>scenery.SVMIhangar.hangar[0].door[0].toggle();</script> 
  </binding>
  </action>
  </animation>
- <animation>
  <type>pick</type> 
  <object-name>Ldoor</object-name> 
  <visible>true</visible> 
- <action>
  <name>click</name> 
  <button>0</button> 
  <repeatable>false</repeatable> 
- <binding>
  <command>nasal</command> 
  <script>scenery.SVMIhangar.hangar[0].door[1].toggle();</script> 
  </binding>
  </action>
  </animation>

-  
- <animation> 
  <type>textranslate</type> 
  <object-name>Hangar</object-name> 
  <property>/sim/time/sun-angle-rad</property>
  <step> 1.57 </step>
  <factor>0.318471338</factor>
  <center>
  <x-m>0</x-m>
  <y-m>0</y-m>
  <z-m>0</z-m>
  </center>
  <axis> 
  <x>0</x> 
  <y>1</y> 
  <z>0</z> 
  </axis> 
  </animation>

  <animation>
  <type>material</type>
  <object-name>Hangar</object-name>
  <condition>
  <greater-than>
  <property>/sim/time/sun-angle-rad</property>
  <value>1.57</value>
  </greater-than>
  </condition>
  <emission>
  <red>1.0</red>
  <green>1.0</green>
  <blue>1.0</blue>
  </emission>
  </animation>

  <animation>
  <type>material</type>
  <object-name>Hangar</object-name>
  <condition>
  <less-than-equals>
  <property>/sim/time/sun-angle-rad</property>
  <value>1.57</value>
  </less-than-equals>
  </condition>
  <emission>
  <red>0.0</red>
  <green>0.0</green>
  <blue>0.0</blue>
  </emission>
  </animation>

</PropertyList>