<?xml version="1.0" encoding="UTF-8" ?>

<PropertyList>

	<path>../../Models/Lights/strobe.ac</path>

	<offsets>
		<heading-deg>-90</heading-deg>
	</offsets>

	<animation>
		<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>

	<!-- PARAMETERS -->
	<params>
		<control n="0">controls/lighting/landing-lights[0]</control>
		<control n="1">gear/gear[0]/position-norm</control>
		<steering-norm>gear/gear[0]/steering-norm</steering-norm>
	</params>

	<!-- EXTRA MODELS -->
	<!-- 3d light cone -->
	<model>
		<name>Cone</name>
		<path>Aircraft/A320-family/XMLs/Lights/light-cone.xml</path>
		<overlay>
			<params>
				<steering-norm alias="../../../../params/steering-norm" />
			</params>
		</overlay>
		<offsets>
			<heading-deg>90</heading-deg>
		</offsets>
	</model>

	<!-- ANIMATIONS -->
	<!-- On/off -->
	<animation>
		<name>On/off</name>
		<type>select</type>
		<object-name>Light</object-name>
		<object-name>Cone</object-name>
		<condition>
			<and>
				<equals>
					<property alias="../../../../../params/control[0]" />
					<value>1</value>
				</equals>
				<equals>
					<property alias="../../../../../params/control[1]" />
					<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>

	<!-- Steering -->
	<animation>
		<name>Landing light steer</name>
		<type>rotate</type>
		<object-name>Light</object-name>
		<property alias="../../params/steering-norm" />
		<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>
