Debian Codegraph @

AI/Aircraft/c182/Models/c182-ai.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <path>c182.ac</path>
6
7 <offsets>
8 <pitch-deg>-3</pitch-deg>
9 <z-m>1.4</z-m>
10 </offsets>
11
12 <!-- Object movements -->
13 <animation>
14 <type>select</type>
15 <object-name>Propeller</object-name>
16 <condition>
17 <less-than>
18 <property>velocities/true-airspeed-kt</property>
19 <value>50</value>
20 </less-than>
21 </condition>
22 </animation>
23
24 <animation>
25 <type>select</type>
26 <object-name>Propeller.2</object-name>
27 <condition>
28 <greater-than>
29 <property>velocities/true-airspeed-kt</property>
30 <value>40</value>
31 </greater-than>
32 </condition>
33 </animation>
34
35 <animation>
36 <type>blend</type>
37 <object-name>Propeller.2</object-name>
38 <property>velocities/true-airspeed-kt</property>
39 <factor>0.0004</factor>
40 <max>1.0</max>
41 <min>0.0</min>
42 </animation>
43
44 <animation>
45 <type>spin</type>
46 <object-name>Propeller</object-name>
47 <property>velocities/true-airspeed-kt</property>
48 <factor> 90 </factor>
49 <factor>-1</factor>
50 <center>
51 <x-m>0</x-m>
52 <y-m>0</y-m>
53 <z-m>-0.214544</z-m>
54 </center>
55 <axis>
56 <x>1.0</x>
57 <y>0.0</y>
58 <z>0.0</z>
59 </axis>
60 </animation>
61
62 <animation>
63 <type>spin</type>
64 <object-name>Propeller.2</object-name>
65 <property>velocities/true-airspeed-kt</property>
66 <factor> 90 </factor>
67 <factor>-1</factor>
68 <center>
69 <x-m>0</x-m>
70 <y-m>0</y-m>
71 <z-m>-0.214544</z-m>
72 </center>
73 <axis>
74 <x>1.0</x>
75 <y>0.0</y>
76 <z>0.0</z>
77 </axis>
78 </animation>
79
80 <!-- Chrome animation for spinner -->
81 <animation>
82 <type>shader</type>
83 <shader>chrome</shader>
84 <texture>chrome2.rgb</texture>
85 <object-name>spinner</object-name>
86 </animation>
87
88 <model>
89 <name>LeftNavLight</name>
90 <path>BeaconLight.xml</path>
91 <offsets>
92 <x-m>0.18</x-m>
93 <y-m>-5.27</y-m>
94 <z-m>0.49</z-m>
95 </offsets>
96 </model>
97
98 <animation>
99 <type>material</type>
100 <object-name>LeftNavLight</object-name>
101 <emission>
102 <red>1.0</red>
103 <green>0.0</green>
104 <blue>0.0</blue>
105 <!--factor-prop>/controls/switches/nav-lights</factor-prop-->
106 </emission>
107 </animation>
108
109 <model>
110 <name>RightNavLight</name>
111 <path>BeaconLight.xml</path>
112 <offsets>
113 <x-m>0.18</x-m>
114 <y-m>5.27</y-m>
115 <z-m>0.49</z-m>
116 </offsets>
117 </model>
118
119 <animation>
120 <type>material</type>
121 <object-name>RightNavLight</object-name>
122 <emission>
123 <red>0.0</red>
124 <green>1.0</green>
125 <blue>0.0</blue>
126 <!--factor-prop>/controls/switches/nav-lights</factor-prop-->
127 </emission>
128 </animation>
129
130 <model>
131 <name>RearNavLight</name>
132 <path>BeaconLight.xml</path>
133 <offsets>
134 <x-m>5.97</x-m>
135 <y-m>0</y-m>
136 <z-m>1.19</z-m>
137 </offsets>
138 </model>
139
140 <animation>
141 <type>material</type>
142 <object-name>RearNavLight</object-name>
143 <emission>
144 <red>1.0</red>
145 <green>1.0</green>
146 <blue>1.0</blue>
147 <!--factor-prop>/controls/switches/nav-lights</factor-prop-->
148 </emission>
149 </animation>
150
151 <animation>
152 <type>select</type>
153 <object-name>LeftNavLight</object-name>
154 <object-name>RightNavLight</object-name>
155 <object-name>RearNavLight</object-name>
156 <condition>
157 <and>
158 <greater-than>
159 <property>/sim/time/sun-angle-rad</property>
160 <value>1.57</value>
161 </greater-than>
162 <greater-than>
163 <property>velocities/true-airspeed-kt</property>
164 <value>0</value>
165 </greater-than>
166 </and>
167 </condition>
168 </animation>
169
170 <model>
171 <name>BeaconOn</name>
172 <path>BeaconLight.xml</path>
173 <offsets>
174 <x-m>0.3</x-m>
175 <y-m>0.0</y-m>
176 <z-m>0.5</z-m>
177 </offsets>
178 </model>
179
180 <model>
181 <name>BeaconOff</name>
182 <path>ToggleLight.xml</path>
183 <offsets>
184 <x-m>0.3</x-m>
185 <y-m>0.0</y-m>
186 <z-m>0.5</z-m>
187 </offsets>
188 </model>
189
190 <animation>
191 <name>timed_beacon</name>
192 <type>timed</type>
193 <object-name>BeaconOn</object-name>
194 <object-name>BeaconOff</object-name>
195 <use-personality type="bool">true</use-personality>
196 <branch-duration-sec>0.1</branch-duration-sec>
197 <branch-duration-sec>1.0</branch-duration-sec>
198 </animation>
199
200 <animation>
201 <type>select</type>
202 <object-name>timed_beacon</object-name>
203 <condition>
204 <and>
205 <greater-than>
206 <property>/sim/time/sun-angle-rad</property>
207 <value>1.57</value>
208 </greater-than>
209 <greater-than>
210 <property>velocities/true-airspeed-kt</property>
211 <value>0</value>
212 </greater-than>
213 </and>
214 </condition>
215 </animation>
216
217 <model>
218 <name>StrobeOn</name>
219 <path>StrobeLight.xml</path>
220 <offsets>
221 <x-m>0.5</x-m>
222 <y-m>0.0</y-m>
223 <z-m>-1.05</z-m>
224 </offsets>
225 </model>
226
227 <model>
228 <name>StrobeOff</name>
229 <path>ToggleLight.xml</path>
230 <offsets>
231 <x-m>0.5</x-m>
232 <y-m>0.0</y-m>
233 <z-m>-1.05</z-m>
234 </offsets>
235 </model>
236
237 <animation>
238 <name>timed_strobe</name>
239 <type>timed</type>
240 <object-name>StrobeOn</object-name>
241 <object-name>StrobeOff</object-name>
242 <use-personality type="bool">true</use-personality>
243 <branch-duration-sec>0.1</branch-duration-sec>
244 <branch-duration-sec>1.0</branch-duration-sec>
245 </animation>
246
247 <animation>
248 <type>select</type>
249 <object-name>timed_strobe</object-name>
250 <condition>
251 <and>
252 <greater-than>
253 <property>/sim/time/sun-angle-rad</property>
254 <value>1.57</value>
255 </greater-than>
256 <greater-than>
257 <property>velocities/true-airspeed-kt</property>
258 <value>0</value>
259 </greater-than>
260 </and>
261 </condition>
262 </animation>
263 <!--
264 <animation>
265 <type>rotate</type>
266 <object-name>LeftFlap</object-name>
267 <object-name>RightFlap</object-name>
268 <property>surface-positions/flap-pos-norm</property>
269 <factor>30</factor>
270 <center>
271 <x-m>1.1</x-m>
272 <y-m>0.0</y-m>
273 <z-m>0.28</z-m>
274 </center>
275 <axis>
276 <x>0.0</x>
277 <y>1.0</y>
278 <z>0.0</z>
279 </axis>
280 </animation>
281 -->
282 </PropertyList>