Military.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>Military.ac</path>
  4. <!-- Trucks models and artworks courtesy of XPGoodWay Team
  5. (http://www.xpgoodwayteam.org/site_xpushback/) -->
  6. <offsets>
  7. <pitch-deg>-0.7</pitch-deg>
  8. </offsets>
  9. <animation>
  10. <type>select</type>
  11. <condition>
  12. <property>sim/model/pushback/enabled</property>
  13. <property>gear/gear[0]/wow</property>
  14. </condition>
  15. </animation>
  16. <!-- switch to night/day textures -->
  17. <animation>
  18. <type>textranslate</type>
  19. <object-name>BacklightLOff</object-name>
  20. <object-name>BacklightROff</object-name>
  21. <object-name>BacklightLOn</object-name>
  22. <object-name>BacklightROn</object-name>
  23. <object-name>Mesh</object-name>
  24. <object-name>Towbar</object-name>
  25. <object-name>TowbarWheelL</object-name>
  26. <object-name>TowbarWheelR</object-name>
  27. <object-name>WheelLB</object-name>
  28. <object-name>WheelLC</object-name>
  29. <object-name>WheelLF</object-name>
  30. <object-name>WheelRB</object-name>
  31. <object-name>WheelRC</object-name>
  32. <object-name>WheelRF</object-name>
  33. <property>/sim/time/sun-angle-rad</property>
  34. <step>1.60 </step>
  35. <factor>0.318471338</factor>
  36. <center>
  37. <x-m>0</x-m>
  38. <y-m>0</y-m>
  39. <z-m>0</z-m>
  40. </center>
  41. <axis>
  42. <x>-1</x>
  43. <y>0</y>
  44. <z>0</z>
  45. </axis>
  46. </animation>
  47. <animation>
  48. <type>material</type>
  49. <object-name>BacklightLOff</object-name>
  50. <object-name>BacklightROff</object-name>
  51. <object-name>BacklightLOn</object-name>
  52. <object-name>BacklightROn</object-name>
  53. <object-name>Mesh</object-name>
  54. <object-name>Towbar</object-name>
  55. <object-name>TowbarWheelL</object-name>
  56. <object-name>TowbarWheelR</object-name>
  57. <object-name>WheelLB</object-name>
  58. <object-name>WheelLC</object-name>
  59. <object-name>WheelLF</object-name>
  60. <object-name>WheelRB</object-name>
  61. <object-name>WheelRC</object-name>
  62. <object-name>WheelRF</object-name>
  63. <condition>
  64. <greater-than>
  65. <property>/sim/time/sun-angle-rad</property>
  66. <value>1.60</value>
  67. </greater-than>
  68. </condition>
  69. <emission>
  70. <red>1</red>
  71. <green>1</green>
  72. <blue>1</blue>
  73. </emission>
  74. </animation>
  75. <animation>
  76. <type>material</type>
  77. <object-name>BacklightLOff</object-name>
  78. <object-name>BacklightROff</object-name>
  79. <object-name>BacklightLOn</object-name>
  80. <object-name>BacklightROn</object-name>
  81. <object-name>Mesh</object-name>
  82. <object-name>Towbar</object-name>
  83. <object-name>TowbarWheelL</object-name>
  84. <object-name>TowbarWheelR</object-name>
  85. <object-name>WheelLB</object-name>
  86. <object-name>WheelLC</object-name>
  87. <object-name>WheelLF</object-name>
  88. <object-name>WheelRB</object-name>
  89. <object-name>WheelRC</object-name>
  90. <object-name>WheelRF</object-name>
  91. <condition>
  92. <less-than-equals>
  93. <property>/sim/time/sun-angle-rad</property>
  94. <value>1.60</value>
  95. </less-than-equals>
  96. </condition>
  97. <emission>
  98. <red>0</red>
  99. <green>0</green>
  100. <blue>0</blue>
  101. </emission>
  102. </animation> <!-- compensate for pitch of aircraft, keep pushback level -->
  103. <animation>
  104. <type>rotate</type>
  105. <property>orientation/pitch-deg</property>
  106. <factor>-1</factor>
  107. <center>
  108. <x-m>0</x-m>
  109. <y-m>0</y-m>
  110. <z-m>0</z-m>
  111. </center>
  112. <axis>
  113. <x>0</x>
  114. <y>1</y>
  115. <z>0</z>
  116. </axis>
  117. </animation>
  118. <!-- compensate for roll of aircraft, keep pushback level -->
  119. <animation>
  120. <type>rotate</type>
  121. <property>orientation/roll-deg</property>
  122. <factor>1</factor>
  123. <center>
  124. <x-m>0</x-m>
  125. <y-m>0</y-m>
  126. <z-m>0</z-m>
  127. </center>
  128. <axis>
  129. <x>1</x>
  130. <y>0</y>
  131. <z>0</z>
  132. </axis>
  133. </animation>
  134. <animation>
  135. <type>timed</type>
  136. <object-name>BacklightOn</object-name>
  137. <object-name>BacklightOff</object-name>
  138. <use-personality type="bool">true</use-personality>
  139. <branch-duration-sec>0.8</branch-duration-sec>
  140. <branch-duration-sec>0.2</branch-duration-sec>
  141. </animation>
  142. <animation>
  143. <type>rotate</type>
  144. <object-name>Towbar</object-name>
  145. <object-name>TowbarWheelL</object-name>
  146. <object-name>TowbarWheelR</object-name>
  147. <object-name>BacklightLOff</object-name>
  148. <object-name>BacklightROff</object-name>
  149. <object-name>BacklightLOn</object-name>
  150. <object-name>BacklightROn</object-name>
  151. <object-name>Mesh</object-name>
  152. <object-name>Mesh.001</object-name>
  153. <object-name>WheelLB</object-name>
  154. <object-name>WheelLC</object-name>
  155. <object-name>WheelLF</object-name>
  156. <object-name>WheelRB</object-name>
  157. <object-name>WheelRC</object-name>
  158. <object-name>WheelRF</object-name>
  159. <object-name>haze</object-name>
  160. <condition>
  161. <greater-than>
  162. <property>sim/model/pushback/position-norm</property>
  163. <value>0.99</value>
  164. </greater-than>
  165. </condition>
  166. <property>gear/gear[0]/steering-norm</property>
  167. <factor>5</factor>
  168. <center>
  169. <x-m>0.00</x-m>
  170. <y-m>0.00</y-m>
  171. <z-m>0.00</z-m>
  172. </center>
  173. <axis>
  174. <x>0</x>
  175. <y>0</y>
  176. <z>1</z>
  177. </axis>
  178. </animation>
  179. <animation>
  180. <type>rotate</type>
  181. <object-name>BacklightLOff</object-name>
  182. <object-name>BacklightROff</object-name>
  183. <object-name>BacklightLOn</object-name>
  184. <object-name>BacklightROn</object-name>
  185. <object-name>Mesh</object-name>
  186. <object-name>Mesh.001</object-name>
  187. <object-name>WheelLB</object-name>
  188. <object-name>WheelLC</object-name>
  189. <object-name>WheelLF</object-name>
  190. <object-name>WheelRB</object-name>
  191. <object-name>WheelRC</object-name>
  192. <object-name>WheelRF</object-name>
  193. <object-name>haze</object-name>
  194. <condition>
  195. <greater-than>
  196. <property>sim/model/pushback/position-norm</property>
  197. <value>0.99</value>
  198. </greater-than>
  199. </condition>
  200. <property>gear/gear[0]/steering-norm</property>
  201. <factor>-35</factor>
  202. <center>
  203. <x-m>-4.37</x-m>
  204. <y-m>0.00</y-m>
  205. <z-m>0.00</z-m>
  206. </center>
  207. <axis>
  208. <x>0</x>
  209. <y>0</y>
  210. <z>1</z>
  211. </axis>
  212. </animation>
  213. <animation>
  214. <type>spin</type>
  215. <object-name>WheelLF</object-name>
  216. <object-name>WheelRF</object-name>
  217. <property>velocities/uBody-fps</property>
  218. <factor>-5.292</factor>
  219. <center>
  220. <x-m>-9.81971</x-m>
  221. <y-m>0</y-m>
  222. <z-m>0.546382</z-m>
  223. </center>
  224. <axis>
  225. <x>0</x>
  226. <y>1</y>
  227. <z>0</z>
  228. </axis>
  229. </animation>
  230. <animation>
  231. <type>spin</type>
  232. <object-name>WheelLC</object-name>
  233. <object-name>WheelRC</object-name>
  234. <property>velocities/uBody-fps</property>
  235. <factor>-5.292</factor>
  236. <center>
  237. <x-m>-6.41481</x-m>
  238. <y-m>0</y-m>
  239. <z-m>0.546382</z-m>
  240. </center>
  241. <axis>
  242. <x>0</x>
  243. <y>1</y>
  244. <z>0</z>
  245. </axis>
  246. </animation>
  247. <animation>
  248. <type>spin</type>
  249. <object-name>WheelLB</object-name>
  250. <object-name>WheelRB</object-name>
  251. <property>velocities/uBody-fps</property>
  252. <factor>-5.292</factor>
  253. <center>
  254. <x-m>-5.22756</x-m>
  255. <y-m>0</y-m>
  256. <z-m>0.546382</z-m>
  257. </center>
  258. <axis>
  259. <x>0</x>
  260. <y>1</y>
  261. <z>0</z>
  262. </axis>
  263. </animation>
  264. <animation>
  265. <type>spin</type>
  266. <object-name>TowbarWheelL</object-name>
  267. <object-name>TowbarWheelR</object-name>
  268. <property>velocities/uBody-fps</property>
  269. <factor>-16.17</factor>
  270. <center>
  271. <x-m>-1.85112</x-m>
  272. <y-m>0</y-m>
  273. <z-m>0.21265</z-m>
  274. </center>
  275. <axis>
  276. <x>0</x>
  277. <y>1</y>
  278. <z>0</z>
  279. </axis>
  280. </animation>
  281. <!-- change heading of the pushback when driving the arc -->
  282. <animation>
  283. <type>rotate</type>
  284. <property>sim/model/pushback/position-norm</property>
  285. <factor>-90</factor>
  286. <offset-deg>90</offset-deg>
  287. <center>
  288. <x-m>-7.3</x-m>
  289. <y-m>0</y-m>
  290. <z-m>0</z-m>
  291. </center>
  292. <axis>
  293. <x>0</x>
  294. <y>0</y>
  295. <z>1</z>
  296. </axis>
  297. </animation>
  298. <!-- compensate for gear compression --> <animation>
  299. <type>translate</type>
  300. <property>gear/gear[0]/compression-ft</property>
  301. <factor>0.3048</factor>
  302. <axis>
  303. <x>0</x>
  304. <y>0</y>
  305. <z>1</z>
  306. </axis>
  307. </animation>
  308. <!-- precalculated sin and asin to move the pushback on a 90deg arc, 25m radius -->
  309. <animation>
  310. <type>translate</type>
  311. <property>sim/model/pushback/position-norm</property>
  312. <interpolation>
  313. <entry><ind>1.000000</ind><dep>0.000000</dep></entry>
  314. <entry><ind>0.950000</ind><dep>1.961477</dep></entry>
  315. <entry><ind>0.900000</ind><dep>3.910862</dep></entry>
  316. <entry><ind>0.850000</ind><dep>5.836134</dep></entry>
  317. <entry><ind>0.800000</ind><dep>7.725425</dep></entry>
  318. <entry><ind>0.750000</ind><dep>9.567086</dep></entry>
  319. <entry><ind>0.700000</ind><dep>11.349763</dep></entry>
  320. <entry><ind>0.650000</ind><dep>13.062464</dep></entry>
  321. <entry><ind>0.600000</ind><dep>14.694631</dep></entry>
  322. <entry><ind>0.550000</ind><dep>16.236201</dep></entry>
  323. <entry><ind>0.500000</ind><dep>17.677670</dep></entry>
  324. <entry><ind>0.450000</ind><dep>19.010149</dep></entry>
  325. <entry><ind>0.400000</ind><dep>20.225425</dep></entry>
  326. <entry><ind>0.350000</ind><dep>21.316004</dep></entry>
  327. <entry><ind>0.300000</ind><dep>22.275163</dep></entry>
  328. <entry><ind>0.250000</ind><dep>23.096988</dep></entry>
  329. <entry><ind>0.200000</ind><dep>23.776413</dep></entry>
  330. <entry><ind>0.150000</ind><dep>24.309248</dep></entry>
  331. <entry><ind>0.100000</ind><dep>24.692209</dep></entry>
  332. <entry><ind>0.050000</ind><dep>24.922933</dep></entry>
  333. <entry><ind>0.000000</ind><dep>25.000000</dep></entry>
  334. </interpolation>
  335. <axis>
  336. <x>-1</x>
  337. <y>0</y>
  338. <z>0</z>
  339. </axis>
  340. </animation>
  341. <animation>
  342. <type>translate</type>
  343. <property>sim/model/pushback/position-norm</property>
  344. <interpolation>
  345. <entry><ind>1.000000</ind><dep>0.000000</dep></entry>
  346. <entry><ind>0.950000</ind><dep>0.077067</dep></entry>
  347. <entry><ind>0.900000</ind><dep>0.307791</dep></entry>
  348. <entry><ind>0.850000</ind><dep>0.690752</dep></entry>
  349. <entry><ind>0.800000</ind><dep>1.223587</dep></entry>
  350. <entry><ind>0.750000</ind><dep>1.903012</dep></entry>
  351. <entry><ind>0.700000</ind><dep>2.724837</dep></entry>
  352. <entry><ind>0.650000</ind><dep>3.683996</dep></entry>
  353. <entry><ind>0.600000</ind><dep>4.774575</dep></entry>
  354. <entry><ind>0.550000</ind><dep>5.989851</dep></entry>
  355. <entry><ind>0.500000</ind><dep>7.322330</dep></entry>
  356. <entry><ind>0.450000</ind><dep>8.763799</dep></entry>
  357. <entry><ind>0.400000</ind><dep>10.305369</dep></entry>
  358. <entry><ind>0.350000</ind><dep>11.937536</dep></entry>
  359. <entry><ind>0.300000</ind><dep>13.650238</dep></entry>
  360. <entry><ind>0.250000</ind><dep>15.432914</dep></entry>
  361. <entry><ind>0.200000</ind><dep>17.274575</dep></entry>
  362. <entry><ind>0.150000</ind><dep>19.163866</dep></entry>
  363. <entry><ind>0.100000</ind><dep>21.089138</dep></entry>
  364. <entry><ind>0.050000</ind><dep>23.038523</dep></entry>
  365. <entry><ind>0.000000</ind><dep>25.000000</dep></entry>
  366. </interpolation>
  367. <axis>
  368. <x>0</x>
  369. <y>-1</y>
  370. <z>0</z>
  371. </axis>
  372. </animation>
  373. <particlesystem>
  374. <type>normal</type>
  375. <name>haze</name>
  376. <texture>smoke.png</texture>
  377. <emissive>false</emissive>
  378. <lighting>true</lighting>
  379. <offsets>
  380. <x-m>-7.97326</x-m>
  381. <y-m>0.924717</y-m>
  382. <z-m>2.94923</z-m>
  383. </offsets>
  384. <attach>world</attach>
  385. <placer>
  386. <type>point</type>
  387. </placer>
  388. <shooter>
  389. <theta-min-deg>0</theta-min-deg>
  390. <theta-max-deg>0</theta-max-deg>
  391. <phi-min-deg>0</phi-min-deg>
  392. <phi-max-deg>0</phi-max-deg>
  393. <speed-mps>
  394. <property>/sim/model/pushback/force</property>
  395. <factor>0.005</factor>
  396. <offset-m>5</offset-m>
  397. <spread>0</spread>
  398. <min-m>1</min-m>
  399. <max-m>20</max-m>
  400. </speed-mps>
  401. <rotation-speed>
  402. <x-max-deg-sec>0</x-max-deg-sec>
  403. <x-min-deg-sec>0</x-min-deg-sec>
  404. <y-max-deg-sec>0</y-max-deg-sec>
  405. <y-min-deg-sec>0</y-min-deg-sec>
  406. <z-max-deg-sec>0</z-max-deg-sec>
  407. <z-min-deg-sec>0</z-min-deg-sec>
  408. </rotation-speed>
  409. </shooter>
  410. <counter>
  411. <particles-per-sec>
  412. <property>/sim/model/pushback/force</property>
  413. <factor>0.005</factor>
  414. <offset-m>5</offset-m>
  415. <spread>0</spread>
  416. <min-m>5</min-m>
  417. <max-m>20</max-m>
  418. </particles-per-sec>
  419. </counter>
  420. <align>billboard</align>
  421. <particle>
  422. <start>
  423. <color>
  424. <red>
  425. <value>1.0</value>
  426. </red>
  427. <green>
  428. <value>1.0</value>
  429. </green>
  430. <blue>
  431. <value>1.0</value>
  432. </blue>
  433. <alpha>
  434. <value>0.20</value>
  435. </alpha>
  436. </color>
  437. <size>
  438. <value>0.1</value>
  439. </size>
  440. </start>
  441. <end>
  442. <color>
  443. <red>
  444. <value>0.0</value>
  445. </red>
  446. <green>
  447. <value>0.0</value>
  448. </green>
  449. <blue>
  450. <value>0.0</value>
  451. </blue>
  452. <alpha>
  453. <value>1.000</value>
  454. </alpha>
  455. </color>
  456. <size>
  457. <value>3</value>
  458. </size>
  459. </end>
  460. <life-sec>
  461. <value>3.0</value>
  462. </life-sec>
  463. <mass-kg>0.05</mass-kg>
  464. <radius-m>0.3</radius-m>
  465. </particle>
  466. <program>
  467. <fluid>air</fluid>
  468. <gravity>true</gravity>
  469. <wind>true</wind>
  470. </program>
  471. </particlesystem>
  472. </PropertyList>