Gnat_T1.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>Gnat_T1_fuselage.ac</path>
  4. <nasal>
  5. <load>
  6. var livery_update = aircraft.livery_update.new("Aircraft/Gnat_T1/Models/liveries");
  7. var self = cmdarg();
  8. </load>
  9. <unload>
  10. livery_update.stop();
  11. </unload>
  12. </nasal>
  13. <!-- fuselage -->
  14. <animation>
  15. <type>material</type>
  16. <object-name>Gnat_fuselage_T1</object-name>
  17. <property-base>sim/model/livery</property-base>
  18. <texture-prop>texture-fuselage</texture-prop>
  19. <texture>Gnat_fuselage_T1.png</texture>
  20. </animation>
  21. <!-- wings -->
  22. <animation>
  23. <type>material</type>
  24. <object-name>wings</object-name>
  25. <property-base>sim/model/livery</property-base>
  26. <texture-prop>texture-wings</texture-prop>
  27. <texture>Gnat_fuselage_T1.png</texture>
  28. </animation>
  29. <!-- ==================================================================== Animations -->
  30. <animation><!-- canopy -->
  31. <type>rotate</type>
  32. <object-name>canopy</object-name>
  33. <object-name>canopyMetalCentral</object-name>
  34. <property>instrumentation/doors/crew/position-norm</property>
  35. <factor>40</factor><axis><object-name>rotationCanopy</object-name></axis>
  36. </animation>
  37. <animation>
  38. <type>rotate</type>
  39. <object-name>rudder</object-name>
  40. <property>surface-positions/rudder-pos-norm</property>
  41. <factor>30.0</factor><axis><object-name>rotateRudder</object-name></axis>
  42. </animation>
  43. <animation>
  44. <type>rotate</type>
  45. <object-name>aileronPort</object-name>
  46. <property>surface-positions/aileron-pos-norm</property>
  47. <factor>20</factor><axis><object-name>rotateAileronPort</object-name></axis>
  48. </animation>
  49. <animation>
  50. <type>rotate</type>
  51. <object-name>aileronStbd</object-name>
  52. <property>surface-positions/aileron-pos-norm</property>
  53. <factor>20</factor><axis><object-name>rotateAileronStbd</object-name></axis>
  54. </animation>
  55. <animation>
  56. <type>rotate</type>
  57. <object-name>hstab</object-name>
  58. <object-name>elevatorPORT</object-name>
  59. <object-name>elevatorSTBD</object-name>
  60. <property>surface-positions/elevator-pos-norm</property>
  61. <factor>-6</factor><axis><object-name>rotatePitch</object-name></axis>
  62. </animation>
  63. <!-- also need to incorporate rotateTrim ???-->
  64. <animation>
  65. <type>rotate</type>
  66. <object-name>hstab</object-name>
  67. <object-name>elevatorPORT</object-name>
  68. <object-name>elevatorSTBD</object-name>
  69. <property>surface-positions/elevator-pos-norm</property>
  70. <factor>-3</factor><axis><object-name>rotateTrim</object-name></axis>
  71. </animation>
  72. <animation>
  73. <type>rotate</type>
  74. <object-name>flaperonPORT</object-name>
  75. <property>surface-positions/flap-pos-norm</property>
  76. <factor>22.0</factor><axis><object-name>rotateFlaperonPORT</object-name></axis>
  77. </animation>
  78. <animation>
  79. <type>rotate</type>
  80. <object-name>flaperonSTBD</object-name>
  81. <property>surface-positions/flap-pos-norm</property>
  82. <factor>-22.0</factor><axis><object-name>rotateFlaperonSTBD</object-name></axis>
  83. </animation>
  84. <!-- Airbrakes are part of the landing gear -->
  85. <!-- ============================================================ landing gear FORWARD -->
  86. <animation>
  87. <type>rotate</type>
  88. <object-name>caliperFixedFwdGear</object-name>
  89. <object-name>caliper+wheelsFwdGear</object-name>
  90. <property>surface-positions/rudder-pos-norm</property>
  91. <factor>30.0</factor><axis><object-name>rotateCasterFwdGear</object-name></axis>
  92. </animation>
  93. <animation>
  94. <type>spin</type>
  95. <object-name>wheelsFwd</object-name>
  96. <property>gear/gear[0]/rollspeed-ms</property>
  97. <factor>-10.00</factor>
  98. <axis><object-name>rotateWheelsFwd</object-name></axis>
  99. </animation>
  100. <animation>
  101. <type>rotate</type>
  102. <object-name>caliper+wheelsFwdGear</object-name>
  103. <property>gear/gear/compression-norm</property><!-- for testing -->
  104. <factor>30</factor>
  105. <axis><object-name>rotateFwdGearClaw</object-name></axis>
  106. </animation>
  107. <animation>
  108. <type>translate</type>
  109. <object-name>pistonFwdGear</object-name>
  110. <property>gear/gear/compression-norm</property>
  111. <factor>-0.40</factor>
  112. <axis><object-name>compressFwdGearPiston</object-name></axis>
  113. </animation>
  114. <animation>
  115. <type>rotate</type>
  116. <object-name>crank57backLegFwdGear</object-name>
  117. <object-name>jackFwdGear</object-name>
  118. <property>gear/gear/position-norm</property>
  119. <interpolation>
  120. <entry><ind>0.00</ind><dep>-150</dep></entry>
  121. <entry><ind>0.02</ind><dep>-145</dep></entry>
  122. <entry><ind>0.50</ind> <dep>-60</dep></entry>
  123. <entry><ind>0.90</ind> <dep>0</dep></entry>
  124. <entry><ind>1.00</ind> <dep>-1</dep></entry>
  125. </interpolation>
  126. <axis><object-name>rotateRearLegFwdGear</object-name></axis>
  127. </animation>
  128. <animation>
  129. <type>rotate</type>
  130. <object-name>shockFwdGear</object-name>
  131. <object-name>bracketUpperFwdGear</object-name>
  132. <object-name>bracketLowerFwdGear</object-name>
  133. <object-name>yPieceFwdGear</object-name>
  134. <object-name>rotateCrankFwdGear</object-name>
  135. <object-name>caliper+wheelsFwdGear</object-name>
  136. <object-name>pistonFwdGear</object-name>
  137. <object-name>caliperFixedFwdGear</object-name>
  138. <property>gear/gear/position-norm</property>
  139. <interpolation>
  140. <entry><ind>0.00</ind><dep>106</dep></entry>
  141. <entry><ind>0.02</ind> <dep>95</dep></entry>
  142. <entry><ind>0.50</ind> <dep>53</dep></entry>
  143. <entry><ind>0.90</ind> <dep>0</dep></entry>
  144. <entry><ind>1.00</ind><dep>-10</dep></entry>
  145. </interpolation>
  146. <axis><object-name>retractGearFwd</object-name></axis>
  147. </animation>
  148. <!-- covers FwdGear-->
  149. <animation>
  150. <type>rotate</type>
  151. <object-name>coverFwdGearFrontINT</object-name>
  152. <object-name>coverFwdGearFrontEXT</object-name>
  153. <property>gear/gear/position-norm</property>
  154. <factor>-120.0</factor><axis><object-name>rotateFwdGearCoverFront</object-name></axis>
  155. </animation>
  156. <animation>
  157. <type>rotate</type>
  158. <object-name>coverFwdGearRearINT</object-name>
  159. <object-name>coverFwdGearRearEXT</object-name>
  160. <property>gear/gear/position-norm</property>
  161. <factor>-105.0</factor><axis><object-name>rotateFwdGearCoverRear</object-name></axis>
  162. </animation>
  163. <animation>
  164. <type>rotate</type>
  165. <object-name>coverFwdGearRearINT</object-name>
  166. <object-name>coverFwdGearRearEXT</object-name>
  167. <property>gear/gear/position-norm</property>
  168. <factor>-16.0</factor><axis><object-name>spinFwdGearCoverRear</object-name></axis>
  169. </animation>
  170. <!-- ============================================================== landing gear PORT -->
  171. <!-- covers PortGear-->
  172. <animation>
  173. <type>rotate</type>
  174. <object-name>coverPortGearFwdINT</object-name>
  175. <object-name>coverPortGearFwdEXT</object-name>
  176. <object-name>animationPortGearRear</object-name>
  177. <property>gear/gear[1]/position-norm</property>
  178. <factor>-115.0</factor>
  179. <axis><object-name>rotatePortGearCoverFwd</object-name></axis>
  180. </animation>
  181. <animation>
  182. <type>rotate</type>
  183. <object-name>coverPortGearMidINT</object-name>
  184. <object-name>coverPortGearMidEXT</object-name>
  185. <object-name>coverPortGearRearINT</object-name>
  186. <object-name>coverPortGearRearEXT</object-name>
  187. <property>gear/gear[1]/position-norm</property>
  188. <factor>-13.0</factor>
  189. <axis><object-name>rotatePortGearCoversRear</object-name></axis>
  190. </animation>
  191. <animation>
  192. <type>translate</type>
  193. <object-name>coverPortGearMidINT</object-name>
  194. <object-name>coverPortGearMidEXT</object-name>
  195. <object-name>coverPortGearRearINT</object-name>
  196. <object-name>coverPortGearRearEXT</object-name>
  197. <property>gear/gear[1]/position-norm</property>
  198. <factor>1.0</factor>
  199. <axis><object-name>translatePortGearCoversRear</object-name></axis>
  200. </animation>
  201. <!-- undercarriage PortGear-->
  202. <animation>
  203. <type>rotate</type>
  204. <object-name>shockPortGear</object-name>
  205. <object-name>bracketUpperPortGear</object-name>
  206. <object-name>bracketLowerPortGear</object-name>
  207. <object-name>yPiecePortGear</object-name>
  208. <object-name>spherePortGear</object-name>
  209. <object-name>caliperFixedPortGear</object-name>
  210. <object-name>caliperFixedPortGear</object-name>
  211. <object-name>bracketPortGear</object-name>
  212. <object-name>animationJackCrankPortGear</object-name>
  213. <object-name>animationCaliperPortGear</object-name>
  214. <object-name>compressPistonPortGear</object-name>
  215. <property>gear/gear[1]/position-norm</property>
  216. <interpolation>
  217. <entry><ind>0.00</ind><dep>110</dep></entry>
  218. <entry><ind>0.50</ind> <dep>55</dep></entry>
  219. <entry><ind>1.00</ind> <dep>0</dep></entry>
  220. </interpolation>
  221. <axis><object-name>retractPortGear</object-name></axis>
  222. </animation>
  223. <animation>
  224. <type>rotate</type>
  225. <object-name>jackPortGear</object-name>
  226. <object-name>crankPortGear</object-name>
  227. <property>gear/gear[1]/position-norm</property>
  228. <interpolation>
  229. <entry><ind>0.00</ind><dep>-145</dep></entry>
  230. <entry><ind>0.016</ind><dep>-140</dep></entry>
  231. <entry><ind>0.125</ind><dep>-130</dep></entry>
  232. <entry><ind>0.25</ind><dep>-114</dep></entry>
  233. <entry><ind>0.50</ind> <dep>-77</dep></entry>
  234. <entry><ind>1.00</ind> <dep>0</dep></entry>
  235. </interpolation>
  236. <axis><object-name>rotateJackCrankPortGear</object-name></axis>
  237. </animation>
  238. <animation>
  239. <type>rotate</type>
  240. <object-name>wheelPortGear</object-name>
  241. <property>gear/gear[1]/position-norm</property>
  242. <interpolation>
  243. <entry><ind>0.00</ind><dep>0</dep></entry>
  244. <entry><ind>0.25</ind><dep>20</dep></entry>
  245. <entry><ind>0.50</ind> <dep>10</dep></entry>
  246. <entry><ind>1.00</ind> <dep>0</dep></entry>
  247. </interpolation>
  248. <axis><object-name>fiddlePortGear</object-name></axis>
  249. </animation>
  250. <animation>
  251. <type>rotate</type>
  252. <object-name>caliperMovingPortGear</object-name>
  253. <object-name>wheelPortGear</object-name>
  254. <property>gear/gear[1]/compression-norm</property>
  255. <factor>20</factor>
  256. <axis><object-name>rotateCaliperPortGear</object-name></axis>
  257. </animation>
  258. <animation>
  259. <type>translate</type>
  260. <object-name>boltPortGear</object-name>
  261. <object-name>pistonPortGear</object-name>
  262. <property>gear/gear[1]/compression-norm</property>
  263. <factor>-0.60</factor>
  264. <axis><object-name>translatePistonPortGear</object-name></axis>
  265. </animation>
  266. <animation>
  267. <type>spin</type>
  268. <object-name>wheelPortGear</object-name>
  269. <property>gear/gear[1]/rollspeed-ms</property>
  270. <factor>-10.00</factor>
  271. <axis><object-name>rotateTyrePortGear</object-name></axis>
  272. </animation>
  273. <!-- =============================================================== landing gear STBD -->
  274. <!-- covers StbdGear-->
  275. <animation>
  276. <type>rotate</type>
  277. <object-name>coverStbdGearFwdINT</object-name>
  278. <object-name>coverStbdGearFwdEXT</object-name>
  279. <object-name>animationStbdGearRear</object-name>
  280. <property>gear/gear[2]/position-norm</property>
  281. <factor>-115.0</factor>
  282. <axis><object-name>rotateStbdGearCoverFwd</object-name></axis>
  283. </animation>
  284. <animation>
  285. <type>rotate</type>
  286. <object-name>coverStbdGearMidINT</object-name>
  287. <object-name>coverStbdGearMidEXT</object-name>
  288. <object-name>coverStbdGearRearINT</object-name>
  289. <object-name>coverStbdGearRearEXT</object-name>
  290. <property>gear/gear[2]/position-norm</property>
  291. <factor>-13.0</factor>
  292. <axis><object-name>rotateStbdGearCoversRear</object-name></axis>
  293. </animation>
  294. <animation>
  295. <type>translate</type>
  296. <object-name>coverStbdGearMidINT</object-name>
  297. <object-name>coverStbdGearMidEXT</object-name>
  298. <object-name>coverStbdGearRearINT</object-name>
  299. <object-name>coverStbdGearRearEXT</object-name>
  300. <property>gear/gear[2]/position-norm</property>
  301. <factor>1.0</factor>
  302. <axis><object-name>translateStbdGearCoversRear</object-name></axis>
  303. </animation>
  304. <!-- undercarriage StbdGear-->
  305. <animation>
  306. <type>rotate</type>
  307. <object-name>shockStbdGear</object-name>
  308. <object-name>bracketUpperStbdGear</object-name>
  309. <object-name>bracketLowerStbdGear</object-name>
  310. <object-name>yPieceStbdGear</object-name>
  311. <object-name>sphereStbdGear</object-name>
  312. <object-name>caliperFixedStbdGear</object-name>
  313. <object-name>caliperFixedStbdGear</object-name>
  314. <object-name>bracketStbdGear</object-name>
  315. <object-name>animationJackCrankStbdGear</object-name>
  316. <object-name>animationCaliperStbdGear</object-name>
  317. <object-name>compressPistonStbdGear</object-name>
  318. <property>gear/gear[2]/position-norm</property>
  319. <interpolation>
  320. <entry><ind>0.00</ind><dep>110</dep></entry>
  321. <entry><ind>0.50</ind> <dep>55</dep></entry>
  322. <entry><ind>1.00</ind> <dep>0</dep></entry>
  323. </interpolation>
  324. <axis><object-name>retractStbdGear</object-name></axis>
  325. </animation>
  326. <animation>
  327. <type>rotate</type>
  328. <object-name>jackStbdGear</object-name>
  329. <object-name>crankStbdGear</object-name>
  330. <property>gear/gear[2]/position-norm</property>
  331. <interpolation>
  332. <entry><ind>0.00</ind><dep>-145</dep></entry>
  333. <entry><ind>0.016</ind><dep>-140</dep></entry>
  334. <entry><ind>0.125</ind><dep>-130</dep></entry>
  335. <entry><ind>0.25</ind><dep>-114</dep></entry>
  336. <entry><ind>0.50</ind> <dep>-77</dep></entry>
  337. <entry><ind>1.00</ind> <dep>0</dep></entry>
  338. </interpolation>
  339. <axis><object-name>rotateJackCrankStbdGear</object-name></axis>
  340. </animation>
  341. <animation>
  342. <type>rotate</type>
  343. <object-name>wheelStbdGear</object-name>
  344. <property>gear/gear[2]/position-norm</property>
  345. <interpolation>
  346. <entry><ind>0.00</ind><dep>0</dep></entry>
  347. <entry><ind>0.25</ind><dep>-20</dep></entry>
  348. <entry><ind>0.50</ind> <dep>-10</dep></entry>
  349. <entry><ind>1.00</ind> <dep>0</dep></entry>
  350. </interpolation>
  351. <axis><object-name>fiddleStbdGear</object-name></axis>
  352. </animation>
  353. <animation>
  354. <type>rotate</type>
  355. <object-name>caliperMovingStbdGear</object-name>
  356. <object-name>wheelStbdGear</object-name>
  357. <property>gear/gear[2]/compression-norm</property>
  358. <factor>20</factor>
  359. <axis><object-name>rotateCaliperStbdGear</object-name></axis>
  360. </animation>
  361. <animation>
  362. <type>translate</type>
  363. <object-name>boltStbdGear</object-name>
  364. <object-name>pistonStbdGear</object-name>
  365. <property>gear/gear[2]/compression-norm</property>
  366. <factor>-0.60</factor>
  367. <axis><object-name>translatePistonStbdGear</object-name></axis>
  368. </animation>
  369. <animation>
  370. <type>spin</type>
  371. <object-name>wheelStbdGear</object-name>
  372. <property>gear/gear[2]/rollspeed-ms</property>
  373. <factor>-10.00</factor>
  374. <axis><object-name>rotateTyreStbdGear</object-name></axis>
  375. </animation>
  376. <!-- cockpit -->
  377. <model>
  378. <path>Aircraft/Gnat_T1/Models/Interior/Gnat_cockpit_INN.xml</path>
  379. </model>
  380. <!-- cockpit instrument glass-->
  381. <model>
  382. <path>Aircraft/Gnat_T1/Models/Gnat_T1_instrumentGlass</path>
  383. </model>
  384. <!-- pilots -->
  385. <model>
  386. <name>pilot1</name>
  387. <path>Aircraft/Gnat_T1/Models/GnatPilot.ac</path>
  388. <offsets>
  389. <x-m>-0.3</x-m>
  390. <y-m>0.00</y-m>
  391. <z-m>-0.04</z-m>
  392. </offsets>
  393. </model>
  394. <model>
  395. <name>pilot2</name>
  396. <path>Aircraft/Gnat_T1/Models/GnatPilot.ac</path>
  397. <offsets>
  398. <x-m>0.9</x-m>
  399. <y-m>0.0</y-m>
  400. <z-m>0.12</z-m>
  401. </offsets>
  402. </model>
  403. <!-- seats -->
  404. <model>
  405. <path>Aircraft/Gnat_T1/Models/GnatSeat.ac</path>
  406. <offsets>
  407. <x-m>-0.3</x-m>
  408. <y-m>0.0</y-m>
  409. <z-m>-0.04</z-m>
  410. </offsets>
  411. </model>
  412. <model>
  413. <path>Aircraft/Gnat_T1/Models/GnatSeat.ac</path>
  414. <offsets>
  415. <x-m>0.9</x-m>
  416. <y-m>0</y-m>
  417. <z-m>0.12</z-m>
  418. </offsets>
  419. </model>
  420. <!-- hide the pilots on internal view -->
  421. <animation>
  422. <type>select</type>
  423. <object-name>pilot1</object-name>
  424. <object-name>pilot2</object-name>
  425. <condition>
  426. <not>
  427. <property>sim/current-view/internal</property>
  428. </not>
  429. </condition>
  430. </animation>
  431. <!-- Display Smoke -->
  432. <model>
  433. <path>Aircraft/Gnat_T1/Models/Effects/Smoke/smokeB.xml</path>
  434. <condition>
  435. <not>
  436. <property>sim/crashed</property>
  437. </not>
  438. </condition>
  439. <offsets>
  440. <x-m>9.1</x-m>
  441. <y-m>0</y-m>
  442. <z-m>0.2</z-m>
  443. </offsets>
  444. </model>
  445. <model>
  446. <path>Aircraft/Gnat_T1/Models/Effects/Smoke/smokeW.xml</path>
  447. <condition>
  448. <not>
  449. <property>sim/crashed</property>
  450. </not>
  451. </condition>
  452. <offsets>
  453. <x-m>9.1</x-m>
  454. <y-m>0</y-m>
  455. <z-m>0.2</z-m>
  456. </offsets>
  457. </model>
  458. <model>
  459. <path>Aircraft/Gnat_T1/Models/Effects/Smoke/smokeR.xml</path>
  460. <condition>
  461. <not>
  462. <property>sim/crashed</property>
  463. </not>
  464. </condition>
  465. <offsets>
  466. <x-m>9.1</x-m>
  467. <y-m>0</y-m>
  468. <z-m>0.2</z-m>
  469. </offsets>
  470. </model>
  471. </PropertyList>