Merge branch 'master' of github.com:it0uchpods/A320Family

This commit is contained in:
Joshua Davidson 2017-08-04 16:04:52 -04:00
commit 71031e7e21
49 changed files with 490 additions and 56 deletions

View file

@ -233,7 +233,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>3.08</x-m>
<x-m>9.9</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

View file

@ -254,7 +254,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>3.08</x-m>
<x-m>9.41</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

View file

@ -256,7 +256,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>3.08</x-m>
<x-m>9.41</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

View file

@ -226,7 +226,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>7.35</x-m>
<x-m>7.81</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

View file

@ -256,7 +256,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>7.35</x-m>
<x-m>7.81</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

View file

@ -256,7 +256,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>7.35</x-m>
<x-m>7.81</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

View file

@ -235,7 +235,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>7.35</x-m>
<x-m>7.81</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

View file

@ -235,7 +235,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>7.35</x-m>
<x-m>7.81</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

View file

@ -255,7 +255,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>3.08</x-m>
<x-m>3.54</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

View file

@ -255,7 +255,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>3.08</x-m>
<x-m>3.54</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

View file

@ -234,7 +234,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>3.08</x-m>
<x-m>3.54</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

View file

@ -234,7 +234,7 @@
<name>Nosegear landing light ALS</name>
<path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path>
<offsets>
<x-m>3.08</x-m>
<x-m>3.54</x-m>
<y-m>0</y-m>
<z-m>-2.5</z-m>
</offsets>

BIN
Models/Effects/LEAPl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
Models/Effects/LEAPr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

BIN
Models/Effects/SlatL1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
Models/Effects/SlatL2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
Models/Effects/SlatR1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
Models/Effects/SlatR2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -0,0 +1,22 @@
<PropertyList>
<name>leapl</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">1</reflection-enabled>
<reflection-dynamic type="int">0</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>controls/lighting/wing-lights</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320Family/Models/Effects/LEAPl.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>

View file

@ -0,0 +1,22 @@
<PropertyList>
<name>leapr</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">1</reflection-enabled>
<reflection-dynamic type="int">0</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>controls/lighting/wing-lights</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320Family/Models/Effects/LEAPr.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>

View file

@ -0,0 +1,22 @@
<PropertyList>
<name>pwlightmap</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">1</reflection-enabled>
<reflection-dynamic type="int">0</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>controls/lighting/wing-lights</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320Family/Models/Effects/PW1100G-l.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>

View file

@ -0,0 +1,22 @@
<PropertyList>
<name>pwlightmap</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">1</reflection-enabled>
<reflection-dynamic type="int">0</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>controls/lighting/wing-lights</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320Family/Models/Effects/PW1100G-r.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>

22
Models/Effects/logo.eff Normal file
View file

@ -0,0 +1,22 @@
<PropertyList>
<name>logo</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.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>/sim/model/lights/logo-lights</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320Family/Models/Effects/logo.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
Models/Effects/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

22
Models/Effects/slatL1.eff Normal file
View file

@ -0,0 +1,22 @@
<PropertyList>
<name>slatl1</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">1</reflection-enabled>
<reflection-dynamic type="int">0</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>controls/lighting/wing-lights</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320Family/Models/Effects/SlatL1.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>

22
Models/Effects/slatL2.eff Normal file
View file

@ -0,0 +1,22 @@
<PropertyList>
<name>slatl2</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">1</reflection-enabled>
<reflection-dynamic type="int">0</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>controls/lighting/wing-lights</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320Family/Models/Effects/SlatL2.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>

22
Models/Effects/slatR1.eff Normal file
View file

@ -0,0 +1,22 @@
<PropertyList>
<name>slatr1</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">1</reflection-enabled>
<reflection-dynamic type="int">0</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>controls/lighting/wing-lights</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320Family/Models/Effects/SlatR1.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>

22
Models/Effects/slatR2.eff Normal file
View file

@ -0,0 +1,22 @@
<PropertyList>
<name>slatr2</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">1</reflection-enabled>
<reflection-dynamic type="int">0</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>controls/lighting/wing-lights</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320Family/Models/Effects/SlatR2.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>

View file

