float.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <PropertyList>
  3. <path>float.ac</path>
  4. <animation>
  5. <object-name>Switch</object-name>
  6. <object-name>base</object-name>
  7. </animation>
  8. <animation>
  9. <type>material</type>
  10. <object-name>Switch</object-name>
  11. <object-name>base</object-name>
  12. <emission>
  13. <red>0.001</red>
  14. <green>0.001</green>
  15. <blue>0.001</blue>
  16. <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
  17. </emission>
  18. </animation>
  19. <animation>
  20. <type>pick</type>
  21. <object-name>Switch</object-name>
  22. <action>
  23. <button>0</button>
  24. <repeatable>false</repeatable>
  25. <binding>
  26. <command>nasal</command>
  27. <script>floats.toggle_floats();</script>
  28. </binding>
  29. <!-- <mod-up>
  30. <binding>
  31. <command>nasal</command>
  32. <script>uh1.toggle_floats();</script>
  33. </binding>
  34. </mod-up>-->
  35. </action>
  36. </animation>
  37. <animation>
  38. <type>translate</type>
  39. <object-name>Switch</object-name>
  40. <property>controls/gear/floats-inflat</property>
  41. <factor> 0.004 </factor>
  42. <axis>
  43. <x> 0 </x>
  44. <y> 0 </y>
  45. <z> -1 </z>
  46. </axis>
  47. </animation>
  48. </PropertyList>