Debian Codegraph @

Aircraft/c172p/Models/Interior/Panel/Instruments/mag-compass/mag-compass-float-fg1000.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-fg1000-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>rotate</type>
68 <object-name>Ring</object-name>
69 <expression>
70 <clip>
71 <clipMin>-25</clipMin>
72 <clipMax>25</clipMax>
73 <property>instrumentation/magnetic-compass/roll-deg</property>
74 </clip>
75 </expression>
76 <factor>1.0</factor>
77 <axis>
78 <x> 1.0 </x>
79 <y> 0.0 </y>
80 <z> 0.0 </z>
81 </axis>
82 </animation>
83 <animation>
84 <type>rotate</type>
85 <object-name>Ring</object-name>
86 <expression>
87 <clip>
88 <clipMin>-9</clipMin>
89 <clipMax>9</clipMax>
90 <property>instrumentation/magnetic-compass/pitch-deg</property>
91 </clip>
92 </expression>
93 <factor>1.0</factor>
94 <axis>
95 <x> 0.0 </x>
96 <y> 1.0 </y>
97 <z> 0.0 </z>
98 </axis>
99 </animation>
100 <animation>
101 <type>rotate</type>
102 <object-name>Ring</object-name>
103 <property>instrumentation/magnetic-compass/indicated-heading-deg-final</property>
104 <factor>-1</factor>
105 <axis>
106 <x1-m>-0.33052</x1-m>
107 <y1-m> 0.00 </y1-m>
108 <z1-m> 0.27043</z1-m>
109 <x2-m>-0.33052</x2-m>
110 <y2-m> 0.00 </y2-m>
111 <z2-m> 0.25464</z2-m>
112 </axis>
113 </animation>
114
115 <animation>
116 <type>pick</type>
117 <object-name>Ring</object-name>
118 <hovered>
119 <binding>
120 <command>set-tooltip</command>
121 <tooltip-id>magnetcompass</tooltip-id>
122 <label>Magnetic heading: %3d</label>
123 <property>instrumentation/magnetic-compass/indicated-heading-deg-final</property>
124 <mapping>heading</mapping>
125 </binding>
126 </hovered>
127 </animation>
128
129 <animation>
130 <type>pick</type>
131 <object-name>Deviation</object-name>
132 <object-name>Deviation-Card</object-name>
133 <visible>true</visible>
134 <action>
135 <button>0</button>
136 <repeatable>false</repeatable>
137 <binding>
138 <command>property-toggle</command>
139 <property>sim/model/c172p/cockpit/view-deviation-card</property>
140 </binding>
141 </action>
142 <hovered>
143 <binding>
144 <command>set-tooltip</command>
145 <tooltip-id>deviation</tooltip-id>
146 <label>Show Deviation Card</label>
147 </binding>
148 </hovered>
149 </animation>
150
151 <animation>
152 <type>select</type>
153 <object-name>Deviation-Card</object-name>
154 <condition>
155 <property>sim/model/c172p/cockpit/view-deviation-card</property>
156 </condition>
157 </animation>
158
159 </PropertyList>