Debian Codegraph @

Aircraft/c172p/Models/Interior/Panel/Instruments/AI/AI-fg1000.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <path>AI-fg1000.ac</path>
6
7 <model>
8 <name>ai-fg1000</name>
9 <path>../../../../Effects/interior/procedural_light_instruments_fg1000.xml</path>
10 <offsets>
11 <x-m>-0.366612</x-m>
12 <y-m> 0.056759</y-m>
13 <z-m>-0.087683</z-m>
14 </offsets>
15 <condition>
16 <and>
17 <property>controls/panel/glass</property>
18 <greater-than>
19 <property>controls/lighting/stby</property>
20 <value>0</value>
21 </greater-than>
22 <greater-than>
23 <property>sim/rendering/shaders/model</property>
24 <value>0</value>
25 </greater-than>
26 </and>
27 </condition>
28 </model>
29
30 <animation>
31 <name>Pitch</name>
32 <type>translate</type>
33 <object-name>Pitch</object-name>
34 <property>instrumentation/attitude-indicator/indicated-pitch-deg</property>
35 <factor>-0.0007</factor>
36 <min-m>-0.01575</min-m>
37 <max-m>0.01575</max-m>
38 <axis>
39 <x>0.0</x>
40 <y>0.0</y>
41 <z>1.0</z>
42 </axis>
43 </animation>
44
45 <animation>
46 <name>Horizon Offset</name>
47 <type>translate</type>
48 <object-name>Pitch</object-name>
49 <property>instrumentation/attitude-indicator/horizon-offset-deg</property>
50 <factor>-0.0007</factor>
51 <min-m>-0.01575</min-m>
52 <max-m>0.01575</max-m>
53 <axis>
54 <x>0.0</x>
55 <y>0.0</y>
56 <z>1.0</z>
57 </axis>
58 </animation>
59
60 <animation>
61 <type>rotate</type>
62 <object-name>Roll</object-name>
63 <property>instrumentation/attitude-indicator/indicated-roll-deg</property>
64 <factor>-1</factor>
65 <axis>
66 <x>-1</x>
67 <y>0</y>
68 <z>0</z>
69 </axis>
70 <center>
71 <x-m>-0.374594</x-m>
72 <y-m> 0.057374</y-m>
73 <z-m>-0.10831</z-m>
74 </center>
75 </animation>
76
77 <animation>
78 <type>rotate</type>
79 <object-name>Pitch</object-name>
80 <property>instrumentation/attitude-indicator/indicated-roll-deg</property>
81 <factor>-0.5</factor>
82 <axis>
83 <x>-1</x>
84 <y>0</y>
85 <z>0</z>
86 </axis>
87 <center>
88 <x-m>-0.374594</x-m>
89 <y-m> 0.057374</y-m>
90 <z-m>-0.10831</z-m>
91 </center>
92 </animation>
93
94 <animation>
95 <type>knob</type>
96 <object-name>AdjustKnob</object-name>
97 <action>
98 <repeatable>true</repeatable>
99 <binding>
100 <command>property-adjust</command>
101 <property>instrumentation/attitude-indicator/horizon-offset-deg</property>
102 <factor type="double">0.2</factor>
103 <min>-7.0</min>
104 <max>2.0</max>
105 </binding>
106 </action>
107 <property>instrumentation/attitude-indicator/horizon-offset-deg</property>
108 <factor>-16</factor>
109 <axis>
110 <x>1</x>
111 <y>0</y>
112 <z>0</z>
113 </axis>
114 <center>
115 <x-m>-0.353372</x-m>
116 <y-m> 0.057462</y-m>
117 <z-m>-0.139995</z-m>
118 </center>
119 <hovered>
120 <binding>
121 <command>set-tooltip</command>
122 <tooltip-id>ai-horizon-offset</tooltip-id>
123 <label>Horizon Offset: %.1f</label>
124 <property>instrumentation/attitude-indicator/horizon-offset-deg</property>
125 </binding>
126 </hovered>
127 </animation>
128
129 <!-- Cage system is not used in this model of the AI -->
130 <!--animation>
131 <type>pick</type>
132 <visible>true</visible>
133 <object-name>CageKnob</object-name>
134 <action>
135 <button>0</button>
136 <repeatable>false</repeatable>
137 <binding>
138 <command>property-toggle</command>
139 <property>instrumentation/attitude-indicator/caged-flag</property>
140 <value type="bool">true</value>
141 </binding>
142 <binding>
143 <command>nasal</command>
144 <script>c172p.click("ai-caged")</script>
145 </binding>
146 </action>
147 <hovered>
148 <binding>
149 <command>set-tooltip</command>
150 <tooltip-id>ai-caged</tooltip-id>
151 <label>Caged: %s</label>
152 <mapping>on-off</mapping>
153 <property>instrumentation/attitude-indicator/caged-flag</property>
154 </binding>
155 </hovered>
156 </animation-->
157
158 <!--animation>
159 <type>select</type>
160 <object-name>CagedIndicator</object-name>
161 <condition>
162 <property>instrumentation/attitude-indicator/caged-flag</property>
163 </condition>
164 </animation-->
165
166 <!--animation>
167 <type>translate</type>
168 <object-name>CageKnob</object-name>
169 <property>instrumentation/attitude-indicator/caged-flag</property>
170 <factor>0.005</factor>
171 <axis>
172 <x>1</x>
173 <y>0</y>
174 <z>0</z>
175 </axis>
176 </animation-->
177
178 <!-- Support themes -->
179 <animation>
180 <type>material</type>
181 <object-name>Aircraft</object-name>
182 <object-name>Bracket</object-name>
183 <object-name>CageKnob</object-name>
184 <object-name>CagedIndicator</object-name>
185 <object-name>Roll</object-name>
186 <property-base>sim/model/liveryinstrumentsai/</property-base>
187 <texture-prop>texture</texture-prop>
188 <texture>AI.png</texture>
189 </animation>
190
191 <animation>
192 <type>material</type>
193 <object-name>Pitch</object-name>
194 <property-base>sim/model/liveryinstrumentsai2/</property-base>
195 <texture-prop>texture</texture-prop>
196 <texture>AI.png</texture>
197 </animation>
198
199 <effect>
200 <inherits-from>Aircraft/c172p/Models/Effects/interior/lm-fg1000-ai</inherits-from>
201 <object-name>AdjustKnob</object-name>
202 <object-name>Roll</object-name>
203 <object-name>Pitch</object-name>
204 <object-name>Aircraft</object-name>
205 <object-name>RollReference</object-name>
206 <object-name>Bracket</object-name>
207 <object-name>Bezel</object-name>
208 <object-name>Case</object-name>
209 </effect>
210
211 <animation>
212 <type>material</type>
213 <object-name>Aircraft</object-name>
214 <object-name>Pitch</object-name>
215 <object-name>Roll</object-name>
216 <object-name>RollReference</object-name>
217 <object-name>Case</object-name>
218 <condition>
219 <not>
220 <property>sim/rendering/shaders/skydome</property>
221 </not>
222 </condition>
223 <emission>
224 <red-prop>/sim/model/material/instruments/default-red-combined-factor</red-prop>
225 <green-prop>/sim/model/material/instruments/default-green-combined-factor</green-prop>
226 <blue-prop>/sim/model/material/instruments/default-blue-combined-factor</blue-prop>
227 </emission>
228 </animation>
229
230 <animation>
231 <type>material</type>
232 <object-name>AdjustKnob</object-name>
233 <object-name>Bezel</object-name>
234 <object-name>Bracket</object-name>
235 <condition>
236 <not>
237 <property>sim/rendering/shaders/skydome</property>
238 </not>
239 </condition>
240 <emission>
241 <red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop>
242 <green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
243 <blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
244 </emission>
245 </animation>
246
247 </PropertyList>