Debian Codegraph @

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

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