Update and add flashlight
[fgdata-textures-ng:fgdata-textures-ng.git] / Aircraft / Hurricane / Models / magneto.xml
1 <?xml version="1.0"?>
2 <PropertyList>
3   <path>magneto.ac</path>
4   <animation>
5     <type>rotate</type>
6     <object-name>Switch-L</object-name>
7     <property>controls/engines/engine/mag-switch-left</property>
8     <interpolation>
9       <entry>
10         <ind>0</ind>
11         <dep>-25</dep>
12       </entry>
13       <entry>
14         <ind>1</ind>
15         <dep>25</dep>
16       </entry>
17     </interpolation>
18     <axis>
19       <x>0</x>
20       <y>-1</y>
21       <z>0</z>
22     </axis>
23   </animation>
24   <animation>
25     <type>rotate</type>
26     <object-name>Switch-R</object-name>
27     <property>controls/engines/engine/mag-switch-right</property>
28     <interpolation>
29       <entry>
30         <ind>0</ind>
31         <dep>-25</dep>
32       </entry>
33       <entry>
34         <ind>1</ind>
35         <dep>25</dep>
36       </entry>
37     </interpolation>
38     <axis>
39       <x>0</x>
40       <y>-1</y>
41       <z>0</z>
42     </axis>
43   </animation>
44
45   <animation>
46     <type>material</type>
47     <condition>
48       <greater-than>
49         <property>/controls/lighting/panel-norm[1]</property>
50         <value>0</value>
51       </greater-than>
52       <property>/sim/rendering/rembrandt</property>
53     </condition>
54     <emission>
55       <factor-prop>/controls/lighting/panel-norm</factor-prop>
56       <red>0.0</red>
57       <green>0.0</green>
58       <blue>0.0</blue>
59     </emission>
60   </animation>
61
62   <animation>
63     <type>material</type>
64     <condition>
65       <greater-than>
66         <property>/controls/lighting/panel-norm</property>
67         <value>0</value>
68       </greater-than>
69       <not>
70         <property>/sim/rendering/rembrandt</property>
71       </not>
72     </condition>
73     <emission>
74       <factor-prop>/controls/lighting/panel-norm</factor-prop>
75       <red>0.75</red>
76       <green>0.25</green>
77       <blue>0.25</blue>
78     </emission>
79   </animation>
80   
81   <!-- *** LoD *** -->
82   <animation>
83     <type>range</type>
84     <min-m>0</min-m>
85     <max-m>5</max-m>
86   </animation>
87 </PropertyList>