@ -0,0 +1,33 @@
<PropertyList>
<name>winglightmap</name>
<inherits-from>Effects/model-combined-deferred</inherits-from>
<parameters>
<normalmap-enabled type="int">0</normalmap-enabled>
<reflection-enabled type="int">1</reflection-enabled>
<reflection-dynamic type="int">1</reflection-dynamic>
<reflect_map-enabled type="int">0</reflect_map-enabled>
<reflection-correction type="float">0.1</reflection-correction>
<lightmap-enabled type="int">1</lightmap-enabled>
<lightmap-multi type="int">0</lightmap-multi>
<lightmap-factor type="float" n="0"><use>controls/lighting/wing-lights</use></lightmap-factor>
<lightmap-color type="vec3d" n="0">1.0 1.0 1.0</lightmap-color>
<texture n="3">
<image>Aircraft/A320Family/Models/Effects/LightMappedWing.png</image>
<filter>linear-mipmap-linear</filter>
<wrap-s>clamp</wrap-s>
<wrap-t>clamp</wrap-t>
<internal-format>normalized</internal-format>
</texture>
<texture n="5">
<type>cubemap</type>
<images>
<positive-x>Aircraft/Generic/Effects/fgfs-sky2/1.png</positive-x>
<negative-x>Aircraft/Generic/Effects/fgfs-sky2/4.png</negative-x>
<positive-y>Aircraft/Generic/Effects/fgfs-sky2/2.png</positive-y>
<negative-y>Aircraft/Generic/Effects/fgfs-sky2/3.png</negative-y>
<positive-z>Aircraft/Generic/Effects/fgfs-sky2/6.png</positive-z>
<negative-z>Aircraft/Generic/Effects/fgfs-sky2/5.png</negative-z>
</images>
</texture>
</parameters>
</PropertyList>

View file

@ -92,5 +92,11 @@
<z>0</z>
</axis>
</animation>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/engineLEAPl</inherits-from>
<object-name>Nacelle</object-name>
<object-name>Reverser</object-name>
</effect>
</PropertyList>

View file

@ -92,5 +92,11 @@
<z>0</z>
</axis>
</animation>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/engineLEAPr</inherits-from>
<object-name>Nacelle</object-name>
<object-name>Reverser</object-name>
</effect>
</PropertyList>

View file

@ -79,5 +79,12 @@
<z>0</z>
</axis>
</animation>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/enginePW1100L</inherits-from>
<object-name>NacellePW1100G</object-name>
<object-name>ReverserPW1100G</object-name>
<object-name>SpoilersPW1100G</object-name>
</effect>
</PropertyList>

View file

@ -79,5 +79,12 @@
<z>0</z>
</axis>
</animation>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/enginePW1100R</inherits-from>
<object-name>NacellePW1100G</object-name>
<object-name>ReverserPW1100G</object-name>
<object-name>SpoilersPW1100G</object-name>
</effect>
</PropertyList>

View file

@ -33,7 +33,7 @@
</axis>
</animation>
<!-- Animation for the logo light -->
<!-- Animation for the logo light
<animation>
<name>Logo light illumination</name>
<type>material</type>
@ -41,8 +41,8 @@
<object-name>Rudder</object-name>
<condition>
<equals>
<property>controls/lighting/nav-lights-switch</property>
<value>2</value>
<property>/sim/model/lights/logo-lights</property>
<value>1</value>
</equals>
</condition>
<emission>
@ -50,6 +50,12 @@
<green>0.25</green>
<blue>0.25</blue>
</emission>
</animation>
</animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList>

View file

@ -33,7 +33,7 @@
</axis>
</animation>
<!-- Animation for the logo light -->
<!-- Animation for the logo light
<animation>
<name>Logo light illumination</name>
<type>material</type>
@ -41,8 +41,8 @@
<object-name>Rudder</object-name>
<condition>
<equals>
<property>controls/lighting/nav-lights-switch</property>
<value>2</value>
<property>/sim/model/lights/logo-lights</property>
<value>1</value>
</equals>
</condition>
<emission>
@ -50,6 +50,12 @@
<green>0.25</green>
<blue>0.25</blue>
</emission>
</animation>
</animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList>

View file

@ -33,7 +33,7 @@
</axis>
</animation>
<!-- Animation for the logo light -->
<!-- Animation for the logo light
<animation>
<name>Logo light illumination</name>
<type>material</type>
@ -41,8 +41,8 @@
<object-name>Rudder</object-name>
<condition>
<equals>
<property>controls/lighting/nav-lights-switch</property>
<value>2</value>
<property>/sim/model/lights/logo-lights</property>
<value>1</value>
</equals>
</condition>
<emission>
@ -50,6 +50,12 @@
<green>0.25</green>
<blue>0.25</blue>
</emission>
</animation>
</animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList>

View file

