TaxiLight.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ########################################
  3. # DR400-jsbSim by PAF team
  4. # April 2012 : Modified by PAF team
  5. # http://equipe-flightgear.forumactif.com
  6. ##########################################-->
  7. <PropertyList>
  8. <path>Taxilight.ac</path>
  9. <nopreview/>
  10. <animation>
  11. <type>light</type>
  12. <light-type>spot</light-type>
  13. <object-name>light</object-name>
  14. <position>
  15. <x> 0 </x>
  16. <y> 0 </y>
  17. <z> 0 </z>
  18. </position>
  19. <direction>
  20. <x> -0.998 </x>
  21. <y> 0.000 </y>
  22. <z> -0.125 </z>
  23. </direction>
  24. <ambient>
  25. <r> 0.3 </r>
  26. <g> 0.3 </g>
  27. <b> 0.3 </b>
  28. <a> 1.0 </a>
  29. </ambient>
  30. <diffuse>
  31. <r> 0.8 </r>
  32. <g> 0.8 </g>
  33. <b> 0.8 </b>
  34. <a> 1.0 </a>
  35. </diffuse>
  36. <specular>
  37. <r> 0.5 </r>
  38. <g> 0.5 </g>
  39. <b> 0.5 </b>
  40. <a> 1.0 </a>
  41. </specular>
  42. <dim-factor>
  43. <property>sim/multiplay/generic/float[6]</property>
  44. <!-- optional begin -->
  45. <factor>0.04</factor>
  46. <offset>0</offset>
  47. <min>0</min>
  48. <max>1</max>
  49. <!-- optional end -->
  50. </dim-factor>
  51. <attenuation>
  52. <c> 0.600 </c>
  53. <l> 0.200 </l>
  54. <q> 0.002 </q>
  55. </attenuation>
  56. <exponent> 20.0 </exponent>
  57. <cutoff> 60.0 </cutoff>
  58. <near-m> 2.5 </near-m>
  59. <far-m> 45.0 </far-m>
  60. </animation>
  61. <animation>
  62. <type>select</type>
  63. <object-name>light</object-name>
  64. <condition>
  65. <greater-than>
  66. <property>sim/multiplay/generic/float[6]</property>
  67. <value>9</value>
  68. </greater-than>
  69. </condition>
  70. </animation>
  71. <model>
  72. <path>TaxiLightPlate.xml</path>
  73. <offsets>
  74. <heading-deg> 20.0 </heading-deg>
  75. </offsets>
  76. </model>
  77. <!-- If you need to change scale of the light source, use and adapt : -->
  78. <!--<animation>
  79. <type>scale</type>
  80. <object-name>light</object-name>
  81. <x-offset> 1.0 </x-offset>
  82. <y-offset> 1.0 </y-offset>
  83. <z-offset> 1.0 </z-offset>
  84. </animation>-->
  85. </PropertyList>