1
0
Fork 0

Replaced Billboard Navigation Lights with Procedural

This commit is contained in:
Yves Tolosa-Joas 2018-08-06 18:48:59 +10:00 committed by James Turner
parent 3d65204a15
commit 0b3e531c00
2 changed files with 139 additions and 16 deletions

View file

@ -1,19 +1,20 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<PropertyList> <PropertyList>
<description>A321</description> <description>A321</description>
<author>Brett Harrison</author> <author>Brett Harrison</author>
<path>Models/A321.ac</path> <path>Models/A321.ac</path>
<animation>
<animation> <type>select</type>
<type>select</type> <object-name>gear</object-name>
<object-name>gear</object-name> <condition>
<condition> <less-than>
<less-than> <property>velocities/true-airspeed-kt</property>
<property>velocities/true-airspeed-kt</property> <value>155</value>
<value>155</value> </less-than>
</less-than> </condition>
</condition> </animation>
</animation> <!-- Add Navigation Lights Objects -->
<model>
<path>Lights/A321-NavLights.xml</path>
</model>
</PropertyList> </PropertyList>

View 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.5</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.5</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>22.2664</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.27959</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.27959</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>23</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>