@ -33,7 +33,7 @@
</axis>
</animation>
<!-- Animation for the logo light -->
<!-- Animation for the logo light
<animation>
<name>Logo light illumination</name>
<type>material</type>
@ -41,8 +41,8 @@
<object-name>Rudder</object-name>
<condition>
<equals>
<property>controls/lighting/nav-lights-switch</property>
<value>2</value>
<property>/sim/model/lights/logo-lights</property>
<value>1</value>
</equals>
</condition>
<emission>
@ -50,6 +50,12 @@
<green>0.25</green>
<blue>0.25</blue>
</emission>
</animation>
</animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList>

View file

@ -33,7 +33,7 @@
</axis>
</animation>
<!-- Animation for the logo light -->
<!-- Animation for the logo light
<animation>
<name>Logo light illumination</name>
<type>material</type>
@ -41,8 +41,8 @@
<object-name>Rudder</object-name>
<condition>
<equals>
<property>controls/lighting/nav-lights-switch</property>
<value>2</value>
<property>/sim/model/lights/logo-lights</property>
<value>1</value>
</equals>
</condition>
<emission>
@ -50,6 +50,12 @@
<green>0.25</green>
<blue>0.25</blue>
</emission>
</animation>
</animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList>

View file

@ -33,7 +33,7 @@
</axis>
</animation>
<!-- Animation for the logo light -->
<!-- Animation for the logo light
<animation>
<name>Logo light illumination</name>
<type>material</type>
@ -41,8 +41,8 @@
<object-name>Rudder</object-name>
<condition>
<equals>
<property>controls/lighting/nav-lights-switch</property>
<value>2</value>
<property>/sim/model/lights/logo-lights</property>
<value>1</value>
</equals>
</condition>
<emission>
@ -50,6 +50,12 @@
<green>0.25</green>
<blue>0.25</blue>
</emission>
</animation>
</animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList>

View file

@ -33,7 +33,7 @@
</axis>
</animation>
<!-- Animation for the logo light -->
<!-- Animation for the logo light
<animation>
<name>Logo light illumination</name>
<type>material</type>
@ -41,8 +41,8 @@
<object-name>Rudder</object-name>
<condition>
<equals>
<property>controls/lighting/nav-lights-switch</property>
<value>2</value>
<property>/sim/model/lights/logo-lights</property>
<value>1</value>
</equals>
</condition>
<emission>
@ -50,6 +50,12 @@
<green>0.25</green>
<blue>0.25</blue>
</emission>
</animation>
</animation> -->
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/logo</inherits-from>
<object-name>Vstab</object-name>
<object-name>Rudder</object-name>
</effect>
</PropertyList>

View file

@ -14,9 +14,9 @@
<animation>
<type>scale</type>
<x-offset>0.5</x-offset>
<y-offset>0.5</y-offset>
<z-offset>0.5</z-offset>
<x-offset>1</x-offset>
<y-offset>1</y-offset>
<z-offset>1</z-offset>
</animation>

View file

@ -825,4 +825,29 @@
<z>-1</z>
</axis>
</animation>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/winglightmap</inherits-from>
<object-name>Wings</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatL1</inherits-from>
<object-name>SlatL1</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatL2</inherits-from>
<object-name>SlatL2</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatR1</inherits-from>
<object-name>SlatR1</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatR2</inherits-from>
<object-name>SlatR2</object-name>
</effect>
</PropertyList>

View file

@ -825,4 +825,29 @@
<z>-1</z>
</axis>
</animation>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/winglightmap</inherits-from>
<object-name>Wings</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatL1</inherits-from>
<object-name>SlatL1</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatL2</inherits-from>
<object-name>SlatL2</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatR1</inherits-from>
<object-name>SlatR1</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatR2</inherits-from>
<object-name>SlatR2</object-name>
</effect>
</PropertyList>

View file

@ -825,4 +825,28 @@
<z>-1</z>
</axis>
</animation>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/winglightmap</inherits-from>
<object-name>Wings</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatL1</inherits-from>
<object-name>SlatL1</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatL2</inherits-from>
<object-name>SlatL2</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatR1</inherits-from>
<object-name>SlatR1</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatR2</inherits-from>
<object-name>SlatR2</object-name>
</effect>
</PropertyList>

View file

@ -825,4 +825,30 @@
<z>-1</z>
</axis>
</animation>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/winglightmap</inherits-from>
<object-name>Wings</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatL1</inherits-from>
<object-name>SlatL1</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatL2</inherits-from>
<object-name>SlatL2</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatR1</inherits-from>
<object-name>SlatR1</object-name>
</effect>
<effect>
<inherits-from>Aircraft/A320Family/Models/Effects/slatR2</inherits-from>
<object-name>SlatR2</object-name>
</effect>
</PropertyList>

