beacon.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <path>RedLight.ac</path>
  4. <animation>
  5. <type>light</type>
  6. <light-type>point</light-type>
  7. <object-name>light</object-name>
  8. <position>
  9. <x> 0 </x>
  10. <y> 0 </y>
  11. <z> 0 </z>
  12. </position>
  13. <direction>
  14. <x> 0.0 </x>
  15. <y> 1.0 </y>
  16. <z> -0.4 </z>
  17. </direction>
  18. <ambient>
  19. <r> 0.0 </r>
  20. <g> 0.8 </g>
  21. <b> 0.0 </b>
  22. <a> 1.0 </a>
  23. </ambient>
  24. <diffuse>
  25. <r> 0.0 </r>
  26. <g> 1.0 </g>
  27. <b> 0.0 </b>
  28. <a> 1.0 </a>
  29. </diffuse>
  30. <specular>
  31. <r> 0.5 </r>
  32. <g> 0.5 </g>
  33. <b> 0.5 </b>
  34. <a> 1.0 </a>
  35. </specular>
  36. <dim-factor>
  37. <property>dimming/property</property>
  38. <!-- optional begin -->
  39. <factor>0.04</factor>
  40. <offset>0</offset>
  41. <min>0</min>
  42. <max>1</max>
  43. <!-- optional end -->
  44. </dim-factor>
  45. <attenuation>
  46. <c> 0.8 </c>
  47. <l> 0.2 </l>
  48. <q> 2.0 </q>
  49. </attenuation>
  50. <exponent> 1.0 </exponent>
  51. <cutoff> 50.0 </cutoff>
  52. <near-m> 0.0 </near-m>
  53. <far-m> 8.0 </far-m>
  54. </animation>
  55. <animation>
  56. <type>noshadow</type>
  57. <object-name>Light</object-name>
  58. </animation>
  59. <animation>
  60. <type>select</type>
  61. <object-name>Light</object-name>
  62. <condition>
  63. <property>/sim/model/lights/beacon/state</property>
  64. </condition>
  65. </animation>
  66. <animation>
  67. <type>material</type>
  68. <object-name>Light</object-name>
  69. <emission>
  70. <red> 1.0 </red>
  71. <green> 1.0 </green>
  72. <blue> 1.0 </blue>
  73. <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
  74. </emission>
  75. </animation>
  76. <animation>
  77. <type>dist-scale</type>
  78. <object-name>Light</object-name>
  79. <interpolation>
  80. <entry><ind> 0 </ind><dep> 0.25 </dep></entry>
  81. <entry><ind> 20 </ind><dep> 0.50 </dep></entry>
  82. <entry><ind> 1500 </ind><dep> 5.00 </dep></entry>
  83. </interpolation>
  84. </animation>
  85. <model>
  86. <path>Aircraft/AvroVulcanB2/Models/lightsR/NavLightRPlate.xml</path>
  87. </model>
  88. </PropertyList>