123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <?xml version="1.0" encoding="UTF-8"?>
- <PropertyList>
- <model>
- <name>SearchLightFlash</name>
- <path>Flares/SearchLight-flash.xml</path>
- </model>
- <model>
- <name>SearchLightRemb</name>
- <path>Rembrandt/SearchLight-remb.xml</path>
- </model>
-
- <!-- <model>
- <name>SearchLightCone</name>
- <path>Aircraft/Bell_412/Models/Lights/LightCone/SearchLight-cone.xml</path>
- </model>uncomment for fake non-rembrandt cones -->
-
- <!-- COMPOSITOR REPLACEMENT CODE -->
- <light>
- <name>SearchLightComp</name>
- <type>spot</type>
- <position>
- <x>0.0</x>
- <y>0.0</y>
- <z>0.0</z>
- </position>
- <direction>
- <x>-1.0</x>
- <y>0.0</y>
- <z>0.0</z>
- </direction>
- <ambient>
- <r>0.03</r>
- <g>0.03</g>
- <b>0.03</b>
- <a>1.0</a>
- </ambient>
- <diffuse>
- <r>0.80</r>
- <g>0.80</g>
- <b>0.70</b>
- <a>1.0</a>
- </diffuse>
- <specular>
- <r>1.00</r>
- <g>0.75</g>
- <b>0.75</b>
- <a>1.0</a>
- </specular>
- <dim-factor>
- <expression>
- <product>
- <value>-1</value>
- <sum>
- <product>
- <max>
- <pow>
- <cos><property>/sim/time/sun-angle-rad</property></cos>
- <value>0.3</value>
- </pow>
- <value>0</value>
- </max>
- <value>1.0</value>
- </product>
- <value>-1</value>
- </sum>
- <property>lightpack/landing-lights-intensity</property>
- </product>
- </expression>
- </dim-factor>
- <attenuation>
- <c>0.0001</c>
- <l>0.0000002</l>
- <q>0.000001</q>
- </attenuation>
- <spot-exponent>1</spot-exponent>
- <spot-cutoff>10</spot-cutoff>
- <range-m>900</range-m>
-
- </light>
-
-
-
-
- <animation>
- <type>select</type>
- <object-name>SearchLightFlash</object-name>
- <object-name>SearchLightRemb</object-name>
- <object-name>SearchLightComp</object-name>
- <!-- <object-name>SearchLightCone</object-name> uncomment for fake non-rembrandt cones -->
- <condition>
- <and>
- <!--<property>lightpack/landing-lights-intensity</property> -->
- <not><property>sim/crashed</property></not>
- </and>
- </condition>
- </animation>
- </PropertyList>
|