Navigation Lights and LightMap for 787 AI model
This commit is contained in:
parent
7132c0a40d
commit
ce29632882
8 changed files with 567 additions and 38 deletions
|
@ -3,13 +3,12 @@
|
|||
<description>Boeing 787-800</description>
|
||||
<author>Ian(Yves) Tolosa. June 2016 </author>
|
||||
<path>Models/788.ac</path>
|
||||
|
||||
|
||||
<!-- Pitch Forward so nosewheel on ground -->
|
||||
<offsets>
|
||||
<pitch-deg>-0.75</pitch-deg>
|
||||
</offsets>
|
||||
|
||||
<animation>
|
||||
<pitch-deg>-0.75</pitch-deg>
|
||||
</offsets>
|
||||
<!-- Gear Showed only < 150 knotspeed -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Gear</object-name>
|
||||
<condition>
|
||||
|
@ -19,17 +18,23 @@
|
|||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<nasal>
|
||||
<load>
|
||||
var model = cmdarg();
|
||||
model.getNode("door[0]/position-x-m", 1).setValue(-21.9937);
|
||||
model.getNode("door[0]/position-y-m", 1).setValue(5.55);
|
||||
model.getNode("door[0]/position-z-m", 1).setValue(2.31831);
|
||||
model.getNode("door[0]/jetway-hood-deg", 1).setValue(21);
|
||||
</load>
|
||||
|
||||
|
||||
</nasal>
|
||||
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<effect>
|
||||
<inherits-from>AI/Aircraft/787/Effects/788-LightMap</inherits-from>
|
||||
<object-name>788</object-name>
|
||||
</effect>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/788-NavLights.xml</path>
|
||||
</model>
|
||||
<!-- Enable Beacons and Strobes Pulse Behaviour -->
|
||||
<nasal>
|
||||
<load><![CDATA[
|
||||
aircraft.light.new("/sim/model/B777/lighting/beacon", [0.7, 1.3]);
|
||||
aircraft.light.new("/sim/model/B777/lighting/strobes", [0.02, 1.98]);
|
||||
setprop("/sim/model/B777/lighting/beacon/enabled", 1);
|
||||
setprop("/sim/model/B777/lighting/strobes/enabled", 1);
|
||||
]]></load>
|
||||
<unload></unload>
|
||||
</nasal>
|
||||
</PropertyList>
|
|
@ -3,14 +3,12 @@
|
|||
<description>Boeing 787-900</description>
|
||||
<author>Ian(Yves) Tolosa. August 2016 </author>
|
||||
<path>Models/789.ac</path>
|
||||
|
||||
|
||||
<!-- Pitch Forward so nosewheel on ground -->
|
||||
<offsets>
|
||||
<pitch-deg>-0.75</pitch-deg>
|
||||
<pitch-deg>-0.75</pitch-deg>
|
||||
</offsets>
|
||||
|
||||
|
||||
<animation>
|
||||
<!-- Gear Showed only < 150 knotspeed -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Gear</object-name>
|
||||
<condition>
|
||||
|
@ -20,17 +18,23 @@
|
|||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<nasal>
|
||||
<load>
|
||||
var model = cmdarg();
|
||||
model.getNode("door[0]/position-x-m", 1).setValue(-25.0467);
|
||||
model.getNode("door[0]/position-y-m", 1).setValue(5.55);
|
||||
model.getNode("door[0]/position-z-m", 1).setValue(2.29991);
|
||||
model.getNode("door[0]/jetway-hood-deg", 1).setValue(21);
|
||||
</load>
|
||||
|
||||
|
||||
</nasal>
|
||||
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<effect>
|
||||
<inherits-from>AI/Aircraft/787/Effects/789-LightMap</inherits-from>
|
||||
<object-name>789</object-name>
|
||||
</effect>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/789-NavLights.xml</path>
|
||||
</model>
|
||||
<!-- Enable Beacons and Strobes Pulse Behaviour -->
|
||||
<nasal>
|
||||
<load><![CDATA[
|
||||
aircraft.light.new("/sim/model/B777/lighting/beacon", [0.7, 1.3]);
|
||||
aircraft.light.new("/sim/model/B777/lighting/strobes", [0.02, 1.98]);
|
||||
setprop("/sim/model/B777/lighting/beacon/enabled", 1);
|
||||
setprop("/sim/model/B777/lighting/strobes/enabled", 1);
|
||||
]]></load>
|
||||
<unload></unload>
|
||||
</nasal>
|
||||
</PropertyList>
|
36
AI/Aircraft/787/Effects/788-LightMap.eff
Normal file
36
AI/Aircraft/787/Effects/788-LightMap.eff
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Lighting of Tail, Flanks and Windows -->
|
||||
<PropertyList>
|
||||
<name>788-LightMap</name>
|
||||
<inherits-from>Effects/model-combined-deferred</inherits-from>
|
||||
<parameters>
|
||||
<normalmap-enabled type="int">0</normalmap-enabled>
|
||||
<reflection-enabled type="int">0</reflection-enabled>
|
||||
<reflection-dynamic type="int">0</reflection-dynamic>
|
||||
<reflect_map-enabled type="int">0</reflect_map-enabled>
|
||||
<reflection-correction type="float">0</reflection-correction>
|
||||
<!-- Enable 3 colors RGB LigntMap -->
|
||||
<lightmap-enabled type="int"><use>/environment/lightmap-factor</use></lightmap-enabled>
|
||||
<lightmap-multi type="int">1</lightmap-multi>
|
||||
<!-- Red Channel (Tail) - Night Activation and Color -->
|
||||
<lightmap-factor type="float" n="0">1</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- Green Channel (Windows) Multiplying Factor and Color -->
|
||||
<lightmap-factor type="float" n="1">1.5</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="1">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- Blue Channel (OFF) Multiplying Factor and Color -->
|
||||
<lightmap-factor type="float" n="2">0</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="2">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- Alpha Channel (OFF) Multiplying Factor and Color -->
|
||||
<lightmap-factor type="float" n="3">0.0</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="3">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- LightMap Image Location -->
|
||||
<texture n="3">
|
||||
<image>AI/Aircraft/787/Effects/788-LightMap.png</image>
|
||||
<filter>linear-mipmap-linear</filter>
|
||||
<wrap-s>clamp</wrap-s>
|
||||
<wrap-t>clamp</wrap-t>
|
||||
<internal-format>normalized</internal-format>
|
||||
</texture>
|
||||
</parameters>
|
||||
</PropertyList>
|
BIN
AI/Aircraft/787/Effects/788-LightMap.png
Normal file
BIN
AI/Aircraft/787/Effects/788-LightMap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 160 KiB |
36
AI/Aircraft/787/Effects/789-LightMap.eff
Normal file
36
AI/Aircraft/787/Effects/789-LightMap.eff
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Lighting of Tail, Flanks and Windows -->
|
||||
<PropertyList>
|
||||
<name>789-LightMap</name>
|
||||
<inherits-from>Effects/model-combined-deferred</inherits-from>
|
||||
<parameters>
|
||||
<normalmap-enabled type="int">0</normalmap-enabled>
|
||||
<reflection-enabled type="int">0</reflection-enabled>
|
||||
<reflection-dynamic type="int">0</reflection-dynamic>
|
||||
<reflect_map-enabled type="int">0</reflect_map-enabled>
|
||||
<reflection-correction type="float">0</reflection-correction>
|
||||
<!-- Enable 3 colors RGB LigntMap -->
|
||||
<lightmap-enabled type="int"><use>/environment/lightmap-factor</use></lightmap-enabled>
|
||||
<lightmap-multi type="int">1</lightmap-multi>
|
||||
<!-- Red Channel (Tail) - Night Activation and Color -->
|
||||
<lightmap-factor type="float" n="0">1</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- Green Channel (Windows) Multiplying Factor and Color -->
|
||||
<lightmap-factor type="float" n="1">1.5</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="1">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- Blue Channel (OFF) Multiplying Factor and Color -->
|
||||
<lightmap-factor type="float" n="2">0</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="2">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- Alpha Channel (OFF) Multiplying Factor and Color -->
|
||||
<lightmap-factor type="float" n="3">0.0</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="3">1.0 1.0 1.0</lightmap-color>
|
||||
<!-- LightMap Image Location -->
|
||||
<texture n="3">
|
||||
<image>AI/Aircraft/787/Effects/789-LightMap.png</image>
|
||||
<filter>linear-mipmap-linear</filter>
|
||||
<wrap-s>clamp</wrap-s>
|
||||
<wrap-t>clamp</wrap-t>
|
||||
<internal-format>normalized</internal-format>
|
||||
</texture>
|
||||
</parameters>
|
||||
</PropertyList>
|
BIN
AI/Aircraft/787/Effects/789-LightMap.png
Normal file
BIN
AI/Aircraft/787/Effects/789-LightMap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 138 KiB |
224
AI/Aircraft/787/Lights/788-NavLights.xml
Normal file
224
AI/Aircraft/787/Lights/788-NavLights.xml
Normal file
|
@ -0,0 +1,224 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<!-- Load Lights Models -->
|
||||
<path>../../../Lights/NavLights.xml</path>
|
||||
<!-- Re-Position Static Light from 0,0,0 onto their final Position -->
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Left_Wing_Static_Red</object-name>
|
||||
<offset-m>31.30</offset-m>
|
||||
<axis>
|
||||
<x> 9.43435</x>
|
||||
<y> -28.9047</y>
|
||||
<z> 7.21402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<offset-m>31.30</offset-m>
|
||||
<axis>
|
||||
<x> 9.43435</x>
|
||||
<y> 28.9047</y>
|
||||
<z> 7.21402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
<offset-m>28.10</offset-m>
|
||||
<axis>
|
||||
<x> 27.4923</x>
|
||||
<y> 0</y>
|
||||
<z> 5.77517</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Re-Position Strobe Light from 0,0,0 onto their final Position -->
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Left_Wing_Strobe</object-name>
|
||||
<offset-m>32</offset-m>
|
||||
<axis>
|
||||
<x> 9.43435</x>
|
||||
<y> -28.9047</y>
|
||||
<z> 7.21402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<offset-m>32</offset-m>
|
||||
<axis>
|
||||
<x> 9.43435</x>
|
||||
<y> 28.9047</y>
|
||||
<z> 7.21402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
<offset-m>29</offset-m>
|
||||
<axis>
|
||||
<x> 27.4923</x>
|
||||
<y> 0</y>
|
||||
<z> 5.77517</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Re-Position Beacons from 0,0,0 onto their final Position -->
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<offset-m>18.28</offset-m>
|
||||
<axis>
|
||||
<x> -16.2973</x>
|
||||
<y> 0</y>
|
||||
<z> 8.27991</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<offset-m>8.22</offset-m>
|
||||
<axis>
|
||||
<x> -8.07238</x>
|
||||
<y> 0</y>
|
||||
<z> 1.56435</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Group Lights for Shared Animations -->
|
||||
<animation>
|
||||
<name>StaticGrouped</name>
|
||||
<object-name>Left_Wing_Static_Red</object-name>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>StrobeGrouped</name>
|
||||
<object-name>Left_Wing_Strobe</object-name>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
</animation>
|
||||
<!-- Do not compute or show transparent pixels when Rembrand is disabled -->
|
||||
<animation>
|
||||
<type>alpha-test</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<alpha-factor>0.4</alpha-factor>
|
||||
</animation>
|
||||
<!-- Make Navigation lights transparent when Rembrandt is enabled -->
|
||||
<effect>
|
||||
<inherits-from>Effects/model-transparent</inherits-from>
|
||||
<condition>
|
||||
<property>sim/rendering/rembrandt/enabled</property>
|
||||
</condition>
|
||||
<object-name>Left_Wing_Static_Red</object-name>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
</effect>
|
||||
<!-- Lights are Emissive -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<emission>
|
||||
<red>1</red>
|
||||
<green>1</green>
|
||||
<blue>1</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
<!-- Lights always face viewer -->
|
||||
<animation>
|
||||
<type>billboard</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<spherical type="bool">true</spherical>
|
||||
</animation>
|
||||
<!-- Lights do not cast shadows -->
|
||||
<animation>
|
||||
<type>noshadow</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
</animation>
|
||||
<!-- Scale Static Lights based on Distance from Viewer -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<factor>0.0002</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.1</min>
|
||||
<max>40</max>
|
||||
</animation>
|
||||
<!-- Scale Beacon Lights based on Distance from Viewer -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<factor>0.0002</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.1</min>
|
||||
<max>40</max>
|
||||
</animation>
|
||||
<!-- Scale Strobe Lights based on Distance from Viewer -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<factor>0.0004</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.1</min>
|
||||
<max>40</max>
|
||||
</animation>
|
||||
<!-- Show Beacons when Aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/B777/lighting/beacon/state</property>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
<equals>
|
||||
<property>valid</property>
|
||||
<value type="bool">true</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/B777/lighting/strobes/state</property>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Static Lights when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
224
AI/Aircraft/787/Lights/789-NavLights.xml
Normal file
224
AI/Aircraft/787/Lights/789-NavLights.xml
Normal file
|
@ -0,0 +1,224 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<!-- Load Lights Models -->
|
||||
<path>../../../Lights/NavLights.xml</path>
|
||||
<!-- Re-Position Static Light from 0,0,0 onto their final Position -->
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Left_Wing_Static_Red</object-name>
|
||||
<offset-m>31.25</offset-m>
|
||||
<axis>
|
||||
<x> 9.43435</x>
|
||||
<y>-28.9047</y>
|
||||
<z> 7.21402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<offset-m>31.25</offset-m>
|
||||
<axis>
|
||||
<x> 9.43435</x>
|
||||
<y> 28.9047</y>
|
||||
<z> 7.21402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
<offset-m>31.20</offset-m>
|
||||
<axis>
|
||||
<x> 30.5772</x>
|
||||
<y> 0</y>
|
||||
<z> 5.77517</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Re-Position Strobe Light from 0,0,0 onto their final Position -->
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Left_Wing_Strobe</object-name>
|
||||
<offset-m>33</offset-m>
|
||||
<axis>
|
||||
<x> 9.43435</x>
|
||||
<y> -28.9047</y>
|
||||
<z> 7.21402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<offset-m>33</offset-m>
|
||||
<axis>
|
||||
<x> 9.43435</x>
|
||||
<y> 28.9047</y>
|
||||
<z> 7.21402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
<offset-m>32</offset-m>
|
||||
<axis>
|
||||
<x> 30.5772</x>
|
||||
<y> 0</y>
|
||||
<z> 5.77517</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Re-Position Beacons from 0,0,0 onto their final Position -->
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<offset-m>20.55</offset-m>
|
||||
<axis>
|
||||
<x> -18.799</x>
|
||||
<y> 0</y>
|
||||
<z> 8.25449</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<offset-m>6.17</offset-m>
|
||||
<axis>
|
||||
<x> -5.97862</x>
|
||||
<y> 0</y>
|
||||
<z> 1.50692</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Group Lights for Shared Animations -->
|
||||
<animation>
|
||||
<name>StaticGrouped</name>
|
||||
<object-name>Left_Wing_Static_Red</object-name>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>StrobeGrouped</name>
|
||||
<object-name>Left_Wing_Strobe</object-name>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
</animation>
|
||||
<!-- Do not compute or show transparent pixels when Rembrand is disabled -->
|
||||
<animation>
|
||||
<type>alpha-test</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<alpha-factor>0.4</alpha-factor>
|
||||
</animation>
|
||||
<!-- Make Navigation lights transparent when Rembrandt is enabled -->
|
||||
<effect>
|
||||
<inherits-from>Effects/model-transparent</inherits-from>
|
||||
<condition>
|
||||
<property>sim/rendering/rembrandt/enabled</property>
|
||||
</condition>
|
||||
<object-name>Left_Wing_Static_Red</object-name>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
</effect>
|
||||
<!-- Lights are Emissive -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<emission>
|
||||
<red>1</red>
|
||||
<green>1</green>
|
||||
<blue>1</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
<!-- Lights always face viewer -->
|
||||
<animation>
|
||||
<type>billboard</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<spherical type="bool">true</spherical>
|
||||
</animation>
|
||||
<!-- Lights do not cast shadows -->
|
||||
<animation>
|
||||
<type>noshadow</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
</animation>
|
||||
<!-- Scale Static Lights based on Distance from Viewer -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<factor>0.0002</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.1</min>
|
||||
<max>40</max>
|
||||
</animation>
|
||||
<!-- Scale Beacon Lights based on Distance from Viewer -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<factor>0.0002</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.1</min>
|
||||
<max>40</max>
|
||||
</animation>
|
||||
<!-- Scale Strobe Lights based on Distance from Viewer -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<factor>0.0004</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.1</min>
|
||||
<max>40</max>
|
||||
</animation>
|
||||
<!-- Show Beacons when Aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/B777/lighting/beacon/state</property>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
<equals>
|
||||
<property>valid</property>
|
||||
<value type="bool">true</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/B777/lighting/strobes/state</property>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Static Lights when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
Loading…
Reference in a new issue