- Code: Select all
<?xml version="1.0"?>
<PropertyList>
<path>edoe_tower.ac</path>
<nasal>
<load>
if (!contains(globals, "scenery")) globals["scenery"] = {};
if (!contains(scenery, "EDOE")) scenery["EDOE"] = {};
if (!contains(scenery.EDOE, "hangar")) scenery.EDOE["hangar"] = [nil];
scenery.EDOE.hangar[0] =
{ door :
[aircraft.door.new("/scenery/EDOE/hangar[0]/door[0]", 10),
aircraft.door.new("/scenery/EDOE/hangar[0]/door[1]", 10),
aircraft.door.new("/scenery/EDOE/hangar[0]/door[2]", 10),
aircraft.door.new("/scenery/EDOE/hangar[0]/door[3]", 10),
aircraft.door.new("/scenery/EDOE/hangar[0]/door[4]", 10),
aircraft.door.new("/scenery/EDOE/hangar[0]/door[5]", 10)
]
};
</load>
</nasal>
<animation>
<type>slider</type>
<object-name>door1</object-name>
<property>/scenery/EDOE/hangar[0]/door[0]/enabled</property>
<factor>5</factor>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
<action>
<binding>
<command>property-toggle</command>
<property>/scenery/EDOE/hangar[0]/door[0]/enabled</property>
</binding>
</action>
</animation>
<animation>
<type>slider</type>
<object-name>door2</object-name>
<property>/scenery/EDOE/hangar[0]/door[1]/enabled</property>
<factor>5</factor>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
<action>
<binding>
<command>property-toggle</command>
<property>/scenery/EDOE/hangar[0]/door[1]/enabled</property>
</binding>
</action>
</animation>
<animation>
<type>slider</type>
<object-name>door3</object-name>
<property>/scenery/EDOE/hangar[0]/door[2]/enabled</property>
<factor>5</factor>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
<action>
<binding>
<command>property-toggle</command>
<property>/scenery/EDOE/hangar[0]/door[2]/enabled</property>
</binding>
</action>
</animation>
<animation>
<type>slider</type>
<object-name>door4</object-name>
<property>/scenery/EDOE/hangar[0]/door[3]/enabled</property>
<factor>5</factor>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
<action>
<binding>
<command>property-toggle</command>
<property>/scenery/EDOE/hangar[0]/door[3]/enabled</property>
</binding>
</action>
</animation>
<animation>
<type>slider</type>
<object-name>door5</object-name>
<property>/scenery/EDOE/hangar[0]/door[4]/enabled</property>
<factor>5</factor>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
<action>
<binding>
<command>property-toggle</command>
<property>/scenery/EDOE/hangar[0]/door[4]/enabled</property>
</binding>
</action>
</animation>
<animation>
<type>slider</type>
<object-name>door6</object-name>
<property>/scenery/EDOE/hangar[0]/door[5]/enabled</property>
<factor>5</factor>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
<action>
<binding>
<command>property-toggle</command>
<property>/scenery/EDOE/hangar[0]/door[5]/enabled</property>
</binding>
</action>
</animation>
</PropertyList>
5/6 don't move in the same direction. In Blender they seem to be oriented the same. Where can I see that? How can I slow the animation down?