Added LightMap and ALS Navigation Lights to Embraer ERJ190 AI Model
This commit is contained in:
parent
7f69387abe
commit
6638eb5560
4 changed files with 167 additions and 21 deletions
|
@ -1,23 +1,29 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<description>Embraer Regional Jet 190</description>
|
||||
<author>Ian(Yves) Tolosa</author>
|
||||
<path>Models/E90.ac</path>
|
||||
|
||||
|
||||
<offsets>
|
||||
<pitch-deg>-1.30</pitch-deg>
|
||||
</offsets>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>150</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
</PropertyList>
|
||||
<description>Embraer Regional Jet 190</description>
|
||||
<author>Ian(Yves) Tolosa</author>
|
||||
<path>Models/E90.ac</path>
|
||||
<offsets>
|
||||
<pitch-deg>-1.30</pitch-deg>
|
||||
</offsets>
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Gear</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/true-airspeed-kt</property>
|
||||
<value>150</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<!-- Tail and Windows Lightmap Effect -->
|
||||
<effect>
|
||||
<inherits-from>AI/Aircraft/E90/Effects/E90-LightMap</inherits-from>
|
||||
<object-name>E90</object-name>
|
||||
<object-name>Gear</object-name>
|
||||
</effect>
|
||||
<!-- Add Navigation Lights Objects -->
|
||||
<model>
|
||||
<path>Lights/E90-NavLights.xml</path>
|
||||
</model>
|
||||
</PropertyList>
|
38
AI/Aircraft/E90/Effects/E90-LightMap.eff
Normal file
38
AI/Aircraft/E90/Effects/E90-LightMap.eff
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Lighting of Tail, Flanks and Windows -->
|
||||
<PropertyList>
|
||||
<name>E90-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/E90/Effects/E90-LightMap.png</image>
|
||||
<filter>linear-mipmap-linear</filter>
|
||||
<wrap-s>clamp</wrap-s>
|
||||
<wrap-t>clamp</wrap-t>
|
||||
<internal-format>normalized</internal-format>
|
||||
</texture>
|
||||
</parameters>
|
||||
</PropertyList>
|
BIN
AI/Aircraft/E90/Effects/E90-LightMap.png
Normal file
BIN
AI/Aircraft/E90/Effects/E90-LightMap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
102
AI/Aircraft/E90/Lights/E90-NavLights.xml
Normal file
102
AI/Aircraft/E90/Lights/E90-NavLights.xml
Normal file
|
@ -0,0 +1,102 @@
|
|||
<?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>1.88141</x-m>
|
||||
<y-m>13.4418</y-m>
|
||||
<z-m>3.3183</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>nav-left</name>
|
||||
<path>AI/Lights/procedural_light_nav_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>1.88141</x-m>
|
||||
<y-m>-13.4418</y-m>
|
||||
<z-m>3.3183</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.57339</x-m>
|
||||
<y-m>14.3601</y-m>
|
||||
<z-m>5.12061</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>strobe-left</name>
|
||||
<path>AI/Lights/procedural_light_strobe_left.xml</path>
|
||||
<offsets>
|
||||
<x-m>4.57339</x-m>
|
||||
<y-m>-14.3601</y-m>
|
||||
<z-m>5.12061</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<!-- Position Beacons -->
|
||||
<model>
|
||||
<name>beacon-top</name>
|
||||
<path>AI/Lights/procedural_light_beacon_top.xml</path>
|
||||
<offsets>
|
||||
<x-m>-9.74185</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>5.15509</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
<model>
|
||||
<name>beacon-bottom</name>
|
||||
<path>AI/Lights/procedural_light_beacon_bottom.xml</path>
|
||||
<offsets>
|
||||
<x-m>-0.484146</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>1.06598</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>
|
||||
</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>
|
Loading…
Reference in a new issue