1
0
Fork 0

Revamped Dash 8 Q400 AI Model

This commit is contained in:
Yves Tolosa-Joas 2020-04-29 21:54:43 +10:00 committed by James Turner
parent 9255e632e9
commit 46e628529a
7 changed files with 25297 additions and 0 deletions

View file

@ -0,0 +1,6 @@
<?xml version="1.0"?>
<PropertyList include="DH4-main.xml">
<texture-path>Textures/Default</texture-path>
</PropertyList>

View file

@ -0,0 +1,77 @@
<?xml version="1.0"?>
<PropertyList>
<description>Bombardier Dash-8, Series 400 (Model 402)</description>
<author>Ian Tolosa</author>
<path>Models/DH4.ac</path>
<!-- Tilt Aircraft so Nose Wheels touch ground -->
<offsets>
<pitch-deg>-1.15</pitch-deg>
</offsets>
<!-- Show Gear if Airspeeed under 120 kts -->
<animation>
<type>select</type>
<object-name>DH4_Gear</object-name>
<condition>
<less-than>
<property>velocities/true-airspeed-kt</property>
<value>120</value>
</less-than>
</condition>
</animation>
<!-- Show Propellers' Blur if Speed over 15 kts -->
<animation>
<type>select</type>
<object-name>DH4_Blur</object-name>
<condition>
<greater-than-equals>
<property>velocities/true-airspeed-kt</property>
<value>15</value>
</greater-than-equals>
</condition>
</animation>
<!-- Propellers rotate x4 factor or airspeed -->
<animation>
<type>spin</type>
<object-name>DH4_PropL</object-name>
<property>velocities/true-airspeed-kt</property>
<factor>4</factor>
<center>
<x-m>-5.36179</x-m>
<y-m>-4.39</y-m>
<z-m>3.135</z-m>
</center>
<axis>
<x>1.000</x>
<y>0.000</y>
<z>0.000</z>
</axis>
</animation>
<animation>
<type>spin</type>
<object-name>DH4_PropR</object-name>
<property>velocities/true-airspeed-kt</property>
<factor>4</factor>
<center>
<x-m>-5.36179</x-m>
<y-m>4.39</y-m>
<z-m>3.135</z-m>
</center>
<axis>
<x>1.000</x>
<y>0.000</y>
<z>0.000</z>
</axis>
</animation>
<!-- Tail and Windows Illumination at Night Effect -->
<effect>
<inherits-from>AI/Aircraft/DH4/Effects/DH4-LightMap</inherits-from>
<object-name>DH4_Body</object-name>
<object-name>DH4_Gear</object-name>
<object-name>DH4_PropL</object-name>
<object-name>DH4_PropR</object-name>
</effect>
<!-- Add Navigation Red/Green/White Lights Objects -->
<model>
<path>Lights/DH4-NavLights.xml</path>
</model>
</PropertyList>

View file

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Lighting of Tail, Flanks and Windows -->
<PropertyList>
<name>DH4-LightMap</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">0</reflection-enabled>
<reflection-dynamic type="int">0</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0</reflection-correction>
<!-- Enable 3 colors RGB LigntMap -->
<lightmap-enabled type="int">
<use>/environment/lightmap-factor</use>
</lightmap-enabled>
<lightmap-multi type="int">1</lightmap-multi>
<!-- Red Channel (Tail) - Night Activation and Color -->
<lightmap-factor type="float" n="0">1</lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<!-- Green Channel (Windows) Multiplying Factor and Color -->
<lightmap-factor type="float" n="1">1.5</lightmap-factor>
<lightmap-color type="vec3d" n="1">1.0 1.0 1.0</lightmap-color>
<!-- Blue Channel (OFF) Multiplying Factor and Color -->
<lightmap-factor type="float" n="2">0</lightmap-factor>
<lightmap-color type="vec3d" n="2">1.0 1.0 1.0</lightmap-color>
<!-- Alpha Channel (OFF) Multiplying Factor and Color -->
<lightmap-factor type="float" n="3">0.0</lightmap-factor>
<lightmap-color type="vec3d" n="3">1.0 1.0 1.0</lightmap-color>
<!-- LightMap Image Location -->
<texture n="3">
<image>AI/Aircraft/DH4/Effects/DH4-LightMap.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
</parameters>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View file

@ -0,0 +1,112 @@
<?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>-0.813043</x-m>
<y-m>14.029</y-m>
<z-m>3.94619</z-m>
</offsets>
</model>
<model>
<name>nav-left</name>
<path>AI/Lights/procedural_light_nav_left.xml</path>
<offsets>
<x-m>-0.813043</x-m>
<y-m>-14.029</y-m>
<z-m>3.94619</z-m>
</offsets>
</model>
<model>
<name>nav-tail</name>
<path>AI/Lights/procedural_light_nav_tail.xml</path>
<offsets>
<x-m>17.1863</x-m>
<y-m>0</y-m>
<z-m>7.91406</z-m>
</offsets>
</model>
<!-- Position ALS Strobes -->
<model>
<name>strobe-left</name>
<path>AI/Lights/procedural_light_strobe_left.xml</path>
<offsets>
<x-m>-4.85106</x-m>
<y-m>0</y-m>
<z-m>0.9</z-m>
</offsets>
</model>
<model>
<name>strobe-tail</name>
<path>AI/Lights/procedural_light_strobe_tail.xml</path>
<offsets>
<x-m>14.7892</x-m>
<y-m>0</y-m>
<z-m>8.05505</z-m>
</offsets>
</model>
<!-- Position Beacons -->
<model>
<name>beacon-top</name>
<path>AI/Lights/procedural_light_beacon_top.xml</path>
<offsets>
<x-m>-5.65768</x-m>
<y-m>0</y-m>
<z-m>3.62439</z-m>
</offsets>
</model>
<model>
<name>beacon-bottom</name>
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
<offsets>
<x-m>15.4724</x-m>
<y-m>0</y-m>
<z-m>3.28737</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-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>

25064
AI/Aircraft/DH4/Models/DH4.ac Normal file

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB