Merge branch 'master' of gitorious.org:fg/fgdata
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / rv-5m / rv-5m.xml
1 <?xml version="1.0"?>
2 <!--
3     #############################################################################
4     #    (C) 2007 by Yurik V. Nikiforoff                                        #
5     #           yurik@megasignal.com                                            #
6     #           Jul 2007                                                        #
7     #############################################################################         
8     -->
9
10 <!-- Radio altimeter
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <path>rv-5m.ac</path>
14 <!-- Internal instruments lighting -->
15 <animation>
16   <type>material</type>
17   <object-name>text</object-name>
18   <object-name>needle</object-name>
19   <object-name>index</object-name>
20   <object-name>flag</object-name>
21   <emission>
22     <red-prop>tu154/light/instruments/int-red</red-prop>
23     <green-prop>tu154/light/instruments/int-green</green-prop>
24     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
25   </emission>
26 </animation>
27
28 <!-- External instruments lighting -->
29 <animation>
30   <type>material</type>
31   <object-name>base</object-name>
32   <emission>
33     <red-prop>tu154/light/panel/ext-red</red-prop>
34     <green-prop>tu154/light/panel/ext-green</green-prop>
35     <blue-prop>tu154/light/panel/ext-blue</blue-prop>
36   </emission>
37 </animation>
38
39
40 <!--Cage-->
41 <animation>
42   <type>select</type>
43   <object-name>flag</object-name>
44   <condition>
45         <property>tu154/instrumentation/rv-5m/caged-flag</property>
46   </condition>
47 </animation>
48
49 <!--Warning lamp-->
50 <animation>
51   <type>material</type>
52   <object-name>lamp</object-name>
53   <emission>
54     <red>1.0</red>
55     <green>1.0</green>
56     <blue>1.0</blue>
57     <factor-prop>tu154/systems/electrical/checking-lamps/lamps-power</factor-prop>
58   </emission>
59 </animation>
60
61 <animation>
62   <type>select</type>
63   <object-name>lamp</object-name>
64   <condition>
65     <or>
66         <property>tu154/instrumentation/rv-5m/warn</property>
67         <property>tu154/systems/electrical/checking-lamps/main-panel</property>
68     </or>
69   </condition>
70 </animation>
71
72
73 <!--Needles-->
74 <animation>
75     <type>rotate</type>
76     <object-name>needle</object-name>
77     <property>tu154/instrumentation/rv-5m/indicated-altitude-m</property>
78     <interpolation>
79       <entry><ind>      0.0</ind>       <dep>   0.0</dep></entry>
80       <entry><ind>      10.0</ind>      <dep>   15.0</dep></entry>
81       <entry><ind>      20.0</ind>      <dep>   30.0</dep></entry>
82       <entry><ind>      30.0</ind>      <dep>   45.0</dep></entry>
83       <entry><ind>      40.0</ind>      <dep>   60.0</dep></entry>
84       <entry><ind>      50.0</ind>      <dep>   75.0</dep></entry>
85       <entry><ind>      60.0</ind>      <dep>   91.5</dep></entry>
86       <entry><ind>      80.0</ind>      <dep>   123.0</dep></entry>
87       <entry><ind>      100.0</ind>     <dep>   155.0</dep></entry>
88       <entry><ind>      200.0</ind>     <dep>   179.0</dep></entry>
89       <entry><ind>      300.0</ind>     <dep>   203.0</dep></entry>
90       <entry><ind>      400.0</ind>     <dep>   226.0</dep></entry>
91       <entry><ind>      500.0</ind>     <dep>   251.0</dep></entry>
92       <entry><ind>      700.0</ind>     <dep>   300.0</dep></entry>
93       <entry><ind>      800.0</ind>     <dep>   325.0</dep></entry>
94     </interpolation>
95     <axis>
96       <x>-1.0</x>
97       <y>0.0</y>
98       <z>0.0</z>
99     </axis>
100 </animation>
101
102 <animation>
103   <type>rotate</type>
104   <object-name>index</object-name>
105   <property>tu154/instrumentation/rv-5m/index-m</property>
106   <interpolation>
107     <entry><ind>        0.0</ind>       <dep>   0.0</dep></entry>
108     <entry><ind>        10.0</ind>      <dep>   15.0</dep></entry>
109     <entry><ind>        20.0</ind>      <dep>   30.0</dep></entry>
110     <entry><ind>        30.0</ind>      <dep>   45.0</dep></entry>
111     <entry><ind>        40.0</ind>      <dep>   60.0</dep></entry>
112     <entry><ind>        50.0</ind>      <dep>   75.0</dep></entry>
113     <entry><ind>        60.0</ind>      <dep>   91.5</dep></entry>
114     <entry><ind>        80.0</ind>      <dep>   123.0</dep></entry>
115     <entry><ind>        100.0</ind>     <dep>   155.0</dep></entry>
116     <entry><ind>        200.0</ind>     <dep>   179.0</dep></entry>
117     <entry><ind>        300.0</ind>     <dep>   203.0</dep></entry>
118     <entry><ind>        400.0</ind>     <dep>   226.0</dep></entry>
119     <entry><ind>        500.0</ind>     <dep>   251.0</dep></entry>
120     <entry><ind>        700.0</ind>     <dep>   300.0</dep></entry>
121     <entry><ind>        800.0</ind>     <dep>   325.0</dep></entry>
122   </interpolation>
123   <axis>
124     <x>-1.0</x>
125     <y>0.0</y>
126     <z>0.0</z>
127   </axis>
128 </animation>
129
130 <!--Controls-->
131
132 <animation>
133   <type>pick</type>
134   <object-name>hs</object-name>
135   <visible>false</visible>
136   <action>
137     <button>4</button>
138     <repeatable>false</repeatable>
139     <binding>
140       <command>property-adjust</command>
141       <property>tu154/instrumentation/rv-5m/index-m</property>
142       <step>-5.0</step>
143       <min>0.0</min>
144     </binding>
145   </action>
146 </animation>
147 <animation>
148   <type>pick</type>
149   <object-name>hs</object-name>
150   <visible>false</visible>
151   <action>
152     <button>3</button>
153     <repeatable>false</repeatable>
154     <binding>
155       <command>property-adjust</command>
156       <property>tu154/instrumentation/rv-5m/index-m</property>
157       <step>5.0</step>
158       <max>700.0</max>
159     </binding>
160     
161   </action>
162 </animation>
163
164
165
166 </PropertyList>