1
0
Fork 0
A320-family/Models/Lights/landing-nose.xml

105 lines
2.1 KiB
XML
Raw Normal View History

2019-10-14 16:48:35 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
<PropertyList>
<path>res/strobe.ac</path>
<offsets>
<pitch-deg>-2</pitch-deg>
</offsets>
<!-- EXTRA MODELS -->
<!-- 3d light cone -->
<model>
<name>Cone</name>
<path>Aircraft/A320-family/Models/Lights/light-cone.xml</path>
</model>
<!-- ANIMATIONS -->
<!-- On/off -->
<animation>
<name>On/off</name>
<type>select</type>
<object-name>Light</object-name>
<object-name>Cone</object-name>
<condition>
<and>
<or>
<greater-than-equals>
2019-10-16 18:33:44 +00:00
<property>systems/electrical/bus/ac-1</property>
2019-10-14 16:48:35 +00:00
<value>110</value>
</greater-than-equals>
<greater-than-equals>
2019-10-16 18:33:44 +00:00
<property>systems/electrical/bus/ac-2</property>
2019-10-14 16:48:35 +00:00
<value>110</value>
</greater-than-equals>
</or>
<greater-than-equals>
2020-02-07 16:10:54 +00:00
<property>sim/model/lights/nose-lights</property>
2019-10-14 16:48:35 +00:00
<value>0.5</value>
</greater-than-equals>
<equals>
<property>gear/gear[0]/position-norm</property>
<value>1</value>
</equals>
</and>
</condition>
</animation>
<animation>
<name>Cone on/off</name>
<type>select</type>
<object-name>Cone</object-name>
<condition>
<property>controls/lighting/cones</property>
</condition>
</animation>
<!-- Rotate and scale the light -->
<animation>
<name>Rotate light</name>
<type>rotate</type>
<object-name>Light</object-name>
<offset-deg>90</offset-deg>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
</animation>
<animation>
<name>Scale light</name>
<type>scale</type>
<object-name>Light</object-name>
<x-offset>0.5</x-offset>
<y-offset>0.5</y-offset>
<z-offset>0.5</z-offset>
</animation>
<!-- Nose gear steering -->
<animation>
<name>Landing light steer</name>
<type>rotate</type>
<object-name>Light</object-name>
<object-name>Cone</object-name>
<property>gear/gear[0]/steering-norm</property>
<factor>60</factor>
<axis>
<x>0</x>
<y>0</y>
<z>-1</z>
</axis>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
</animation>
</PropertyList>