This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Models/Lights/landing-nose.xml

105 lines
2.1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
2019-05-08 23:27:26 +00:00
<!-- 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>
2017-09-17 17:11:35 +00:00
<path>Aircraft/IDG-A32X/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>
2019-02-18 20:53:32 +00:00
<or>
<greater-than-equals>
<property>systems/electrical/bus/ac1</property>
<value>110</value>
</greater-than-equals>
<greater-than-equals>
<property>systems/electrical/bus/ac2</property>
<value>110</value>
</greater-than-equals>
</or>
2017-08-03 18:31:12 +00:00
<greater-than-equals>
<property>/sim/model/lights/nose-lights</property>
<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>