<?xml version="1.0"?>

<PropertyList>

	<path>lightning-f1a.ac</path>

	<offsets>
		<!-- move model back  -->
		<x-m>1</x-m>
		<!-- move model right -->
		<y-m>0.0</y-m>
		<!-- move model up (JSBSim)    -->
		<z-m>0.12</z-m>
		<pitch-deg>-1</pitch-deg>
	</offsets>

	<!-- Exhuasts -->
	<model>
		<path>exhaust1.xml</path>
		<offsets>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0</z-m>
			<pitch-deg>0</pitch-deg>
		</offsets>
	</model>
	<model>
		<path>exhaust2.xml</path>
		<offsets>
			<x-m>0</x-m>
			<y-m>0</y-m>
			<z-m>0.92</z-m>
			<pitch-deg>0</pitch-deg>
		</offsets>
	</model>

	<!-- Port Nav Light -->
	<model>
		<path>light-red.xml</path>
		<name>port_nav_light</name>
		<offsets>
			<x-m>11.6546</x-m>
			<y-m>-5.00081</y-m>
			<z-m>-0.162196</z-m>
			<pitch-deg>0</pitch-deg>
		</offsets>
	</model>
	<!-- Stbd Nav Light -->
	<model>
		<path>light-green.xml</path>
		<name>stbd_nav_light</name>
		<offsets>
			<x-m>11.6546</x-m>
			<y-m>5.00081</y-m>
			<z-m>-0.162196</z-m>
			<pitch-deg>0</pitch-deg>
		</offsets>
	</model>
	<!-- Taxi Lights -->
	<model>
		<path>light-white.xml</path>
		<name>port_taxi_light</name>
		<offsets>
			<x-m>8.64879</x-m>
			<y-m>-2.00725</y-m>
			<z-m>-0.417249</z-m>
			<pitch-deg>0</pitch-deg>
		</offsets>
	</model>
	<model>
		<path>light-white.xml</path>
		<name>stbd_taxi_light</name>
		<offsets>
			<x-m>8.64879</x-m>
			<y-m>2.00725</y-m>
			<z-m>-0.417249</z-m>
			<pitch-deg>0</pitch-deg>
		</offsets>
	</model>

	<!-- Model Animations -->

	<!-- Chrome animation, courtesy of Vivian  -->
	<animation>
		<type>shader</type>
		<shader>chrome</shader>
		<texture>chrome2.rgb</texture>
		<object-name>uc_fr_door_rear</object-name>
		<object-name>uc_fr_door_stbd</object-name>
		<object-name>uc_fr_door_port</object-name>
		<object-name>uc_rr_leg_cover_stbd</object-name>
		<object-name>uc_rr_leg_cover_port</object-name>
		<object-name>uc_rr_leg_cover_stbd_down</object-name>
		<object-name>uc_rr_leg_cover_port_down</object-name>
		<object-name>uc_rr_wheel_cover_stbd</object-name>
		<object-name>uc_rr_wheel_cover_port</object-name>
		<object-name>aux_intake_port_top</object-name>
		<object-name>aux_intake_port_bottom</object-name>
		<object-name>aux_intake_stbd_top</object-name>
		<object-name>aux_intake_stbd_bottom</object-name>
		<object-name>airbrake_port</object-name>
		<object-name>airbrake_stbd</object-name>
	</animation>

	<animation>
		<type>shader</type>
		<shader>chrome</shader>
		<texture>chrome2.rgb</texture>
		<object-name>ventral_tank</object-name>
		<object-name>ventral_fin</object-name>
		<object-name>main_fuselage</object-name>
		<object-name>wing</object-name>
		<object-name>elevator_mounting_bulges</object-name>
		<object-name>radome_mount_lower</object-name>
		<object-name>radome</object-name>
		<object-name>radome_mount_upper</object-name>
		<object-name>intake_duct</object-name>
		<object-name>intake_ring_internal</object-name>
		<object-name>intake_ring_external</object-name>
		<object-name>tailpipe_wedge</object-name>
		<object-name>uc_rr_well_port</object-name>
		<object-name>uc_rr_well_stbd</object-name>
		<object-name>uc_fr_well</object-name>
		<object-name>pitot_probe</object-name>
		<object-name>flap_hinges</object-name>
	</animation>

	<animation>
		<type>shader</type>
		<shader>chrome</shader>
		<texture>chrome2.rgb</texture>
		<object-name>tailplane_port</object-name>
		<object-name>tailplane_stbd</object-name>
	</animation>

	<animation>
		<type>shader</type>
		<shader>chrome</shader>
		<texture>chrome2.rgb</texture>
		<object-name>aileron_stbd</object-name>
	</animation>

	<animation>
		<type>shader</type>
		<shader>chrome</shader>
		<texture>chrome2.rgb</texture>
		<object-name>aileron_port</object-name>
	</animation>

  <animation>
    <type>shader</type>
    <shader>chrome</shader>
    <texture>chrome2.rgb</texture>
    <object-name>flap_stbd</object-name>
    <object-name>flap_port</object-name>
  </animation>


	<!-- Surface Animations -->
	<animation>
		<type>rotate</type>
		<object-name>rudder</object-name>
		<property>surface-positions/rudder-pos-norm</property>
		<factor>-30</factor>
		<center>
			<x-m>14.329961</x-m>
			<y-m>0</y-m>
			<z-m>2.097085</z-m>
		</center>
		<axis>
			<x>-0.3644</x>
			<y>0</y>
			<z>-1.8407</z>
		</axis>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>aileron_stbd</object-name>
		<property>surface-positions/right-aileron-pos-norm</property>
		<factor>15</factor>
		<center>
			<x-m>12.708694</x-m>
			<y-m>-4.013696</y-m>
			<z-m>-0.16556</z-m>
		</center>
		<axis>
			<x>-0.010284</x>
			<y>2.06388</y>
			<z>0.063205</z>
		</axis>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>aileron_port</object-name>
		<property>surface-positions/left-aileron-pos-norm</property>
		<factor>-15</factor>
		<center>
			<x-m>12.708694</x-m>
			<y-m>4.013696</y-m>
			<z-m>-0.16556</z-m>
		</center>
		<axis>
			<x>-0.010284</x>
			<y>-2.06388</y>
			<z>0.063205</z>
		</axis>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>flap_port</object-name>
		<property>surface-positions/flap-pos-norm</property>
		<factor>-50</factor>
		<center>
			<x-m>10.505834</x-m>
			<y-m>-1.742566</y-m>
			<z-m>0.041514</z-m>
		</center>
		<axis>
			<x>2.70234</x>
			<y>-2.0371</y>
			<z>-0.257981</z>
		</axis>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>flap_stbd</object-name>
		<property>surface-positions/flap-pos-norm</property>
		<factor>50</factor>
		<center>
			<x-m>10.505834</x-m>
			<y-m>1.742566</y-m>
			<z-m>0.041514</z-m>
		</center>
		<axis>
			<x>2.70234</x>
			<y>2.0371</y>
			<z>-0.257981</z>
		</axis>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>tailplane_port</object-name>
		<property>surface-positions/elevator-pos-norm</property>
		<factor>-30</factor>
		<center>
			<x-m>13.2</x-m>
			<y-m>-0.71872</y-m>
			<z-m>-0.864664</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>tailplane_stbd</object-name>
		<property>surface-positions/elevator-pos-norm</property>
		<factor>30</factor>
		<center>
			<x-m>13.2</x-m>
			<y-m>0.71872</y-m>
			<z-m>-0.864664</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
	</animation>

	<!-- Aux Intakes -->
	<animation>
		<type>select</type>
		<object-name>aux_intake_stbd_top</object-name>
		<object-name>aux_intake_stbd_bottom</object-name>
		<object-name>aux_intake_port_top</object-name>
		<object-name>aux_intake_port_bottom</object-name>
		<condition>
			<or>
				<property>engines/engine[0]/running</property>
				<property>engines/engine[1]/running</property>
			</or>
		</condition>
	</animation>

	<!-- Airbrakes -->
	<animation>
		<type>rotate</type>
		<object-name>airbrake_port</object-name>
		<property>surface-positions/speedbrake-pos-norm</property>
		<factor>-40</factor>
		<axis>
			<x>0</x>
			<y>0.105537</y>
			<z>0.224669</z>
		</axis>
		<center>
			<x-m>10.9542</x-m>
			<y-m>-0.511294</y-m>
			<z-m>0.590898</z-m>
		</center>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>airbrake_stbd</object-name>
		<property>surface-positions/speedbrake-pos-norm</property>
		<factor>40</factor>
		<axis>
			<x>0</x>
			<y>-0.105537</y>
			<z>0.224669</z>
		</axis>
		<center>
			<x-m>10.9542</x-m>
			<y-m>0.511294</y-m>
			<z-m>0.590898</z-m>
		</center>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>airbrake_ram_port</object-name>
		<property>surface-positions/speedbrake-pos-norm</property>
		<factor>15</factor>
		<axis>
			<x>0</x>
			<y>0.105537</y>
			<z>0.224669</z>
		</axis>
		<center>
			<x-m>11.8741</x-m>
			<y-m>-0.105537</y-m>
			<z-m>0.224669</z-m>
		</center>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>airbrake_ram_stbd</object-name>
		<property>surface-positions/speedbrake-pos-norm</property>
		<factor>-15</factor>
		<axis>
			<x>0</x>
			<y>-0.105537</y>
			<z>0.224669</z>
		</axis>
		<center>
			<x-m>11.8741</x-m>
			<y-m>0.105537</y-m>
			<z-m>0.224669</z-m>
		</center>
	</animation>

	<!-- Gear Animation -->

	<!-- Rear gear animation -->

	<!-- Port -->
	<animation>
		<type>rotate</type>
		<object-name>uc_rr_wheel_cover_port</object-name>
		<property>gear/gear[1]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.25</ind>
				<dep>83</dep>
			</entry>
		</interpolation>
		<axis>
			<x>0.75923</x>
			<y>-0.00824</y>
			<z>0.042277</z>
		</axis>
		<center>
			<x-m>10.6685</x-m>
			<y-m>-2.60917</y-m>
			<z-m>-0.105501</z-m>
		</center>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>uc_rr_assy_port</object-name>
		<object-name>uc_rr_wheel_assy_port</object-name>
		<object-name>uc_rr_leg_cover_port_down</object-name>
		<property>gear/gear[1]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>70</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
		<center>
			<x-m>8.98889</x-m>
			<y-m>-2.10578</y-m>
			<z-m>0.0429551</z-m>
		</center>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>uc_rr_assy_port</object-name>
		<object-name>uc_rr_wheel_assy_port</object-name>
		<object-name>uc_rr_leg_cover_port_down</object-name>
		<property>gear/gear[1]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>-90</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
		<center>
			<x-m>8.98857</x-m>
			<y-m>-2.11241</y-m>
			<z-m>0.0430052</z-m>
		</center>
	</animation>
	<animation>
		<type>select</type>
		<object-name>uc_rr_assy_port</object-name>
		<object-name>uc_rr_wheel_assy_port</object-name>
		<object-name>uc_rr_leg_cover_port_down</object-name>
		<condition>
			<greater-than>
				<property>gear/gear[1]/position-norm</property>
				<value>0.03</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>select</type>
		<object-name>uc_rr_leg_cover_port</object-name>
		<condition>
			<less-than>
				<property>gear/gear[1]/position-norm</property>
				<value>0.03</value>
			</less-than>
		</condition>
	</animation>
	<!-- Compression -->
	<animation>
		<type>translate</type>
		<object-name>uc_rr_leg_lower_port</object-name>
		<object-name>uc_rr_wheel_assy_port</object-name>
		<property>gear/gear[1]/compression-m</property>
		<factor>1</factor>
		<max>0.2</max>
		<axis>
			<x>0.21888</x>
			<y>-0.13897</y>
			<z>0.349791</z>
		</axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>uc_rr_damper_arm_lower_port</object-name>
		<object-name>uc_rr_damper_pivot_port</object-name>
		<object-name>uc_rr_damper_arm_upper_port</object-name>
		<property>gear/gear[1]/compression-m</property>
		<x-factor>0.0</x-factor>
		<y-factor>0.0</y-factor>
		<z-factor>-0.9</z-factor>
	</animation>

	<!-- Starboard -->
	<animation>
		<type>rotate</type>
		<object-name>uc_rr_wheel_cover_stbd</object-name>
		<property>gear/gear[2]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.25</ind>
				<dep>-83</dep>
			</entry>
		</interpolation>
		<axis>
			<x>0.75923</x>
			<y>0.00824</y>
			<z>0.042277</z>
		</axis>
		<center>
			<x-m>10.6685</x-m>
			<y-m>2.60917</y-m>
			<z-m>-0.105501</z-m>
		</center>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>uc_rr_assy_stbd</object-name>
		<object-name>uc_rr_wheel_assy_stbd</object-name>
		<object-name>uc_rr_leg_cover_stbd_down</object-name>
		<property>gear/gear[2]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>-70</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
		<center>
			<x-m>8.98889</x-m>
			<y-m>2.10578</y-m>
			<z-m>0.0429551</z-m>
		</center>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>uc_rr_assy_stbd</object-name>
		<object-name>uc_rr_wheel_assy_stbd</object-name>
		<object-name>uc_rr_leg_cover_stbd_down</object-name>
		<property>gear/gear[2]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>90</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
		<center>
			<x-m>8.98857</x-m>
			<y-m>2.11241</y-m>
			<z-m>0.0430052</z-m>
		</center>
	</animation>
	<animation>
		<type>select</type>
		<object-name>uc_rr_assy_stbd</object-name>
		<object-name>uc_rr_wheel_assy_stbd</object-name>
		<object-name>uc_rr_leg_cover_stbd_down</object-name>
		<condition>
			<greater-than>
				<property>gear/gear[1]/position-norm</property>
				<value>0.03</value>
			</greater-than>
		</condition>
	</animation>
	<animation>
		<type>select</type>
		<object-name>uc_rr_leg_cover_stbd</object-name>
		<condition>
			<less-than>
				<property>gear/gear[1]/position-norm</property>
				<value>0.03</value>
			</less-than>
		</condition>
	</animation>
	<!-- Compression -->
	<animation>
		<type>translate</type>
		<object-name>uc_rr_leg_lower_stbd</object-name>
		<object-name>uc_rr_wheel_assy_stbd</object-name>
		<property>gear/gear[1]/compression-m</property>
		<factor>1</factor>
		<max>0.2</max>
		<axis>
			<x>0.21888</x>
			<y>0.13897</y>
			<z>0.349791</z>
		</axis>
	</animation>
	<animation>
		<type>scale</type>
		<object-name>uc_rr_damper_arm_lower_stbd</object-name>
		<object-name>uc_rr_damper_pivot_stbd</object-name>
		<object-name>uc_rr_damper_arm_upper_stbd</object-name>
		<property>gear/gear[2]/compression-m</property>
		<x-factor>0.0</x-factor>
		<y-factor>0.0</y-factor>
		<z-factor>-0.9</z-factor>
	</animation>

	<!-- Nose Wheel Animation -->
	<!-- Raise -->
	<animation>
		<type>rotate</type>
		<object-name>uc_f_leg_main</object-name>
		<object-name>uc_f_piston_body</object-name>
		<object-name>uc_f_piston_shaft</object-name>
		<object-name>uc_f_top_pivot_mount</object-name>
		<object-name>uc_f_link</object-name>
		<object-name>uc_f_forks</object-name>
		<object-name>uc_f_hub</object-name>
		<object-name>uc_f_wheel_assy</object-name>
		<property>gear/gear[0]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>120</dep>
			</entry>
			<entry>
				<ind>0.5</ind>
				<dep>60</dep>
			</entry>
			<entry>
				<ind>0.9</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
		<center>
			<x-m>3.01384</x-m>
			<y-m>0</y-m>
			<z-m>-0.600502</z-m>
		</center>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>uc_fr_door_port</object-name>
		<property>gear/gear[0]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.95</ind>
				<dep>-85</dep>
			</entry>
			<entry>
				<ind>1.00</ind>
				<dep>-90</dep>
			</entry>
		</interpolation>
		<axis>
			<x>0.83342</x>
			<y>-0.0315</y>
			<z>-0.15061</z>
		</axis>
		<center>
			<x-m>1.73564</x-m>
			<y-m>-0.13927</y-m>
			<z-m>-0.725075</z-m>
		</center>
	</animation>

	<animation>
		<type>rotate</type>
		<object-name>uc_fr_door_stbd</object-name>
		<property>gear/gear[0]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.95</ind>
				<dep>85</dep>
			</entry>
			<entry>
				<ind>1.00</ind>
				<dep>90</dep>
			</entry>
		</interpolation>
		<axis>
			<x>0.83342</x>
			<y>0.0315</y>
			<z>-0.15061</z>
		</axis>
		<center>
			<x-m>1.73564</x-m>
			<y-m>0.13927</y-m>
			<z-m>-0.725075</z-m>
		</center>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>uc_fr_door_rear</object-name>
		<property>gear/gear[0]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>1.00</ind>
				<dep>-140</dep>
			</entry>
		</interpolation>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
		<center>
			<x-m>2.89717</x-m>
			<y-m>0</y-m>
			<z-m>-0.9449</z-m>
		</center>
	</animation>
	<!-- Caster -->
	<animation>
		<type>rotate</type>
		<object-name>uc_f_piston_body</object-name>
		<object-name>uc_f_piston_shaft</object-name>
		<object-name>uc_f_top_pivot_mount</object-name>
		<object-name>uc_f_link</object-name>
		<object-name>uc_f_forks</object-name>
		<object-name>uc_f_hub</object-name>
		<object-name>uc_f_wheel_assy</object-name>
		<property>gear/gear/caster-angle-deg</property>
		<factor>-1</factor>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>-1</z>
		</axis>
		<center>
			<x-m>2.72634</x-m>
			<y-m>-0.000199996</y-m>
			<z-m>-1.11505</z-m>
		</center>
	</animation>
	<animation>
		<type>select</type>
		<object-name>uc_f_leg_main</object-name>
		<object-name>uc_f_piston_body</object-name>
		<object-name>uc_f_piston_shaft</object-name>
		<object-name>uc_f_top_pivot_mount</object-name>
		<object-name>uc_f_link</object-name>
		<object-name>uc_f_forks</object-name>
		<object-name>uc_f_hub</object-name>
		<object-name>uc_f_wheel_assy</object-name>
		<condition>
			<greater-than>
				<property>gear/gear[0]/position-norm</property>
				<value>0</value>
			</greater-than>
		</condition>
	</animation>

	<!-- Compression -->
	<animation>
		<type>translate</type>
		<object-name>uc_f_piston_shaft</object-name>
		<property>gear/gear[0]/compression-m</property>
		<factor>0.5</factor>
		<axis>
			<x>0</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>uc_f_forks</object-name>
		<object-name>uc_f_link</object-name>
		<object-name>uc_f_wheel_assy</object-name>
		<object-name>uc_f_hub</object-name>
		<property>gear/gear[0]/compression-norm</property>
		<factor>40</factor>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
		<center>
			<x-m>2.58785</x-m>
			<y-m>0</y-m>
			<z-m>-1.522</z-m>
		</center>
	</animation>


	<!-- Shadow Removal -->
	<animation>
		<type>noshadow</type>
		<object-name>nose_markings</object-name>
		<object-name>cockpit</object-name>
		<object-name>cockpit_rear_bulkhead</object-name>
		<object-name>uc_fr_well</object-name>
		<object-name>seat_base</object-name>
		<object-name>roundels</object-name>
		<object-name>roundels_underside</object-name>
		<object-name>xm169</object-name>
		<object-name>tail_flag</object-name>
		<object-name>tail_letter</object-name>
		<object-name>sqdn_tail_badge</object-name>
		<object-name>warning_triangles</object-name>
		<object-name>flap_hinges</object-name>
		<object-name>inner_tailpipe_end</object-name>
		<object-name>inner_tailpipe_strakes</object-name>
		<object-name>inner_tailpipe_strakes</object-name>
		<object-name>burner1</object-name>
		<object-name>burner2</object-name>
		<object-name>airbrake_recess</object-name>
	</animation>

	<!-- Tailpipes -->
	<animation>
		<type>material</type>
		<object-name>burner1</object-name>
		<emission>
		<factor-prop>engines/engine[0]/egt_degf</factor-prop>
			<red>0.0001</red>
			<green>0.0</green>
			<blue>0.0</blue>
		</emission>
	</animation>
	<animation>
		<type>material</type>
		<object-name>burner2</object-name>
		<emission>
		<factor-prop>engines/engine[1]/egt_degf</factor-prop>
			<red>0.0001</red>
			<green>0.0</green>
			<blue>0.0</blue>
		</emission>
	</animation>

</PropertyList>