fuel.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>fuel.ac</path>
  4. <animation>
  5. <type>range</type>
  6. <min-m>0</min-m>
  7. <max-m>10</max-m>
  8. </animation>
  9. <animation>
  10. <object-name>base</object-name>
  11. <type>material</type>
  12. <emission>
  13. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  14. <red> 0.5 </red>
  15. <green>0.2 </green>
  16. <blue> 0.2 </blue>
  17. </emission>
  18. </animation>
  19. <animation>
  20. <type>pick</type>
  21. <visible>true</visible>
  22. <object-name>slip-way-door</object-name>
  23. <action>
  24. <button>0</button>
  25. <repeatable>false</repeatable>
  26. <binding>
  27. <command>property-toggle</command>
  28. <property>consumables/fuel/slip-way-door</property>
  29. </binding>
  30. <binding>
  31. <command>property-assign</command>
  32. <property>consumables/fuel/tank[1]/level-norm</property>
  33. <value> 1 </value>
  34. </binding>
  35. <binding>
  36. <command>property-assign</command>
  37. <property>consumables/fuel/tank[2]/level-norm</property>
  38. <value> 1 </value>
  39. </binding>
  40. <binding>
  41. <command>property-assign</command>
  42. <property>consumables/fuel/tank[1]/selected</property>
  43. <value> 0 </value>
  44. </binding>
  45. <binding>
  46. <command>property-assign</command>
  47. <property>consumables/fuel/tank[2]/selected</property>
  48. <value> 0 </value>
  49. </binding>
  50. <binding>
  51. <command>property-adjust</command>
  52. <property>consumables/fuel/tank[0]/level-norm</property>
  53. <step>0.1</step>
  54. <min>0</min>
  55. <max>1</max>
  56. <wrap>false</wrap>
  57. </binding>
  58. <binding>
  59. <command>property-adjust</command>
  60. <property>consumables/fuel/tank[3]/level-norm</property>
  61. <step>0.1</step>
  62. <min>0</min>
  63. <max>1</max>
  64. <wrap>false</wrap>
  65. </binding>
  66. <binding>
  67. <command>property-adjust</command>
  68. <property>consumables/fuel/tank[4]/level-norm</property>
  69. <step>0.1</step>
  70. <min>0</min>
  71. <max>1</max>
  72. <wrap>false</wrap>
  73. </binding>
  74. <binding>
  75. <command>property-assign</command>
  76. <property>consumables/fuel/tank[0]/selected</property>
  77. <value> 1 </value>
  78. </binding>
  79. <binding>
  80. <command>property-assign</command>
  81. <property>consumables/fuel/tank[3]/selected</property>
  82. <value> 1 </value>
  83. </binding>
  84. <binding>
  85. <command>property-assign</command>
  86. <property>consumables/fuel/tank[4]/selected</property>
  87. <value> 1 </value>
  88. </binding>
  89. <binding>
  90. <command>property-toggle</command>
  91. <property>sim/sound/click</property>
  92. </binding>
  93. </action>
  94. </animation>
  95. <animation>
  96. <type>rotate</type>
  97. <object-name>slip-way-door</object-name>
  98. <property>consumables/fuel/slip-way-door</property>
  99. <factor>40</factor>
  100. <axis>
  101. <x> 0 </x>
  102. <y> -1 </y>
  103. <z> 0 </z>
  104. </axis>
  105. <center>
  106. <x-m> 0.003 </x-m>
  107. <y-m> 0.054 </y-m>
  108. <z-m> -0.009 </z-m>
  109. </center>
  110. </animation>
  111. </PropertyList>