magneto.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <PropertyList>
  3. <path>magneto.ac</path>
  4. <animation>
  5. <object-name>fond</object-name>
  6. <object-name>key</object-name>
  7. </animation>
  8. <animation>
  9. <type>pick</type>
  10. <object-name>key</object-name>
  11. <action>
  12. <button>0</button>
  13. <binding>
  14. <condition>
  15. <equals>
  16. <property>controls/electric/key</property>
  17. <value>3</value>
  18. </equals>
  19. </condition>
  20. <command>property-assign</command>
  21. <property>controls/engines/engine/starter</property>
  22. <value>1</value>
  23. </binding>
  24. <mod-up>
  25. <binding>
  26. <command>property-assign</command>
  27. <property>controls/engines/engine/starter</property>
  28. <value>0</value>
  29. </binding>
  30. </mod-up>
  31. <binding>
  32. <condition>
  33. <less-than-equals>
  34. <property>controls/electric/key</property>
  35. <value>2</value>
  36. </less-than-equals>
  37. </condition>
  38. <command>property-adjust</command>
  39. <property>controls/electric/key</property>
  40. <step>1</step>
  41. <min>0</min>
  42. <max>3</max>
  43. <wrap>0</wrap>
  44. </binding>
  45. <binding>
  46. <command>property-toggle</command>
  47. <property>sim/model/sound/click</property>
  48. </binding>
  49. </action>
  50. </animation>
  51. <animation>
  52. <type>pick</type>
  53. <object-name>key</object-name>
  54. <action>
  55. <button>1</button>
  56. <binding>
  57. <command>property-adjust</command>
  58. <property>controls/electric/key</property>
  59. <step>-1</step>
  60. <min>0</min>
  61. <max>3</max>
  62. <wrap>false</wrap>
  63. </binding>
  64. <binding>
  65. <command>property-toggle</command>
  66. <property>sim/model/sound/click</property>
  67. </binding>
  68. </action>
  69. <action>
  70. <button>3</button>
  71. <binding>
  72. <command>property-adjust</command>
  73. <property>controls/electric/key</property>
  74. <step>1</step>
  75. <min>0</min>
  76. <max>3</max>
  77. <wrap>false</wrap>
  78. </binding>
  79. <binding>
  80. <command>property-toggle</command>
  81. <property>sim/model/sound/click</property>
  82. </binding>
  83. </action>
  84. </animation>
  85. <animation>
  86. <type>rotate</type>
  87. <object-name>key</object-name>
  88. <property>controls/electric/key</property>
  89. <factor>-33</factor>
  90. <center>
  91. <x-m>0</x-m>
  92. <y-m>0</y-m>
  93. <z-m>0</z-m>
  94. </center>
  95. <axis>
  96. <x>1</x>
  97. <y>0</y>
  98. <z>0</z>
  99. </axis>
  100. </animation>
  101. <animation>
  102. <type>rotate</type>
  103. <object-name>key</object-name>
  104. <property>controls/engines/engine/starter</property>
  105. <factor>-70</factor>
  106. <center>
  107. <x-m>0</x-m>
  108. <y-m>0</y-m>
  109. <z-m>0</z-m>
  110. </center>
  111. <axis>
  112. <x>1</x>
  113. <y>0</y>
  114. <z>0</z>
  115. </axis>
  116. </animation>
  117. </PropertyList>