View file

@ -20,12 +20,13 @@ print("-------------------------------------------------------------------------
print(" ");
# Dimmers
setprop("/controls/lighting/ndl-norm", 0);
setprop("/controls/lighting/ndr-norm", 0);
setprop("/controls/lighting/upper-norm", 0);
setprop("/controls/lighting/ndl-norm", 1);
setprop("/controls/lighting/ndr-norm", 1);
setprop("/controls/lighting/upper-norm", 1);
# Lights
setprop("/sim/model/lights/nose-lights", 1);
setprop("/sim/model/lights/nose-lights", 0);
setprop("/sim/model/lights/turnoffsw", 0);
# Oil Qty
var qty1 = math.round((rand() * 5 ) + 20, 0.1);
@ -43,38 +44,35 @@ var strobe = aircraft.light.new("/sim/model/lights/strobe", [0.025, 1.5], "/cont
setlistener("controls/lighting/nav-lights-switch", func {
var nav_lights = props.globals.getNode("/sim/model/lights/nav-lights");
var logo_lights = props.globals.getNode("/sim/model/lights/logo-lights");
var setting = getprop("/controls/lighting/nav-lights-switch");
if (setting == 1) {
nav_lights.setBoolValue(1);
logo_lights.setBoolValue(0);
} else if (setting == 2) {
nav_lights.setBoolValue(1);
logo_lights.setBoolValue(1);
} else {
nav_lights.setBoolValue(0);
logo_lights.setBoolValue(0);
}
});
setlistener("controls/lighting/taxi-light-switch", func {
var nose_lights = getprop("/sim/model/lights/nose-lights");
var settingT = getprop("/controls/lighting/taxi-light-switch");
var gear = getprop("/gear/gear[0]/position-norm");
if (settingT == 0) {
setprop("/sim/model/lights/nose-lights", 0);
} else if (settingT == 0.5) {
} else if (settingT == 0.5 and gear > 0.9) {
setprop("/sim/model/lights/nose-lights", 0.85);
} else if (settingT == 1) {
} else if (settingT == 1 and gear > 0.9) {
setprop("/sim/model/lights/nose-lights", 1);
}
}, 1, 0);
setlistener("controls/lighting/landing-lights[1]", func {
var landl = getprop("/controls/lighting/landing-lights[1]");
if (landl == 1) {
setprop("/sim/rendering/als-secondary-lights/alt-landing-light",1);
setprop("/sim/rendering/als-secondary-lights/use-landing-light",1);
} else {
setprop("/sim/rendering/als-secondary-lights/alt-landing-light",0);
setprop("/sim/rendering/als-secondary-lights/use-landing-light",0);
}
});
@ -223,6 +221,8 @@ setlistener("/sim/signals/fdm-initialized", func {
setprop("/it-autoflight/input/fd2", 1);
libraries.ECAMinit();
libraries.variousReset();
logoTimer.start();
noseLoop.start();
});
var librariesLoop = maketimer(0.1, func {
@ -372,3 +372,38 @@ var flaptimer = maketimer(0.5, func {
flaptimer.stop();
}
});
var logoTimer = maketimer(0.1, func {
var logo_lights = props.globals.getNode("/sim/model/lights/logo-lights");
var setting = getprop("/controls/lighting/nav-lights-switch");
var wow = getprop("/gear/gear[2]/wow");
var slats = getprop("/controls/flight/slats");
if (setting == 2) {
if (wow or slats == 1) {
logo_lights.setBoolValue(1);
} else if (!wow and slats < 1) {
logo_lights.setBoolValue(0);
} else {
logo_lights.setBoolValue(0);
print("Logo Lights: Unknown Condition"); # this is important for debugging
}
}
});
var noseLoop = maketimer(0.1, func {
var gear = getprop("/gear/gear[0]/position-norm");
var nose_lights = getprop("/sim/model/lights/nose-lights");
var settingT = getprop("/controls/lighting/taxi-light-switch");
if (gear < 1) {
setprop("/sim/model/lights/nose-lights", 0);
} else if (settingT == 0) {
setprop("/sim/model/lights/nose-lights", 0);
} else if (settingT == 0.5 and gear > 0.9) {
setprop("/sim/model/lights/nose-lights", 0.85);
} else if (settingT == 1 and gear > 0.9) {
setprop("/sim/model/lights/nose-lights", 1);
} else {
setprop("/sim/model/lights/nose-lights", 0);
print("Nose Lights: Unknown Condition"); # this is important for debugging
}
});