ec145-set.xml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887
  1. <?xml version="1.0"?>
  2. <!--
  3. ************************************************************************
  4. EC 135 simulation config.
  5. ************************************************************************
  6. -->
  7. <PropertyList>
  8. <sim>
  9. <description>Eurocopter EC-145</description>
  10. <author>Melchior Franz (Nasal + config)Heiko Schulz, Maik Justus, StuartC (FDM), Melchior Franz (Nasal)</author>
  11. <status>0.3.1</status>
  12. <license>GPL v2</license>
  13. <aircraft-version>0.1b</aircraft-version>
  14. <flight-model>yasim</flight-model>
  15. <aero>ec145</aero>
  16. <fuel-fraction>0.8</fuel-fraction>
  17. <startup>
  18. <splash-texture>Aircraft/ec145/splash.jpg</splash-texture>
  19. </startup>
  20. <flight-recorder include="Systems/flight-recorder.xml"/>
  21. <multiplay>
  22. <generic>
  23. <string n="2" type="string">EC-145</string>
  24. <!-- Nav lights on -->
  25. <int n="0" alias="/controls/switches/nav-lights-switch" />
  26. <!-- Beacon on -->
  27. <int n="1" alias="/controls/switches/beacon-switch" />
  28. <!-- Landing lights on -->
  29. <int n="2" alias="/controls/switches/landing-lights-switch" />
  30. <!-- Taxi light on -->
  31. <int n="3" alias="/controls/switches/strobe-switch" />
  32. <!-- search light on -->
  33. <int n="8" alias="/controls/switches/search-light-switch" />
  34. <!-- Crashed -->
  35. <int n="7" alias="/sim/crashed" />
  36. <float n="1" alias="sim/model/bk117/door-positions/rightFrontDoor/position-norm" />
  37. <float n="2" alias="/sim/model/turret-positions/turretx" /><!-- Searchlight over MP -->
  38. <float n="3" alias="/sim/model/turret-positions/turretz"/><!-- searchlight over MP -->
  39. <float n="4" alias="/sim/model/rescue-lift"/><!-- winchman over MP -->
  40. <string n="1" alias="/sim/weight[5]/selected" /><!-- Payload over multiplayer -->
  41. </generic>
  42. </multiplay>
  43. <sound>
  44. <path>Aircraft/ec145/Sounds/sound.xml</path>
  45. </sound>
  46. <!--=============================================================== Start of Warty mod -->
  47. <allow-toggle-cockpit>true</allow-toggle-cockpit>
  48. <panel>
  49. <path>AFCS/heli-mini-panel-W1.xml</path>
  50. <hide-nonzero-heading-offset>false</hide-nonzero-heading-offset>
  51. </panel>
  52. <!--================================================================= End of Warty mod -->
  53. #====================================================================== Start of Warty mod
  54. <hud>
  55. <path n="1">AFCS/hud_heli.xml</path>
  56. <visibility n="1">true</visibility>
  57. <palette>
  58. <color n="0">
  59. <alpha type="float">0.85</alpha>
  60. <antialiased type="bool">true</antialiased>
  61. <brightness type="float">0.85</brightness>
  62. <transparent type="bool">true</transparent>
  63. <red type="float">0.38</red>
  64. <green type="float">1.0</green>
  65. <blue type="float">0.22</blue>
  66. </color>
  67. <color n="1">
  68. <alpha type="float">0.85</alpha>
  69. <antialiased type="bool">true</antialiased>
  70. <brightness type="float">0.85</brightness>
  71. <transparent type="bool">true</transparent>
  72. <red type="float">1.0</red>
  73. <green type="float">0.2</green>
  74. <blue type="float">0.0</blue>
  75. </color>
  76. <color n="2">
  77. <alpha type="float">0.85</alpha>
  78. <antialiased type="bool">true</antialiased>
  79. <brightness type="float">0.85</brightness>
  80. <transparent type="bool">true</transparent>
  81. <red type="float">0.0</red>
  82. <green type="float">0.0</green>
  83. <blue type="float">0.7</blue>
  84. </color>
  85. </palette>
  86. </hud>
  87. #======================================================================== End of Warty mod
  88. <systems>
  89. <electrical>
  90. <path>Aircraft/Generic/generic-electrical.xml</path>
  91. </electrical>
  92. <autopilot n="101">
  93. <name>Helionix instrumentation drivers</name>
  94. <path>Aircraft/ec145/Systems/filter.xml</path>
  95. </autopilot>
  96. </systems>
  97. <!--<instrumentation>
  98. <path>Aircraft/ec135/instrumentation/instrumentation.xml</path>
  99. </instrumentation>-->
  100. <model>
  101. <path archive="y">Aircraft/ec145/Models/EC-145.xml</path>
  102. <rescue-lift>1</rescue-lift>
  103. <rescue type="bool">false</rescue>
  104. <bk117>
  105. <particles>
  106. <enabled type="bool">true</enabled>
  107. </particles>
  108. </bk117>
  109. </model>
  110. <rendering>
  111. <refl_correction type="string">-0.05</refl_correction>
  112. </rendering>
  113. <airport>
  114. <runways>
  115. <start-offset-m>3.3</start-offset-m>
  116. </runways>
  117. </airport>
  118. <!--view-->
  119. <view n="0">
  120. <name>Cockpit</name>
  121. <type>lookfrom</type>
  122. <internal type="bool">true</internal>
  123. <config>
  124. <x-offset-m type="double">0.33</x-offset-m><!--left-->
  125. <y-offset-m type="double">0.6</y-offset-m><!--up-->
  126. <!--y-offset-m type="double">0.4</y-offset-m--><!--up-->
  127. <z-offset-m type="double">0.5</z-offset-m><!--back-->
  128. <!--pitch-offset-deg>-14</pitch-offset-deg-->
  129. <pitch-offset-deg>-16</pitch-offset-deg>
  130. <default-field-of-view-deg type="double">80</default-field-of-view-deg>
  131. </config>
  132. </view>
  133. <view n="101">
  134. <name>Pilot cam</name>
  135. <type>lookfrom</type>
  136. <internal type="bool">true</internal>
  137. <config>
  138. <from-model type="bool">true</from-model>
  139. <from-model-idx type="int">0</from-model-idx>
  140. <x-offset-m type="double">0</x-offset-m><!--left-->
  141. <y-offset-m type="double">0.45</y-offset-m><!--up-->
  142. <z-offset-m type="double">0</z-offset-m><!--back-->
  143. <pitch-offset-deg>-20</pitch-offset-deg>
  144. <heading-offset-deg>199</heading-offset-deg>
  145. <default-field-of-view-deg>110</default-field-of-view-deg>
  146. </config>
  147. </view>
  148. <view n="102">
  149. <name>Over the shoulder</name>
  150. <type>lookfrom</type>
  151. <internal type="bool">true</internal>
  152. <config>
  153. <from-model type="bool">true</from-model>
  154. <from-model-idx type="int">0</from-model-idx>
  155. <x-offset-m archive="y">0.</x-offset-m><!--right-->
  156. <y-offset-m archive="y">0.65</y-offset-m><!--up-->
  157. <z-offset-m archive="y">2.2</z-offset-m><!--back-->
  158. <pitch-offset-deg>-14</pitch-offset-deg>
  159. <heading-offset-deg>0</heading-offset-deg>
  160. <default-field-of-view-deg>65</default-field-of-view-deg>
  161. </config>
  162. </view>
  163. <view n="103">
  164. <name>Cabin crew member</name>
  165. <type>lookfrom</type>
  166. <internal type="bool">true</internal>
  167. <config>
  168. <from-model type="bool">true</from-model>
  169. <from-model-idx type="int">0</from-model-idx>
  170. <x-offset-m archive="y">0.5613</x-offset-m><!--right-->
  171. <y-offset-m archive="y">0.42</y-offset-m><!--up-->
  172. <z-offset-m archive="y">1.3</z-offset-m><!--back-->
  173. <pitch-offset-deg>-14</pitch-offset-deg>
  174. <heading-offset-deg>180</heading-offset-deg>
  175. <default-field-of-view-deg>65</default-field-of-view-deg>
  176. </config>
  177. </view>
  178. <view n="1">
  179. <config>
  180. <target-z-offset-m archive="y" type="double">2.5</target-z-offset-m>
  181. </config>
  182. </view>
  183. <view n="2">
  184. <config>
  185. <target-z-offset-m archive="y" type="double">2.5</target-z-offset-m>
  186. </config>
  187. </view>
  188. <view n="3">
  189. <config>
  190. <target-z-offset-m archive="y" type="double">2.5</target-z-offset-m>
  191. </config>
  192. </view>
  193. <view n="4">
  194. <config>
  195. <target-z-offset-m archive="y" type="double">2.5</target-z-offset-m>
  196. </config>
  197. </view>
  198. <view n="5">
  199. <config>
  200. <target-z-offset-m archive="y" type="double">2.5</target-z-offset-m>
  201. </config>
  202. </view>
  203. <view n="6">
  204. <config>
  205. <target-z-offset-m archive="y" type="double">2.5</target-z-offset-m>
  206. </config>
  207. </view>
  208. <weight n="0">
  209. <name>Pilot</name>
  210. <weight-lb>180</weight-lb>
  211. <max-lb>300</max-lb>
  212. </weight>
  213. <weight n="1">
  214. <name>Co-Pilot</name>
  215. <weight-lb>180</weight-lb>
  216. <max-lb>300</max-lb>
  217. </weight>
  218. <weight n="2">
  219. <name>Right Passenger</name>
  220. <weight-lb>0</weight-lb>
  221. <max-lb>300</max-lb>
  222. </weight>
  223. <weight n="3">
  224. <name>Middle Passenger</name>
  225. <weight-lb>0</weight-lb>
  226. <max-lb>300</max-lb>
  227. </weight>
  228. <weight n="4">
  229. <name>Left Passenger</name>
  230. <weight-lb>0</weight-lb>
  231. <max-lb>300</max-lb>
  232. </weight>
  233. <weight n="5">
  234. <name>Load</name>
  235. <weight-lb>0</weight-lb>
  236. <selected>none</selected>
  237. <opt>
  238. <name>none</name>
  239. <lbs>0</lbs>
  240. </opt>
  241. <opt>
  242. <name>Law Enforcement</name>
  243. <lbs>650</lbs>
  244. </opt>
  245. <opt>
  246. <name>Passenger</name>
  247. <lbs>800</lbs>
  248. </opt>
  249. <opt>
  250. <name>SAR</name>
  251. <lbs>1100</lbs>
  252. </opt>
  253. <opt>
  254. <name>Medivac</name>
  255. <lbs>1150</lbs>
  256. </opt>
  257. </weight>
  258. <help>
  259. <key>
  260. <name>]</name>
  261. <desc>Start engines</desc>
  262. </key>
  263. <key>
  264. <name>[</name>
  265. <desc>Shut down engines</desc>
  266. </key>
  267. <key>
  268. <name>Ctrl d</name>
  269. <desc>Turn off SAS</desc>
  270. </key>
  271. <key>
  272. <name>w</name>
  273. <desc>Rotate Searchlight Up</desc>
  274. </key>
  275. <key>
  276. <name>a</name>
  277. <desc>Rotate Searchlight Left</desc>
  278. </key>
  279. <key>
  280. <name>s</name>
  281. <desc>Rotate Searchlight Down</desc>
  282. </key>
  283. <key>
  284. <name>d</name>
  285. <desc>Rotate Searchlight Right</desc>
  286. </key>
  287. <line> Landing light + Search light ( when fitted ) are switched on/off from the switches on the collective.</line>
  288. <line> All other exterior lights are controlled from the switches in the overhead panel.</line>
  289. </help>
  290. <hitches>
  291. <!-- make sure some properties do exist, when the list for multiplayer transfere is defined-->
  292. <!-- they need to be in the same value, as they are initilized in the FDM, to get the same values after reset
  293. should fix this somehow-->
  294. <aerotow>
  295. <tow>
  296. <length type="float">60</length>
  297. <elastic-constant type="float">10000</elastic-constant>
  298. <weight-per-m-kg-m type="float">1</weight-per-m-kg-m>
  299. <dist type="float">1</dist>
  300. <connected-to-property-node type="bool"></connected-to-property-node>
  301. <brake-force type="float">100000</brake-force>
  302. <connected-to-ai-or-mp-callsign type ="string">*</connected-to-ai-or-mp-callsign>
  303. <end-force-x type ="float">0</end-force-x>
  304. <end-force-y type ="float">0</end-force-y>
  305. <end-force-z type ="float">0</end-force-z>
  306. </tow>
  307. <speed-in-tow-direction type="float">0</speed-in-tow-direction>
  308. <open type="bool">true</open>
  309. <local-pos-x type="float">0</local-pos-x>
  310. <local-pos-y type="float">0</local-pos-y>
  311. <local-pos-z type="float">0</local-pos-z>
  312. <is-slave type="bool">true</is-slave>
  313. </aerotow>
  314. </hitches>
  315. <menubar>
  316. <default>
  317. <menu n="10">
  318. <label>EC-145</label>
  319. <enabled type="bool">true</enabled>
  320. <item>
  321. <label>Select Livery</label>
  322. <binding>
  323. <command>nasal</command>
  324. <script>aircraft.livery.dialog.toggle()</script>
  325. </binding>
  326. </item>
  327. <item>
  328. <label>Show/hide Rotor Particles</label>
  329. <binding>
  330. <command>nasal</command>
  331. <script>
  332. var p = "sim/model/rotor-partcles";
  333. setprop(p, var i = !getprop(p));
  334. gui.popupTip("Rotor Particles visible " ~ (i ? "Off" : "On"));
  335. </script>
  336. </binding>
  337. </item>
  338. </menu>
  339. </default>
  340. </menubar>
  341. </sim>
  342. <environment>
  343. <turbulence>
  344. <use-cloud-turbulence>true</use-cloud-turbulence>
  345. </turbulence>
  346. </environment>
  347. <consumables>
  348. <fuel>
  349. <tank>
  350. <name>Main</name>
  351. <selected type="bool" write="n">1</selected>
  352. <density-ppg type="double" write="n">6.682</density-ppg>
  353. </tank>
  354. <tank>
  355. <name>Supply</name>
  356. <selected type="bool" write="n">1</selected>
  357. <density-ppg type="double" write="n">6.682</density-ppg>
  358. </tank>
  359. </fuel>
  360. </consumables>
  361. <controls>
  362. <rotor>
  363. <reltarget type="double">0</reltarget>
  364. <maxreltorque type="double">0</maxreltorque>
  365. </rotor>
  366. <!--
  367. <lighting>
  368. <strobe type="bool">false</strobe>
  369. <beacon type="bool">false</beacon>
  370. <nav-lights type="bool">false</nav-lights>
  371. </lighting>
  372. -->
  373. </controls>
  374. <instrumentation>
  375. <gsdi>
  376. <serviceable type="bool">true</serviceable>
  377. </gsdi>
  378. <hsi>
  379. <serviceable type="bool" archive="y">true</serviceable>
  380. </hsi>
  381. <efis>
  382. <ecam>
  383. <display-mode type="string">FUEL</display-mode>
  384. </ecam>
  385. <nd>
  386. <display-mode type="string">VOR</display-mode>
  387. <display-mode-knob type="int">2</display-mode-knob>
  388. <display-range type="int">20</display-range>
  389. </nd>
  390. <input>
  391. <vor-adf-1 type="int">1</vor-adf-1>
  392. <vor-adf-2 type="int">1</vor-adf-2>
  393. <CSTR type="bool">1</CSTR>
  394. <WPT type="bool">1</WPT>
  395. <VORD type="bool">1</VORD>
  396. <NDB type="bool">1</NDB>
  397. <ARPT type="bool">1</ARPT>
  398. <WX type="bool">1</WX>
  399. <TERR type="bool">1</TERR>
  400. <TRAF type="bool">1</TRAF>
  401. <taxi type="bool">1</taxi>
  402. </input>
  403. </efis>
  404. <cdu>
  405. <display>IDENT</display>
  406. <ident>
  407. <model>EC 145</model>
  408. <engines>-80C2B1F</engines>
  409. </ident>
  410. <input type="string"/>
  411. <serviceable type="bool">true</serviceable>
  412. </cdu>
  413. <tcas>
  414. <serviceable type="bool">true</serviceable>
  415. <inputs>
  416. <mode type="int">3</mode> <!-- 0=off, 1=standby, 2=TA-only, 3=auto(TA/RA) -->
  417. </inputs>
  418. <!--voice>
  419. <file-prefix type="string">Sounds/tcas/</file-prefix>
  420. </voice-->
  421. <speaker> <!-- Speaker Configuration -->
  422. <max-dist type="double">2</max-dist> <!-- Max. distance where speaker is heard -->
  423. <reference-dist type="double">1</reference-dist> <!-- Distance to pilot -->
  424. <volume type="double"> 1 </volume> <!-- Volume at reference distance -->
  425. </speaker>
  426. <range type="int">3</range>
  427. </tcas>
  428. <tcas-display>
  429. <radar-texture-path type="string">Aircraft/ec145/Models/instruments/mfd/tacas/tcas-display.png</radar-texture-path>
  430. <symbol-texture-path type="string">Aircraft/ec145/Models/instruments/mfd/tacas/symbols.png</symbol-texture-path>
  431. <font>
  432. <color>
  433. <red type="float">0.7</red>
  434. <green type="float">0.7</green>
  435. <blue type="float">0.7</blue>
  436. <alpha type="float">1</alpha>
  437. </color>
  438. <name type="string">helvetica_bold.txf</name>
  439. <size type="float">14</size>
  440. <line-spacing type="float">0.01</line-spacing>
  441. </font>
  442. <serviceable type="bool">true</serviceable>
  443. <range type="int" archive="y">3</range>
  444. <aircraft-heading-up type="bool">true</aircraft-heading-up>
  445. <heading-up-deg type="float">0.01</heading-up-deg>
  446. <x-center type="float">0.5</x-center>
  447. <y-center type="float">0.5</y-center>
  448. <display>
  449. </display>
  450. <line-width type="double">3</line-width>
  451. </tcas-display>
  452. <radar>
  453. <switch type="string" >off</switch>
  454. <switch-pos type="int">0</switch-pos>
  455. <mode-control type="int" >1</mode-control>
  456. <display-controls>
  457. <WX type="bool" >false</WX>
  458. <pos type="bool" >true</pos>
  459. <data type="bool" >false</data>
  460. <centre type="bool" >true</centre>
  461. <symbol type="bool" >true</symbol>
  462. <tcas type="bool" >true</tcas>
  463. </display-controls>
  464. <serviceable type="bool">true</serviceable>
  465. <range type="int" >10</range>
  466. <reference-range-nm type="double" >20</reference-range-nm>
  467. <mode type="string" >WX</mode>
  468. <font>
  469. <tcas>
  470. <color n="0"> <!-- distant targets -->
  471. <red type="float">0</red>
  472. <green type="float">1</green>
  473. <blue type="float">1</blue>
  474. </color>
  475. <color n="1"> <!-- proximity targets -->
  476. <red type="float">0</red>
  477. <green type="float">1</green>
  478. <blue type="float">1</blue>
  479. </color>
  480. <color n="2"> <!-- TA threat targets -->
  481. <red type="float">1</red>
  482. <green type="float">0.5</green>
  483. <blue type="float">0</blue>
  484. </color>
  485. <color n="3"> <!-- RA threat targets -->
  486. <red type="float">1</red>
  487. <green type="float">0</green>
  488. <blue type="float">0</blue>
  489. </color>
  490. </tcas>
  491. </font>
  492. <lightning type="bool" >false</lightning>
  493. <display-mode type="string" >map</display-mode>
  494. <radar-texture-path type="string">Aircraft/ec145/Models/instruments/mfd/tcas-2.png</radar-texture-path>
  495. <echo-texture-path type="string" >Aircraft/ec145/Models/instruments/mfd/wxecho.png</echo-texture-path>
  496. <minimized type="bool" >false</minimized>
  497. <heading-marker type="bool" >true</heading-marker>
  498. <limit-deg type="int">180</limit-deg>
  499. </radar>
  500. </instrumentation>
  501. <!--=============================================================== Start of Warty mod -->
  502. <afcs>
  503. <yaw>0</yaw>
  504. <targetYawRate>0</targetYawRate>
  505. <alt>0</alt>
  506. <targetAltRate>0</targetAltRate>
  507. <speed>0</speed>
  508. <targetSpeed>0</targetSpeed>
  509. </afcs>
  510. <input>
  511. <keyboard include="AFCS/helicopter-afcs.xml">
  512. <!--================================================================= End of Warty mod -->
  513. <key n="100">
  514. <name>d</name>
  515. <desc>Set collective to zero</desc>
  516. <binding>
  517. <command>nasal</command>
  518. <script>interpolate("/controls/engines/engine/throttle", 1.0, 1.25)</script>
  519. </binding>
  520. </key>
  521. <key n="4">
  522. <name>Ctrl-d</name>
  523. <desc>Toggle SAS enabled</desc>
  524. <binding>
  525. <command>nasal</command>
  526. <script>bk117.sas.toggleEnable();</script>
  527. </binding>
  528. </key>
  529. <!--key n="97">
  530. <name>a</name>
  531. <desc>Rotate Spotlight left</desc>
  532. <repeatable>true</repeatable>
  533. <interval-sec>0.001</interval-sec>
  534. <binding>
  535. <command>property-adjust</command>
  536. <property>sim/model/turret-positions/turretx</property>
  537. <step>1</step>
  538. <max>110</max>
  539. </binding>
  540. </key>
  541. <key n="100">
  542. <name>d</name>
  543. <desc>Rotate Spotlight right</desc>
  544. <repeatable>true</repeatable>
  545. <interval-sec>0.001</interval-sec>
  546. <binding>
  547. <command>property-adjust</command>
  548. <property>sim/model/turret-positions/turretx</property>
  549. <step>-1</step>
  550. <max>110</max>
  551. </binding>
  552. </key>
  553. <key n="119">
  554. <name>w</name>
  555. <desc>Rotate Spotlight up</desc>
  556. <repeatable>true</repeatable>
  557. <interval-sec>0.001</interval-sec>
  558. <binding>
  559. <command>property-adjust</command>
  560. <property>sim/model/turret-positions/turretz</property>
  561. <step>1</step>
  562. <max>0</max>
  563. </binding>
  564. </key>
  565. <key n="115">
  566. <name>s</name>
  567. <desc>Rotate Spotlight down</desc>
  568. <repeatable>true</repeatable>
  569. <interval-sec>0.001</interval-sec>
  570. <binding>
  571. <command>property-adjust</command>
  572. <property>sim/model/turret-positions/turretz</property>
  573. <step>-1</step>
  574. <min>-60</min>
  575. <max>0</max>
  576. </binding>
  577. </key-->
  578. <!--<key n="82">
  579. <name>R</name>
  580. <desc>Toggle rotor brake</desc>
  581. <binding>
  582. <command>nasal</command>
  583. <script>
  584. var p = "/controls/rotor/brake";
  585. setprop(p, !getprop(p));
  586. </script>
  587. </binding>
  588. </key>
  589. <key n="105">
  590. <name>i</name>
  591. <desc>Toggle ignition switch</desc>
  592. <binding>
  593. <command>nasal</command>
  594. <script>
  595. foreach (var e; controls.engines) {
  596. if (e.selected.getValue()) {
  597. var i = e.controls.getNode("ignition", 1);
  598. i.setValue(!i.getValue());
  599. }
  600. }
  601. </script>
  602. </binding>
  603. </key>
  604. <key n="114">
  605. <name>r</name>
  606. <desc>Apply rotor brake</desc>
  607. <binding>
  608. <command>nasal</command>
  609. <script>interpolate("/controls/rotor/brake", 1.0, 2)</script>
  610. </binding>
  611. <mod-up>
  612. <binding>
  613. <command>nasal</command>
  614. <script>interpolate("/controls/rotor/brake", 0.0, 2)</script>
  615. </binding>
  616. </mod-up>
  617. </key>
  618. <key n="118">
  619. <name>Alt-v</name>
  620. <desc>Toggle dynamic cockpit view</desc>
  621. <mod-alt>
  622. <binding>
  623. <command>property-toggle</command>
  624. <property>/sim/view/dynamic/enabled</property>
  625. </binding>
  626. </mod-alt>
  627. </key>-->
  628. <key n="123">
  629. <name>{</name>
  630. <desc>Shutdown Engines</desc>
  631. <binding>
  632. <command>nasal</command>
  633. <script>bk117.shutdown()</script>
  634. <condition>
  635. <property>/sim/signals/fdm-initialized</property>
  636. </condition>
  637. </binding>
  638. <!-- <binding>
  639. <command>nasal</command>
  640. <script>ec135.cas.toggleEnable();</script>
  641. </binding>-->
  642. </key>
  643. <key n="125">
  644. <name>}</name>
  645. <desc>Start Engines</desc>
  646. <binding>
  647. <command>nasal</command>
  648. <script>bk117.startup()</script>
  649. <condition>
  650. <property>/sim/signals/fdm-initialized</property>
  651. </condition>
  652. </binding>
  653. <!-- <binding>
  654. <command>nasal</command>
  655. <script>ec135.cas.toggleEnable();</script>
  656. </binding>-->
  657. </key>
  658. <key n="79">
  659. <name>O</name>
  660. <desc>Open aerotow hook</desc>
  661. <binding>
  662. <command>property-assign</command>
  663. <property>/sim/hitches/aerotow/open</property>
  664. <value type="bool">true</value>
  665. </binding>
  666. </key>
  667. <key n="111">
  668. <name>o</name>
  669. <desc>Lock aerotow hook</desc>
  670. <binding>
  671. <command>property-assign</command>
  672. <property>/sim/hitches/aerotow/open</property>
  673. <value type="bool">false</value>
  674. </binding>
  675. </key>
  676. <key n="15">
  677. <name>Ctrl-o</name>
  678. <desc>Find aircraft for aerotow</desc>
  679. <binding>
  680. <command>property-assign</command>
  681. <property>/controls/aerotow/find-aircraft</property>
  682. <value type="bool">true</value>
  683. </binding>
  684. <mod-up>
  685. <binding>
  686. <command>property-assign</command>
  687. <property>/controls/aerotow/find-aircraft</property>
  688. <value type="bool">false</value>
  689. </binding>
  690. </mod-up>
  691. </key>
  692. <!--<key n="108">
  693. <name>l</name>
  694. <desc>Landing Light</desc>
  695. <binding>
  696. <command>nasal</command>
  697. <script>bk117.landinglight.toggle()</script>
  698. </binding>
  699. </key>-->
  700. <key n="114">
  701. <name>r</name>
  702. <desc>Toggle Rescue</desc>
  703. <binding>
  704. <command>property-toggle</command>
  705. <property>/sim/model/rescue</property>
  706. </binding>
  707. </key>
  708. <key n="109">
  709. <name>m</name>
  710. <desc>Lift Winch</desc>
  711. <repeatable type="bool">true</repeatable>
  712. <binding>
  713. <command>property-adjust</command>
  714. <property>/sim/model/rescue-lift</property>
  715. <step type="double">-0.01</step>
  716. <min>0.0</min>
  717. <max>1</max>
  718. </binding>
  719. </key>
  720. <key n="77">
  721. <name>M</name>
  722. <desc>Down Winch</desc>
  723. <repeatable type="bool">true</repeatable>
  724. <binding>
  725. <command>property-adjust</command>
  726. <property>/sim/model/rescue-lift</property>
  727. <step type="double">0.01</step>
  728. <min>0.0</min>
  729. <max>1</max>
  730. </binding>
  731. </key>
  732. </keyboard>
  733. </input>
  734. <nasal>
  735. #====================================================================== Start of Warty mod
  736. <afcs><file>AFCS/afcs.nas</file></afcs>
  737. #======================================================================== End of Warty mod
  738. <bk117>
  739. <file>Aircraft/ec145/Nasal/bk117.nas</file>
  740. <file>Aircraft/ec145/Nasal/liveries.nas</file>
  741. <file>Aircraft/ec145/Nasal/woolthread.nas</file>
  742. <file>Aircraft/ec145/Nasal/fcs.nas</file>
  743. <file>Aircraft/ec145/Nasal/casdisable.nas</file>
  744. <file>Aircraft/ec145/Nasal/mfd.nas</file>
  745. </bk117>
  746. <lights>
  747. <file>Aircraft/ec145/Nasal/Lights.nas</file>
  748. </lights>
  749. <cdu>
  750. <file>Aircraft/Instruments-3d/cdu/boeing.nas</file>
  751. </cdu>
  752. <radar><file>Aircraft/Instruments-3d/RDR-160/RDR160.nas</file></radar>
  753. <radar2>
  754. <file>Aircraft/Instruments-3d/radar2/radar2.nas</file>
  755. </radar2>
  756. <terrain-map>
  757. <file>Aircraft/ec145/Nasal/terrain-map.nas</file>
  758. </terrain-map>
  759. <sound-helper>
  760. <file>Aircraft/ec145/Nasal/sound-helper.nas</file>
  761. </sound-helper>
  762. </nasal>
  763. <rotors>
  764. <main>
  765. <rpm type="double">0</rpm>
  766. </main>
  767. </rotors>
  768. </PropertyList>