1
0
Fork 0
fgdata/AI/Aircraft/AT5/AT5-main.xml

105 lines
No EOL
2.9 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<description>ATR 42-500</description>
<author>Ian (Yves) Tolosa</author>
<path>Models/AT5.ac</path>
<!-- Pitch Forward so nosewheel on ground -->
<offsets>
<pitch-deg>-0.95</pitch-deg>
</offsets>
<!-- Gear Showed only < 1520 knotspeed -->
<animation>
<type>select</type>
<object-name>Gear_Open</object-name>
<condition>
<less-than>
<property>velocities/true-airspeed-kt</property>
<value>120</value>
</less-than>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Gear_Closed</object-name>
<condition>
<greater-than-equals>
<property>velocities/true-airspeed-kt</property>
<value>120</value>
</greater-than-equals>
</condition>
</animation>
<!-- Propellers Rotate at 4 times Aircraft speed (0 when parked) Blur appears if Speed over 15 knots -->
<animation>
<type>select</type>
<object-name>Prop_Blur_L</object-name>
<condition>
<greater-than-equals>
<property>velocities/true-airspeed-kt</property>
<value>15</value>
</greater-than-equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>Prop_Blur_R</object-name>
<condition>
<greater-than-equals>
<property>velocities/true-airspeed-kt</property>
<value>15</value>
</greater-than-equals>
</condition>
</animation>
<animation>
<type>spin</type>
<object-name>Prop_L</object-name>
<property>velocities/true-airspeed-kt</property>
<factor>4</factor>
<center>
<x-m>-3.46898</x-m>
<y-m>-4.05145</y-m>
<z-m>3.08657</z-m>
</center>
<axis>
<x>1.000</x>
<y>0.000</y>
<z>0.000</z>
</axis>
</animation>
<animation>
<type>spin</type>
<object-name>Prop_R</object-name>
<property>velocities/true-airspeed-kt</property>
<factor>4</factor>
<center>
<x-m>-3.46898</x-m>
<y-m>4.05145</y-m>
<z-m>3.08657</z-m>
</center>
<axis>
<x>1.000</x>
<y>0.000</y>
<z>0.000</z>
</axis>
</animation>
<!-- Tail and Windows Lightmap Effect -->
<effect>
<inherits-from>AI/Aircraft/AT5/Effects/AT5-LightMap</inherits-from>
<object-name>AT5</object-name>
<object-name>Gear_Open</object-name>
<object-name>Gear_Closed</object-name>
</effect>
<!-- Add Navigation Lights Objects -->
<model>
<path>Lights/AT5-NavLights.xml</path>
</model>
<!-- Enable Beacons and Strobes Pulse Behaviour -->
<nasal>
<load><![CDATA[
aircraft.light.new("/sim/model/ATR/lighting/beacon", [0.7, 1.3]);
aircraft.light.new("/sim/model/ATR/lighting/strobes", [0.02, 1.98]);
setprop("/sim/model/ATR/lighting/beacon/enabled", 1);
setprop("/sim/model/ATR/lighting/strobes/enabled", 1);
]]></load>
<unload></unload>
</nasal>
</PropertyList>