1
0
Fork 0

New AI version of Saab 340 aircraft

This commit is contained in:
Yves Tolosa-Joas 2020-02-07 18:52:34 +11:00 committed by James Turner
parent 256a045db8
commit 43ed832a9c
9 changed files with 27362 additions and 0 deletions

View file

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Lighting of Tail, Flanks and Windows -->
<PropertyList>
<name>SF3-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/SF3/Effects/SF3-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: 136 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.370226</x-m>
<y-m>10.4619</y-m>
<z-m>2.61237</z-m>
</offsets>
</model>
<model>
<name>nav-left</name>
<path>AI/Lights/procedural_light_nav_left.xml</path>
<offsets>
<x-m>-0.370226</x-m>
<y-m>-10.4619</y-m>
<z-m>2.61237</z-m>
</offsets>
</model>
<model>
<name>nav-tail</name>
<path>AI/Lights/procedural_light_nav_tail.xml</path>
<offsets>
<x-m>10.3985</x-m>
<y-m>0</y-m>
<z-m>2.71975</z-m>
</offsets>
</model>
<!-- Position ALS Strobes -->
<model>
<name>strobe-right</name>
<path>AI/Lights/procedural_light_strobe_right.xml</path>
<offsets>
<x-m>0.113682</x-m>
<y-m>10.6681</y-m>
<z-m>2.63951</z-m>
</offsets>
</model>
<model>
<name>strobe-left</name>
<path>AI/Lights/procedural_light_strobe_left.xml</path>
<offsets>
<x-m>0.113682</x-m>
<y-m>-10.6681</y-m>
<z-m>2.63951</z-m>
</offsets>
</model>
<!-- Position Beacons -->
<model>
<name>beacon-top</name>
<path>AI/Lights/procedural_light_beacon_top.xml</path>
<offsets>
<x-m>9.53666</x-m>
<y-m>0</y-m>
<z-m>6.92229</z-m>
</offsets>
</model>
<model>
<name>beacon-bottom</name>
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
<offsets>
<x-m>1.525</x-m>
<y-m>0</y-m>
<z-m>0.99864</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>
</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>

27133
AI/Aircraft/SF3/Models/SF3.ac Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<PropertyList include="SF3-main.xml">
<texture-path>Textures/RegionalExpress</texture-path>
</PropertyList>

View file

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<PropertyList include="SF3-main.xml">
<texture-path>Textures/WestJet</texture-path>
</PropertyList>

View file

@ -0,0 +1,61 @@
<?xml version="1.0"?>
<PropertyList>
<description>Saab Fairchild 340A</description>
<author>Ian Tolosa</author>
<path>Models/SF3.ac</path>
<offsets>
<pitch-deg>0</pitch-deg>
</offsets>
<animation>
<type>select</type>
<object-name>Gear</object-name>
<condition>
<less-than>
<property>velocities/true-airspeed-kt</property>
<value>120</value>
</less-than>
</condition>
</animation>
<animation>
<type>spin</type>
<object-name>Prop_L</object-name>
<property>velocities/true-airspeed-kt</property>
<factor>11</factor>
<center>
<x-m>-3.32505</x-m>
<y-m>-3.355</y-m>
<z-m>2.17847</z-m>
</center>
<axis>
<x>1.000</x>
<y>0.000</y>
<z>0.000</z>
</axis>
</animation>
<animation>
<type>spin</type>
<object-name>Prop_R</object-name>
<property>velocities/true-airspeed-kt</property>
<factor>10</factor>
<center>
<x-m>-3.32505</x-m>
<y-m>3.355</y-m>
<z-m>2.17847</z-m>
</center>
<axis>
<x>1.000</x>
<y>0.000</y>
<z>0.000</z>
</axis>
</animation>
<!-- Tail and Windows Lightmap Effect -->
<effect>
<inherits-from>AI/Aircraft/SF3/Effects/SF3-LightMap</inherits-from>
<object-name>SF3</object-name>
<object-name>Gear</object-name>
</effect>
<!-- Add Navigation Lights Objects -->
<model>
<path>Lights/SF3-NavLights.xml</path>
</model>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB