|
@@ -4,24 +4,104 @@
|
|
|
|
|
|
<model>
|
|
|
<name>LandingLightFlash</name>
|
|
|
- <path>Aircraft/Mako/Models/Lights/Flares/LandingLight-flash.xml</path>
|
|
|
+ <path>Flares/LandingLight-flash.xml</path>
|
|
|
</model>
|
|
|
|
|
|
<model>
|
|
|
<name>LandingLightRemb</name>
|
|
|
- <path>Aircraft/Mako/Models/Lights/Rembrandt/LandingLight-remb.xml</path>
|
|
|
+ <path>Rembrandt/LandingLight-remb.xml</path>
|
|
|
</model>
|
|
|
|
|
|
- <model>
|
|
|
+ <!--><model>
|
|
|
<name>LandingLightCone</name>
|
|
|
- <path>Aircraft/Mako/Models/Lights/LightCone/LandingLight-cone.xml</path>
|
|
|
- </model> <!-- uncomment for fake non-rembrandt cones -->
|
|
|
+ <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>
|
|
|
+ <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>LandingLightCone</object-name> <!-- uncomment for fake non-rembrandt cones -->
|
|
|
+ <object-name>LandingLightComp</object-name>
|
|
|
+<!-- <object-name>LandingLightCone</object-name> uncomment for fake non-rembrandt cones -->
|
|
|
<condition>
|
|
|
<and>
|
|
|
<property>lightpack/landing-lights-intensity</property>
|