collective-C2.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <path>collective-C2.ac</path>
  4. <effect>
  5. <inherits-from>Aircraft/ec145/Models/Effects/bumpspec-collective</inherits-from>
  6. <object-name>collective.grip1</object-name>
  7. <object-name>collective.grip2</object-name>
  8. </effect>
  9. <!-- <effect>
  10. <inherits-from>Aircraft/ec145/Models/Effects/bumpspec-glaresh</inherits-from>
  11. <object-name>collective.leather</object-name>
  12. </effect> -->
  13. <!-- Landing light + Searchlight switch -->
  14. <model>
  15. <name>llswitch</name>
  16. <path>Aircraft/ec145/Models/instruments/switches/landing-lights.xml</path>
  17. <offsets>
  18. <x-m>-0.465</x-m>
  19. <y-m>0.037</y-m>
  20. <z-m>0.308</z-m>
  21. <pitch-deg>-58</pitch-deg>
  22. </offsets>
  23. <overlay>
  24. <animation n="100">
  25. <type>scale</type>
  26. <property>constants/zero</property>
  27. <x-offset>1.5</x-offset>
  28. <y-offset>1.5</y-offset>
  29. <z-offset>1.5</z-offset>
  30. </animation>
  31. </overlay>
  32. </model>
  33. <model>
  34. <name>slswitch</name>
  35. <path>Aircraft/ec145/Models/instruments/switches/searchlight.xml</path>
  36. <offsets>
  37. <x-m>-0.465</x-m>
  38. <y-m>0.01</y-m>
  39. <z-m>0.308</z-m>
  40. <pitch-deg>-58</pitch-deg>
  41. </offsets>
  42. <overlay>
  43. <animation n="100">
  44. <type>scale</type>
  45. <property>constants/zero</property>
  46. <x-offset>1.5</x-offset>
  47. <y-offset>1.5</y-offset>
  48. <z-offset>1.5</z-offset>
  49. </animation>
  50. </overlay>
  51. </model>
  52. <model>
  53. <name>floatwitch</name>
  54. <path>Aircraft/ec145/Models/Divers/Floats/Float-switch/float.xml</path>
  55. <offsets>
  56. <x-m>-0.465</x-m>
  57. <y-m>-0.022</y-m>
  58. <z-m>0.311</z-m>
  59. <pitch-deg>-60</pitch-deg>
  60. </offsets>
  61. <overlay>
  62. <animation n="100">
  63. <type>scale</type>
  64. <property>constants/zero</property>
  65. <x-offset>1.5</x-offset>
  66. <y-offset>1.5</y-offset>
  67. <z-offset>1.5</z-offset>
  68. </animation>
  69. </overlay>
  70. </model>
  71. <animation>
  72. <type>select</type>
  73. <object-name>floatwitch</object-name>
  74. <condition>
  75. <or>
  76. <equals>
  77. <property>sim/multiplay/generic/string[1]</property>
  78. <value>SAR</value>
  79. </equals>
  80. <equals>
  81. <property>sim/multiplay/generic/string[1]</property>
  82. <value>Passenger-offshore</value>
  83. </equals>
  84. </or>
  85. </condition>
  86. </animation>
  87. <!-- effect of overhead floodlight as material emission,
  88. 'cheap trick' to simulate ambient cabin lighting
  89. -->
  90. <animation>
  91. <type>material</type>
  92. <object-name>collective.head</object-name>
  93. <object-name>collective.grip1</object-name>
  94. <object-name>collective.grip2</object-name>
  95. <object-name>slswitch</object-name>
  96. <object-name>llswitch</object-name>
  97. <object-name>floatwitch</object-name>
  98. <emission>
  99. <red>0.005</red>
  100. <green>0.005</green>
  101. <blue>0.005</blue>
  102. <factor-prop>/systems/electrical/outputs/floodlight</factor-prop>
  103. </emission>
  104. </animation>
  105. <animation>
  106. <type>rotate</type>
  107. <object-name>collective.shaft</object-name>
  108. <object-name>collective.head</object-name>
  109. <object-name>collective.grip1</object-name>
  110. <object-name>collective.grip2</object-name>
  111. <object-name>collective.leather</object-name>
  112. <object-name>slswitch</object-name>
  113. <object-name>llswitch</object-name>
  114. <object-name>floatwitch</object-name>
  115. <property>controls/engines/engine[0]/throttle</property>
  116. <factor>-20</factor>
  117. <offsets>
  118. <x-m>0</x-m>
  119. <y-m>0</y-m>
  120. <z-m>0</z-m>
  121. </offsets>
  122. <axis>
  123. <x> 0 </x>
  124. <y> 1 </y>
  125. <z> 0 </z>
  126. </axis>
  127. </animation>
  128. <!-- animate twist grips on collective-->
  129. <animation>
  130. <type>textranslate</type>
  131. <object-name>collective.grip1</object-name>
  132. <axis>
  133. <x>1</x>
  134. <y>0</y>
  135. </axis>
  136. <factor>0.011</factor>
  137. <bias>0.0001</bias>
  138. <step>0.01</step>
  139. <property>controls/engines/engine[0]/twist-grip</property>
  140. </animation>
  141. <animation>
  142. <type>knob</type>
  143. <object-name>collective.grip1</object-name>
  144. <action>
  145. <binding>
  146. <command>property-adjust</command>
  147. <property>controls/engines/engine[0]/twist-grip</property>
  148. <factor>0.6</factor>
  149. <min>0</min>
  150. <max>10</max>
  151. <wrap>false</wrap>
  152. </binding>
  153. </action>
  154. <hovered>
  155. <binding>
  156. <command>set-tooltip</command>
  157. <tooltip-id>grip1</tooltip-id>
  158. <label>Eng 1 Power: %3d%%</label>
  159. <mapping>percent</mapping>
  160. <property>controls/engines/engine[0]/power</property>
  161. </binding>
  162. </hovered>
  163. </animation>
  164. <animation>
  165. <type>textranslate</type>
  166. <object-name>collective.grip2</object-name>
  167. <axis>
  168. <x>1</x>
  169. <y>0</y>
  170. </axis>
  171. <factor>0.011</factor>
  172. <bias>0.0001</bias>
  173. <step>0.01</step>
  174. <property>controls/engines/engine[1]/twist-grip</property>
  175. </animation>
  176. <animation>
  177. <type>knob</type>
  178. <object-name>collective.grip2</object-name>
  179. <action>
  180. <binding>
  181. <command>property-adjust</command>
  182. <property>controls/engines/engine[1]/twist-grip</property>
  183. <factor>0.6</factor>
  184. <min>0</min>
  185. <max>10</max>
  186. <wrap>false</wrap>
  187. </binding>
  188. </action>
  189. <hovered>
  190. <binding>
  191. <command>set-tooltip</command>
  192. <tooltip-id>grip2</tooltip-id>
  193. <label>Eng 2 Power: %3d%%</label>
  194. <mapping>percent</mapping>
  195. <property>controls/engines/engine[1]/power</property>
  196. </binding>
  197. </hovered>
  198. </animation>
  199. </PropertyList>