Debian Codegraph @

Aircraft/c172p/Models/Interior/Panel/Instruments/mag-compass/mag-compass-float.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <path>mag-compass-float.ac</path>
6
7 <effect>
8 <inherits-from>Aircraft/c172p/Models/Effects/interior/lm-mag</inherits-from>
9 <object-name>Ring</object-name>
10 <object-name>Casing</object-name>
11 <object-name>Interior</object-name>
12 <object-name>Needle</object-name>
13 <object-name>Deviation</object-name>
14 <object-name>Deviation-Card</object-name>
15 </effect>
16
17 <effect>
18 <inherits-from>Aircraft/c172p/Models/Effects/interior/interior-glass-reflection-panel-front</inherits-from>
19 <object-name>Glass</object-name>
20 </effect>
21
22 <animation>
23 <type>material</type>
24 <object-name>Ring</object-name>
25 <object-name>Needle</object-name>
26 <condition>
27 <or>
28 <not>
29 <property>sim/rendering/shaders/skydome</property>
30 </not>
31 <equals>
32 <property>sim/rendering/shaders/model</property>
33 <value>0</value>
34 </equals>
35 </or>
36 </condition>
37 <emission>
38 <red-prop>/sim/model/material/instruments/default-red-combined-factor</red-prop>
39 <green-prop>/sim/model/material/instruments/default-green-combined-factor</green-prop>
40 <blue-prop>/sim/model/material/instruments/default-blue-combined-factor</blue-prop>
41 </emission>
42 </animation>
43
44 <animation>
45 <type>material</type>
46 <object-name>Casing</object-name>
47 <object-name>Interior</object-name>
48 <condition>
49 <or>
50 <not>
51 <property>sim/rendering/shaders/skydome</property>
52 </not>
53 <equals>
54 <property>sim/rendering/shaders/model</property>
55 <value>0</value>
56 </equals>
57 </or>
58 </condition>
59 <emission>
60 <red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop>
61 <green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
62 <blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
63 </emission>
64 </animation>
65
66 <animation>
67 <type>material</type>
68 <object-name>Ring</object-name>
69 <object-name>Needle</object-name>
70 <emission>
71 <red> 1.0</red>
72 <green>0.8</green>
73 <blue> 0.5</blue>
74 <factor-prop>/sim/model/material/instruments/integral-factor</factor-prop>
75 </emission>
76 </animation>
77
78 <animation>
79 <type>rotate</type>
80 <object-name>Ring</object-name>
81 <expression>
82 <clip>
83 <clipMin>-25</clipMin>
84 <clipMax>25</clipMax>
85 <property>instrumentation/magnetic-compass/roll-deg</property>
86 </clip>
87 </expression>
88 <factor>1.0</factor>
89 <axis>
90 <x> 1.0 </x>
91 <y> 0.0 </y>
92 <z> 0.0 </z>
93 </axis>
94 </animation>
95 <animation>
96 <type>rotate</type>
97 <object-name>Ring</object-name>
98 <expression>
99 <clip>
100 <clipMin>-9</clipMin>
101 <clipMax>9</clipMax>
102 <property>instrumentation/magnetic-compass/pitch-deg</property>
103 </clip>
104 </expression>
105 <factor>1.0</factor>
106 <axis>
107 <x> 0.0 </x>
108 <y> 1.0 </y>
109 <z> 0.0 </z>
110 </axis>
111 </animation>
112 <animation>
113 <type>rotate</type>
114 <object-name>Ring</object-name>
115 <property>instrumentation/magnetic-compass/indicated-heading-deg-final</property>
116 <factor>-1</factor>
117 <axis>
118 <x1-m>-0.33052</x1-m>
119 <y1-m> 0.00 </y1-m>
120 <z1-m> 0.27043</z1-m>
121 <x2-m>-0.33052</x2-m>
122 <y2-m> 0.00 </y2-m>
123 <z2-m> 0.25464</z2-m>
124 </axis>
125 </animation>
126
127 <animation>
128 <type>pick</type>
129 <object-name>Ring</object-name>
130 <hovered>
131 <binding>
132 <command>set-tooltip</command>
133 <tooltip-id>magnetcompass</tooltip-id>
134 <label>Magnetic heading: %3d</label>
135 <property>instrumentation/magnetic-compass/indicated-heading-deg-final</property>
136 <mapping>heading</mapping>
137 </binding>
138 </hovered>
139 </animation>
140
141 <animation>
142 <type>pick</type>
143 <object-name>Deviation</object-name>
144 <object-name>Deviation-Card</object-name>
145 <visible>true</visible>
146 <action>
147 <button>0</button>
148 <repeatable>false</repeatable>
149 <binding>
150 <command>property-toggle</command>
151 <property>sim/model/c172p/cockpit/view-deviation-card</property>
152 </binding>
153 </action>
154 <hovered>
155 <binding>
156 <command>set-tooltip</command>
157 <tooltip-id>deviation</tooltip-id>
158 <label>Show Deviation Card</label>
159 </binding>
160 </hovered>
161 </animation>
162
163 <animation>
164 <type>select</type>
165 <object-name>Deviation-Card</object-name>
166 <condition>
167 <property>sim/model/c172p/cockpit/view-deviation-card</property>
168 </condition>
169 </animation>
170
171 </PropertyList>