Update and add flashlight
[fgdata-textures-ng:fgdata-textures-ng.git] / Aircraft / Hurricane / Models / rgs-main-switch.xml
1 <?xml version="1.0"?>
2 <PropertyList>
3   <path>rgs-main-switch.ac</path>
4   <animation>
5     <type>rotate</type>
6     <object-name>Switch</object-name>
7     <property>controls/switches/gun-sight-main</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>material</type>
26     <condition>
27       <greater-than>
28         <property>/controls/lighting/panel-norm[1]</property>
29         <value>0</value>
30       </greater-than>
31       <property>/sim/rendering/rembrandt</property>
32     </condition>
33     <emission>
34       <factor-prop>/controls/lighting/panel-norm</factor-prop>
35       <red>0.0</red>
36       <green>0.0</green>
37       <blue>0.0</blue>
38     </emission>
39   </animation>
40
41   <animation>
42     <type>material</type>
43     <condition>
44       <greater-than>
45         <property>/controls/lighting/panel-norm</property>
46         <value>0</value>
47       </greater-than>
48       <not>
49         <property>/sim/rendering/rembrandt</property>
50       </not>
51     </condition>
52     <emission>
53       <factor-prop>/controls/lighting/panel-norm</factor-prop>
54       <red>0.75</red>
55       <green>0.25</green>
56       <blue>0.25</blue>
57     </emission>
58   </animation>
59   
60   <!-- *** LoD *** -->
61   <animation>
62     <type>range</type>
63     <min-m>0</min-m>
64     <max-m>5</max-m>
65   </animation>
66 </PropertyList>