NavLightR.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ************************************************************************
  4. Tecnam P92 Echo
  5. January 2012 created by Clément de l'Hamaide : http://equipe-flightgear.forumactif.com/u115
  6. ************************************************************************
  7. -->
  8. <PropertyList>
  9. <path>light.ac</path>
  10. <nopreview/>
  11. <animation>
  12. <type>light</type>
  13. <light-type>spot</light-type>
  14. <object-name>light</object-name>
  15. <position>
  16. <x> 0 </x>
  17. <y> 0 </y>
  18. <z> 0 </z>
  19. </position>
  20. <direction>
  21. <x> 0.0 </x>
  22. <y> 1.0 </y>
  23. <z> -0.4 </z>
  24. </direction>
  25. <ambient>
  26. <r> 0.0 </r>
  27. <g> 0.8 </g>
  28. <b> 0.0 </b>
  29. <a> 1.0 </a>
  30. </ambient>
  31. <diffuse>
  32. <r> 0.0 </r>
  33. <g> 1.0 </g>
  34. <b> 0.0 </b>
  35. <a> 1.0 </a>
  36. </diffuse>
  37. <specular>
  38. <r> 0.5 </r>
  39. <g> 0.5 </g>
  40. <b> 0.5 </b>
  41. <a> 1.0 </a>
  42. </specular>
  43. <dim-factor>
  44. <property>dimming/property</property>
  45. <!-- optional begin -->
  46. <factor>0.04</factor>
  47. <offset>0</offset>
  48. <min>0</min>
  49. <max>1</max>
  50. <!-- optional end -->
  51. </dim-factor>
  52. <attenuation>
  53. <c> 0.8 </c>
  54. <l> 0.2 </l>
  55. <q> 2.0 </q>
  56. </attenuation>
  57. <exponent> 1.0 </exponent>
  58. <cutoff> 50.0 </cutoff>
  59. <near-m> 0.0 </near-m>
  60. <far-m> 8.0 </far-m>
  61. </animation>
  62. <animation>
  63. <type>select</type>
  64. <object-name>light</object-name>
  65. <condition>
  66. <greater-than>
  67. <property>sim/multiplay/generic/float[4]</property>
  68. <value>9</value>
  69. </greater-than>
  70. </condition>
  71. </animation>
  72. <model>
  73. <path>Aircraft/AvroVulcanB2/Models/lightsR/NavLightRPlate.xml</path>
  74. </model>
  75. <!-- If you need to change scale of the light source, use and adapt : -->
  76. <!--
  77. <animation>
  78. <type>scale</type>
  79. <object-name>light</object-name>
  80. <x-offset> 1.0 </x-offset>
  81. <y-offset> 1.0 </y-offset>
  82. <z-offset> 1.0 </z-offset>
  83. </animation>
  84. -->
  85. </PropertyList>