123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <?xml version="1.0" encoding="UTF-8"?>
- <PropertyList>
- <model>
- <name>LandingLightFlash</name>
- <path>Flares/LandingLight-flash.xml</path>
- </model>
- <model>
- <name>LandingLightRemb</name>
- <path>Rembrandt/LandingLight-remb.xml</path>
- </model>
-
- <!--><model>
- <name>LandingLightCone</name>
- <path>LightCone/LandingLight-cone.xml</path>
- </model><--> <!-- uncomment for fake non-rembrandt cones -->
-
- <!-- COMPOSITOR REPLACEMENT CODE -->
- <light>
- <name>LandingLightComp</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.08</c>
- <l>0.002</l>
- <q>0.0001</q>
- </attenuation>
- <spot-exponent>5</spot-exponent>
- <spot-cutoff>30</spot-cutoff>
- <range-m>350</range-m>
-
- </light>
- <animation>
- <type>select</type>
- <object-name>LandingLightComp</object-name>
- <object-name>flash</object-name>
- <condition>
- <equals>
- <property>gear/gear/position-norm</property>
- <value>1</value>
- </equals>
- </condition>
- </animation>
- <!-- -->
- <animation>
- <type>select</type>
- <object-name>LandingLightFlash</object-name>
- <object-name>LandingLightRemb</object-name>
- <object-name>LandingLightComp</object-name>
- <!-- <object-name>LandingLightCone</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>
|