LandingLight.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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>Landinglight.ac</path>
  9. <nopreview/>
  10. <animation>
  11. <type>light</type>
  12. <light-type>spot</light-type>
  13. <object-name>light</object-name>
  14. <nopreview/>
  15. <position>
  16. <x> 0 </x>
  17. <y> 0 </y>
  18. <z> 0 </z>
  19. </position>
  20. <direction>
  21. <x> -0.998 </x>
  22. <y> 0.000 </y>
  23. <z> 0.125 </z>
  24. </direction>
  25. <ambient>
  26. <r> 0.3 </r>
  27. <g> 0.3 </g>
  28. <b> 0.3 </b>
  29. <a> 1.0 </a>
  30. </ambient>
  31. <diffuse>
  32. <r> 0.8 </r>
  33. <g> 0.8 </g>
  34. <b> 0.8 </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. <expression />
  47. <interpolation />
  48. <factor>1</factor>
  49. <offset>0</offset>
  50. <min>0</min>
  51. <max>1</max>
  52. <!-- optional end -->
  53. </dim-factor>
  54. <attenuation>
  55. <c>1.0</c>
  56. <l>0.002</l>
  57. <q>0.00005</q>
  58. </attenuation>
  59. <exponent>30.0</exponent>
  60. <cutoff>39</cutoff>
  61. <near-m>3.5</near-m>
  62. <far-m>279</far-m>
  63. </animation>
  64. <animation>
  65. <type>select</type>
  66. <object-name>light</object-name>
  67. <condition>
  68. <equals>
  69. <property>gear/gear[0]/position-norm</property>
  70. <value> 1 </value>
  71. </equals>
  72. </condition>
  73. </animation>
  74. <model>
  75. <path>LandingLightPlate.xml</path>
  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>