ec130-base.xml 59 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940
  1. <?xml version="1.0"?>
  2. <!--
  3. ************************************************************************
  4. EC 130 simulation config.
  5. ************************************************************************
  6. This file is part of FlightGear, the free flight simulator
  7. http://www.flightgear.org/
  8. Copyright (C) 2009 Heiko Schulz, Heiko.H.Schulz@gmx.net
  9. (C) 2016 Michael Habarta, mhabarta@freenet.de
  10. This program is free software; you can redistribute it and/or
  11. modify it under the terms of the GNU General Public License as
  12. published by the Free Software Foundation; either version 2 of the
  13. License, or (at your option) any later version.
  14. This program is distributed in the hope that it will be useful, but
  15. WITHOUT ANY WARRANTY; without even the implied warranty of
  16. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. General Public License for more details.
  18. -->
  19. <PropertyList>
  20. <sim>
  21. <description>Eurocopter EC130</description>
  22. <author>Heiko Schulz, Melchior Franz (Nasal), Michael Habarta (Model-Details, Animations, Liveries)</author>
  23. <fuel-fraction type="double">0.6</fuel-fraction>
  24. <sound>
  25. <path>Aircraft/ec130/Sounds/sound.xml</path>
  26. <enabled>false</enabled>
  27. </sound>
  28. <airport>
  29. <runways>
  30. <start-offset-m>-0.95</start-offset-m>
  31. </runways>
  32. </airport>
  33. <model>
  34. <ec130>
  35. <headsetholder>
  36. <position-deg type="float">90.0</position-deg>
  37. </headsetholder>
  38. <torque-pct>0</torque-pct>
  39. <model-info>no detailed info available</model-info>
  40. <!-- global options for all models/liveries -->
  41. <state type="int">0</state>
  42. <rotor-step-deg type="float">-1.0</rotor-step-deg>
  43. <!-- screen visibility 0: clear, 1: visible, 2: shaded -->
  44. <cockpit-windscreen-option type="float">1</cockpit-windscreen-option>
  45. <shadow type="bool">true</shadow>
  46. <!-- model/livery specific options -->
  47. <!-- 0: only right, 1: only left, 2: left and right -->
  48. <antenna_left type="int">0</antenna_left>
  49. <antenna_tail_front type="bool">false</antenna_tail_front>
  50. <vor_2_roof type="bool">false</vor_2_roof>
  51. <adf_bottom type="bool">false</adf_bottom>
  52. <adf_roof type="bool">false</adf_roof>
  53. <VUHF type="bool">false</VUHF>
  54. <VUHF_front type="bool">false</VUHF_front>
  55. <antenna_flat_tail type="bool">false</antenna_flat_tail>
  56. <!-- 0: off, 1: front, 2: rear -->
  57. <antenna_square_tail type="int">0</antenna_square_tail>
  58. <DME type="bool">false</DME>
  59. <DME_small type="bool">false</DME_small>
  60. <copilot_controls type="bool">true</copilot_controls>
  61. <!-- 4: rescue configuration, 5/6: number of seats -->
  62. <interior_passengers type="float">5</interior_passengers>
  63. <show_gsdi type="bool">false</show_gsdi>
  64. <wirecutter type="bool">false</wirecutter>
  65. <mirror type="bool">false</mirror>
  66. <FLIR type="bool">false</FLIR>
  67. <emerg_floats type="bool">false</emerg_floats>
  68. <basket_left type="bool">false</basket_left>
  69. <basket_right type="bool">false</basket_right>
  70. <searchlight_a800 type="bool">false</searchlight_a800>
  71. <searchlight type="bool">false</searchlight>
  72. <searchlight_filter type="bool">false</searchlight_filter>
  73. <snowshoes type="bool">false</snowshoes>
  74. <hoist type="bool">false</hoist>
  75. <stabi_strobe type="bool">false</stabi_strobe>
  76. <gear_strobe type="bool">false</gear_strobe>
  77. <gear_light type="bool">false</gear_light>
  78. <luggage_wide type="bool">false</luggage_wide>
  79. </ec130>
  80. <!-- searchlight default settings -->
  81. <searchlight>
  82. <!-- range of lightcone 1: small, 2: medium, 3: large, 4: xlarge -->
  83. <state-default type="float">3.0</state-default>
  84. <!-- color 1: white, 2: amber, 3: red, 4: IR filter -->
  85. <filter-state-default type="int">1</filter-state-default>
  86. <!-- intensity of light-cone 0: off, 1: low, 2: medium, 3: high -->
  87. <cone-visibility-default type="float">1.0</cone-visibility-default>
  88. <!-- slew rate fraction: 1: fast, 2: medium, 3:slow -->
  89. <slew-rate-frac-default type="int">1</slew-rate-frac-default>
  90. <!-- initial orientation relative to model -->
  91. <sx16>
  92. <!-- heading + left, - right -->
  93. <heading-default-deg type="float">0.0</heading-default-deg>
  94. <heading-min-deg type="float">-90.0</heading-min-deg>
  95. <heading-max-deg type="float">30.0</heading-max-deg>
  96. <!-- elevation + up, - down -->
  97. <elevation-default-deg type="float">2.0</elevation-default-deg>
  98. <elevation-min-deg type="float">-50.0</elevation-min-deg>
  99. <elevation-max-deg type="float">3.0</elevation-max-deg>
  100. <slew-rate-deg>18.0</slew-rate-deg>
  101. </sx16>
  102. <a800>
  103. <!-- heading + left, - right -->
  104. <heading-default-deg type="float">0.0</heading-default-deg>
  105. <heading-min-deg type="float">120.0</heading-min-deg>
  106. <heading-max-deg type="float">360.0</heading-max-deg>
  107. <!-- elevation + up, - down -->
  108. <elevation-default-deg type="float">0.0</elevation-default-deg>
  109. <elevation-min-deg type="float">-90.0</elevation-min-deg>
  110. <elevation-max-deg type="float">35.0</elevation-max-deg>
  111. <slew-rate-deg>60.0</slew-rate-deg>
  112. </a800>
  113. </searchlight>
  114. </model>
  115. <fire>
  116. <enabled type="bool">false</enabled>
  117. <part-per-sec type="int">0</part-per-sec>
  118. <life-sec type="float">0</life-sec>
  119. </fire>
  120. <smoke>
  121. <enabled type="bool">false</enabled>
  122. <part-per-sec type="int">0</part-per-sec>
  123. <life-sec type="float">0</life-sec>
  124. </smoke>
  125. <rendering>
  126. <refl_correction type="string">-0.2</refl_correction>
  127. <refl-type type="string">1</refl-type>
  128. <fresnel-factor type="string">0.5</fresnel-factor>
  129. </rendering>
  130. <systems>
  131. <path>Aircraft/ec130/Systems/systems.xml</path>
  132. <autopilot>
  133. <path>Aircraft/ec130/Systems/130-autopilot.xml</path>
  134. </autopilot>
  135. <autopilot n="101">
  136. <name>ec130 instruments filter</name>
  137. <path>Aircraft/ec130/Models/Instruments/filter.xml</path>
  138. </autopilot>
  139. <autopilot n="102">
  140. <path>Aircraft/ec130/Systems/glass-rain.xml</path>
  141. </autopilot>
  142. <autopilot n="103">
  143. <path>Aircraft/ec130/Systems/sound-rules.xml</path>
  144. </autopilot>
  145. <electrical>
  146. <path/>
  147. </electrical>
  148. <property-rule n="100">
  149. <name>VEMD</name>
  150. <path>Aircraft/ec130/Systems/VEMD.xml</path>
  151. </property-rule>
  152. </systems>
  153. <instrumentation>
  154. <path>Aircraft/ec130/Systems/instruments.xml</path>
  155. </instrumentation>
  156. <!--view-->
  157. <chase-distance-m type="double" archive="y">-15.0</chase-distance-m>
  158. <view-autozoom-percent-default type="double" userarchive="y">25</view-autozoom-percent-default>
  159. <view n="0">
  160. <name>Cockpit View</name>
  161. <internal type="bool">true</internal>
  162. <config>
  163. <x-offset-m archive="y"> -0.67 </x-offset-m>
  164. <!--right-->
  165. <y-offset-m archive="y"> 0.03 </y-offset-m>
  166. <!--up -->
  167. <z-offset-m archive="y"> -3.95 </z-offset-m>
  168. <!--back -->
  169. <pitch-offset-deg>-15</pitch-offset-deg>
  170. <default-field-of-view-deg type="double">85</default-field-of-view-deg>
  171. <dynamic-view type="bool">true</dynamic-view>
  172. </config>
  173. </view>
  174. <view n="101">
  175. <name>Co-Pilot View</name>
  176. <internal type="bool">true</internal>
  177. <type>lookfrom</type>
  178. <config>
  179. <from-model type="bool">true</from-model>
  180. <from-model-idx type="int">0</from-model-idx>
  181. <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
  182. <x-offset-m archive="y"> -0.01 </x-offset-m>
  183. <!--right-->
  184. <y-offset-m archive="y"> 0.03 </y-offset-m>
  185. <!--up -->
  186. <z-offset-m archive="y"> -3.96 </z-offset-m>
  187. <!--back -->
  188. <pitch-offset-deg>-15</pitch-offset-deg>
  189. <heading-offset-deg>0</heading-offset-deg>
  190. <default-field-of-view-deg type="double">85</default-field-of-view-deg>
  191. <dynamic-view type="bool">true</dynamic-view>
  192. <limits>
  193. <enabled type="bool">true</enabled>
  194. <left>
  195. <heading-max-deg type="double">140</heading-max-deg>
  196. <x-offset-max-m type="double">0.15</x-offset-max-m>
  197. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  198. </left>
  199. <right>
  200. <heading-max-deg type="double">140</heading-max-deg>
  201. <x-offset-max-m type="double">0.15</x-offset-max-m>
  202. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  203. </right>
  204. </limits>
  205. </config>
  206. <enabled type="bool">true</enabled>
  207. </view>
  208. <view n="102">
  209. <name>Front Left Seat View</name>
  210. <internal type="bool">true</internal>
  211. <type>lookfrom</type>
  212. <config>
  213. <from-model type="bool">true</from-model>
  214. <from-model-idx type="int">0</from-model-idx>
  215. <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
  216. <x-offset-m archive="y"> 0.35 </x-offset-m>
  217. <!--right-->
  218. <y-offset-m archive="y"> 0.05 </y-offset-m>
  219. <!--up -->
  220. <z-offset-m archive="y"> -4.10 </z-offset-m>
  221. <!--back -->
  222. <pitch-offset-deg>-15</pitch-offset-deg>
  223. <heading-offset-deg>0</heading-offset-deg>
  224. <default-field-of-view-deg type="double">75</default-field-of-view-deg>
  225. <dynamic-view type="bool">true</dynamic-view>
  226. <limits>
  227. <enabled type="bool">true</enabled>
  228. <left>
  229. <heading-max-deg type="double">140</heading-max-deg>
  230. <x-offset-max-m type="double">0.15</x-offset-max-m>
  231. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  232. </left>
  233. <right>
  234. <heading-max-deg type="double">140</heading-max-deg>
  235. <x-offset-max-m type="double">0.15</x-offset-max-m>
  236. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  237. </right>
  238. </limits>
  239. </config>
  240. <enabled type="bool">true</enabled>
  241. </view>
  242. <view n="103">
  243. <name>Front Right Seat View</name>
  244. <internal type="bool">true</internal>
  245. <type>lookfrom</type>
  246. <config>
  247. <from-model type="bool">true</from-model>
  248. <from-model-idx type="int">0</from-model-idx>
  249. <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
  250. <!-- Attention: view position is handled in special view handler -->
  251. <!-- Limits MUST NOT be defined here and are handled in the view handler ! -->
  252. <x-offset-m archive="y"> 0.73 </x-offset-m>
  253. <!--right-->
  254. <y-offset-m archive="y"> 0.05 </y-offset-m>
  255. <!--up -->
  256. <z-offset-m archive="y"> -3.93 </z-offset-m>
  257. <!--back -->
  258. <pitch-offset-deg>-15</pitch-offset-deg>
  259. <heading-offset-deg>0</heading-offset-deg>
  260. <default-field-of-view-deg type="double">75</default-field-of-view-deg>
  261. <dynamic-view type="bool">true</dynamic-view>
  262. </config>
  263. <enabled type="bool">true</enabled>
  264. </view>
  265. <view n="104">
  266. <name>Rear Left Seat View</name>
  267. <internal type="bool">true</internal>
  268. <type>lookfrom</type>
  269. <config>
  270. <from-model type="bool">true</from-model>
  271. <from-model-idx type="int">0</from-model-idx>
  272. <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
  273. <x-offset-m archive="y"> -0.70 </x-offset-m>
  274. <!--right-->
  275. <y-offset-m archive="y"> 0.12 </y-offset-m>
  276. <!--up -->
  277. <z-offset-m archive="y"> -2.98 </z-offset-m>
  278. <!--back -->
  279. <pitch-offset-deg>-15</pitch-offset-deg>
  280. <heading-offset-deg>0</heading-offset-deg>
  281. <default-field-of-view-deg type="double">75</default-field-of-view-deg>
  282. <dynamic-view type="bool">true</dynamic-view>
  283. <limits>
  284. <enabled type="bool">true</enabled>
  285. <left>
  286. <heading-max-deg type="double">140</heading-max-deg>
  287. <x-offset-max-m type="double">0.15</x-offset-max-m>
  288. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  289. </left>
  290. <right>
  291. <heading-max-deg type="double">140</heading-max-deg>
  292. <x-offset-max-m type="double">0.15</x-offset-max-m>
  293. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  294. </right>
  295. </limits>
  296. </config>
  297. <enabled type="bool">true</enabled>
  298. </view>
  299. <view n="105">
  300. <name>Rear Mid Left Seat View</name>
  301. <internal type="bool">true</internal>
  302. <type>lookfrom</type>
  303. <config>
  304. <from-model type="bool">true</from-model>
  305. <from-model-idx type="int">0</from-model-idx>
  306. <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
  307. <x-offset-m archive="y"> -0.23 </x-offset-m>
  308. <!--right-->
  309. <y-offset-m archive="y"> 0.12 </y-offset-m>
  310. <!--up -->
  311. <z-offset-m archive="y"> -2.98 </z-offset-m>
  312. <!--back -->
  313. <pitch-offset-deg>-15</pitch-offset-deg>
  314. <heading-offset-deg>0</heading-offset-deg>
  315. <default-field-of-view-deg type="double">75</default-field-of-view-deg>
  316. <dynamic-view type="bool">true</dynamic-view>
  317. <limits>
  318. <enabled type="bool">true</enabled>
  319. <left>
  320. <heading-max-deg type="double">140</heading-max-deg>
  321. <x-offset-max-m type="double">0.15</x-offset-max-m>
  322. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  323. </left>
  324. <right>
  325. <heading-max-deg type="double">140</heading-max-deg>
  326. <x-offset-max-m type="double">0.15</x-offset-max-m>
  327. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  328. </right>
  329. </limits>
  330. </config>
  331. <enabled type="bool">true</enabled>
  332. </view>
  333. <view n="106">
  334. <name>Rear Mid Right Seat View</name>
  335. <internal type="bool">true</internal>
  336. <type>lookfrom</type>
  337. <config>
  338. <from-model type="bool">true</from-model>
  339. <from-model-idx type="int">0</from-model-idx>
  340. <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
  341. <x-offset-m archive="y"> 0.25 </x-offset-m>
  342. <!--right-->
  343. <y-offset-m archive="y"> 0.11 </y-offset-m>
  344. <!--up -->
  345. <z-offset-m archive="y"> -2.98 </z-offset-m>
  346. <!--back -->
  347. <pitch-offset-deg>-15</pitch-offset-deg>
  348. <heading-offset-deg>0</heading-offset-deg>
  349. <default-field-of-view-deg type="double">75</default-field-of-view-deg>
  350. <dynamic-view type="bool">true</dynamic-view>
  351. <limits>
  352. <enabled type="bool">true</enabled>
  353. <left>
  354. <heading-max-deg type="double">140</heading-max-deg>
  355. <x-offset-max-m type="double">0.15</x-offset-max-m>
  356. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  357. </left>
  358. <right>
  359. <heading-max-deg type="double">140</heading-max-deg>
  360. <x-offset-max-m type="double">0.15</x-offset-max-m>
  361. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  362. </right>
  363. </limits>
  364. </config>
  365. <enabled type="bool">true</enabled>
  366. </view>
  367. <view n="107">
  368. <name>Patient View</name>
  369. <internal type="bool">true</internal>
  370. <type>lookfrom</type>
  371. <config>
  372. <from-model type="bool">true</from-model>
  373. <from-model-idx type="int">0</from-model-idx>
  374. <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
  375. <!-- Attention: view position is handled in special view handler -->
  376. <!-- Limits are handled there too and MUST NOT be defined here ! -->
  377. <x-offset-m archive="y"> 0.53 </x-offset-m>
  378. <!--right-->
  379. <y-offset-m archive="y"> 0.11 </y-offset-m>
  380. <!--up -->
  381. <z-offset-m archive="y"> -2.98 </z-offset-m>
  382. <!--back -->
  383. <pitch-offset-deg>-15</pitch-offset-deg>
  384. <heading-offset-deg>0</heading-offset-deg>
  385. <default-field-of-view-deg type="double">75</default-field-of-view-deg>
  386. <dynamic-view type="bool">true</dynamic-view>
  387. </config>
  388. <enabled type="bool">true</enabled>
  389. </view>
  390. <view n="108">
  391. <name>Rear Right Seat View</name>
  392. <internal type="bool">true</internal>
  393. <type>lookfrom</type>
  394. <config>
  395. <from-model type="bool">true</from-model>
  396. <from-model-idx type="int">0</from-model-idx>
  397. <ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
  398. <x-offset-m archive="y"> 0.70 </x-offset-m>
  399. <!--right-->
  400. <y-offset-m archive="y"> 0.15 </y-offset-m>
  401. <!--up -->
  402. <z-offset-m archive="y"> -2.98 </z-offset-m>
  403. <!--back -->
  404. <pitch-offset-deg>-15</pitch-offset-deg>
  405. <heading-offset-deg>0</heading-offset-deg>
  406. <default-field-of-view-deg type="double">75</default-field-of-view-deg>
  407. <dynamic-view type="bool">true</dynamic-view>
  408. <limits>
  409. <enabled type="bool">true</enabled>
  410. <left>
  411. <heading-max-deg type="double">140</heading-max-deg>
  412. <x-offset-max-m type="double">0.15</x-offset-max-m>
  413. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  414. </left>
  415. <right>
  416. <heading-max-deg type="double">140</heading-max-deg>
  417. <x-offset-max-m type="double">0.15</x-offset-max-m>
  418. <x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
  419. </right>
  420. </limits>
  421. </config>
  422. <enabled type="bool">true</enabled>
  423. </view>
  424. <view n="109">
  425. <name>Tail Camera View</name>
  426. <type>lookfrom</type>
  427. <internal type="bool">false</internal>
  428. <config>
  429. <from-model type="bool">true</from-model>
  430. <from-model-idx type="int">0</from-model-idx>
  431. <ground-level-nearplane-m type="double">0.01f</ground-level-nearplane-m>
  432. <default-field-of-view-deg type="double">50</default-field-of-view-deg>
  433. <pitch-offset-deg>0</pitch-offset-deg>
  434. <x-offset-m archive="y"> 0.000 </x-offset-m>
  435. <!--Right-->
  436. <y-offset-m archive="y">-1.150 </y-offset-m>
  437. <!--Up -->
  438. <z-offset-m archive="y"> 3.000 </z-offset-m>
  439. <!--Back -->
  440. </config>
  441. <enabled type="bool">true</enabled>
  442. </view>
  443. <view n="110">
  444. <name>Rotor Camera View</name>
  445. <type>lookat</type>
  446. <internal type="bool">false</internal>
  447. <config>
  448. <from-model type="bool">true</from-model>
  449. <from-model-idx type="int">0</from-model-idx>
  450. <at-model type="bool">true</at-model>
  451. <at-model-idx type="int">0</at-model-idx>
  452. <target-y-offset-m type="double"> 1.5</target-y-offset-m>
  453. <target-z-offset-m type="double">-2.0</target-z-offset-m>
  454. <default-field-of-view-deg type="double">50</default-field-of-view-deg>
  455. <pitch-offset-deg>0</pitch-offset-deg>
  456. <x-offset-m archive="y"> 0.000 </x-offset-m>
  457. <!--Right-->
  458. <y-offset-m archive="y"> 0.000 </y-offset-m>
  459. <!--Up -->
  460. <z-offset-m archive="y">-3.000 </z-offset-m>
  461. <!--Back -->
  462. </config>
  463. <enabled type="bool">true</enabled>
  464. </view>
  465. <view n="111">
  466. <name>Searchlight Watch View</name>
  467. <type>lookfrom</type>
  468. <internal type="bool">false</internal>
  469. <config>
  470. <from-model type="bool">true</from-model>
  471. <from-model-idx type="int">0</from-model-idx>
  472. <ground-level-nearplane-m type="double">0.01f</ground-level-nearplane-m>
  473. <default-field-of-view-deg type="double">45</default-field-of-view-deg>
  474. <pitch-offset-deg>-20</pitch-offset-deg>
  475. <x-offset-m archive="y">-1.100 </x-offset-m>
  476. <!--Right-->
  477. <y-offset-m archive="y">-0.600 </y-offset-m>
  478. <!--Up -->
  479. <z-offset-m archive="y">-3.500 </z-offset-m>
  480. <!--Back -->
  481. </config>
  482. <enabled type="bool">true</enabled>
  483. <enabled_flag type="bool">true</enabled_flag>
  484. </view>
  485. <view n="112">
  486. <name>Searchlight Follow View</name>
  487. <type>lookfrom</type>
  488. <internal type="bool">false</internal>
  489. <config>
  490. <from-model type="bool">true</from-model>
  491. <from-model-idx type="int">0</from-model-idx>
  492. <ground-level-nearplane-m type="double">0.01f</ground-level-nearplane-m>
  493. <default-field-of-view-deg type="double">20</default-field-of-view-deg>
  494. <x-offset-m archive="y"> -1.200 </x-offset-m>
  495. <!--Right-->
  496. <y-offset-m archive="y"> -1.220 </y-offset-m>
  497. <!--Up -->
  498. <z-offset-m archive="y"> -4.940 </z-offset-m>
  499. <!--Back -->
  500. </config>
  501. <enabled type="bool">true</enabled>
  502. <enabled_flag type="bool">true</enabled_flag>
  503. </view>
  504. <weight n="0">
  505. <name>Pilot</name>
  506. <weight-lb type="double">180</weight-lb>
  507. <min-lb>30</min-lb>
  508. <max-lb>330</max-lb>
  509. </weight>
  510. <weight n="1">
  511. <name>Co-Pilot</name>
  512. <weight-lb type="double">30</weight-lb>
  513. <min-lb>30</min-lb>
  514. <max-lb>330</max-lb>
  515. </weight>
  516. <weight n="2">
  517. <name>Front Left</name>
  518. <weight-lb type="double">0</weight-lb>
  519. <min-lb>0</min-lb>
  520. <max-lb>330</max-lb>
  521. </weight>
  522. <weight n="3">
  523. <name>Front Right</name>
  524. <weight-lb type="double">180</weight-lb>
  525. <min-lb>30</min-lb>
  526. <max-lb>330</max-lb>
  527. </weight>
  528. <weight n="4">
  529. <name>Rear Left</name>
  530. <weight-lb type="double">190</weight-lb>
  531. <min-lb>30</min-lb>
  532. <max-lb>330</max-lb>
  533. </weight>
  534. <weight n="5">
  535. <name>Rear Mid Left</name>
  536. <weight-lb type="double">30</weight-lb>
  537. <min-lb>30</min-lb>
  538. <max-lb>330</max-lb>
  539. </weight>
  540. <weight n="6">
  541. <name>Rear Mid Right</name>
  542. <weight-lb type="double">0</weight-lb>
  543. <max-lb>300</max-lb>
  544. </weight>
  545. <weight n="7">
  546. <name>Rear Right</name>
  547. <weight-lb type="double">190</weight-lb>
  548. <min-lb>30</min-lb>
  549. <max-lb>330</max-lb>
  550. </weight>
  551. <!-- flag meaning: -->
  552. <!-- ems: 0 ... not in EMS, =1 ... yes in EMS, 2 ... only in EMS -->
  553. <!-- wide: 0 ... not in wide, =1 ... yes in wide, 2 ... only in wide -->
  554. <weight n="8">
  555. <name>Luggage Left</name>
  556. <weight-lb type="double">0</weight-lb>
  557. <max-lb>300</max-lb>
  558. <luggage-cnt type="int">0</luggage-cnt>
  559. <luggage n="0">
  560. <weight-lb type="double">50</weight-lb>
  561. </luggage>
  562. <luggage n="1">
  563. <weight-lb type="double">30</weight-lb>
  564. </luggage>
  565. <luggage n="2">
  566. <weight-lb type="double">30</weight-lb>
  567. </luggage>
  568. <luggage n="3">
  569. <weight-lb type="double">30</weight-lb>
  570. </luggage>
  571. <luggage n="4">
  572. <weight-lb type="double">30</weight-lb>
  573. </luggage>
  574. <!-- wide box only -->
  575. <luggage n="5">
  576. <weight-lb type="double">20</weight-lb>
  577. <wide type="int">2</wide>
  578. </luggage>
  579. <luggage n="6">
  580. <weight-lb type="double">20</weight-lb>
  581. <wide type="int">2</wide>
  582. </luggage>
  583. <luggage n="7">
  584. <weight-lb type="double">20</weight-lb>
  585. <wide type="int">2</wide>
  586. </luggage>
  587. <luggage n="8">
  588. <weight-lb type="double">20</weight-lb>
  589. <wide type="int">2</wide>
  590. </luggage>
  591. </weight>
  592. <!-- flag meaning: -->
  593. <!-- ems: 0 ... not in EMS, =1 ... yes in EMS, 2 ... only in EMS -->
  594. <!-- wide: 0 ... not in wide, =1 ... yes in wide, 2 ... only in wide -->
  595. <weight n="9">
  596. <name>Luggage Right</name>
  597. <weight-lb type="double">60</weight-lb>
  598. <max-lb>300</max-lb>
  599. <luggage-cnt type="int">0</luggage-cnt>
  600. <luggage-cnt-ems type="int">0</luggage-cnt-ems>
  601. <luggage n="0">
  602. <weight-lb type="double">30</weight-lb>
  603. <ems type="int">0</ems>
  604. </luggage>
  605. <luggage n="1">
  606. <weight-lb type="double">30</weight-lb>
  607. <ems type="int">0</ems>
  608. </luggage>
  609. <luggage n="2">
  610. <weight-lb type="double">30</weight-lb>
  611. <ems type="int">0</ems>
  612. </luggage>
  613. <luggage n="3">
  614. <weight-lb type="double">30</weight-lb>
  615. <ems type="int">0</ems>
  616. </luggage>
  617. <luggage n="4">
  618. <weight-lb type="double">30</weight-lb>
  619. <ems type="int">0</ems>
  620. </luggage>
  621. <luggage n="5">
  622. <weight-lb type="double">20</weight-lb>
  623. <ems type="int">0</ems>
  624. </luggage>
  625. <luggage n="6">
  626. <weight-lb type="double">20</weight-lb>
  627. <ems type="int">0</ems>
  628. </luggage>
  629. <luggage n="7">
  630. <weight-lb type="double">20</weight-lb>
  631. <ems type="int">0</ems>
  632. </luggage>
  633. <!-- wide box only -->
  634. <luggage n="8">
  635. <weight-lb type="double">20</weight-lb>
  636. <wide type="int">2</wide>
  637. <ems type="int">0</ems>
  638. </luggage>
  639. <luggage n="9">
  640. <weight-lb type="double">30</weight-lb>
  641. <wide type="int">2</wide>
  642. <ems type="int">0</ems>
  643. </luggage>
  644. <luggage n="10">
  645. <weight-lb type="double">20</weight-lb>
  646. <wide type="int">2</wide>
  647. <ems type="int">0</ems>
  648. </luggage>
  649. <!-- ems only -->
  650. <luggage n="11">
  651. <weight-lb type="double">30</weight-lb>
  652. <ems type="int">2</ems>
  653. </luggage>
  654. <luggage n="12">
  655. <weight-lb type="double">30</weight-lb>
  656. <ems type="int">2</ems>
  657. </luggage>
  658. </weight>
  659. <weight n="10">
  660. <name>Luggage Back</name>
  661. <weight-lb type="double">60</weight-lb>
  662. <max-lb>176</max-lb>
  663. <luggage-cnt type="int">0</luggage-cnt>
  664. <luggage n="0">
  665. <weight-lb type="double">30</weight-lb>
  666. </luggage>
  667. <luggage n="1">
  668. <weight-lb type="double">30</weight-lb>
  669. </luggage>
  670. </weight>
  671. <weight n="11">
  672. <name>Basket Left</name>
  673. <weight-lb type="double">0</weight-lb>
  674. <max-lb>200</max-lb>
  675. <luggage-cnt type="int">0</luggage-cnt>
  676. <luggage n="0">
  677. <weight-lb type="double">20</weight-lb>
  678. </luggage>
  679. <luggage n="1">
  680. <weight-lb type="double">20</weight-lb>
  681. </luggage>
  682. <luggage n="2">
  683. <weight-lb type="double">20</weight-lb>
  684. </luggage>
  685. <luggage n="3">
  686. <weight-lb type="double">20</weight-lb>
  687. </luggage>
  688. <luggage n="4">
  689. <weight-lb type="double">20</weight-lb>
  690. </luggage>
  691. </weight>
  692. <weight n="12">
  693. <name>Basket Right</name>
  694. <weight-lb type="double">0</weight-lb>
  695. <max-lb>200</max-lb>
  696. <luggage-cnt type="int">0</luggage-cnt>
  697. <luggage n="0">
  698. <weight-lb type="double">20</weight-lb>
  699. </luggage>
  700. <luggage n="1">
  701. <weight-lb type="double">20</weight-lb>
  702. </luggage>
  703. <luggage n="2">
  704. <weight-lb type="double">20</weight-lb>
  705. </luggage>
  706. <luggage n="3">
  707. <weight-lb type="double">20</weight-lb>
  708. </luggage>
  709. <luggage n="4">
  710. <weight-lb type="double">20</weight-lb>
  711. </luggage>
  712. </weight>
  713. <weight n="13">
  714. <name>Equipment</name>
  715. <weight-lb type="double">0</weight-lb>
  716. <max-lb>800</max-lb>
  717. </weight>
  718. <hitches>
  719. <!-- make sure some properties do exist, when the list for multiplayer transfer is defined-->
  720. <!-- they need to be in the same value, as they are initialized in the FDM,
  721. to get the same values after reset should fix this somehow-->
  722. <aerotow>
  723. <tow>
  724. <length type="float">30</length>
  725. <elastic-constant type="float">10000</elastic-constant>
  726. <weight-per-m-kg-m type="float">0.035</weight-per-m-kg-m>
  727. <dist type="float">1</dist>
  728. <connected-to-property-node type="bool"/>
  729. <brake-force type="float">100000</brake-force>
  730. <connected-to-ai-or-mp-callsign type="string">*</connected-to-ai-or-mp-callsign>
  731. <end-force-x type="float">0</end-force-x>
  732. <end-force-y type="float">0</end-force-y>
  733. <end-force-z type="float">0</end-force-z>
  734. </tow>
  735. <speed-in-tow-direction type="float">0</speed-in-tow-direction>
  736. <open type="bool">true</open>
  737. <x-m> -1.830 </x-m>
  738. <y-m> 0.000 </y-m>
  739. <z-m> -1.510 </z-m>
  740. <local-pos-x type="float">-1.86</local-pos-x>
  741. <local-pos-y type="float">0</local-pos-y>
  742. <local-pos-z type="float">-1.54</local-pos-z>
  743. <is-slave type="bool">false</is-slave>
  744. </aerotow>
  745. </hitches>
  746. <multiplay>
  747. <generic>
  748. <!-- wake control
  749. <int n="0" alias="/gear/gear/ground-is-solid"/>-->
  750. <!-- lights -->
  751. <int n="1" alias="/systems/electrical/outputs/taxi-light"/>
  752. <int n="2" alias="/systems/electrical/outputs/nav-lights"/>
  753. <int n="3" alias="/controls/lighting/strobe-state/state"/>
  754. <int n="4" alias="/systems/electrical/outputs/landing-light"/>
  755. <int n="5" alias="/systems/electrical/outputs/beacon"/>
  756. <!-- equipment -->
  757. <int n="6" alias="/controls/electric/external-power"/>
  758. <int n="7" alias="/sim/model/ec130/stabi_strobe"/>
  759. <int n="8" alias="/sim/model/ec130/gear_strobe"/>
  760. <int n="9" alias="/sim/model/ec130/gear_light"/>
  761. <int n="10" alias="/sim/model/ec130/emerg_floats"/>
  762. <int n="11" alias="/sim/model/ec130/searchlight"/>
  763. <int n="12" alias="/sim/model/ec130/hoist"/>
  764. <int n="13" alias="/sim/model/ec130/basket_left"/>
  765. <int n="14" alias="/sim/model/ec130/basket_right"/>
  766. <int n="15" alias="/sim/model/ec130/snowshoes"/>
  767. <int n="16" alias="/sim/model/ec130/mirror"/>
  768. <int n="17" alias="/sim/model/ec130/FLIR"/>
  769. <int n="18" alias="/sim/model/ec130/luggage_wide"/>
  770. <int n="19" alias="/sim/model/ec130/wirecutter"/>
  771. <!-- floats -->
  772. <float n="0" alias="/gear/gear[6]/position-norm"/>
  773. <!-- wake control -->
  774. <float n="1" alias="/orientation/pitch-deg"/>
  775. <float n="2" alias="/orientation/roll-deg"/>
  776. <float n="3" alias="/rotors/main/torque"/>
  777. <float n="4" alias="/position/gear-agl-m"/>
  778. <!-- doors -->
  779. <float n="5" alias="/sim/model/ec130/doors/frontl/position-norm"/>
  780. <float n="6" alias="/sim/model/ec130/doors/frontr/position-norm"/>
  781. <float n="7" alias="/sim/model/ec130/doors/passengerl/position-norm"/>
  782. <float n="8" alias="/sim/model/ec130/doors/passengerr/position-norm"/>
  783. <float n="9" alias="/sim/model/ec130/doors/luggagel/position-norm"/>
  784. <float n="10" alias="/sim/model/ec130/doors/luggager/position-norm"/>
  785. <float n="11" alias="/sim/model/ec130/doors/door/position-norm"/>
  786. <float n="12" alias="/sim/model/ec130/doors/basketl/position-norm"/>
  787. <float n="13" alias="/sim/model/ec130/doors/basketr/position-norm"/>
  788. <!-- searchlight SX16 -->
  789. <float n="14" alias="/controls/electric/engine/generator"/>
  790. <float n="15" alias="/sim/model/searchlight/heading-deg"/>
  791. <float n="16" alias="/sim/model/searchlight/elevation-deg"/>
  792. <float n="17" alias="/sim/model/searchlight/state"/>
  793. <float n="18" alias="/sim/model/searchlight/active"/>
  794. <float n="19" alias="/sim/model/searchlight/paused"/>
  795. </generic>
  796. </multiplay>
  797. <flight-recorder include="Systems/flight-recorder.xml"/>
  798. <help>
  799. <key>
  800. <name>-----</name>
  801. <desc>---- startup ----</desc>
  802. </key>
  803. <key>
  804. <name>Alt-p</name>
  805. <desc>toggle external Power</desc>
  806. </key>
  807. <key>
  808. <name>AltGr-p</name>
  809. <desc>toggle Fuel Pump</desc>
  810. </key>
  811. <key>
  812. <name>Ctrl-e</name>
  813. <desc>Autostart</desc>
  814. </key>
  815. <key>
  816. <name>Shift-E</name>
  817. <desc>Autoshutdown</desc>
  818. </key>
  819. <key>
  820. <name>r</name>
  821. <desc>apply Rotor Brake</desc>
  822. </key>
  823. <key>
  824. <name>Shift-R</name>
  825. <desc>toggle Rotor Brake</desc>
  826. </key>
  827. <key>
  828. <name>Alt-r</name>
  829. <desc>toggle Rotor Brake Lock</desc>
  830. </key>
  831. <key>
  832. <name>Alt-c</name>
  833. <desc>toggle Cutoff Lever</desc>
  834. </key>
  835. <key>
  836. <name>AltGr-c</name>
  837. <desc>toggle Cutoff Lever Guard</desc>
  838. </key>
  839. <key>
  840. <name>Alt-t</name>
  841. <desc>Twist Grip +</desc>
  842. </key>
  843. <key>
  844. <name>AltGr-t</name>
  845. <desc>Twist Grip -</desc>
  846. </key>
  847. <key>
  848. <name>Alt-h</name>
  849. <desc>toggle Horn</desc>
  850. </key>
  851. <key>
  852. <name>Alt-w</name>
  853. <desc>W/LT TST (Warning Test)</desc>
  854. </key>
  855. <key>
  856. <name>-----</name>
  857. <desc>---- flight ----</desc>
  858. </key>
  859. <!-- doesn't work for RC radio -->
  860. <key>
  861. <name>f</name>
  862. <desc>Force Trim Release</desc>
  863. </key>
  864. <key>
  865. <name>t</name>
  866. <desc>direct trim Aileron/Elevator</desc>
  867. </key>
  868. <key>
  869. <name>Shift-T</name>
  870. <desc>direct trim Rudder</desc>
  871. </key>
  872. <key>
  873. <name>a</name>
  874. <desc>set Collective to Zero</desc>
  875. </key>
  876. <key>
  877. <name>-----</name>
  878. <desc>---- doors ----</desc>
  879. </key>
  880. <key>
  881. <name>1</name>
  882. <desc>toggle Pilot Door</desc>
  883. </key>
  884. <key>
  885. <name>2</name>
  886. <desc>toggle Front Door right</desc>
  887. </key>
  888. <key>
  889. <name>3</name>
  890. <desc>toggle Back Door left</desc>
  891. </key>
  892. <key>
  893. <name>4</name>
  894. <desc>toggle Back Door right</desc>
  895. </key>
  896. <key>
  897. <name>d</name>
  898. <desc>toggle Pilot Door</desc>
  899. </key>
  900. <key>
  901. <name>Shift-D</name>
  902. <desc>toggle Passenger Doors</desc>
  903. </key>
  904. <key>
  905. <name>Ctrl-d</name>
  906. <desc>toggle all Doors</desc>
  907. </key>
  908. <key>
  909. <name>Alt-d</name>
  910. <desc>toggle Luggage Doors</desc>
  911. </key>
  912. <key>
  913. <name>Alt-b</name>
  914. <desc>toggle Basket Covers</desc>
  915. </key>
  916. <key>
  917. <name>AltGr-d</name>
  918. <desc>toggle Pilot Window</desc>
  919. </key>
  920. <key>
  921. <name>-----</name>
  922. <desc>---- light ----</desc>
  923. </key>
  924. <key>
  925. <name>L</name>
  926. <desc>toggle Taxi Light</desc>
  927. </key>
  928. <key>
  929. <name>Shift-L</name>
  930. <desc>toggle Landing Light</desc>
  931. </key>
  932. <key>
  933. <name>AltGr-L</name>
  934. <desc>toggle Search Light ON/OFF</desc>
  935. </key>
  936. <key>
  937. <name>Ctrl-L</name>
  938. <desc>cycle Slew Rate</desc>
  939. </key>
  940. <key>
  941. <name>j/Shift-J</name>
  942. <desc>rotate Search Light left/right</desc>
  943. </key>
  944. <key>
  945. <name>k/Shift-K</name>
  946. <desc>rotate Search Light down/up</desc>
  947. </key>
  948. <key>
  949. <name>s</name>
  950. <desc>cycle Search Light Focus</desc>
  951. </key>
  952. <key>
  953. <name>Shift-S</name>
  954. <desc>toggle/cycle Search Light Filter(s)</desc>
  955. </key>
  956. <key>
  957. <name>Alt-s</name>
  958. <desc>toggle Stabilization (A800)</desc>
  959. </key>
  960. <key>
  961. <name>Ctrl-p</name>
  962. <desc>pause Search Light</desc>
  963. </key>
  964. <key>
  965. <name>Ctrl-s</name>
  966. <desc>reset Search Light</desc>
  967. </key>
  968. <key>
  969. <name>Alt-L</name>
  970. <desc>cycle Light-Cone Visibility</desc>
  971. </key>
  972. <key>
  973. <name>-----</name>
  974. <desc>---- equipment ----</desc>
  975. </key>
  976. <key>
  977. <name>Shift-F</name>
  978. <desc>toggle Emergency Floats armed</desc>
  979. </key>
  980. <key>
  981. <name>Alt-f</name>
  982. <desc>inflate/repack Emergency Floats</desc>
  983. </key>
  984. <key>
  985. <name>o/Shift-O</name>
  986. <desc>close/open Hook</desc>
  987. </key>
  988. <!--
  989. <key>
  990. <name>Ctrl-o</name>
  991. <desc>Find Object to tow</desc>
  992. </key>
  993. -->
  994. <key>
  995. <name>-----</name>
  996. <desc>---- simulation ----</desc>
  997. </key>
  998. <key>
  999. <name>Alt-o</name>
  1000. <desc>Configuration Dialog</desc>
  1001. </key>
  1002. <key>
  1003. <name>AltGr-o</name>
  1004. <desc>Simulation Options</desc>
  1005. </key>
  1006. <key>
  1007. <name>Alt-a</name>
  1008. <desc>Antenna Setup</desc>
  1009. </key>
  1010. <key>
  1011. <name>Alt-i</name>
  1012. <desc>Model/Operator Info</desc>
  1013. </key>
  1014. <key>
  1015. <name>Alt-k</name>
  1016. <desc>cycle Rotor Wake Visibility</desc>
  1017. </key>
  1018. <key>
  1019. <name>:A*</name>
  1020. <desc>Multi-Key Commands</desc>
  1021. </key>
  1022. <!--
  1023. <key>
  1024. <name>Alt-g</name>
  1025. <desc>toggle GSDI (Ground Speed/Drift Indicator)</desc>
  1026. </key>
  1027. -->
  1028. </help>
  1029. <checklists include="Tutorials/ec130-checklists.xml"/>
  1030. <tutorials include="Tutorials/ec130_tutorials.xml"/>
  1031. <menubar>
  1032. <default>
  1033. <menu n="10">
  1034. <label>EC130/H130</label>
  1035. <enabled type="bool">true</enabled>
  1036. <!-- ATTENTION: if menubar definiton is changed below make sure
  1037. to cross-check the following code for consistent enable/disable:
  1038. - Nasal start script below
  1039. - Dialog: ec130-config-dialog.xml
  1040. -->
  1041. <!-- 0 -->
  1042. <item>
  1043. <label>Configuration (Livery,Payload,...)</label>
  1044. <key>Alt-o</key>
  1045. <binding>
  1046. <command>nasal</command>
  1047. <script>
  1048. if ( getprop("gear/gear[0]/wow") ) {
  1049. if ( getprop("/sim/model/ec130/config_dialog_active") ) {
  1050. setprop("/sim/model/ec130/config_dialog_active",0);
  1051. }
  1052. ec130.config_dialog.open();
  1053. } else {
  1054. screen.log.write("Only possible on ground !!!");
  1055. }
  1056. </script>
  1057. </binding>
  1058. </item>
  1059. <!-- 1 -->
  1060. <item>
  1061. <label>Operator/Model Info</label>
  1062. <key>Alt-i</key>
  1063. <binding>
  1064. <command>nasal</command>
  1065. <script><!-- toggle config dialog because info and config are linked -->
  1066. if ( getprop("/sim/model/ec130/config_dialog_active") ) {
  1067. <!-- use write because popupTip gets hidden behind open dialog -->
  1068. screen.log.write("Close Config Dialog or use '?' Button !");
  1069. } else {
  1070. if ( getprop("/sim/model/ec130/info_dialog_active") ) {
  1071. setprop("/sim/model/ec130/info_dialog_active",0);
  1072. }
  1073. ec130.model_info_dialog.open();
  1074. }
  1075. </script>
  1076. </binding>
  1077. </item>
  1078. <!-- 2 -->
  1079. <item>
  1080. <label>Simulation Options</label>
  1081. <key>AltGr-o</key>
  1082. <binding>
  1083. <command>nasal</command>
  1084. <script>
  1085. ec130.options_dialog.toggle();
  1086. </script>
  1087. </binding>
  1088. </item>
  1089. <!-- 3 -->
  1090. <item>
  1091. <label>Toggle External Power</label>
  1092. <key>Alt-p</key>
  1093. <binding>
  1094. <command>nasal</command>
  1095. <script>ec130.toggle_powersupply()</script>
  1096. </binding>
  1097. </item>
  1098. <!-- 4 -->
  1099. <item>
  1100. <label>Autostart</label>
  1101. <key>Ctrl-e</key>
  1102. <binding>
  1103. <command>nasal</command>
  1104. <script>ec130.autostart()</script>
  1105. </binding>
  1106. </item>
  1107. <!-- 5 -->
  1108. <item>
  1109. <label>Autoshutdown</label>
  1110. <key>Shift-E</key>
  1111. <binding>
  1112. <command>nasal</command>
  1113. <script>ec130.autoshutdown()</script>
  1114. </binding>
  1115. </item>
  1116. <!-- 6 -->
  1117. <item>
  1118. <label>Repack Emergency Floats</label>
  1119. <key>Alt-f</key>
  1120. <binding>
  1121. <command>nasal</command>
  1122. <script>
  1123. if ( getprop("/sim/model/ec130/emerg_floats") and getprop("/controls/gear/floats-inflat") ) {
  1124. if ( getprop("gear/gear[0]/wow") or getprop("gear/gear[1]/wow") or getprop("gear/gear[2]/wow") or getprop("gear/gear[3]/wow") ) {
  1125. setprop("/controls/gear/floats-inflat",0);
  1126. setprop("/controls/gear/floats-armed",0);
  1127. } else {
  1128. screen.log.write("Repack only possible on ground !!!");
  1129. }
  1130. } else {
  1131. screen.log.write("already packed ...");
  1132. }
  1133. </script>
  1134. </binding>
  1135. </item>
  1136. </menu>
  1137. </default>
  1138. </menubar>
  1139. </sim>
  1140. <consumables>
  1141. <fuel>
  1142. <tank>
  1143. <name>Main</name>
  1144. <selected type="bool" write="n">1</selected>
  1145. <density-ppg type="double" write="n">6.682</density-ppg>
  1146. </tank>
  1147. </fuel>
  1148. </consumables>
  1149. <controls>
  1150. <gear>
  1151. <floats-inflat type="bool">false</floats-inflat>
  1152. <floats-armed type="bool">false</floats-armed>
  1153. </gear>
  1154. <rotor>
  1155. <brake type="double">1</brake>
  1156. <brake-locked type="bool">1</brake-locked>
  1157. <reltarget type="double">0</reltarget>
  1158. <maxreltorque type="double">0</maxreltorque>
  1159. </rotor>
  1160. <engines>
  1161. <engine n="0">
  1162. <magnetos>1</magnetos>
  1163. <propeller-pitch alias="/controls/engines/power-trim"/>
  1164. <mixture alias="/controls/engines/power-balance"/>
  1165. <startselector type="bool">0</startselector>
  1166. <switchguard type="bool">0</switchguard>
  1167. <cutoff-norm type="bool">true</cutoff-norm>
  1168. <!-- doesn't seem to work for initialization
  1169. <oil-pressure-low type ="double">0</oil-pressure-low>
  1170. <oil-pressure-norm type ="double">0</oil-pressure-norm>
  1171. <oil-pressure-bar type ="double">0</oil-pressure-bar>
  1172. -->
  1173. </engine>
  1174. <engine n="1">
  1175. <magnetos>1</magnetos>
  1176. <propeller-pitch alias="/controls/engines/power-trim"/>
  1177. <mixture alias="/controls/engines/power-balance"/>
  1178. <throttle alias="/controls/engines/engine[0]/throttle"/>
  1179. </engine>
  1180. <power-trim type="double">0</power-trim>
  1181. <power-balance type="double">0</power-balance>
  1182. </engines>
  1183. <lighting>
  1184. <beacon type="bool">false</beacon>
  1185. <strobe type="bool">false</strobe>
  1186. <nav-lights type="bool">false</nav-lights>
  1187. </lighting>
  1188. </controls>
  1189. <engines>
  1190. <engine n="0">
  1191. <tot-degc>0</tot-degc>
  1192. <n1-pct>0</n1-pct>
  1193. </engine>
  1194. </engines>
  1195. <instrumentation>
  1196. <kcs55 include="Systems/kcs55.xml"/>
  1197. <gsdi>
  1198. <serviceable type="bool">true</serviceable>
  1199. </gsdi>
  1200. <attitude-indicator>
  1201. <serviceable type="bool">false</serviceable>
  1202. <caged type="bool">false</caged>
  1203. <horizon-offset-deg type="double">0</horizon-offset-deg>
  1204. </attitude-indicator>
  1205. <VEMD>
  1206. <FLI>
  1207. <FLI-filter type="double">0.0</FLI-filter>
  1208. </FLI>
  1209. </VEMD>
  1210. </instrumentation>
  1211. <input>
  1212. <keyboard include="Models/SearchLight/searchlight_bindings.xml">
  1213. <!-- multi-key commands -->
  1214. <multikey include="Systems/ec130-multikey.xml"/>
  1215. <key n="97">
  1216. <name>a</name>
  1217. <desc>Set collective to zero</desc>
  1218. <binding>
  1219. <command>nasal</command>
  1220. <script>interpolate("/controls/engines/engine/throttle", 1.0, 1.25)</script>
  1221. </binding>
  1222. </key>
  1223. <key n="5">
  1224. <name>Ctrl-e</name>
  1225. <desc>Autostart</desc>
  1226. <binding>
  1227. <condition>
  1228. <property>/sim/signals/fdm-initialized</property>
  1229. </condition>
  1230. <command>nasal</command>
  1231. <script>ec130.autostart()</script>
  1232. </binding>
  1233. </key>
  1234. <key n="69">
  1235. <name>Shift-E</name>
  1236. <desc>Autoshutdown</desc>
  1237. <binding>
  1238. <command>nasal</command>
  1239. <script>ec130.autoshutdown()</script>
  1240. </binding>
  1241. </key>
  1242. <key n="114">
  1243. <name>r</name>
  1244. <desc>Apply rotor brake</desc>
  1245. <repeatable type="bool">false</repeatable>
  1246. <binding>
  1247. <command>nasal</command>
  1248. <script>
  1249. if ( getprop("/controls/rotor/brake-locked") ) {
  1250. screen.log.write("Rotorbrake is locked !!!");
  1251. } else {
  1252. if ( getprop("/controls/rotor/brake") &lt; 1.0 ) {
  1253. setprop("/controls/rotor/brake-engaged",0);
  1254. interpolate("/controls/rotor/brake", 1.0, 1);
  1255. gui.popupTip("Rotorbrake active ...", 20);
  1256. } else {
  1257. setprop("/controls/rotor/brake-engaged",1);
  1258. if ( getprop("/controls/rotor/brake-locked") ) {
  1259. screen.log.write("Rotorbrake is locked !!!");
  1260. } else {
  1261. screen.log.write("Rotorbrake is engaged !!!");
  1262. }
  1263. }
  1264. }
  1265. </script>
  1266. </binding>
  1267. <mod-up>
  1268. <binding>
  1269. <command>nasal</command>
  1270. <script>
  1271. if ( !getprop("/controls/rotor/brake-locked") ) {
  1272. if ( !getprop("/controls/rotor/brake-engaged") ) {
  1273. interpolate("/controls/rotor/brake", 0.0, 1);
  1274. gui.popupTip("Rotorbrake released");
  1275. }
  1276. }
  1277. </script>
  1278. </binding>
  1279. </mod-up>
  1280. </key>
  1281. <key n="82">
  1282. <name>Shift-R</name>
  1283. <desc>Toggle rotor brake</desc>
  1284. <repeatable type="bool">false</repeatable>
  1285. <binding>
  1286. <command>nasal</command>
  1287. <script>ec130.toggle_rotorbrake();</script>
  1288. </binding>
  1289. <mod-up>
  1290. <binding>
  1291. <command>null</command>
  1292. </binding>
  1293. </mod-up>
  1294. </key>
  1295. <key n="114">
  1296. <mod-alt>
  1297. <name>Alt-r</name>
  1298. <desc>toggle rotor brake lock</desc>
  1299. <repeatable type="bool">false</repeatable>
  1300. <binding>
  1301. <command>nasal</command>
  1302. <script>
  1303. if ( getprop("/controls/rotor/brake-locked") ) {
  1304. setprop("/controls/rotor/brake-locked",0);
  1305. gui.popupTip("Rotorbrake unlocked", 2);
  1306. } else {
  1307. setprop("/controls/rotor/brake-locked",1);
  1308. gui.popupTip("Rotorbrake locked", 2);
  1309. }
  1310. </script>
  1311. </binding>
  1312. <mod-up>
  1313. <binding>
  1314. <command>null</command>
  1315. </binding>
  1316. </mod-up>
  1317. </mod-alt>
  1318. </key>
  1319. <key n="99">
  1320. <mod-alt>
  1321. <name>Alt-c</name>
  1322. <desc>toggle Cutoff lever</desc>
  1323. <binding>
  1324. <command>nasal</command>
  1325. <script>ec130.toggle_cutoff();</script>
  1326. </binding>
  1327. </mod-alt>
  1328. </key>
  1329. <key n="99">
  1330. <mod-alt>
  1331. <mod-ctrl>
  1332. <name>AltGr-c</name>
  1333. <desc>toggle Cutoff lever guard</desc>
  1334. <binding>
  1335. <condition>
  1336. <not>
  1337. <property>controls/engines/engine/cutoff</property>
  1338. </not>
  1339. </condition>
  1340. <command>nasal</command>
  1341. <script>
  1342. if ( getprop("/controls/engines/engine/cutoffguard") ) {
  1343. setprop("/controls/engines/engine/cutoffguard",0);
  1344. gui.popupTip("Cutoff unlocked", 2);
  1345. } else {
  1346. setprop("/controls/engines/engine/cutoffguard",1);
  1347. gui.popupTip("Cutoff locked", 2);
  1348. }
  1349. </script>
  1350. </binding>
  1351. </mod-ctrl>
  1352. </mod-alt>
  1353. </key>
  1354. <key n="70">
  1355. <name>Shift-F</name>
  1356. <desc>toggle Emergency Floats armed</desc>
  1357. <binding>
  1358. <command>nasal</command>
  1359. <script>
  1360. var f = getprop("/controls/gear/floats-armed");
  1361. if ( getprop("/sim/model/ec130/emerg_floats") ) {
  1362. setprop("/controls/gear/floats-armed",!f);
  1363. gui.popupTip("Floats " ~ (f ? "disabled !" : "armed !"));
  1364. } else {
  1365. screen.log.write("NO Floats available !!!");
  1366. }
  1367. </script>
  1368. </binding>
  1369. </key>
  1370. <key n="102">
  1371. <mod-alt>
  1372. <name>Alt-f</name>
  1373. <desc>inflate/repack Emergency Floats</desc>
  1374. <binding>
  1375. <command>nasal</command>
  1376. <script>ec130.toggle_floats();</script>
  1377. </binding>
  1378. </mod-alt>
  1379. </key>
  1380. <key n="100">
  1381. <name>d</name>
  1382. <desc>toggle Pilot door</desc>
  1383. <binding>
  1384. <command>nasal</command>
  1385. <script>
  1386. doors.doorsystem.frontlexport();
  1387. </script>
  1388. </binding>
  1389. <mod-alt>
  1390. <name>Alt-d</name>
  1391. <desc>toggle luggage doors</desc>
  1392. <binding>
  1393. <command>nasal</command>
  1394. <script>
  1395. doors.doorsystem.luggagelexport();
  1396. doors.doorsystem.luggagerexport();
  1397. doors.doorsystem.doorbexport();
  1398. </script>
  1399. </binding>
  1400. <mod-ctrl>
  1401. <name>AltGr-d</name>
  1402. <desc>toggle pilot window</desc>
  1403. <binding>
  1404. <command>nasal</command>
  1405. <script>
  1406. doors.doorsystem.pilotwexport();
  1407. </script>
  1408. </binding>
  1409. </mod-ctrl>
  1410. </mod-alt>
  1411. </key>
  1412. <key n="98">
  1413. <name>b</name>
  1414. <mod-alt>
  1415. <name>Alt-b</name>
  1416. <desc>toggle basket covers</desc>
  1417. <binding>
  1418. <command>nasal</command>
  1419. <script>
  1420. doors.doorsystem.basketlexport();
  1421. doors.doorsystem.basketrexport();
  1422. </script>
  1423. </binding>
  1424. </mod-alt>
  1425. </key>
  1426. <key n="68">
  1427. <name>D</name>
  1428. <desc>toggle Passenger doors</desc>
  1429. <binding>
  1430. <command>nasal</command>
  1431. <script>
  1432. doors.doorsystem.frontrexport();
  1433. doors.doorsystem.passengerlexport();
  1434. </script>
  1435. </binding>
  1436. </key>
  1437. <key n="4">
  1438. <name>Ctrl-d</name>
  1439. <desc>toggle all doors</desc>
  1440. <binding>
  1441. <command>nasal</command>
  1442. <script>ec130.toggle_all_doors();</script>
  1443. </binding>
  1444. </key>
  1445. <key n="49">
  1446. <name>1</name>
  1447. <desc>toggle front door left (pilot)</desc>
  1448. <binding>
  1449. <command>nasal</command>
  1450. <script>
  1451. doors.doorsystem.frontlexport();
  1452. </script>
  1453. </binding>
  1454. </key>
  1455. <key n="50">
  1456. <name>2</name>
  1457. <desc>toggle front door right</desc>
  1458. <binding>
  1459. <command>nasal</command>
  1460. <script>
  1461. doors.doorsystem.frontrexport();
  1462. </script>
  1463. </binding>
  1464. </key>
  1465. <key n="51">
  1466. <name>3</name>
  1467. <desc>toggle back door left</desc>
  1468. <binding>
  1469. <command>nasal</command>
  1470. <script>
  1471. doors.doorsystem.passengerlexport();
  1472. </script>
  1473. </binding>
  1474. </key>
  1475. <key n="52">
  1476. <name>4</name>
  1477. <desc>toggle back door right</desc>
  1478. <binding>
  1479. <command>nasal</command>
  1480. <script>
  1481. doors.doorsystem.passengerrexport();
  1482. </script>
  1483. </binding>
  1484. </key>
  1485. <key n="108">
  1486. <name>L</name>
  1487. <desc>toggle Taxi Light</desc>
  1488. <binding>
  1489. <command>property-toggle</command>
  1490. <property>controls/lighting/taxi-light</property>
  1491. </binding>
  1492. </key>
  1493. <key n="76">
  1494. <name>Shift-L</name>
  1495. <desc>toggle Landing Light</desc>
  1496. <binding>
  1497. <command>property-toggle</command>
  1498. <property>controls/lighting/landing-lights</property>
  1499. </binding>
  1500. </key>
  1501. <key n="107">
  1502. <mod-alt>
  1503. <name>Alt-k</name>
  1504. <desc>cycle wake visible</desc>
  1505. <binding>
  1506. <command>nasal</command>
  1507. <script>ec130.cycle_wakes()</script>
  1508. </binding>
  1509. </mod-alt>
  1510. </key>
  1511. <key n="97">
  1512. <mod-alt>
  1513. <name>Alt-a</name>
  1514. <desc>Antenna Setup</desc>
  1515. <binding>
  1516. <command>nasal</command>
  1517. <script>
  1518. if ( getprop("gear/gear[0]/wow") ) {
  1519. if ( getprop("/sim/model/ec130/config_dialog_active") ) {
  1520. ec130.config_dialog.toggle();
  1521. }
  1522. if ( getprop("/sim/model/ec130/antenna_dialog_active") ) {
  1523. setprop("/sim/model/ec130/antenna_dialog_active",0);
  1524. }
  1525. ec130.antenna_config_dialog.toggle();
  1526. } else {
  1527. screen.log.write("Only possible on ground !!!");
  1528. }
  1529. </script>
  1530. </binding>
  1531. </mod-alt>
  1532. </key>
  1533. <key n="103">
  1534. <mod-alt>
  1535. <name>Alt-g</name>
  1536. <desc>Show/hide GSDI</desc>
  1537. <binding>
  1538. <command>property-toggle</command>
  1539. <property>/sim/model/ec130/show_gsdi</property>
  1540. </binding>
  1541. </mod-alt>
  1542. </key>
  1543. <key n="104">
  1544. <mod-alt>
  1545. <name>Alt-h</name>
  1546. <desc>toggle Horn</desc>
  1547. <binding>
  1548. <command>property-toggle</command>
  1549. <property>/controls/electric/horn</property>
  1550. </binding>
  1551. </mod-alt>
  1552. </key>
  1553. <key n="105">
  1554. <mod-alt>
  1555. <name>Alt-i</name>
  1556. <desc>Model/Operator Info</desc>
  1557. <binding>
  1558. <command>nasal</command>
  1559. <script>
  1560. if ( getprop("/sim/model/ec130/config_dialog_active") ) {
  1561. ec130.config_dialog.toggle();
  1562. }
  1563. if ( getprop("/sim/model/ec130/info_dialog_active") ) {
  1564. setprop("/sim/model/ec130/info_dialog_active",0);
  1565. }
  1566. ec130.model_info_dialog.toggle();
  1567. </script>
  1568. </binding>
  1569. </mod-alt>
  1570. </key>
  1571. <key n="112">
  1572. <name>Alt-p</name>
  1573. <desc>Supply External Power</desc>
  1574. <mod-alt>
  1575. <binding>
  1576. <command>nasal</command>
  1577. <script>ec130.toggle_powersupply()</script>
  1578. </binding>
  1579. <mod-ctrl>
  1580. <name>AltGr-p</name>
  1581. <desc>toggle Fuel Pump</desc>
  1582. <binding>
  1583. <condition>
  1584. <property>systems/electrical/volts</property>
  1585. </condition>
  1586. <command>property-toggle</command>
  1587. <property>/controls/fuel/tank/boost-pump</property>
  1588. </binding>
  1589. </mod-ctrl>
  1590. </mod-alt>
  1591. </key>
  1592. <!-- disable w-binding -->
  1593. <key n="119">
  1594. <name>w</name>
  1595. <desc>w-Key</desc>
  1596. <binding>
  1597. <command>nasal</command>
  1598. <script>
  1599. <!-- disable binding -->
  1600. </script>
  1601. </binding>
  1602. </key>
  1603. <key n="119">
  1604. <repeatable>false</repeatable>
  1605. <mod-alt>
  1606. <name>Alt-w</name>
  1607. <desc>Toggle W/LT TST</desc>
  1608. <binding>
  1609. <command>property-toggle</command>
  1610. <property>controls/electric/warningtest</property>
  1611. </binding>
  1612. </mod-alt>
  1613. <mod-up>
  1614. <binding>
  1615. <command>property-assign</command>
  1616. <property>controls/electric/warningtest</property>
  1617. <value>0</value>
  1618. </binding>
  1619. </mod-up>
  1620. </key>
  1621. <!-- controls for hook -->
  1622. <key n="111">
  1623. <name>o</name>
  1624. <desc>Lock hook</desc>
  1625. <binding>
  1626. <command>nasal</command>
  1627. <script>
  1628. if ( getprop("sim/model/ec130/doors/hook/position-norm") ) {
  1629. doors.doorsystem.hookexport();
  1630. settimer( func {
  1631. setprop("/sim/hitches/aerotow/open",0);
  1632. }, 2);
  1633. }
  1634. </script>
  1635. </binding>
  1636. <mod-alt>
  1637. <name>Alt-o</name>
  1638. <desc>Configuration Options</desc>
  1639. <binding>
  1640. <command>nasal</command>
  1641. <script>
  1642. if ( getprop("gear/gear[0]/wow") ) {
  1643. if ( getprop("/sim/model/ec130/config_dialog_active") ) {
  1644. setprop("/sim/model/ec130/config_dialog_active",0);
  1645. }
  1646. ec130.config_dialog.toggle();
  1647. <!-- toggle antenna dialog if open -->
  1648. if ( getprop("/sim/model/ec130/antenna_dialog_active") ) {
  1649. ec130.antenna_config_dialog.toggle();
  1650. setprop("/sim/model/ec130/antenna_dialog_active",0);
  1651. }
  1652. <!-- toggle info dialog if open -->
  1653. if ( getprop("/sim/model/ec130/info_dialog_active") ) {
  1654. ec130.model_info_dialog.toggle();
  1655. setprop("/sim/model/ec130/info_dialog_active",0);
  1656. }
  1657. } else {
  1658. screen.log.write("Only possible on ground !!!");
  1659. }
  1660. </script>
  1661. </binding>
  1662. <mod-ctrl>
  1663. <name>AltGr-o</name>
  1664. <desc>Simulation Options</desc>
  1665. <binding>
  1666. <command>nasal</command>
  1667. <script>ec130.options_dialog.toggle();</script>
  1668. </binding>
  1669. </mod-ctrl>
  1670. </mod-alt>
  1671. </key>
  1672. <key n="79">
  1673. <name>O</name>
  1674. <desc>Open hook</desc>
  1675. <binding>
  1676. <command>nasal</command>
  1677. <script>
  1678. if ( !getprop("sim/model/ec130/doors/hook/position-norm") ) {
  1679. setprop("/sim/hitches/aerotow/open",1);
  1680. doors.doorsystem.hookexport();
  1681. }
  1682. </script>
  1683. </binding>
  1684. </key>
  1685. <key n="15">
  1686. <name>Ctrl-o</name>
  1687. <desc>Find load for aerotow</desc>
  1688. <binding>
  1689. <command>property-assign</command>
  1690. <property>/controls/aerotow/find-aircraft</property>
  1691. <value type="bool">true</value>
  1692. </binding>
  1693. <mod-up>
  1694. <binding>
  1695. <command>property-assign</command>
  1696. <property>/controls/aerotow/find-aircraft</property>
  1697. <value type="bool">false</value>
  1698. </binding>
  1699. </mod-up>
  1700. </key>
  1701. <!-- trimming -->
  1702. <key n="116">
  1703. <name>t</name>
  1704. <desc>Direct Trim Elev./Aileron</desc>
  1705. <repeatable type="bool">true</repeatable>
  1706. <binding>
  1707. <command>nasal</command>
  1708. <script><!-- set trim -->
  1709. setprop("/controls/flight/elevator-trim", getprop("/controls/flight/elevator")+getprop("/controls/flight/elevator-trim"));
  1710. setprop("/controls/flight/aileron-trim", getprop("/controls/flight/aileron")+getprop("/controls/flight/aileron-trim"));
  1711. <!-- center stick -->
  1712. setprop("/controls/flight/aileron", 0);
  1713. setprop("/controls/flight/elevator", 0);
  1714. </script>
  1715. </binding>
  1716. <mod-alt>
  1717. <name>Alt-t</name>
  1718. <desc>Twist Grip +</desc>
  1719. <binding>
  1720. <command>nasal</command>
  1721. <script>ec130.adjust_twist_grip(1);</script>
  1722. </binding>
  1723. <mod-ctrl>
  1724. <name>AltGr-t</name>
  1725. <desc>Twist Grip -</desc>
  1726. <binding>
  1727. <command>nasal</command>
  1728. <script>ec130.adjust_twist_grip(-1);</script>
  1729. </binding>
  1730. </mod-ctrl>
  1731. </mod-alt>
  1732. </key>
  1733. <key n="84">
  1734. <name>T</name>
  1735. <desc>Direct Trim Rudder</desc>
  1736. <binding>
  1737. <command>nasal</command>
  1738. <script><!-- set trim -->
  1739. setprop("/controls/flight/rudder-trim", getprop("/controls/flight/rudder")+getprop("/controls/flight/rudder-trim"));
  1740. <!-- center stick -->
  1741. setprop("/controls/flight/rudder", 0);
  1742. </script>
  1743. </binding>
  1744. </key>
  1745. <!-- doesn't seem to work for RC radio -->
  1746. <key n="102">
  1747. <name>f</name>
  1748. <desc>Force Trim Release</desc>
  1749. <binding>
  1750. <command>nasal</command>
  1751. <script>ec130.ftr_start()</script>
  1752. </binding>
  1753. <mod-up>
  1754. <binding>
  1755. <command>nasal</command>
  1756. <script>ec130.ftr_stop()</script>
  1757. </binding>
  1758. </mod-up>
  1759. </key>
  1760. <key n="125">
  1761. <name>}</name>
  1762. <desc>Start Engines</desc>
  1763. <binding>
  1764. <command>nasal</command>
  1765. <script>ec130.autostart()</script>
  1766. <condition>
  1767. <property>/sim/signals/fdm-initialized</property>
  1768. </condition>
  1769. </binding>
  1770. </key>
  1771. <key n="123">
  1772. <name>{</name>
  1773. <desc>Shutdown Engines</desc>
  1774. <binding>
  1775. <command>nasal</command>
  1776. <script>ec130.autoshutdown()</script>
  1777. <condition>
  1778. <property>/sim/signals/fdm-initialized</property>
  1779. </condition>
  1780. </binding>
  1781. </key>
  1782. <!-- overdef default for Cockpit View handling -->
  1783. <key n="22">
  1784. <name>Ctrl-v</name>
  1785. <desc>Select Cockpit View (View 0)</desc>
  1786. <binding>
  1787. <command>nasal</command>
  1788. <script>ec130.set_pilot_view()</script>
  1789. </binding>
  1790. </key>
  1791. </keyboard>
  1792. </input>
  1793. <systems>
  1794. <electrical>
  1795. <volts type="double">0.0</volts>
  1796. </electrical>
  1797. </systems>
  1798. <nasal>
  1799. <FG1000>
  1800. <file>Aircraft/ec130/Nasal/FGUK1000.nas</file>
  1801. </FG1000>
  1802. <doors>
  1803. <file>Aircraft/ec130/Nasal/doors.nas</file>
  1804. </doors>
  1805. <!-- <formation>
  1806. <file>Aircraft/Generic/formation.nas</file>
  1807. </formation>-->
  1808. <ELT>
  1809. <file>Aircraft/ec130/Models/Instruments/Breakers/ELTmessage.nas</file>
  1810. </ELT>
  1811. <ec130>
  1812. <file>Aircraft/ec130/Nasal/ec130.nas</file>
  1813. <file>Aircraft/ec130/Nasal/rotorwash.nas</file>
  1814. <file>Aircraft/ec130/Nasal/limits.nas</file>
  1815. <file>Aircraft/ec130/Nasal/Electrical.nas</file>
  1816. <file>Aircraft/ec130/Systems/kcs55.nas</file>
  1817. <file>Aircraft/ec130/Models/Instruments/VEMD/VEMD.nas</file>
  1818. <file>Aircraft/ec130/Models/Instruments/CWS/CWS.nas</file>
  1819. <file>Aircraft/ec130/Models/Instruments/AI/AI.nas</file>
  1820. <file>Aircraft/ec130/Models/SearchLight/searchlight.nas</file>
  1821. <script><![CDATA[
  1822. KCS55.new();
  1823. ]]><!-- disable standard fuel-payload menu, use aircraft specific -->
  1824. gui.menuEnable("fuel-and-payload",0);
  1825. <!-- init config dialog flag -->
  1826. setprop("/sim/model/ec130/config_dialog_active",0);
  1827. <!-- init antenna dialog flag -->
  1828. setprop("/sim/model/ec130/antenna_dialog_active",0);
  1829. <!-- init info dialog flag -->
  1830. setprop("/sim/model/ec130/info_dialog_active",0);
  1831. <!-- initialize number of flights -->
  1832. if ( getprop("/sim/model/ec130/flightnumber") == nil ) {
  1833. setprop("/sim/model/ec130/flightnumber", 0);
  1834. }
  1835. <!-- minimum number of flights for autostart/autoshutdown -->
  1836. setprop("/sim/model/ec130/minflights",1);
  1837. <!-- disable autostart menu, if less than minimum flights -->
  1838. <!-- cross-check menubar definition -->
  1839. if ( getprop("/sim/model/ec130/flightnumber") &lt; getprop("/sim/model/ec130/minflights") ) {
  1840. setprop("/sim/menubar/default/menu[10]/item[4]/enabled",0);
  1841. }
  1842. <!-- menu label dependent on variant -->
  1843. if ( getprop("/sim/model/variant") == "1" ) {
  1844. setprop("/sim/menubar/default/menu[10]/label","EC130-B4");
  1845. } else {
  1846. setprop("/sim/menubar/default/menu[10]/label","H130");
  1847. }
  1848. var args = {'subsystem':'gui'};
  1849. fgcommand("reinit",args);
  1850. <!-- disable autoshutdown menu, if less than minimum flights -->
  1851. <!-- cross-check menubar definition -->
  1852. if ( getprop("/sim/model/ec130/flightnumber") &lt; getprop("/sim/model/ec130/minflights") ) {
  1853. setprop("/sim/menubar/default/menu[10]/item[5]/enabled",0);
  1854. }
  1855. <!-- initialize equipment,seats,views, luggage -->
  1856. ec130.aircraft_init();
  1857. <!-- initialize stretcher position -->
  1858. setprop("/controls/seat/stretcher/position-deg",0);
  1859. <!-- initialize ELT -->
  1860. setprop("/ELT/test",0);
  1861. setprop("/ELT/armed",0);
  1862. <!-- init searchlight props with delay
  1863. otherwise Nasal error is raised -->
  1864. setlistener("/sim/signals/fdm-initialized", func {
  1865. settimer(func { ec130.slight_init(); }, 1);
  1866. });
  1867. <!-- engine -->
  1868. setprop("/engines/engine/oil-pressure-low",0);
  1869. setprop("/engines/engine/oil-pressure-norm",0);
  1870. setprop("/engines/engine/oil-pressure-bar",0);
  1871. setprop("/controls/engines/engine/cutoff-norm",1);
  1872. setprop("/controls/engines/engine/cutoffguard",0);
  1873. <!-- disable shadow if rembrandt enabled -->
  1874. if ( getprop("/sim/rendering/rembrandt/enabled")) {
  1875. setprop("sim/model/ec130/shadow",0);
  1876. }
  1877. <!-- set directory for formations -->
  1878. #setprop("sim/formation/path","Aircraft/ec130/Models/Formations");
  1879. <!-- deactivate formation handling
  1880. it is activated by the last wingman at load time
  1881. -->
  1882. <!-- should be initialized in preferences.xml -->
  1883. # setprop("/sim/formation/override",1);
  1884. # setprop("/sim/formation/delayed",1);
  1885. <!-- set first formation -->
  1886. # setprop("/sim/model/formation/variant","Row");
  1887. </script>
  1888. </ec130>
  1889. <gtx328>
  1890. <file>Models/Instruments/GTX328/gtx328.nas</file>
  1891. </gtx328>
  1892. <!-- <canvas_vemd>
  1893. <file>Models/Instruments/VEMD/vemd_canvas.nas</file>
  1894. </canvas_vemd>
  1895. -->
  1896. <file>Aircraft/ec130/Models/Instruments/VEMD/VEMD.nas</file>
  1897. <kx165a>
  1898. <file>Aircraft/ec130/Nasal/kx165a.nas</file>
  1899. </kx165a>
  1900. <fgukelectrical>
  1901. <file>Aircraft/ec130/Nasal/fgukelectrical.nas</file>
  1902. </fgukelectrical>
  1903. </nasal>
  1904. <rotors>
  1905. <main>
  1906. <rpm type="double">0</rpm>
  1907. <wakevisible type="double">2</wakevisible>
  1908. </main>
  1909. </rotors>
  1910. </PropertyList>