cyclic.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!-- Based on R22 panel for tye moment -->
  3. <PropertyList>
  4. <path>cyclic.ac</path>
  5. <!-- Controls -->
  6. <animation>
  7. <type>rotate</type>
  8. <object-name>Yokeshaft</object-name>
  9. <object-name>Yoke</object-name>
  10. <object-name>FOYoke</object-name>
  11. <object-name>FOYokeButton</object-name>
  12. <object-name>Llight.switch</object-name>
  13. <object-name>nut.001</object-name>
  14. <property>controls/flight/elevator</property>
  15. <factor> 15 </factor>
  16. <center>
  17. <x-m> 0.256 </x-m>
  18. <y-m> 0.000 </y-m>
  19. <z-m> -0.239 </z-m>
  20. </center>
  21. <axis>
  22. <x> 0 </x>
  23. <y> -1 </y>
  24. <z> 0 </z>
  25. </axis>
  26. </animation>
  27. <animation>
  28. <type>rotate</type>
  29. <object-name>Yoke</object-name>
  30. <object-name>FOYoke</object-name>
  31. <object-name>FOYokeButton</object-name>
  32. <object-name>Llight.switch</object-name>
  33. <object-name>nut.001</object-name>
  34. <object-name>Yokeshaft</object-name>
  35. <property>controls/flight/aileron</property>
  36. <factor> 15 </factor>
  37. <center>
  38. <x-m> 0.256 </x-m>
  39. <y-m> 0.000 </y-m>
  40. <z-m> -0.239 </z-m>
  41. </center>
  42. <axis>
  43. <x> -1 </x>
  44. <y> 0 </y>
  45. <z> 0 </z>
  46. </axis>
  47. </animation>
  48. <animation>
  49. <type>rotate</type>
  50. <object-name>Llight.switch</object-name>
  51. <property>sim/model/Robinson-R66/use-landing-light</property>
  52. <factor>30</factor>
  53. <center>
  54. <x-m>0.270</x-m>
  55. <y-m>-0.004</y-m>
  56. <z-m>0.031</z-m>
  57. </center>
  58. <axis>
  59. <x>0</x>
  60. <y>-1</y>
  61. <z>0</z>
  62. </axis>
  63. </animation>
  64. <animation>
  65. <type>pick</type>
  66. <object-name>Llight.switch</object-name>
  67. <action>
  68. <button>0</button>
  69. <binding>
  70. <property>/sim/rendering/als-secondary-lights/landing-light3-offset-deg</property>
  71. <value>-45</value>
  72. </binding>
  73. <binding>
  74. <command>property-toggle</command>
  75. <property>sim/model/Robinson-R66/use-landing-light</property>
  76. </binding>
  77. <binding>
  78. <command>property-toggle</command>
  79. <property>sim/sound/click</property>
  80. </binding>
  81. </action>
  82. </animation>
  83. <animation>
  84. <type>pick</type>
  85. <object-name>FOYokeButton</object-name>
  86. <action>
  87. <button>0</button>
  88. <binding>
  89. <command>property-toggle</command>
  90. <property>sim/sound/click</property>
  91. </binding>
  92. <binding>
  93. <command>nasal</command>
  94. <script>
  95. var p = "/sim/model/Robinson-R66/FOYoke-visible";
  96. setprop(p, var i = !getprop(p));
  97. gui.popupTip("Copilot yoke visible " ~ (i ? "On" : "Off"));
  98. </script>
  99. </binding>
  100. </action>
  101. </animation>
  102. <animation>
  103. <type>select</type>
  104. <object-name>Light</object-name>
  105. <condition>
  106. <property>controls/lighting/landing-light</property>
  107. </condition>
  108. </animation>
  109. <animation>
  110. <type>select</type>
  111. <object-name>FOYoke</object-name>
  112. <condition>
  113. <property>/sim/model/Robinson-R66/FOYoke-visible</property>
  114. </condition>
  115. </animation>
  116. </PropertyList>