Replaced Billboard Navigation Lights with Procedural on Airbus AI Aircrafts
This commit is contained in:
parent
2b54a64754
commit
b12189dcd1
24 changed files with 1322 additions and 1855 deletions
|
@ -93,10 +93,11 @@
|
|||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</object-name>
|
||||
</animation>
|
||||
<!-- Show Static Lights when aircraft is moving -->
|
||||
<!-- Show Static Lights & Beacons when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
|
@ -117,22 +118,4 @@
|
|||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Beacons when Transponder Active -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<and>
|
||||
<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>
|
||||
</PropertyList>
|
|
@ -1,62 +1,55 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<description>A300</description>
|
||||
<description>A300</description>
|
||||
<author>Brett Harrison</author>
|
||||
<path>Models/A300.ac</path>
|
||||
|
||||
|
||||
<offsets>
|
||||
<pitch-deg>-1.1</pitch-deg>
|
||||
</offsets>
|
||||
|
||||
<path>Models/A300.ac</path>
|
||||
<offsets>
|
||||
<pitch-deg>-1.1</pitch-deg>
|
||||
</offsets>
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0.0</ind>
|
||||
<dep>0.0</dep>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<ind>70.0</ind>
|
||||
<dep>0.0</dep>
|
||||
</entry>
|
||||
|
||||
<type>rotate</type>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>90</ind>
|
||||
<dep>1.1</dep>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<ind>100</ind>
|
||||
<dep>1.1</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>1.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>190</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
<ind>0.0</ind>
|
||||
<dep>0.0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>70.0</ind>
|
||||
<dep>0.0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>90</ind>
|
||||
<dep>1.1</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>100</ind>
|
||||
<dep>1.1</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>1.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>190</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/A300-NavLights.xml</path>
|
||||
</model>
|
||||
</PropertyList>
|
122
AI/Aircraft/A300/Lights/A300-NavLights.xml
Normal file
122
AI/Aircraft/A300/Lights/A300-NavLights.xml
Normal file
|
@ -0,0 +1,122 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Author Ian (Yves Tolosa) - AUG 2018 -->
|
||||
<PropertyList>
|
||||
<!-- Position ALS Navigation Lights -->
|
||||
<model>
|
||||
<name>nav-right</name>
|
||||
<path>AI/Lights/procedural_light_nav_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>3.9858</x-m>
|
||||
<y-m>21.7997</y-m>
|
||||
<z-m>5.99728</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>3.9858</x-m>
|
||||
<y-m>-21.7997</y-m>
|
||||
<z-m>5.99728</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-tail</name>
|
||||
<path>AI/Lights/procedural_light_nav_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>28</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>7.21854</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position ALS Strobes -->
|
||||
<model>
|
||||
<name>strobe-right</name>
|
||||
<path>AI/Lights/procedural_light_strobe_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.5</x-m>
|
||||
<y-m>22.4697</y-m>
|
||||
<z-m>6.05925</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.5</x-m>
|
||||
<y-m>-22.4697</y-m>
|
||||
<z-m>6.05925</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-tail</name>
|
||||
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>28.5</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>7.21854</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-1.75192</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.02752</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>2.02505</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Group Lights for Shared Animations -->
|
||||
<animation>
|
||||
<name>StaticGrouped</name>
|
||||
<object-name>nav-right</object-name>
|
||||
<object-name>nav-left</object-name>
|
||||
<object-name>nav-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>StrobeGrouped</name>
|
||||
<object-name>strobe-right</object-name>
|
||||
<object-name>strobe-left</object-name>
|
||||
<object-name>strobe-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</object-name>
|
||||
</animation>
|
||||
<!-- Show Static Lights & Beacons when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
|
@ -1,19 +1,20 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<description>A319</description>
|
||||
<description>A319</description>
|
||||
<author>Brett Harrison</author>
|
||||
<path>Models/A319.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>155</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
<path>Models/A319.ac</path>
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>155</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/A319-NavLights.xml</path>
|
||||
</model>
|
||||
</PropertyList>
|
122
AI/Aircraft/A319/Lights/A319-NavLights.xml
Normal file
122
AI/Aircraft/A319/Lights/A319-NavLights.xml
Normal file
|
@ -0,0 +1,122 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Author Ian (Yves Tolosa) - AUG 2018 -->
|
||||
<PropertyList>
|
||||
<!-- Position ALS Navigation Lights -->
|
||||
<model>
|
||||
<name>nav-right</name>
|
||||
<path>AI/Lights/procedural_light_nav_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>2.68199</x-m>
|
||||
<y-m>16.5221</y-m>
|
||||
<z-m>4.47654</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>2.68199</x-m>
|
||||
<y-m>-16.5221</y-m>
|
||||
<z-m>4.47654</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-tail</name>
|
||||
<path>AI/Lights/procedural_light_nav_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>17.7</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>4.92351</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position ALS Strobes -->
|
||||
<model>
|
||||
<name>strobe-right</name>
|
||||
<path>AI/Lights/procedural_light_strobe_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>4.39792</x-m>
|
||||
<y-m>16.9238</y-m>
|
||||
<z-m>4.57166</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>4.39792</x-m>
|
||||
<y-m>-16.9238</y-m>
|
||||
<z-m>4.57166</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-tail</name>
|
||||
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>17.8</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>4.92351</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-2.73567</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>6.06082</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>1.52506</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Group Lights for Shared Animations -->
|
||||
<animation>
|
||||
<name>StaticGrouped</name>
|
||||
<object-name>nav-right</object-name>
|
||||
<object-name>nav-left</object-name>
|
||||
<object-name>nav-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>StrobeGrouped</name>
|
||||
<object-name>strobe-right</object-name>
|
||||
<object-name>strobe-left</object-name>
|
||||
<object-name>strobe-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</object-name>
|
||||
</animation>
|
||||
<!-- Show Static Lights & Beacons when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
|
@ -1,20 +1,20 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<description>A320</description>
|
||||
<description>A320</description>
|
||||
<author>Brett Harrison</author>
|
||||
<path>Models/A320.ac</path>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>155</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
<path>Models/A320.ac</path>
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>155</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/A320-NavLights.xml</path>
|
||||
</model>
|
||||
</PropertyList>
|
122
AI/Aircraft/A320/Lights/A320-NavLights.xml
Normal file
122
AI/Aircraft/A320/Lights/A320-NavLights.xml
Normal file
|
@ -0,0 +1,122 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Author Ian (Yves Tolosa) - AUG 2018 -->
|
||||
<PropertyList>
|
||||
<!-- Position ALS Navigation Lights -->
|
||||
<model>
|
||||
<name>nav-right</name>
|
||||
<path>AI/Lights/procedural_light_nav_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>2.68</x-m>
|
||||
<y-m>16.5221</y-m>
|
||||
<z-m>4.476544</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>2.68</x-m>
|
||||
<y-m>-16.5221</y-m>
|
||||
<z-m>4.476544</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-tail</name>
|
||||
<path>AI/Lights/procedural_light_nav_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>19.85</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>4.92351</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position ALS Strobes -->
|
||||
<model>
|
||||
<name>strobe-right</name>
|
||||
<path>AI/Lights/procedural_light_strobe_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>4.40347</x-m>
|
||||
<y-m>16.9238</y-m>
|
||||
<z-m>4.57166</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>4.40347</x-m>
|
||||
<y-m>-16.9238</y-m>
|
||||
<z-m>4.57166</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-tail</name>
|
||||
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>20</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>4.92351</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-2.78386</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>6.10126</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>1.47009</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Group Lights for Shared Animations -->
|
||||
<animation>
|
||||
<name>StaticGrouped</name>
|
||||
<object-name>nav-right</object-name>
|
||||
<object-name>nav-left</object-name>
|
||||
<object-name>nav-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>StrobeGrouped</name>
|
||||
<object-name>strobe-right</object-name>
|
||||
<object-name>strobe-left</object-name>
|
||||
<object-name>strobe-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</object-name>
|
||||
</animation>
|
||||
<!-- Show Static Lights & Beacons when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
|
@ -1,39 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<description>A330-200</description>
|
||||
<author>3D Model Innis Cunningham, UV map liveries Brett Harrison</author>
|
||||
<path>Models/A332.ac</path>
|
||||
<!-- Show Gear only when speed under 200 knots for parking and taxi and take off phases -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>165</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<description>A330-200</description>
|
||||
<author>3D Model Innis Cunningham, UV map liveries Brett Harrison</author>
|
||||
<path>Models/A332.ac</path>
|
||||
<!-- Show Gear only when speed under 200 knots for parking and taxi and take off phases -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>165</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<effect>
|
||||
<inherits-from>AI/Aircraft/A332/Effects/332-LightMap</inherits-from>
|
||||
<object-name>body</object-name>
|
||||
<object-name>gear</object-name>
|
||||
<object-name>gear</object-name>
|
||||
</effect>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/332-NavLights.xml</path>
|
||||
</model>
|
||||
<!-- Enable Beacons and Strobes Pulse Behaviour -->
|
||||
<nasal>
|
||||
<load><![CDATA[
|
||||
aircraft.light.new("/sim/model/A332/lighting/beacon", [0.7, 1.3]);
|
||||
aircraft.light.new("/sim/model/A332/lighting/strobes", [0.02, 0.1, 0.02, 1.86]);
|
||||
setprop("/sim/model/A332/lighting/beacon/enabled", 1);
|
||||
setprop("/sim/model/A332/lighting/strobes/enabled", 1);
|
||||
]]></load>
|
||||
<unload></unload>
|
||||
</nasal>
|
||||
|
||||
</PropertyList>
|
||||
</PropertyList>
|
|
@ -25,15 +25,4 @@
|
|||
<model>
|
||||
<path>Lights/332-NavLights.xml</path>
|
||||
</model>
|
||||
<!-- Enable Beacons and Strobes Pulse Behaviour -->
|
||||
<nasal>
|
||||
<load><![CDATA[
|
||||
aircraft.light.new("/sim/model/A332/lighting/beacon", [0.7, 1.3]);
|
||||
aircraft.light.new("/sim/model/A332/lighting/strobes", [0.02, 0.1, 0.02, 1.86]);
|
||||
setprop("/sim/model/A332/lighting/beacon/enabled", 1);
|
||||
setprop("/sim/model/A332/lighting/strobes/enabled", 1);
|
||||
]]></load>
|
||||
<unload></unload>
|
||||
</nasal>
|
||||
|
||||
</PropertyList>
|
||||
|
|
|
@ -1,221 +1,122 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Author Ian (Yves Tolosa) - AUG 2018 -->
|
||||
<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>30.64</offset-m>
|
||||
<axis>
|
||||
<x> 7.92873</x>
|
||||
<y> -28.7442</y>
|
||||
<z> 7.05026</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<offset-m>30.64</offset-m>
|
||||
<axis>
|
||||
<x> 7.92873</x>
|
||||
<y> 28.7442</y>
|
||||
<z> 7.05026</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
<offset-m>31.5</offset-m>
|
||||
<axis>
|
||||
<x> 30.1108</x>
|
||||
<y> 0</y>
|
||||
<z> 8.23748</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>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.92873</x>
|
||||
<y> -28.7442</y>
|
||||
<z> 7.05026</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<offset-m>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.92873</x>
|
||||
<y> 28.7442</y>
|
||||
<z> 7.05026</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
<offset-m>32</offset-m>
|
||||
<axis>
|
||||
<x> 30.1108</x>
|
||||
<y> 0</y>
|
||||
<z> 8.23748</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>9.46</offset-m>
|
||||
<axis>
|
||||
<x> -3.43213</x>
|
||||
<y> 0</y>
|
||||
<z> 8.81422</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<offset-m>2.75</offset-m>
|
||||
<axis>
|
||||
<x> 1.98512</x>
|
||||
<y> 0</y>
|
||||
<z> 1.90976</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Position ALS Navigation Lights -->
|
||||
<model>
|
||||
<name>nav-right</name>
|
||||
<path>AI/Lights/procedural_light_nav_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.9</x-m>
|
||||
<y-m>28.7442</y-m>
|
||||
<z-m>7.05026</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.9</x-m>
|
||||
<y-m>-28.7442</y-m>
|
||||
<z-m>7.05026</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-tail</name>
|
||||
<path>AI/Lights/procedural_light_nav_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>30.1108</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.23748</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position ALS Strobes -->
|
||||
<model>
|
||||
<name>strobe-right</name>
|
||||
<path>AI/Lights/procedural_light_strobe_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>11.0497</x-m>
|
||||
<y-m>29.6439</y-m>
|
||||
<z-m>8.08345</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>11.0497</x-m>
|
||||
<y-m>-29.6439</y-m>
|
||||
<z-m>8.08345</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-tail</name>
|
||||
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>30.5</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.23748</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-3.43213</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.81422</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>1.98512</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>1.90976</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- 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>
|
||||
<object-name>nav-right</object-name>
|
||||
<object-name>nav-left</object-name>
|
||||
<object-name>nav-tail</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>
|
||||
<object-name>strobe-right</object-name>
|
||||
<object-name>strobe-left</object-name>
|
||||
<object-name>strobe-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</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.0003</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>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/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>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/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 -->
|
||||
<!-- Show Static Lights & Beacons when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<condition>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
|
@ -25,14 +25,4 @@
|
|||
<model>
|
||||
<path>Lights/333-NavLights.xml</path>
|
||||
</model>
|
||||
<!-- Enable Beacons and Strobes Pulse Behaviour -->
|
||||
<nasal>
|
||||
<load><![CDATA[
|
||||
aircraft.light.new("/sim/model/A332/lighting/beacon", [0.7, 1.3]);
|
||||
aircraft.light.new("/sim/model/A332/lighting/strobes", [0.02, 0.1, 0.02, 1.86]);
|
||||
setprop("/sim/model/A332/lighting/beacon/enabled", 1);
|
||||
setprop("/sim/model/A332/lighting/strobes/enabled", 1);
|
||||
]]></load>
|
||||
<unload></unload>
|
||||
</nasal>
|
||||
</PropertyList>
|
||||
|
|
|
@ -1,187 +1,130 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Author Ian (Yves Tolosa) - AUG 2018 -->
|
||||
<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>30.60</offset-m>
|
||||
<axis>
|
||||
<x> 7.73974</x>
|
||||
<y> -28.7441</y>
|
||||
<z> 7.02936</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<offset-m>30.60</offset-m>
|
||||
<axis>
|
||||
<x> 7.73974</x>
|
||||
<y> 28.7441</y>
|
||||
<z> 7.02936</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
<offset-m>34.32</offset-m>
|
||||
<axis>
|
||||
<x> 33.3109</x>
|
||||
<y> 0</y>
|
||||
<z> 8.21694</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>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.73974</x>
|
||||
<y> -28.7441</y>
|
||||
<z> 7.02936</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<offset-m>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.73974</x>
|
||||
<y> 28.7441</y>
|
||||
<z> 7.02936</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
<offset-m>35</offset-m>
|
||||
<axis>
|
||||
<x> 33.3109</x>
|
||||
<y> 0</y>
|
||||
<z> 8.21694</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>9.02</offset-m>
|
||||
<axis>
|
||||
<x> -1.77582</x>
|
||||
<y> 0</y>
|
||||
<z> 8.84198</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<offset-m>4.125</offset-m>
|
||||
<axis>
|
||||
<x> 3.64143</x>
|
||||
<y> 0</y>
|
||||
<z> 1.93752</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Position ALS Navigation Lights -->
|
||||
<model>
|
||||
<name>nav-right</name>
|
||||
<path>AI/Lights/procedural_light_nav_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.73</x-m>
|
||||
<y-m>28.7423</y-m>
|
||||
<z-m>7.02971</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.73</x-m>
|
||||
<y-m>-28.7423</y-m>
|
||||
<z-m>7.02971</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-tail</name>
|
||||
<path>AI/Lights/procedural_light_nav_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>33.35</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.21694</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position ALS Strobes -->
|
||||
<model>
|
||||
<name>strobe-right</name>
|
||||
<path>AI/Lights/procedural_light_strobe_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.8605</x-m>
|
||||
<y-m>29.6439</y-m>
|
||||
<z-m>8.0629</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.8605</x-m>
|
||||
<y-m>-29.6439</y-m>
|
||||
<z-m>8.0629</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-tail</name>
|
||||
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>33.50</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.21694</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-1.77582</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.84198</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>3.64143</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>1.93752</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- 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>
|
||||
<object-name>nav-right</object-name>
|
||||
<object-name>nav-left</object-name>
|
||||
<object-name>nav-tail</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>
|
||||
<object-name>strobe-right</object-name>
|
||||
<object-name>strobe-left</object-name>
|
||||
<object-name>strobe-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</object-name>
|
||||
</animation>
|
||||
<!-- Do not compute or show transparent pixels when Rembrand is disabled -->
|
||||
<!-- Show Static Lights when aircraft is moving -->
|
||||
<animation>
|
||||
<type>alpha-test</type>
|
||||
<type>select</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>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<property>sim/rendering/rembrandt/enabled</property>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</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>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<emission>
|
||||
<red>1</red>
|
||||
<green>1</green>
|
||||
<blue>1</blue>
|
||||
</emission>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</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.0003</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.1</min>
|
||||
<max>40</max>
|
||||
</animation>
|
||||
<!-- Show Beacons when Aircraft is moving -->
|
||||
<!-- Show Beacons when Transponder Active -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/lighting/beacon/state</property>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
|
@ -193,29 +136,4 @@
|
|||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/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>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
|
@ -25,14 +25,4 @@
|
|||
<model>
|
||||
<path>Lights/342-NavLights.xml</path>
|
||||
</model>
|
||||
<!-- Enable Beacons and Strobes Pulse Behaviour -->
|
||||
<nasal>
|
||||
<load><![CDATA[
|
||||
aircraft.light.new("/sim/model/A332/lighting/beacon", [0.7, 1.3]);
|
||||
aircraft.light.new("/sim/model/A332/lighting/strobes", [0.02, 0.1, 0.02, 1.86]);
|
||||
setprop("/sim/model/A332/lighting/beacon/enabled", 1);
|
||||
setprop("/sim/model/A332/lighting/strobes/enabled", 1);
|
||||
]]></load>
|
||||
<unload></unload>
|
||||
</nasal>
|
||||
</PropertyList>
|
||||
|
|
|
@ -1,221 +1,122 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Author Ian (Yves Tolosa) - AUG 2018 -->
|
||||
<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>30.55</offset-m>
|
||||
<axis>
|
||||
<x> 7.55919</x>
|
||||
<y> -28.7441</y>
|
||||
<z> 7.06737</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<offset-m>30.55</offset-m>
|
||||
<axis>
|
||||
<x> 7.55919</x>
|
||||
<y> 28.7441</y>
|
||||
<z> 7.06737</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
<offset-m>32.30</offset-m>
|
||||
<axis>
|
||||
<x> 31.1225</x>
|
||||
<y> 0</y>
|
||||
<z> 8.25494</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>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.55919</x>
|
||||
<y> -28.7441</y>
|
||||
<z> 7.06737</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<offset-m>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.55919</x>
|
||||
<y> 28.7441</y>
|
||||
<z> 7.06737</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
<offset-m>33</offset-m>
|
||||
<axis>
|
||||
<x> 31.1225</x>
|
||||
<y> 0</y>
|
||||
<z> 8.25494</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>8.89</offset-m>
|
||||
<axis>
|
||||
<x> -0.48097</x>
|
||||
<y> 0</y>
|
||||
<z> 8.88156</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<offset-m>5.38</offset-m>
|
||||
<axis>
|
||||
<x> 4.93627</x>
|
||||
<y> 0</y>
|
||||
<z> 2.13544</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Position ALS Navigation Lights -->
|
||||
<model>
|
||||
<name>nav-right</name>
|
||||
<path>AI/Lights/procedural_light_nav_right.xml</path>
|
||||
<offsets>
|
||||
<x-m> 7.55919</x-m>
|
||||
<y-m> 28.7441</y-m>
|
||||
<z-m> 7.06737</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m> 7.55919</x-m>
|
||||
<y-m> -28.7441</y-m>
|
||||
<z-m> 7.06737</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-tail</name>
|
||||
<path>AI/Lights/procedural_light_nav_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m> 31.1225</x-m>
|
||||
<y-m> 0</y-m>
|
||||
<z-m> 8.25494</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position ALS Strobes -->
|
||||
<model>
|
||||
<name>strobe-right</name>
|
||||
<path>AI/Lights/procedural_light_strobe_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.68</x-m>
|
||||
<y-m>29.6439</y-m>
|
||||
<z-m>8.1009</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.68</x-m>
|
||||
<y-m>-29.6439</y-m>
|
||||
<z-m>8.1009</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-tail</name>
|
||||
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>31.5</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.25494</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-0.48097</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.88156</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>4.93627</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>2.13544</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- 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>
|
||||
<object-name>nav-right</object-name>
|
||||
<object-name>nav-left</object-name>
|
||||
<object-name>nav-tail</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>
|
||||
<object-name>strobe-right</object-name>
|
||||
<object-name>strobe-left</object-name>
|
||||
<object-name>strobe-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</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.0003</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>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/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>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/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 -->
|
||||
<!-- Show Static Lights & Beacons when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<condition>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
|
@ -1,38 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<description>A340-300</description>
|
||||
<author>3D Model Innis Cunningham, UV map liveries Brett Harrison</author>
|
||||
<path>Models/A343.ac</path>
|
||||
<!-- Show Gear only when speed under 200 knots for parking and taxi and take off phases -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>175</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<description>A340-300</description>
|
||||
<author>3D Model Innis Cunningham, UV map liveries Brett Harrison</author>
|
||||
<path>Models/A343.ac</path>
|
||||
<!-- Show Gear only when speed under 200 knots for parking and taxi and take off phases -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>175</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<effect>
|
||||
<inherits-from>AI/Aircraft/A343/Effects/343-LightMap</inherits-from>
|
||||
<object-name>fuselage</object-name>
|
||||
<object-name>gear</object-name>
|
||||
<object-name>gear</object-name>
|
||||
</effect>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/343-NavLights.xml</path>
|
||||
</model>
|
||||
<!-- Enable Beacons and Strobes Pulse Behaviour -->
|
||||
<nasal>
|
||||
<load><![CDATA[
|
||||
aircraft.light.new("/sim/model/A332/lighting/beacon", [0.7, 1.3]);
|
||||
aircraft.light.new("/sim/model/A332/lighting/strobes", [0.02, 0.1, 0.02, 1.86]);
|
||||
setprop("/sim/model/A332/lighting/beacon/enabled", 1);
|
||||
setprop("/sim/model/A332/lighting/strobes/enabled", 1);
|
||||
]]></load>
|
||||
<unload></unload>
|
||||
</nasal>
|
||||
</PropertyList>
|
||||
</PropertyList>
|
|
@ -1,221 +1,122 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Author Ian (Yves Tolosa) - AUG 2018 -->
|
||||
<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>30.49</offset-m>
|
||||
<axis>
|
||||
<x> 7.31572</x>
|
||||
<y> -28.7441</y>
|
||||
<z> 7.05928</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<offset-m>30.49</offset-m>
|
||||
<axis>
|
||||
<x> 7.31572</x>
|
||||
<y> 28.7441</y>
|
||||
<z> 7.05928</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
<offset-m>33.85</offset-m>
|
||||
<axis>
|
||||
<x> 32.7912</x>
|
||||
<y> 0</y>
|
||||
<z> 8.24668</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>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.31572</x>
|
||||
<y> -28.7441</y>
|
||||
<z> 7.05928</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<offset-m>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.31572</x>
|
||||
<y> 28.7441</y>
|
||||
<z> 7.05928</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
<offset-m>34</offset-m>
|
||||
<axis>
|
||||
<x> 32.7912</x>
|
||||
<y> 0</y>
|
||||
<z> 8.24668</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>8.86</offset-m>
|
||||
<axis>
|
||||
<x> -0.59934</x>
|
||||
<y> 0</y>
|
||||
<z> 8.84198</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<offset-m>5.26</offset-m>
|
||||
<axis>
|
||||
<x> 4.81791</x>
|
||||
<y> 0</y>
|
||||
<z> 2.10963</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Position ALS Navigation Lights -->
|
||||
<model>
|
||||
<name>nav-right</name>
|
||||
<path>AI/Lights/procedural_light_nav_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.31572</x-m>
|
||||
<y-m>28.7441</y-m>
|
||||
<z-m>7.05928</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.31572</x-m>
|
||||
<y-m>-28.7441</y-m>
|
||||
<z-m>7.05928</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-tail</name>
|
||||
<path>AI/Lights/procedural_light_nav_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>33</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.24668</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position ALS Strobes -->
|
||||
<model>
|
||||
<name>strobe-right</name>
|
||||
<path>AI/Lights/procedural_light_strobe_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.4366</x-m>
|
||||
<y-m>29.6439</y-m>
|
||||
<z-m>8.09264</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.4366</x-m>
|
||||
<y-m>-29.6439</y-m>
|
||||
<z-m>8.09264</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-tail</name>
|
||||
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>33.5</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.24668</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-0.59934</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.84198</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>4.81791</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>2.10963</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- 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>
|
||||
<object-name>nav-right</object-name>
|
||||
<object-name>nav-left</object-name>
|
||||
<object-name>nav-tail</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>
|
||||
<object-name>strobe-right</object-name>
|
||||
<object-name>strobe-left</object-name>
|
||||
<object-name>strobe-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</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.0003</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>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/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>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/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 -->
|
||||
<!-- Show Static Lights & Beacons when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<condition>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
|
@ -1,37 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<description>A340-500</description>
|
||||
<author>3D Model Innis Cunningham, UV map liveries Brett Harrison</author>
|
||||
<path>Models/A345.ac</path>
|
||||
<!-- Show Gear only when speed under 175 knots for parking and taxi and take off phases -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>175</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<description>A340-500</description>
|
||||
<author>3D Model Innis Cunningham, UV map liveries Brett Harrison</author>
|
||||
<path>Models/A345.ac</path>
|
||||
<!-- Show Gear only when speed under 175 knots for parking and taxi and take off phases -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>175</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<effect>
|
||||
<inherits-from>AI/Aircraft/A345/Effects/345-LightMap</inherits-from>
|
||||
<object-name>fuselage</object-name>
|
||||
<object-name>gear</object-name>
|
||||
<object-name>gear</object-name>
|
||||
</effect>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/345-NavLights.xml</path>
|
||||
</model>
|
||||
<!-- Enable Beacons and Strobes Pulse Behaviour -->
|
||||
<nasal>
|
||||
<load><![CDATA[
|
||||
aircraft.light.new("/sim/model/A332/lighting/beacon", [0.7, 1.3]);
|
||||
aircraft.light.new("/sim/model/A332/lighting/strobes", [0.02, 0.1, 0.02, 1.86]);
|
||||
setprop("/sim/model/A332/lighting/beacon/enabled", 1);
|
||||
setprop("/sim/model/A332/lighting/strobes/enabled", 1);
|
||||
]]></load>
|
||||
<unload></unload>
|
||||
</nasal>
|
||||
</PropertyList>
|
||||
</PropertyList>
|
|
@ -1,221 +1,122 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Author Ian (Yves Tolosa) - AUG 2018 -->
|
||||
<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>30.56</offset-m>
|
||||
<axis>
|
||||
<x> 7.5776</x>
|
||||
<y> -28.7441</y>
|
||||
<z> 7.07767</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<offset-m>30.56</offset-m>
|
||||
<axis>
|
||||
<x> 7.5776</x>
|
||||
<y> 28.7441</y>
|
||||
<z> 7.07767</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
<offset-m>36.10</offset-m>
|
||||
<axis>
|
||||
<x> 35.1114</x>
|
||||
<y> 0</y>
|
||||
<z> 8.26524</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>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.5776</x>
|
||||
<y> -28.7441</y>
|
||||
<z> 7.07767</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<offset-m>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.5776</x>
|
||||
<y> 28.7441</y>
|
||||
<z> 7.07767</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
<offset-m>36.5</offset-m>
|
||||
<axis>
|
||||
<x> 35.1114</x>
|
||||
<y> 0</y>
|
||||
<z> 8.26524</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>8.85</offset-m>
|
||||
<axis>
|
||||
<x> -0.3831</x>
|
||||
<y> 0</y>
|
||||
<z> 8.84198</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<offset-m>5.46</offset-m>
|
||||
<axis>
|
||||
<x> 5.03415</x>
|
||||
<y> 0</y>
|
||||
<z> 2.11858</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Position ALS Navigation Lights -->
|
||||
<model>
|
||||
<name>nav-right</name>
|
||||
<path>AI/Lights/procedural_light_nav_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.5776</x-m>
|
||||
<y-m>28.7441</y-m>
|
||||
<z-m>7.07767</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.5776</x-m>
|
||||
<y-m>-28.7441</y-m>
|
||||
<z-m>7.07767</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-tail</name>
|
||||
<path>AI/Lights/procedural_light_nav_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>35.2</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.26524</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position ALS Strobes -->
|
||||
<model>
|
||||
<name>strobe-right</name>
|
||||
<path>AI/Lights/procedural_light_strobe_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.6985</x-m>
|
||||
<y-m>29.6439</y-m>
|
||||
<z-m>8.1112</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.6985</x-m>
|
||||
<y-m>-29.6439</y-m>
|
||||
<z-m>8.1112</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-tail</name>
|
||||
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>36</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.26524</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-0.3831</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.84198</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>5.03415</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>2.11858</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- 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>
|
||||
<object-name>nav-right</object-name>
|
||||
<object-name>nav-left</object-name>
|
||||
<object-name>nav-tail</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>
|
||||
<object-name>strobe-right</object-name>
|
||||
<object-name>strobe-left</object-name>
|
||||
<object-name>strobe-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</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.0003</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>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/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>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/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 -->
|
||||
<!-- Show Static Lights & Beacons when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<condition>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
|
@ -1,38 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<description>A340-600</description>
|
||||
<author>3D Model Innis Cunningham, UV map liveries Brett Harrison</author>
|
||||
<path>Models/A346.ac</path>
|
||||
<!-- Show Gear only when speed under 175 knots for parking and taxi and take off phases -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>175</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<description>A340-600</description>
|
||||
<author>3D Model Innis Cunningham, UV map liveries Brett Harrison</author>
|
||||
<path>Models/A346.ac</path>
|
||||
<!-- Show Gear only when speed under 175 knots for parking and taxi and take off phases -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>175</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<effect>
|
||||
<inherits-from>AI/Aircraft/A346/Effects/346-LightMap</inherits-from>
|
||||
<object-name>fuselage</object-name>
|
||||
<object-name>gear</object-name>
|
||||
<object-name>gear</object-name>
|
||||
</effect>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/346-NavLights.xml</path>
|
||||
</model>
|
||||
<!-- Enable Beacons and Strobes Pulse Behaviour -->
|
||||
<nasal>
|
||||
<load><![CDATA[
|
||||
aircraft.light.new("/sim/model/A332/lighting/beacon", [0.7, 1.3]);
|
||||
aircraft.light.new("/sim/model/A332/lighting/strobes", [0.02, 0.1, 0.02, 1.86]);
|
||||
setprop("/sim/model/A332/lighting/beacon/enabled", 1);
|
||||
setprop("/sim/model/A332/lighting/strobes/enabled", 1);
|
||||
]]></load>
|
||||
<unload></unload>
|
||||
</nasal>
|
||||
</PropertyList>
|
||||
</PropertyList>
|
|
@ -1,221 +1,122 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Author Ian (Yves Tolosa) - AUG 2018 -->
|
||||
<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>30.506</offset-m>
|
||||
<axis>
|
||||
<x> 7.34972</x>
|
||||
<y> -28.7442</y>
|
||||
<z> 7.06666</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<offset-m>30.50</offset-m>
|
||||
<axis>
|
||||
<x> 7.34972</x>
|
||||
<y> 28.7442</y>
|
||||
<z> 7.06666</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
<offset-m>39.5</offset-m>
|
||||
<axis>
|
||||
<x> 38.486</x>
|
||||
<y> 0</y>
|
||||
<z> 8.25406</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>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.34972</x>
|
||||
<y> -28.7442</y>
|
||||
<z> 7.06666</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<offset-m>31</offset-m>
|
||||
<axis>
|
||||
<x> 7.34972</x>
|
||||
<y> 28.7442</y>
|
||||
<z> 7.06666</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
<offset-m>40</offset-m>
|
||||
<axis>
|
||||
<x> 38.486</x>
|
||||
<y> 0</y>
|
||||
<z> 8.25406</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>8.87</offset-m>
|
||||
<axis>
|
||||
<x> -0.65638</x>
|
||||
<y> 0</y>
|
||||
<z> 8.84199</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<offset-m>5.22</offset-m>
|
||||
<axis>
|
||||
<x> 4.76086</x>
|
||||
<y> 0</y>
|
||||
<z> 2.14575</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Position ALS Navigation Lights -->
|
||||
<model>
|
||||
<name>nav-right</name>
|
||||
<path>AI/Lights/procedural_light_nav_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.34972</x-m>
|
||||
<y-m>28.7442</y-m>
|
||||
<z-m>7.06666</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.34972</x-m>
|
||||
<y-m>-28.7442</y-m>
|
||||
<z-m>7.06666</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-tail</name>
|
||||
<path>AI/Lights/procedural_light_nav_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>38.5</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.25406</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position ALS Strobes -->
|
||||
<model>
|
||||
<name>strobe-right</name>
|
||||
<path>AI/Lights/procedural_light_strobe_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.4706</x-m>
|
||||
<y-m>29.6439</y-m>
|
||||
<z-m>8.10002</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.4706</x-m>
|
||||
<y-m>-29.6439</y-m>
|
||||
<z-m>8.10002</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-tail</name>
|
||||
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>39</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.25406</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-0.65638</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.84199</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>4.76086</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>2.14575</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- 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>
|
||||
<object-name>nav-right</object-name>
|
||||
<object-name>nav-left</object-name>
|
||||
<object-name>nav-tail</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>
|
||||
<object-name>strobe-right</object-name>
|
||||
<object-name>strobe-left</object-name>
|
||||
<object-name>strobe-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</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.0003</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>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/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>
|
||||
<condition>
|
||||
<and>
|
||||
<property>/sim/model/A332/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 -->
|
||||
<!-- Show Static Lights & Beacons when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<condition>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>transponder-id</property>
|
||||
<value type="string">0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
|
@ -22,20 +22,10 @@
|
|||
<effect>
|
||||
<inherits-from>AI/Aircraft/A350/Effects/359-LightMap</inherits-from>
|
||||
<object-name>359</object-name>
|
||||
<object-name>Gear</object-name>
|
||||
<object-name>Gear</object-name>
|
||||
</effect>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/359-NavLights.xml</path>
|
||||
</model>
|
||||
<!-- Enable Beacons and Strobes Pulse Behaviour -->
|
||||
<nasal>
|
||||
<load><![CDATA[
|
||||
aircraft.light.new("/sim/model/A359/lighting/beacon", [0.7, 1.3]);
|
||||
aircraft.light.new("/sim/model/A359/lighting/strobes", [0.02, 0.1, 0.02, 1.86]);
|
||||
setprop("/sim/model/A359/lighting/beacon/enabled", 1);
|
||||
setprop("/sim/model/A359/lighting/strobes/enabled", 1);
|
||||
]]></load>
|
||||
<unload></unload>
|
||||
</nasal>
|
||||
</PropertyList>
|
|
@ -1,218 +1,104 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Author Ian (Yves Tolosa) - AUG 2018 -->
|
||||
<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>32.45</offset-m>
|
||||
<axis>
|
||||
<x> 8.12828</x>
|
||||
<y> -30.618</y>
|
||||
<z> 7.02402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<offset-m>32.45</offset-m>
|
||||
<axis>
|
||||
<x> 8.12828</x>
|
||||
<y> 30.618</y>
|
||||
<z> 7.02402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
<offset-m>33.01</offset-m>
|
||||
<axis>
|
||||
<x> 32.3092</x>
|
||||
<y> 0</y>
|
||||
<z> 6.74196</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>34</offset-m>
|
||||
<axis>
|
||||
<x> 8.12828</x>
|
||||
<y> -30.618</y>
|
||||
<z> 7.02402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<offset-m>34</offset-m>
|
||||
<axis>
|
||||
<x> 8.12828</x>
|
||||
<y> 30.618</y>
|
||||
<z> 7.02402</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
<offset-m>34</offset-m>
|
||||
<axis>
|
||||
<x> 32.3092</x>
|
||||
<y> 0</y>
|
||||
<z> 6.74196</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.54</offset-m>
|
||||
<axis>
|
||||
<x> -18.643</x>
|
||||
<y> 0</y>
|
||||
<z> 8.63875</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<offset-m>3.29</offset-m>
|
||||
<axis>
|
||||
<x> -3.02357</x>
|
||||
<y> 0</y>
|
||||
<z> 1.31321</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Position ALS Navigation Lights -->
|
||||
<model>
|
||||
<name>nav-right</name>
|
||||
<path>AI/Lights/procedural_light_nav_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.98264</x-m>
|
||||
<y-m>29.9015</y-m>
|
||||
<z-m>6.89122</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>7.98264</x-m>
|
||||
<y-m>-29.9015</y-m>
|
||||
<z-m>6.89122</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-tail</name>
|
||||
<path>AI/Lights/procedural_light_nav_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>31.5</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>6.68294</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position ALS Strobes -->
|
||||
<model>
|
||||
<name>strobe-right</name>
|
||||
<path>AI/Lights/procedural_light_strobe_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>12.9022</x-m>
|
||||
<y-m>32.2627</y-m>
|
||||
<z-m>9.14594</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>12.9022</x-m>
|
||||
<y-m>-32.2627</y-m>
|
||||
<z-m>9.14594</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-tail</name>
|
||||
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>32</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>6.68294</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-18.643</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.63875</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>-3.02357</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>1.31321</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- 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>
|
||||
<object-name>nav-right</object-name>
|
||||
<object-name>nav-left</object-name>
|
||||
<object-name>nav-tail</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>
|
||||
<object-name>strobe-right</object-name>
|
||||
<object-name>strobe-left</object-name>
|
||||
<object-name>strobe-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</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.0003</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/A359/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/A359/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 -->
|
||||
<!-- Show Static Lights & Beacons when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
|
@ -221,4 +107,16 @@
|
|||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
|
@ -18,20 +18,10 @@
|
|||
<effect>
|
||||
<inherits-from>AI/Aircraft/A380/Effects/388-LightMap</inherits-from>
|
||||
<object-name>388</object-name>
|
||||
<object-name>Gear</object-name>
|
||||
<object-name>Gear</object-name>
|
||||
</effect>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/388-NavLights.xml</path>
|
||||
</model>
|
||||
<!-- Enable Beacons and Strobes Pulse Behaviour -->
|
||||
<nasal>
|
||||
<load><![CDATA[
|
||||
aircraft.light.new("/sim/model/A359/lighting/beacon", [0.7, 1.3]);
|
||||
aircraft.light.new("/sim/model/A359/lighting/strobes", [0.02, 0.1, 0.02, 1.86]);
|
||||
setprop("/sim/model/A359/lighting/beacon/enabled", 1);
|
||||
setprop("/sim/model/A359/lighting/strobes/enabled", 1);
|
||||
]]></load>
|
||||
<unload></unload>
|
||||
</nasal>
|
||||
</PropertyList>
|
|
@ -1,218 +1,104 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Author Ian (Yves Tolosa) - AUG 2018 -->
|
||||
<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>42.31</offset-m>
|
||||
<axis>
|
||||
<x> 12.3662</x>
|
||||
<y> -39.6928</y>
|
||||
<z> 7.82851</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Static_Green</object-name>
|
||||
<offset-m>42.31</offset-m>
|
||||
<axis>
|
||||
<x> 12.3662</x>
|
||||
<y> 39.6927</y>
|
||||
<z> 7.82846</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Static_White</object-name>
|
||||
<offset-m>36.3</offset-m>
|
||||
<axis>
|
||||
<x> 35.2577</x>
|
||||
<y> 0</y>
|
||||
<z> 8.35</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>42.80</offset-m>
|
||||
<axis>
|
||||
<x> 12.3662</x>
|
||||
<y> -39.6927</y>
|
||||
<z> 7.82846</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Right_Wing_Strobe</object-name>
|
||||
<offset-m>42.80</offset-m>
|
||||
<axis>
|
||||
<x> 12.3662</x>
|
||||
<y> 39.6927</y>
|
||||
<z> 7.82846</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tail_Strobe</object-name>
|
||||
<offset-m>34</offset-m>
|
||||
<axis>
|
||||
<x> 12.3662</x>
|
||||
<y> 0</y>
|
||||
<z> 7.82846</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>15.41</offset-m>
|
||||
<axis>
|
||||
<x> -10.3672</x>
|
||||
<y> 0</y>
|
||||
<z> 11.4076</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<offset-m>1.63</offset-m>
|
||||
<axis>
|
||||
<x> -0.3725</x>
|
||||
<y> 0</y>
|
||||
<z> 1.58512</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Position ALS Navigation Lights -->
|
||||
<model>
|
||||
<name>nav-right</name>
|
||||
<path>AI/Lights/procedural_light_nav_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.5257</x-m>
|
||||
<y-m>38.1556</y-m>
|
||||
<z-m>7.67743</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>10.5257</x-m>
|
||||
<y-m>-38.1556</y-m>
|
||||
<z-m>7.67743</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-tail</name>
|
||||
<path>AI/Lights/procedural_light_nav_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>35.5</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.31777</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position ALS Strobes -->
|
||||
<model>
|
||||
<name>strobe-right</name>
|
||||
<path>AI/Lights/procedural_light_strobe_right.xml</path>
|
||||
<offsets>
|
||||
<x-m>15.9576</x-m>
|
||||
<y-m>39.8448</y-m>
|
||||
<z-m>8.15137</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>15.9576</x-m>
|
||||
<y-m>-39.8448</y-m>
|
||||
<z-m>8.15137</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-tail</name>
|
||||
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
|
||||
<offsets>
|
||||
<x-m>36.5</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>8.31777</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-10.3672</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>11.4076</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>-0.3725</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>1.58512</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- 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>
|
||||
<object-name>nav-right</object-name>
|
||||
<object-name>nav-left</object-name>
|
||||
<object-name>nav-tail</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>
|
||||
<object-name>strobe-right</object-name>
|
||||
<object-name>strobe-left</object-name>
|
||||
<object-name>strobe-tail</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<name>BeaconGrouped</name>
|
||||
<object-name>Top_Beacon_Red</object-name>
|
||||
<object-name>Bottom_Beacon_Red</object-name>
|
||||
<object-name>beacon-top</object-name>
|
||||
<object-name>beacon-bottom</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/A359/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/A359/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 -->
|
||||
<!-- Show Static Lights & Beacons when aircraft is moving -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StaticGrouped</object-name>
|
||||
<object-name>BeaconGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
|
@ -221,4 +107,16 @@
|
|||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Show Strobes when Aircraft on runway or airborne -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>StrobeGrouped</object-name>
|
||||
<nopreview />
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>40</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
Loading…
Add table
Reference in a new issue