1
0
Fork 0

Cleaned Up XML for MD80 AI model

This commit is contained in:
Yves Tolosa-Joas 2020-04-12 16:15:50 +10:00 committed by James Turner
parent e627e64f62
commit 35ff714bda
3 changed files with 16 additions and 48 deletions

View file

@ -1,21 +1,4 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<PropertyList include="MD80-main.xml"> <PropertyList include="MD80-main.xml">
<description>McDonnel-Douglas-MD80</description>
<author>Innis Cunningham</author>
<path>Models/md-80.ac</path>
<texture-path>Textures/American</texture-path> <texture-path>Textures/American</texture-path>
</PropertyList>
<animation>
<type>select</type>
<object-name>gear</object-name>
<condition>
<less-than>
<property>velocities/true-airspeed-kt</property>
<value>150</value>
</less-than>
</condition>
</animation>
</PropertyList>

View file

@ -1,21 +1,4 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<PropertyList include="MD80-main.xml"> <PropertyList include="MD80-main.xml">
<description>McDonnel-Douglas-MD80</description>
<author>Innis Cunningham</author>
<path>Models/md-80.ac</path>
<texture-path>Textures/Delta</texture-path> <texture-path>Textures/Delta</texture-path>
</PropertyList>
<animation>
<type>select</type>
<object-name>gear</object-name>
<condition>
<less-than>
<property>velocities/true-airspeed-kt</property>
<value>150</value>
</less-than>
</condition>
</animation>
</PropertyList>

View file

@ -1,14 +1,16 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<PropertyList> <PropertyList>
<nasal> <description>McDonnel-Douglas-MD80</description>
<load> <author>Innis Cunningham</author>
var model = cmdarg(); <path>Models/md-80.ac</path>
model.getNode("door[0]/position-x-m",1).setValue(-19.241); <animation>
model.getNode("door[0]/position-y-m",1).setValue(-1.529); <type>select</type>
model.getNode("door[0]/position-z-m",1).setValue(2.505); <object-name>gear</object-name>
model.getNode("door[0]/jetway-hood-deg",1).setValue(3); <condition>
</load> <less-than>
</nasal> <property>velocities/true-airspeed-kt</property>
</PropertyList> <value>150</value>
</less-than>
</condition>
</animation>
</PropertyList>