diff --git a/Models/A319-100-CFM.xml b/Models/A319-100-CFM.xml index aa058c5b..d5c38c22 100644 --- a/Models/A319-100-CFM.xml +++ b/Models/A319-100-CFM.xml @@ -123,6 +123,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Left nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/rednav.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>-16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Right nav light</name> @@ -133,6 +143,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Right nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/greennav.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Left strobe light</name> @@ -143,6 +163,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Left strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/left-strobe.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>-16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Right strobe light</name> @@ -153,6 +183,17 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Right strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/right-strobe.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> + <model> <name>Top beacon light</name> <path>Aircraft/A320Family/Models/Lights/beacon.xml</path> @@ -172,10 +213,30 @@ <z-m>-2.5</z-m> </offsets> </model> + + <model> + <name>Top beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>16.7</x-m> + <y-m>0</y-m> + <z-m>1.977</z-m> + </offsets> + </model> - <!--model> - <name>Port landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-port.xml</path> + <model> + <name>Bottom beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>18.2</x-m> + <y-m>0</y-m> + <z-m>-2.5</z-m> + </offsets> + </model> + + <model> + <name>Port landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightL.xml</path> <offsets> <x-m>15.9</x-m> <y-m>-3.16</y-m> @@ -184,8 +245,8 @@ </model> <model> - <name>Nosegear landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-nose.xml</path> + <name>Nosegear landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path> <offsets> <x-m>3.08</x-m> <y-m>0</y-m> @@ -194,14 +255,14 @@ </model> <model> - <name>Starboard landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-stbd.xml</path> + <name>Starboard landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightR.xml</path> <offsets> <x-m>15.9</x-m> <y-m>3.16</y-m> <z-m>-1.4</z-m> </offsets> - </model--> + </model> <!-- Other non-aircraft models --> <model> @@ -438,6 +499,52 @@ <property>/services/stairs/l4</property> </condition> </model> + + <animation> + <type>select</type> + <object-name>Top beacon light</object-name> + <object-name>Bottom beacon light</object-name> + <object-name>Left nav light</object-name> + <object-name>Right nav light</object-name> + <object-name>Left strobe light</object-name> + <object-name>Right strobe light</object-name> + <condition> + <not> + <property>/sim/rendering/shaders/skydome</property> + </not> + </condition> +</animation> +<animation> + <type>select</type> + <object-name>Top beacon light ALS</object-name> + <object-name>Bottom beacon light ALS</object-name> + <object-name>Left nav light ALS</object-name> + <object-name>Right nav light ALS</object-name> + <object-name>Left strobe light ALS</object-name> + <object-name>Right strobe light ALS</object-name> + <object-name>Port landing light ALS</object-name> + <object-name>Nosegear landing light ALS</object-name> + <object-name>Starboard landing light ALS</object-name> + <condition> + <property>/sim/rendering/shaders/skydome</property> + </condition> +</animation> + <animation> + <type>select</type> + <object-name>Nosegear landing light ALS</object-name> + <condition> + <and> + <not> + <property>/sim/model/lights/nose-ldglight</property> + <value>0</value> + </not> + <greater-than> + <property>gear/gear/position-norm</property> + <value>0.1</value> + </greater-than> + </and> + </condition> + </animation> </PropertyList> diff --git a/Models/A319-100-IAE.xml b/Models/A319-100-IAE.xml index f8d0f3fb..e2699043 100644 --- a/Models/A319-100-IAE.xml +++ b/Models/A319-100-IAE.xml @@ -113,7 +113,9 @@ <x-m>30.1235728</x-m> </offsets> </model> + <!-- Lights --> + <model> <name>Left nav light</name> <path>Aircraft/A320Family/Models/Lights/rednav.xml</path> @@ -123,6 +125,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Left nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/rednav.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>-16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Right nav light</name> @@ -133,6 +145,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Right nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/greennav.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Left strobe light</name> @@ -143,6 +165,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Left strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/left-strobe.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>-16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Right strobe light</name> @@ -153,6 +185,17 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Right strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/right-strobe.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> + <model> <name>Top beacon light</name> <path>Aircraft/A320Family/Models/Lights/beacon.xml</path> @@ -172,10 +215,30 @@ <z-m>-2.5</z-m> </offsets> </model> + + <model> + <name>Top beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>16.7</x-m> + <y-m>0</y-m> + <z-m>1.977</z-m> + </offsets> + </model> - <!--model> - <name>Port landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-port.xml</path> + <model> + <name>Bottom beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>18.2</x-m> + <y-m>0</y-m> + <z-m>-2.5</z-m> + </offsets> + </model> + + <model> + <name>Port landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightL.xml</path> <offsets> <x-m>15.9</x-m> <y-m>-3.16</y-m> @@ -184,8 +247,8 @@ </model> <model> - <name>Nosegear landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-nose.xml</path> + <name>Nosegear landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path> <offsets> <x-m>3.08</x-m> <y-m>0</y-m> @@ -194,15 +257,14 @@ </model> <model> - <name>Starboard landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-stbd.xml</path> + <name>Starboard landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightR.xml</path> <offsets> <x-m>15.9</x-m> <y-m>3.16</y-m> <z-m>-1.4</z-m> </offsets> - </model--> - + </model> <!-- Other non-aircraft models --> <model> <name>Pushback</name> @@ -438,6 +500,52 @@ <property>/services/stairs/l4</property> </condition> </model> + + <animation> + <type>select</type> + <object-name>Top beacon light</object-name> + <object-name>Bottom beacon light</object-name> + <object-name>Left nav light</object-name> + <object-name>Right nav light</object-name> + <object-name>Left strobe light</object-name> + <object-name>Right strobe light</object-name> + <condition> + <not> + <property>/sim/rendering/shaders/skydome</property> + </not> + </condition> +</animation> +<animation> + <type>select</type> + <object-name>Top beacon light ALS</object-name> + <object-name>Bottom beacon light ALS</object-name> + <object-name>Left nav light ALS</object-name> + <object-name>Right nav light ALS</object-name> + <object-name>Left strobe light ALS</object-name> + <object-name>Right strobe light ALS</object-name> + <object-name>Port landing light ALS</object-name> + <object-name>Nosegear landing light ALS</object-name> + <object-name>Starboard landing light ALS</object-name> + <condition> + <property>/sim/rendering/shaders/skydome</property> + </condition> +</animation> + <animation> + <type>select</type> + <object-name>Nosegear landing light ALS</object-name> + <condition> + <and> + <not> + <property>/sim/model/lights/nose-ldglight</property> + <value>0</value> + </not> + <greater-than> + <property>gear/gear/position-norm</property> + <value>0.1</value> + </greater-than> + </and> + </condition> + </animation> </PropertyList> diff --git a/Models/A320-200-CFM.xml b/Models/A320-200-CFM.xml index 92945b2f..dc4a0b8b 100644 --- a/Models/A320-200-CFM.xml +++ b/Models/A320-200-CFM.xml @@ -115,6 +115,7 @@ </offsets> </model> <!-- Lights --> + <model> <name>Left nav light</name> <path>Aircraft/A320Family/Models/Lights/rednav.xml</path> @@ -124,6 +125,16 @@ <z-m>0.25</z-m> </offsets> </model> + + <model> + <name>Left nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/rednav.xml</path> + <offsets> + <x-m>22.93</x-m> + <y-m>-16.5</y-m> + <z-m>0.25</z-m> + </offsets> + </model> <model> <name>Right nav light</name> @@ -134,6 +145,16 @@ <z-m>0.25</z-m> </offsets> </model> + + <model> + <name>Right nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/greennav.xml</path> + <offsets> + <x-m>22.93</x-m> + <y-m>16.5</y-m> + <z-m>0.25</z-m> + </offsets> + </model> <model> <name>Left strobe light</name> @@ -144,6 +165,16 @@ <z-m>0.47</z-m> </offsets> </model> + + <model> + <name>Left strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/left-strobe.xml</path> + <offsets> + <x-m>23.92</x-m> + <y-m>-17.3</y-m> + <z-m>0.47</z-m> + </offsets> + </model> <model> <name>Right strobe light</name> @@ -154,6 +185,17 @@ <z-m>0.47</z-m> </offsets> </model> + + <model> + <name>Right strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/right-strobe.xml</path> + <offsets> + <x-m>23.92</x-m> + <y-m>17.23</y-m> + <z-m>0.47</z-m> + </offsets> + </model> + <model> <name>Top beacon light</name> <path>Aircraft/A320Family/Models/Lights/beacon.xml</path> @@ -173,10 +215,30 @@ <z-m>-2.5</z-m> </offsets> </model> + + <model> + <name>Top beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>16.7</x-m> + <y-m>0</y-m> + <z-m>1.977</z-m> + </offsets> + </model> - <!--model> - <name>Port landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-port.xml</path> + <model> + <name>Bottom beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>18.2</x-m> + <y-m>0</y-m> + <z-m>-2.5</z-m> + </offsets> + </model> + + <model> + <name>Port landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightL.xml</path> <offsets> <x-m>15.9</x-m> <y-m>-3.16</y-m> @@ -185,8 +247,8 @@ </model> <model> - <name>Nosegear landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-nose.xml</path> + <name>Nosegear landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path> <offsets> <x-m>7.35</x-m> <y-m>0</y-m> @@ -195,14 +257,14 @@ </model> <model> - <name>Starboard landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-stbd.xml</path> + <name>Starboard landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightR.xml</path> <offsets> <x-m>15.9</x-m> <y-m>3.16</y-m> <z-m>-1.4</z-m> </offsets> - </model--> + </model> <!-- Other non-aircraft models --> <model> @@ -444,5 +506,50 @@ </condition> </model> + <animation> + <type>select</type> + <object-name>Top beacon light</object-name> + <object-name>Bottom beacon light</object-name> + <object-name>Left nav light</object-name> + <object-name>Right nav light</object-name> + <object-name>Left strobe light</object-name> + <object-name>Right strobe light</object-name> + <condition> + <not> + <property>/sim/rendering/shaders/skydome</property> + </not> + </condition> +</animation> +<animation> + <type>select</type> + <object-name>Top beacon light ALS</object-name> + <object-name>Bottom beacon light ALS</object-name> + <object-name>Left nav light ALS</object-name> + <object-name>Right nav light ALS</object-name> + <object-name>Left strobe light ALS</object-name> + <object-name>Right strobe light ALS</object-name> + <object-name>Port landing light ALS</object-name> + <object-name>Nosegear landing light ALS</object-name> + <object-name>Starboard landing light ALS</object-name> + <condition> + <property>/sim/rendering/shaders/skydome</property> + </condition> +</animation> + <animation> + <type>select</type> + <object-name>Nosegear landing light ALS</object-name> + <condition> + <and> + <not> + <property>/sim/model/lights/nose-ldglight</property> + <value>0</value> + </not> + <greater-than> + <property>gear/gear/position-norm</property> + <value>0.1</value> + </greater-than> + </and> + </condition> + </animation> </PropertyList> diff --git a/Models/A320-200-IAE.xml b/Models/A320-200-IAE.xml index c819cc52..147af6b0 100644 --- a/Models/A320-200-IAE.xml +++ b/Models/A320-200-IAE.xml @@ -115,7 +115,8 @@ </offsets> </model> <!-- Lights --> - <model> + + <model> <name>Left nav light</name> <path>Aircraft/A320Family/Models/Lights/rednav.xml</path> <offsets> @@ -124,6 +125,16 @@ <z-m>0.25</z-m> </offsets> </model> + + <model> + <name>Left nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/rednav.xml</path> + <offsets> + <x-m>22.93</x-m> + <y-m>-16.5</y-m> + <z-m>0.25</z-m> + </offsets> + </model> <model> <name>Right nav light</name> @@ -134,6 +145,16 @@ <z-m>0.25</z-m> </offsets> </model> + + <model> + <name>Right nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/greennav.xml</path> + <offsets> + <x-m>22.93</x-m> + <y-m>16.5</y-m> + <z-m>0.25</z-m> + </offsets> + </model> <model> <name>Left strobe light</name> @@ -144,6 +165,16 @@ <z-m>0.47</z-m> </offsets> </model> + + <model> + <name>Left strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/left-strobe.xml</path> + <offsets> + <x-m>23.92</x-m> + <y-m>-17.3</y-m> + <z-m>0.47</z-m> + </offsets> + </model> <model> <name>Right strobe light</name> @@ -154,6 +185,17 @@ <z-m>0.47</z-m> </offsets> </model> + + <model> + <name>Right strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/right-strobe.xml</path> + <offsets> + <x-m>23.92</x-m> + <y-m>17.23</y-m> + <z-m>0.47</z-m> + </offsets> + </model> + <model> <name>Top beacon light</name> <path>Aircraft/A320Family/Models/Lights/beacon.xml</path> @@ -173,10 +215,30 @@ <z-m>-2.5</z-m> </offsets> </model> + + <model> + <name>Top beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>16.7</x-m> + <y-m>0</y-m> + <z-m>1.977</z-m> + </offsets> + </model> - <!--model> - <name>Port landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-port.xml</path> + <model> + <name>Bottom beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>18.2</x-m> + <y-m>0</y-m> + <z-m>-2.5</z-m> + </offsets> + </model> + + <model> + <name>Port landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightL.xml</path> <offsets> <x-m>15.9</x-m> <y-m>-3.16</y-m> @@ -185,8 +247,8 @@ </model> <model> - <name>Nosegear landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-nose.xml</path> + <name>Nosegear landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path> <offsets> <x-m>7.35</x-m> <y-m>0</y-m> @@ -195,15 +257,14 @@ </model> <model> - <name>Starboard landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-stbd.xml</path> + <name>Starboard landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightR.xml</path> <offsets> <x-m>15.9</x-m> <y-m>3.16</y-m> <z-m>-1.4</z-m> </offsets> - </model--> - + </model> <!-- Other non-aircraft models --> <model> <name>Pushback</name> @@ -444,5 +505,50 @@ </condition> </model> + <animation> + <type>select</type> + <object-name>Top beacon light</object-name> + <object-name>Bottom beacon light</object-name> + <object-name>Left nav light</object-name> + <object-name>Right nav light</object-name> + <object-name>Left strobe light</object-name> + <object-name>Right strobe light</object-name> + <condition> + <not> + <property>/sim/rendering/shaders/skydome</property> + </not> + </condition> +</animation> +<animation> + <type>select</type> + <object-name>Top beacon light ALS</object-name> + <object-name>Bottom beacon light ALS</object-name> + <object-name>Left nav light ALS</object-name> + <object-name>Right nav light ALS</object-name> + <object-name>Left strobe light ALS</object-name> + <object-name>Right strobe light ALS</object-name> + <object-name>Port landing light ALS</object-name> + <object-name>Nosegear landing light ALS</object-name> + <object-name>Starboard landing light ALS</object-name> + <condition> + <property>/sim/rendering/shaders/skydome</property> + </condition> +</animation> + <animation> + <type>select</type> + <object-name>Nosegear landing light ALS</object-name> + <condition> + <and> + <not> + <property>/sim/model/lights/nose-ldglight</property> + <value>0</value> + </not> + <greater-than> + <property>gear/gear/position-norm</property> + <value>0.1</value> + </greater-than> + </and> + </condition> + </animation> </PropertyList> diff --git a/Models/A321-200-CFM.xml b/Models/A321-200-CFM.xml index 935dd12f..9f475d5f 100644 --- a/Models/A321-200-CFM.xml +++ b/Models/A321-200-CFM.xml @@ -114,7 +114,8 @@ </offsets> </model> <!-- Lights --> - <model> + + <model> <name>Left nav light</name> <path>Aircraft/A320Family/Models/Lights/rednav.xml</path> <offsets> @@ -123,6 +124,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Left nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/rednav.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>-16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Right nav light</name> @@ -133,6 +144,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Right nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/greennav.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Left strobe light</name> @@ -143,6 +164,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Left strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/left-strobe.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>-16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Right strobe light</name> @@ -153,6 +184,17 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Right strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/right-strobe.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> + <model> <name>Top beacon light</name> <path>Aircraft/A320Family/Models/Lights/beacon.xml</path> @@ -172,10 +214,30 @@ <z-m>-2.5</z-m> </offsets> </model> + + <model> + <name>Top beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>16.7</x-m> + <y-m>0</y-m> + <z-m>1.977</z-m> + </offsets> + </model> - <!--model> - <name>Port landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-port.xml</path> + <model> + <name>Bottom beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>18.2</x-m> + <y-m>0</y-m> + <z-m>-2.5</z-m> + </offsets> + </model> + + <model> + <name>Port landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightL.xml</path> <offsets> <x-m>15.9</x-m> <y-m>-3.16</y-m> @@ -184,8 +246,8 @@ </model> <model> - <name>Nosegear landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-nose.xml</path> + <name>Nosegear landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path> <offsets> <x-m>3.08</x-m> <y-m>0</y-m> @@ -194,15 +256,14 @@ </model> <model> - <name>Starboard landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-stbd.xml</path> + <name>Starboard landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightR.xml</path> <offsets> <x-m>15.9</x-m> <y-m>3.16</y-m> <z-m>-1.4</z-m> </offsets> - </model--> - + </model> <!-- Other non-aircraft models --> <model> <name>Pushback</name> @@ -425,5 +486,50 @@ </condition> </model> + <animation> + <type>select</type> + <object-name>Top beacon light</object-name> + <object-name>Bottom beacon light</object-name> + <object-name>Left nav light</object-name> + <object-name>Right nav light</object-name> + <object-name>Left strobe light</object-name> + <object-name>Right strobe light</object-name> + <condition> + <not> + <property>/sim/rendering/shaders/skydome</property> + </not> + </condition> +</animation> +<animation> + <type>select</type> + <object-name>Top beacon light ALS</object-name> + <object-name>Bottom beacon light ALS</object-name> + <object-name>Left nav light ALS</object-name> + <object-name>Right nav light ALS</object-name> + <object-name>Left strobe light ALS</object-name> + <object-name>Right strobe light ALS</object-name> + <object-name>Port landing light ALS</object-name> + <object-name>Nosegear landing light ALS</object-name> + <object-name>Starboard landing light ALS</object-name> + <condition> + <property>/sim/rendering/shaders/skydome</property> + </condition> +</animation> + <animation> + <type>select</type> + <object-name>Nosegear landing light ALS</object-name> + <condition> + <and> + <not> + <property>/sim/model/lights/nose-ldglight</property> + <value>0</value> + </not> + <greater-than> + <property>gear/gear/position-norm</property> + <value>0.1</value> + </greater-than> + </and> + </condition> + </animation> </PropertyList> diff --git a/Models/A321-200-IAE.xml b/Models/A321-200-IAE.xml index 8772e2e9..dfb8555b 100644 --- a/Models/A321-200-IAE.xml +++ b/Models/A321-200-IAE.xml @@ -114,7 +114,8 @@ </offsets> </model> <!-- Lights --> - <model> + + <model> <name>Left nav light</name> <path>Aircraft/A320Family/Models/Lights/rednav.xml</path> <offsets> @@ -123,6 +124,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Left nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/rednav.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>-16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Right nav light</name> @@ -133,6 +144,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Right nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/greennav.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Left strobe light</name> @@ -143,6 +164,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Left strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/left-strobe.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>-16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Right strobe light</name> @@ -153,6 +184,17 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Right strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/right-strobe.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> + <model> <name>Top beacon light</name> <path>Aircraft/A320Family/Models/Lights/beacon.xml</path> @@ -172,10 +214,30 @@ <z-m>-2.5</z-m> </offsets> </model> + + <model> + <name>Top beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>16.7</x-m> + <y-m>0</y-m> + <z-m>1.977</z-m> + </offsets> + </model> - <!--model> - <name>Port landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-port.xml</path> + <model> + <name>Bottom beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>18.2</x-m> + <y-m>0</y-m> + <z-m>-2.5</z-m> + </offsets> + </model> + + <model> + <name>Port landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightL.xml</path> <offsets> <x-m>15.9</x-m> <y-m>-3.16</y-m> @@ -184,8 +246,8 @@ </model> <model> - <name>Nosegear landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-nose.xml</path> + <name>Nosegear landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path> <offsets> <x-m>3.08</x-m> <y-m>0</y-m> @@ -194,14 +256,14 @@ </model> <model> - <name>Starboard landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-stbd.xml</path> + <name>Starboard landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightR.xml</path> <offsets> <x-m>15.9</x-m> <y-m>3.16</y-m> <z-m>-1.4</z-m> </offsets> - </model--> + </model> <!-- Other non-aircraft models --> <model> @@ -425,5 +487,50 @@ </condition> </model> + <animation> + <type>select</type> + <object-name>Top beacon light</object-name> + <object-name>Bottom beacon light</object-name> + <object-name>Left nav light</object-name> + <object-name>Right nav light</object-name> + <object-name>Left strobe light</object-name> + <object-name>Right strobe light</object-name> + <condition> + <not> + <property>/sim/rendering/shaders/skydome</property> + </not> + </condition> +</animation> +<animation> + <type>select</type> + <object-name>Top beacon light ALS</object-name> + <object-name>Bottom beacon light ALS</object-name> + <object-name>Left nav light ALS</object-name> + <object-name>Right nav light ALS</object-name> + <object-name>Left strobe light ALS</object-name> + <object-name>Right strobe light ALS</object-name> + <object-name>Port landing light ALS</object-name> + <object-name>Nosegear landing light ALS</object-name> + <object-name>Starboard landing light ALS</object-name> + <condition> + <property>/sim/rendering/shaders/skydome</property> + </condition> +</animation> + <animation> + <type>select</type> + <object-name>Nosegear landing light ALS</object-name> + <condition> + <and> + <not> + <property>/sim/model/lights/nose-ldglight</property> + <value>0</value> + </not> + <greater-than> + <property>gear/gear/position-norm</property> + <value>0.1</value> + </greater-than> + </and> + </condition> + </animation> </PropertyList> diff --git a/Models/ACJ-IAE.xml b/Models/ACJ-IAE.xml index 3b6c268c..943867fd 100644 --- a/Models/ACJ-IAE.xml +++ b/Models/ACJ-IAE.xml @@ -123,6 +123,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Left nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/rednav.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>-16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Right nav light</name> @@ -133,6 +143,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Right nav light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/greennav.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Left strobe light</name> @@ -143,6 +163,16 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Left strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/left-strobe.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>-16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> <model> <name>Right strobe light</name> @@ -153,6 +183,17 @@ <z-m>0.299</z-m> </offsets> </model> + + <model> + <name>Right strobe light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/right-strobe.xml</path> + <offsets> + <x-m>23.474</x-m> + <y-m>16.91</y-m> + <z-m>0.299</z-m> + </offsets> + </model> + <model> <name>Top beacon light</name> <path>Aircraft/A320Family/Models/Lights/beacon.xml</path> @@ -172,10 +213,30 @@ <z-m>-2.5</z-m> </offsets> </model> + + <model> + <name>Top beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>16.7</x-m> + <y-m>0</y-m> + <z-m>1.977</z-m> + </offsets> + </model> - <!--model> - <name>Port landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-port.xml</path> + <model> + <name>Bottom beacon light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/beacon.xml</path> + <offsets> + <x-m>18.2</x-m> + <y-m>0</y-m> + <z-m>-2.5</z-m> + </offsets> + </model> + + <model> + <name>Port landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightL.xml</path> <offsets> <x-m>15.9</x-m> <y-m>-3.16</y-m> @@ -184,8 +245,8 @@ </model> <model> - <name>Nosegear landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-nose.xml</path> + <name>Nosegear landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/taxilight.xml</path> <offsets> <x-m>3.08</x-m> <y-m>0</y-m> @@ -194,14 +255,14 @@ </model> <model> - <name>Starboard landing light</name> - <path>Aircraft/A320Family/Models/Lights/landing-stbd.xml</path> + <name>Starboard landing light ALS</name> + <path>Aircraft/A320Family/Models/Lights/ALS/landinglightR.xml</path> <offsets> <x-m>15.9</x-m> <y-m>3.16</y-m> <z-m>-1.4</z-m> </offsets> - </model--> + </model> <!-- Other non-aircraft models --> <model> @@ -439,5 +500,50 @@ </condition> </model> + <animation> + <type>select</type> + <object-name>Top beacon light</object-name> + <object-name>Bottom beacon light</object-name> + <object-name>Left nav light</object-name> + <object-name>Right nav light</object-name> + <object-name>Left strobe light</object-name> + <object-name>Right strobe light</object-name> + <condition> + <not> + <property>/sim/rendering/shaders/skydome</property> + </not> + </condition> +</animation> +<animation> + <type>select</type> + <object-name>Top beacon light ALS</object-name> + <object-name>Bottom beacon light ALS</object-name> + <object-name>Left nav light ALS</object-name> + <object-name>Right nav light ALS</object-name> + <object-name>Left strobe light ALS</object-name> + <object-name>Right strobe light ALS</object-name> + <object-name>Port landing light ALS</object-name> + <object-name>Nosegear landing light ALS</object-name> + <object-name>Starboard landing light ALS</object-name> + <condition> + <property>/sim/rendering/shaders/skydome</property> + </condition> +</animation> + <animation> + <type>select</type> + <object-name>Nosegear landing light ALS</object-name> + <condition> + <and> + <not> + <property>/sim/model/lights/nose-ldglight</property> + <value>0</value> + </not> + <greater-than> + <property>gear/gear/position-norm</property> + <value>0.1</value> + </greater-than> + </and> + </condition> + </animation> </PropertyList> diff --git a/Models/Instruments/MCDU1/MCDU.ac b/Models/Instruments/MCDU1/MCDU.ac index ef0988b4..5db9691f 100644 --- a/Models/Instruments/MCDU1/MCDU.ac +++ b/Models/Instruments/MCDU1/MCDU.ac @@ -27319,7 +27319,7 @@ refs 4 51 0.387516 0.53503 kids 0 OBJECT poly -name "radio" +name "radnav" loc 0.0107708 0.00215198 0.0297895 texture "transparent.png" crease 45.000000 diff --git a/Models/Instruments/MCDU1/MCDU1.xml b/Models/Instruments/MCDU1/MCDU1.xml index 38f7114b..02c9adc1 100644 --- a/Models/Instruments/MCDU1/MCDU1.xml +++ b/Models/Instruments/MCDU1/MCDU1.xml @@ -21,7 +21,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </model> @@ -38,7 +38,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[0]/page</property> @@ -47,6 +47,28 @@ </and> </condition> </model> + + <model> + <name>RADNAV</name> + <path>RADNAV/RADNAV.xml</path> + <offsets> + <heading-deg>180</heading-deg> + <roll-deg>180</roll-deg> + <pitch-deg>90</pitch-deg> + </offsets> + <condition> + <and> + <greater-than-equals> + <property>/systems/electrical/bus/ac1</property> + <value>110</value> + </greater-than-equals> + <equals> + <property>/MCDU[0]/page</property> + <value>RADNAV</value> + </equals> + </and> + </condition> + </model> <model> <name>INITA</name> @@ -60,7 +82,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[0]/page</property> @@ -82,7 +104,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[0]/page</property> @@ -104,7 +126,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[0]/page</property> @@ -126,7 +148,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[0]/page</property> @@ -148,7 +170,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[0]/page</property> @@ -170,7 +192,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[0]/page</property> @@ -192,7 +214,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[0]/page</property> @@ -214,7 +236,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[0]/page</property> @@ -224,6 +246,25 @@ </condition> </model> + <animation> + <type>pick</type> + <object-name>radnav</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>nasal</command> + <script>mcdu1.pagebutton("radnav");</script> + <condition> + <greater-than-equals> + <property>/systems/electrical/bus/ac1</property> + <value>110</value> + </greater-than-equals> + </condition> + </binding> + </action> + </animation> + <animation> <type>pick</type> <object-name>init</object-name> @@ -236,7 +277,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -255,7 +296,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -274,7 +315,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -293,7 +334,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -312,7 +353,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -326,7 +367,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -344,7 +385,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -358,7 +399,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -376,7 +417,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -390,7 +431,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -408,7 +449,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -422,7 +463,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -440,7 +481,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -454,7 +495,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -472,7 +513,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -486,7 +527,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -505,7 +546,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -519,7 +560,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -537,7 +578,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -551,7 +592,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -569,7 +610,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -583,7 +624,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -601,7 +642,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -615,7 +656,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -633,7 +674,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -647,7 +688,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -665,7 +706,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -679,7 +720,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -698,7 +739,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -716,7 +757,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -734,7 +775,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -752,7 +793,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -771,7 +812,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -789,7 +830,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -807,7 +848,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -825,7 +866,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -843,7 +884,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -861,7 +902,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -879,7 +920,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -897,7 +938,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -915,7 +956,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -933,7 +974,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -951,7 +992,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -969,7 +1010,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -987,7 +1028,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1005,7 +1046,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1023,7 +1064,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1041,7 +1082,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1059,7 +1100,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1077,7 +1118,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1095,7 +1136,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1113,7 +1154,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1131,7 +1172,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1149,7 +1190,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1167,7 +1208,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1185,7 +1226,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1203,7 +1244,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1221,7 +1262,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1239,7 +1280,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1257,7 +1298,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1275,7 +1316,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1293,7 +1334,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1311,7 +1352,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1329,7 +1370,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1347,7 +1388,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1365,7 +1406,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1383,7 +1424,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1401,7 +1442,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1419,7 +1460,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1437,7 +1478,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1455,7 +1496,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1473,7 +1514,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1491,7 +1532,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1509,7 +1550,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac1</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> diff --git a/Models/Instruments/MCDU1/RADNAV/EMPTY.ac b/Models/Instruments/MCDU1/RADNAV/EMPTY.ac new file mode 100644 index 00000000..4dd7e1f9 --- /dev/null +++ b/Models/Instruments/MCDU1/RADNAV/EMPTY.ac @@ -0,0 +1,3 @@ +AC3Db +OBJECT world +kids 0 diff --git a/Models/Instruments/MCDU1/RADNAV/RADNAV.xml b/Models/Instruments/MCDU1/RADNAV/RADNAV.xml new file mode 100644 index 00000000..c60b21d6 --- /dev/null +++ b/Models/Instruments/MCDU1/RADNAV/RADNAV.xml @@ -0,0 +1,632 @@ +<?xml version="1.0"?> + +<!-- +################################################################## +# A3XX mCDU by Joshua Davidson (it0uchpods) and Jonathan Redpath # +################################################################## +--> + +<PropertyList> + + <path>EMPTY.ac</path> + + <text> + <name>page</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.0</y-m> + <z-m>0.083</z-m> + </offsets> + <alignment>center-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">RADIO NAV</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0050</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>vor1freq</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0755</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">VOR1/FREQ</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>vor1freq2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.042</y-m> + <z-m>0.0705</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">XXX/XXX.XX</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0055</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>vor2freq</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0755</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">FREQ/VOR2</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>vor2freq2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.041</y-m> + <z-m>0.0705</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">XXX.XX/XXX</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0055</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>crs1</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.065</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">CRS</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>crs12</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.061</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>crs2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.065</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">CRS</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>crs22</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.061</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>ilsfreq</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0545</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">ILS/FREQ</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>ilsfreq2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.042</y-m> + <z-m>0.0505</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">XXX/XXX.XX</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0055</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>chanmls</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0545</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">CHAN/ MLS</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>chanmls2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0505</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]/[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>ilscrs1</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0435</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">CRS</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>ilscrs12</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0395</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>slopecrs</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0435</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">SLOPE CRS</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>mlscrs2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0395</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>mlscrs3</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.028</y-m> + <z-m>0.0395</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">-.-</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>adf1freq</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.033</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">ADF1/FREQ</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>adf1freq2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0285</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]/[ .]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>adf2freq</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.033</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">FREQ/ADF2</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>adf2freq2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0285</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ .]/[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <!-- Colors --> + <!-- White --> + <animation> + <type>material</type> + <object-name>page</object-name> + <object-name>vor1freq</object-name> + <object-name>vor2freq</object-name> + <object-name>crs1</object-name> + <object-name>crs2</object-name> + <object-name>ilsfreq</object-name> + <object-name>chanmls</object-name> + <object-name>ilscrs1</object-name> + <object-name>slopecrs</object-name> + <object-name>mlscrs3</object-name> + <object-name>adf1freq</object-name> + <object-name>adf2freq</object-name> + <diffuse> + <red>1</red> + <green>1</green> + <blue>1</blue> + </diffuse> + <ambient> + <red>0</red> + <green>0</green> + <blue>0</blue> + </ambient> + <specular> + <red>0</red> + <green>0</green> + <blue>0</blue> + </specular> + <emission> + <red>1</red> + <green>1</green> + <blue>1</blue> + </emission> + </animation> + + <!-- Green --> + <animation> + <type>material</type> + <object-name>engtype</object-name> + <object-name>activedata3</object-name> + <object-name>idleperf2</object-name> + <diffuse> + <red>0.2</red> + <green>0.4</green> + <blue>0.2</blue> + </diffuse> + <ambient> + <red>0</red> + <green>0</green> + <blue>0</blue> + </ambient> + <specular> + <red>0</red> + <green>0</green> + <blue>0</blue> + </specular> + <emission> + <red>0.2</red> + <green>0.4</green> + <blue>0.2</blue> + </emission> + </animation> + + <!-- Blue --> + <animation> + <type>material</type> + <object-name>vor1freq2</object-name> + <object-name>vor2freq2</object-name> + <object-name>crs12</object-name> + <object-name>crs22</object-name> + <object-name>ilsfreq2</object-name> + <object-name>chanmls2</object-name> + <object-name>ilscrs12</object-name> + <object-name>mlscrs2</object-name> + <object-name>adf1freq2</object-name> + <object-name>adf2freq2</object-name> + <diffuse> + <red>0</red> + <green>0.5</green> + <blue>0.7</blue> + </diffuse> + <ambient> + <red>0</red> + <green>0</green> + <blue>0</blue> + </ambient> + <specular> + <red>0</red> + <green>0</green> + <blue>0</blue> + </specular> + <emission> + <red>0</red> + <green>0.5</green> + <blue>0.7</blue> + </emission> + </animation> + +</PropertyList> diff --git a/Models/Instruments/MCDU2/MCDU.ac b/Models/Instruments/MCDU2/MCDU.ac index ef0988b4..5db9691f 100644 --- a/Models/Instruments/MCDU2/MCDU.ac +++ b/Models/Instruments/MCDU2/MCDU.ac @@ -27319,7 +27319,7 @@ refs 4 51 0.387516 0.53503 kids 0 OBJECT poly -name "radio" +name "radnav" loc 0.0107708 0.00215198 0.0297895 texture "transparent.png" crease 45.000000 diff --git a/Models/Instruments/MCDU2/MCDU2.xml b/Models/Instruments/MCDU2/MCDU2.xml index 98755487..29c9968f 100644 --- a/Models/Instruments/MCDU2/MCDU2.xml +++ b/Models/Instruments/MCDU2/MCDU2.xml @@ -21,7 +21,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </model> @@ -38,7 +38,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[1]/page</property> @@ -47,6 +47,28 @@ </and> </condition> </model> + + <model> + <name>RADNAV</name> + <path>RADNAV/RADNAV.xml</path> + <offsets> + <heading-deg>180</heading-deg> + <roll-deg>180</roll-deg> + <pitch-deg>90</pitch-deg> + </offsets> + <condition> + <and> + <greater-than-equals> + <property>/systems/electrical/bus/ac2</property> + <value>110</value> + </greater-than-equals> + <equals> + <property>/MCDU[1]/page</property> + <value>RADNAV</value> + </equals> + </and> + </condition> + </model> <model> <name>INITA</name> @@ -60,7 +82,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[1]/page</property> @@ -82,7 +104,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[1]/page</property> @@ -104,7 +126,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[1]/page</property> @@ -126,7 +148,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[1]/page</property> @@ -148,7 +170,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[1]/page</property> @@ -170,7 +192,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[1]/page</property> @@ -192,7 +214,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[1]/page</property> @@ -214,7 +236,7 @@ <and> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> <equals> <property>/MCDU[1]/page</property> @@ -224,6 +246,25 @@ </condition> </model> + <animation> + <type>pick</type> + <object-name>radnav</object-name> + <action> + <button>0</button> + <repeatable>true</repeatable> + <binding> + <command>nasal</command> + <script>mcdu2.pagebutton("radnav");</script> + <condition> + <greater-than-equals> + <property>/systems/electrical/bus/ac2</property> + <value>110</value> + </greater-than-equals> + </condition> + </binding> + </action> + </animation> + <animation> <type>pick</type> <object-name>init</object-name> @@ -236,7 +277,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -255,7 +296,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -274,7 +315,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -293,7 +334,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -312,7 +353,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -326,7 +367,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -344,7 +385,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -358,7 +399,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -376,7 +417,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -390,7 +431,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -408,7 +449,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -422,7 +463,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -440,7 +481,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -454,7 +495,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -472,7 +513,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -486,7 +527,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -505,7 +546,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -519,7 +560,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -537,7 +578,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -551,7 +592,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -569,7 +610,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -583,7 +624,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -601,7 +642,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -615,7 +656,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -633,7 +674,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -647,7 +688,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -665,7 +706,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -679,7 +720,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -698,7 +739,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -716,7 +757,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -734,7 +775,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -752,7 +793,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -771,7 +812,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -789,7 +830,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -807,7 +848,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -825,7 +866,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -843,7 +884,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -861,7 +902,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -879,7 +920,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -897,7 +938,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -915,7 +956,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -933,7 +974,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -951,7 +992,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -969,7 +1010,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -987,7 +1028,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1005,7 +1046,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1023,7 +1064,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1041,7 +1082,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1059,7 +1100,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1077,7 +1118,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1095,7 +1136,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1113,7 +1154,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1131,7 +1172,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1149,7 +1190,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1167,7 +1208,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1185,7 +1226,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1203,7 +1244,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1221,7 +1262,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1239,7 +1280,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1257,7 +1298,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1275,7 +1316,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1293,7 +1334,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1311,7 +1352,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1329,7 +1370,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1347,7 +1388,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1365,7 +1406,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1383,7 +1424,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1401,7 +1442,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1419,7 +1460,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1437,7 +1478,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1455,7 +1496,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1473,7 +1514,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1491,7 +1532,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> @@ -1509,7 +1550,7 @@ <condition> <greater-than-equals> <property>/systems/electrical/bus/ac2</property> - <value>25</value> + <value>110</value> </greater-than-equals> </condition> </binding> diff --git a/Models/Instruments/MCDU2/RADNAV/EMPTY.ac b/Models/Instruments/MCDU2/RADNAV/EMPTY.ac new file mode 100644 index 00000000..4dd7e1f9 --- /dev/null +++ b/Models/Instruments/MCDU2/RADNAV/EMPTY.ac @@ -0,0 +1,3 @@ +AC3Db +OBJECT world +kids 0 diff --git a/Models/Instruments/MCDU2/RADNAV/RADNAV.xml b/Models/Instruments/MCDU2/RADNAV/RADNAV.xml new file mode 100644 index 00000000..c60b21d6 --- /dev/null +++ b/Models/Instruments/MCDU2/RADNAV/RADNAV.xml @@ -0,0 +1,632 @@ +<?xml version="1.0"?> + +<!-- +################################################################## +# A3XX mCDU by Joshua Davidson (it0uchpods) and Jonathan Redpath # +################################################################## +--> + +<PropertyList> + + <path>EMPTY.ac</path> + + <text> + <name>page</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.0</y-m> + <z-m>0.083</z-m> + </offsets> + <alignment>center-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">RADIO NAV</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0050</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>vor1freq</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0755</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">VOR1/FREQ</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>vor1freq2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.042</y-m> + <z-m>0.0705</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">XXX/XXX.XX</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0055</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>vor2freq</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0755</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">FREQ/VOR2</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>vor2freq2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.041</y-m> + <z-m>0.0705</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">XXX.XX/XXX</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0055</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>crs1</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.065</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">CRS</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>crs12</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.061</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>crs2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.065</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">CRS</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>crs22</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.061</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>ilsfreq</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0545</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">ILS/FREQ</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>ilsfreq2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.042</y-m> + <z-m>0.0505</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">XXX/XXX.XX</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0055</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>chanmls</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0545</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">CHAN/ MLS</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>chanmls2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0505</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]/[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>ilscrs1</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0435</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">CRS</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>ilscrs12</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0395</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>slopecrs</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0435</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">SLOPE CRS</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>mlscrs2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0395</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>mlscrs3</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.028</y-m> + <z-m>0.0395</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">-.-</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0040</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>adf1freq</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.033</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">ADF1/FREQ</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>adf1freq2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>-0.045</y-m> + <z-m>0.0285</z-m> + </offsets> + <alignment>left-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ ]/[ .]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <text> + <name>adf2freq</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.033</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">FREQ/ADF2</format> + <truncate type="bool">false</truncate> + <font type="string">BoeingCDU-Large.ttf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + <text> + <name>adf2freq2</name> + <offsets> + <x-m>-0.001</x-m> + <y-m>0.044</y-m> + <z-m>0.0285</z-m> + </offsets> + <alignment>right-center</alignment> + <axis-alignment>yz-plane</axis-alignment> + <type type="string">text-value</type> + <format type="string">[ .]/[ ]</format> + <truncate type="bool">false</truncate> + <font type="string">helvetica_medium.txf</font> + <property>autopilot/serviceable</property> + <draw-text type="bool">true</draw-text> + <draw-alignment type="bool">false</draw-alignment> + <draw-boundingbox type="bool">false</draw-boundingbox> + <character-size>0.0045</character-size> + <font-resolution> + <width type="int">64</width> + <height type="int">64</height> + </font-resolution> + </text> + + <!-- Colors --> + <!-- White --> + <animation> + <type>material</type> + <object-name>page</object-name> + <object-name>vor1freq</object-name> + <object-name>vor2freq</object-name> + <object-name>crs1</object-name> + <object-name>crs2</object-name> + <object-name>ilsfreq</object-name> + <object-name>chanmls</object-name> + <object-name>ilscrs1</object-name> + <object-name>slopecrs</object-name> + <object-name>mlscrs3</object-name> + <object-name>adf1freq</object-name> + <object-name>adf2freq</object-name> + <diffuse> + <red>1</red> + <green>1</green> + <blue>1</blue> + </diffuse> + <ambient> + <red>0</red> + <green>0</green> + <blue>0</blue> + </ambient> + <specular> + <red>0</red> + <green>0</green> + <blue>0</blue> + </specular> + <emission> + <red>1</red> + <green>1</green> + <blue>1</blue> + </emission> + </animation> + + <!-- Green --> + <animation> + <type>material</type> + <object-name>engtype</object-name> + <object-name>activedata3</object-name> + <object-name>idleperf2</object-name> + <diffuse> + <red>0.2</red> + <green>0.4</green> + <blue>0.2</blue> + </diffuse> + <ambient> + <red>0</red> + <green>0</green> + <blue>0</blue> + </ambient> + <specular> + <red>0</red> + <green>0</green> + <blue>0</blue> + </specular> + <emission> + <red>0.2</red> + <green>0.4</green> + <blue>0.2</blue> + </emission> + </animation> + + <!-- Blue --> + <animation> + <type>material</type> + <object-name>vor1freq2</object-name> + <object-name>vor2freq2</object-name> + <object-name>crs12</object-name> + <object-name>crs22</object-name> + <object-name>ilsfreq2</object-name> + <object-name>chanmls2</object-name> + <object-name>ilscrs12</object-name> + <object-name>mlscrs2</object-name> + <object-name>adf1freq2</object-name> + <object-name>adf2freq2</object-name> + <diffuse> + <red>0</red> + <green>0.5</green> + <blue>0.7</blue> + </diffuse> + <ambient> + <red>0</red> + <green>0</green> + <blue>0</blue> + </ambient> + <specular> + <red>0</red> + <green>0</green> + <blue>0</blue> + </specular> + <emission> + <red>0</red> + <green>0.5</green> + <blue>0.7</blue> + </emission> + </animation> + +</PropertyList> diff --git a/Models/Instruments/OHpanel/OHpanel.xml b/Models/Instruments/OHpanel/OHpanel.xml index 8b336d81..d644d55c 100644 --- a/Models/Instruments/OHpanel/OHpanel.xml +++ b/Models/Instruments/OHpanel/OHpanel.xml @@ -2382,6 +2382,27 @@ <name>landing light pick</name> <type>pick</type> <object-name>LandingLtLSwtch</object-name> + <action> + <button>0</button> + <repeatable>false</repeatable> + <binding> + <command>property-toggle</command> + <property>controls/lighting/landing-lights[1]</property> + </binding> + </action> + <action> + <button>0</button> + <repeatable>false</repeatable> + <binding> + <command>property-toggle</command> + <property>controls/lighting/landing-lights[2]</property> + </binding> + </action> + </animation> + + <animation> + <name>landing light pick</name> + <type>pick</type> <object-name>LandingLtRSwtch</object-name> <action> <button>0</button> @@ -2400,6 +2421,25 @@ <name>landing light rotate</name> <type>rotate</type> <object-name>LandingLtLSwtch</object-name> + <property>controls/lighting/landing-lights[1]</property> + <interpolation> + <entry><ind>0</ind><dep>35</dep></entry> + <entry><ind>1</ind><dep>-35</dep></entry> + </interpolation> + <axis> + <x>0</x> + <y>1</y> + <z>0</z> + </axis> + <center> + <x-m>-0.01</x-m> + <y-m>0</y-m> + <z-m>-0.3037</z-m> + </center> + </animation> + <animation> + <name>landing light rotate</name> + <type>rotate</type> <object-name>LandingLtRSwtch</object-name> <property>controls/lighting/landing-lights[2]</property> <interpolation> @@ -2426,8 +2466,11 @@ <button>0</button> <repeatable>false</repeatable> <binding> - <command>property-toggle</command> - <property>controls/lighting/landing-lights[1]</property> + <command>property-cycle</command> + <property>controls/lighting/taxi-light-switch</property> + <value>0</value> + <value>0.5</value> + <value>1</value> </binding> <binding> <command>nasal</command> @@ -2439,9 +2482,10 @@ <name>Nose landing light rotate</name> <type>rotate</type> <object-name>NoseLtSwtch</object-name> - <property>controls/lighting/landing-lights[1]</property> + <property>controls/lighting/taxi-light-switch</property> <interpolation> <entry><ind>0</ind><dep>35</dep></entry> + <entry><ind>0.5</ind><dep>0</dep></entry> <entry><ind>1</ind><dep>-35</dep></entry> </interpolation> <axis> diff --git a/Models/Lights/ALS/beacon.ac b/Models/Lights/ALS/beacon.ac new file mode 100644 index 00000000..d83eb849 --- /dev/null +++ b/Models/Lights/ALS/beacon.ac @@ -0,0 +1,24 @@ +AC3Db +MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0 +MATERIAL "DefaultWhite.001" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.025 0.025 0.025 shi 50 trans 0.1 +OBJECT world +kids 1 +OBJECT poly +name "beaconals" +data 8 +Mesh.005 +crease 30.000000 +numvert 4 +-0.090665 -0.991468 -0.999611 +-0.090663 1.008532 -0.999611 +-0.090662 -0.991468 1.000389 +-0.090661 1.008532 1.000389 +numsurf 1 +SURF 0x20 +mat 1 +refs 4 +1 0.0 0.0 +0 0.0 0.0 +2 0.0 0.0 +3 0.0 0.0 +kids 0 diff --git a/Models/Lights/ALS/beacon.eff b/Models/Lights/ALS/beacon.eff new file mode 100644 index 00000000..7d5f2a34 --- /dev/null +++ b/Models/Lights/ALS/beacon.eff @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> + +<PropertyList> + <name>Effects/beacon</name> + <inherits-from>Effects/procedural-light</inherits-from> + +<parameters> + <texture n="0"> + <type>white</type> + </texture> + + <light_color_base_r type="float">0.98</light_color_base_r> + <light_color_base_g type="float">0.2</light_color_base_g> + <light_color_base_b type="float">0.2</light_color_base_b> + <light_color_center_r type="float">0.98</light_color_center_r> + <light_color_center_g type="float">0.8</light_color_center_g> + <light_color_center_b type="float">0.4</light_color_center_b> + <intensity_scale type="float"><use>sim/model/lights/beacon/state</use></intensity_scale> + <pointing_x type="float">1.0</pointing_x> + <pointing_y type="float">0.0</pointing_y> + <pointing_z type="float">0.0</pointing_z> + <is_directional type="bool">false</is_directional> + <is_strobe type="bool">false</is_strobe> + <inner_angle type="float">0</inner_angle> + <outer_angle type="float">0</outer_angle> + <zero_angle type="float">0</zero_angle> + <outer_gain type="float">0.0</outer_gain> + </parameters> +</PropertyList> diff --git a/Models/Lights/ALS/beacon.xml b/Models/Lights/ALS/beacon.xml new file mode 100644 index 00000000..6bb86a96 --- /dev/null +++ b/Models/Lights/ALS/beacon.xml @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<PropertyList> + + <path>beacon.ac</path> + <nopreview/> + + + <animation> + <type>scale</type> + <x-offset>0.5</x-offset> + <y-offset>0.5</y-offset> + <z-offset>0.5</z-offset> + </animation> + + + +<animation> + <type>dist-scale</type> + <object-name>beaconals</object-name> + <interpolation> + <entry> + <ind>0</ind> + <dep>1</dep> + </entry> + <entry> + <ind>300</ind> + <dep>4</dep> + </entry> + <entry> + <ind>1500</ind> + <dep>8</dep> + </entry> + </interpolation> + </animation> + + + +<effect> + <inherits-from>Aircraft/A320Family/Models/lights/ALS/beacon</inherits-from> + <object-name>beaconals</object-name> + </effect> + + +</PropertyList> diff --git a/Models/Lights/ALS/green-navlight.ac b/Models/Lights/ALS/green-navlight.ac new file mode 100644 index 00000000..6b9f683d --- /dev/null +++ b/Models/Lights/ALS/green-navlight.ac @@ -0,0 +1,24 @@ +AC3Db +MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0 +MATERIAL "DefaultWhite.001" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.025 0.025 0.025 shi 50 trans 0.1 +OBJECT world +kids 1 +OBJECT poly +name "green-navlightals" +data 8 +Mesh.001 +crease 30.000000 +numvert 4 +-2e-06 -1 -1 +0 1 -1 +0 -1 1 +2e-06 1 1 +numsurf 1 +SURF 0x20 +mat 1 +refs 4 +1 0.0 0.0 +0 0.0 0.0 +2 0.0 0.0 +3 0.0 0.0 +kids 0 diff --git a/Models/Lights/ALS/green-navlight.eff b/Models/Lights/ALS/green-navlight.eff new file mode 100644 index 00000000..fc4ae39e --- /dev/null +++ b/Models/Lights/ALS/green-navlight.eff @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> + +<PropertyList> + <name>Effects/green-navlight</name> + <inherits-from>Effects/procedural-light</inherits-from> + +<parameters> + <texture n="0"> + <type>white</type> + </texture> + + <light_color_base_r type="float">0</light_color_base_r> + <light_color_base_g type="float">0.5</light_color_base_g> + <light_color_base_b type="float">0</light_color_base_b> + <light_color_center_r type="float">0.7</light_color_center_r> + <light_color_center_g type="float">1.0</light_color_center_g> + <light_color_center_b type="float">0.7</light_color_center_b> + <intensity_scale type="float"><use>controls/lighting/nav-lights</use></intensity_scale> + <pointing_x type="float">1.0</pointing_x> + <pointing_y type="float">-0.97629600712</pointing_y> + <pointing_z type="float">0.0</pointing_z> + <is_directional type="bool">true</is_directional> + <is_strobe type="bool">false</is_strobe> + <inner_angle type="float">0.707106781187</inner_angle> + <outer_angle type="float">0.939692620786</outer_angle> + <zero_angle type="float">0.017452406437</zero_angle> + <outer_gain type="float">0.1</outer_gain> + <visibility><use>/environment/ground-visibility-m</use></visibility> + <avisibility><use>/environment/visibility-m</use></avisibility> + <lthickness><use>/environment/ground-haze-thickness-m</use></lthickness> + <terrain_alt><use>/environment/mean-terrain-elevation-m</use></terrain_alt> + <eye_alt><use>/sim/rendering/eye-altitude-m</use></eye_alt> + <terminator><use>/environment/terminator-relative-position-m</use></terminator> +</parameters> +</PropertyList> diff --git a/Models/Lights/ALS/greennav.xml b/Models/Lights/ALS/greennav.xml new file mode 100644 index 00000000..4661112a --- /dev/null +++ b/Models/Lights/ALS/greennav.xml @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<PropertyList> + + <path>green-navlight.ac</path> + <nopreview/> + + + + <effect> + <inherits-from>Aircraft/A320Family/Models/lights/ALS/green-navlight</inherits-from> + <object-name>green-navlightals</object-name> + </effect> + + <animation> + <type>scale</type> + <x-offset>0.15</x-offset> + <y-offset>0.15</y-offset> + <z-offset>0.15</z-offset> + </animation> + +<animation> + <type>dist-scale</type> + <object-name>green-navlightals</object-name> + <interpolation> + <entry> + <ind>0</ind> + <dep>1</dep> + </entry> + <entry> + <ind>300</ind> + <dep>4</dep> + </entry> + <entry> + <ind>1500</ind> + <dep>8</dep> + </entry> + </interpolation> + </animation> + + +</PropertyList> diff --git a/Models/Lights/ALS/landinglight.ac b/Models/Lights/ALS/landinglight.ac new file mode 100644 index 00000000..c2374f28 --- /dev/null +++ b/Models/Lights/ALS/landinglight.ac @@ -0,0 +1,24 @@ +AC3Db +MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0 +MATERIAL "DefaultWhite.005" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.025 0.025 0.025 shi 50 trans 0.1 +OBJECT world +kids 1 +OBJECT poly +name "landinglightals" +data 8 +Mesh.001 +crease 30.000000 +numvert 4 +-0.048971 -0.991468 -0.999611 +-0.04897 1.008532 -0.999611 +-0.048969 -0.991468 1.000389 +-0.048967 1.008532 1.000389 +numsurf 1 +SURF 0x20 +mat 1 +refs 4 +1 0.0 0.0 +0 0.0 0.0 +2 0.0 0.0 +3 0.0 0.0 +kids 0 diff --git a/Models/Lights/ALS/landinglightL.eff b/Models/Lights/ALS/landinglightL.eff new file mode 100644 index 00000000..09ad710b --- /dev/null +++ b/Models/Lights/ALS/landinglightL.eff @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> + +<PropertyList> + <name>Effects/left-strobe</name> + <inherits-from>Effects/procedural-light</inherits-from> + +<parameters> + <texture n="0"> + <type>white</type> + </texture> + + <light_color_base_r type="float">0.46</light_color_base_r> + <light_color_base_g type="float">0.46</light_color_base_g> + <light_color_base_b type="float">0.63</light_color_base_b> + <light_color_center_r type="float">0.98</light_color_center_r> + <light_color_center_g type="float">0.98</light_color_center_g> + <light_color_center_b type="float">0.98</light_color_center_b> + <intensity_scale type="float"><use>controls/lighting/landing-lights[1]</use></intensity_scale> + <pointing_x type="float">1</pointing_x> + <pointing_y type="float">0.0</pointing_y> + <pointing_z type="float">0.0</pointing_z> + <is_directional type="bool">true</is_directional> + <is_strobe type="bool">false</is_strobe> + <inner_angle type="float">0.3</inner_angle> + <outer_angle type="float">1</outer_angle> + <zero_angle type="float">0.9</zero_angle> + <outer_gain type="float">1.1</outer_gain> + <visibility><use>/environment/ground-visibility-m</use></visibility> + <avisibility><use>/environment/visibility-m</use></avisibility> + <lthickness><use>/environment/ground-haze-thickness-m</use></lthickness> + <terrain_alt><use>/environment/mean-terrain-elevation-m</use></terrain_alt> + <eye_alt><use>/sim/rendering/eye-altitude-m</use></eye_alt> + <terminator><use>/environment/terminator-relative-position-m</use></terminator> +</parameters> +</PropertyList> diff --git a/Models/Lights/ALS/landinglightL.xml b/Models/Lights/ALS/landinglightL.xml new file mode 100644 index 00000000..ddff2b83 --- /dev/null +++ b/Models/Lights/ALS/landinglightL.xml @@ -0,0 +1,66 @@ +<?xml version="1.0"?> +<PropertyList> + + <path>landinglight.ac</path> + <nopreview/> + + + +<effect> + <inherits-from>Aircraft/A320Family/Models/lights/ALS/landinglightL</inherits-from> + <object-name>landinglightals</object-name> + </effect> + + + + <animation> + <type>scale</type> + <x-offset>0.75</x-offset> + <y-offset>0.75</y-offset> + <z-offset>0.75</z-offset> + </animation> + + + +<animation> + <type>dist-scale</type> + <object-name>landinglightals</object-name> + <interpolation> + <entry> + <ind>0</ind> + <dep>1</dep> + </entry> + <entry> + <ind>300</ind> + <dep>4</dep> + </entry> + <entry> + <ind>1500</ind> + <dep>8</dep> + </entry> + </interpolation> + </animation> + + <animation> + <type>flash</type> + <object-name>landinglightals</object-name> + <center> + <x-m>0.0</x-m> + <y-m>0.0</y-m> + <z-m>0.0</z-m> + </center> + <axis> + <x>-1</x> + <y>0</y> + <z>0</z> + </axis> + <power>8</power> + <factor>6</factor> + <offset>0</offset> + <two-sides type="bool">false</two-sides> + <min>0.5</min> + <max>80</max> + </animation> + + +</PropertyList> diff --git a/Models/Lights/ALS/landinglightR.eff b/Models/Lights/ALS/landinglightR.eff new file mode 100644 index 00000000..72cce2c7 --- /dev/null +++ b/Models/Lights/ALS/landinglightR.eff @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> + +<PropertyList> + <name>Effects/left-strobe</name> + <inherits-from>Effects/procedural-light</inherits-from> + +<parameters> + <texture n="0"> + <type>white</type> + </texture> + + <light_color_base_r type="float">0.46</light_color_base_r> + <light_color_base_g type="float">0.46</light_color_base_g> + <light_color_base_b type="float">0.63</light_color_base_b> + <light_color_center_r type="float">0.98</light_color_center_r> + <light_color_center_g type="float">0.98</light_color_center_g> + <light_color_center_b type="float">0.98</light_color_center_b> + <intensity_scale type="float"><use>controls/lighting/landing-lights[2]</use></intensity_scale> + <pointing_x type="float">1</pointing_x> + <pointing_y type="float">0.0</pointing_y> + <pointing_z type="float">0.0</pointing_z> + <is_directional type="bool">true</is_directional> + <is_strobe type="bool">false</is_strobe> + <inner_angle type="float">0.3</inner_angle> + <outer_angle type="float">1</outer_angle> + <zero_angle type="float">0.9</zero_angle> + <outer_gain type="float">1.1</outer_gain> + <visibility><use>/environment/ground-visibility-m</use></visibility> + <avisibility><use>/environment/visibility-m</use></avisibility> + <lthickness><use>/environment/ground-haze-thickness-m</use></lthickness> + <terrain_alt><use>/environment/mean-terrain-elevation-m</use></terrain_alt> + <eye_alt><use>/sim/rendering/eye-altitude-m</use></eye_alt> + <terminator><use>/environment/terminator-relative-position-m</use></terminator> +</parameters> +</PropertyList> diff --git a/Models/Lights/ALS/landinglightR.xml b/Models/Lights/ALS/landinglightR.xml new file mode 100644 index 00000000..e66ed33f --- /dev/null +++ b/Models/Lights/ALS/landinglightR.xml @@ -0,0 +1,66 @@ +<?xml version="1.0"?> +<PropertyList> + + <path>landinglight.ac</path> + <nopreview/> + + + +<effect> + <inherits-from>Aircraft/A320Family/Models/lights/ALS/landinglightR</inherits-from> + <object-name>landinglightals</object-name> + </effect> + + + + <animation> + <type>scale</type> + <x-offset>0.75</x-offset> + <y-offset>0.75</y-offset> + <z-offset>0.75</z-offset> + </animation> + + + +<animation> + <type>dist-scale</type> + <object-name>landinglightals</object-name> + <interpolation> + <entry> + <ind>0</ind> + <dep>1</dep> + </entry> + <entry> + <ind>300</ind> + <dep>4</dep> + </entry> + <entry> + <ind>1500</ind> + <dep>8</dep> + </entry> + </interpolation> + </animation> + + <animation> + <type>flash</type> + <object-name>landinglightals</object-name> + <center> + <x-m>0.0</x-m> + <y-m>0.0</y-m> + <z-m>0.0</z-m> + </center> + <axis> + <x>-1</x> + <y>0</y> + <z>0</z> + </axis> + <power>8</power> + <factor>6</factor> + <offset>0</offset> + <two-sides type="bool">false</two-sides> + <min>0.5</min> + <max>80</max> + </animation> + + +</PropertyList> diff --git a/Models/Lights/ALS/left-strobe.ac b/Models/Lights/ALS/left-strobe.ac new file mode 100644 index 00000000..2ab845d0 --- /dev/null +++ b/Models/Lights/ALS/left-strobe.ac @@ -0,0 +1,24 @@ +AC3Db +MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0 +MATERIAL "DefaultWhite.005" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.025 0.025 0.025 shi 50 trans 0.1 +OBJECT world +kids 1 +OBJECT poly +name "left-strobeals" +data 8 +Mesh.001 +crease 30.000000 +numvert 4 +-0.048971 -0.991468 -0.999611 +-0.04897 1.008532 -0.999611 +-0.048969 -0.991468 1.000389 +-0.048967 1.008532 1.000389 +numsurf 1 +SURF 0x20 +mat 1 +refs 4 +1 0.0 0.0 +0 0.0 0.0 +2 0.0 0.0 +3 0.0 0.0 +kids 0 diff --git a/Models/Lights/ALS/left-strobe.eff b/Models/Lights/ALS/left-strobe.eff new file mode 100644 index 00000000..0d5d318a --- /dev/null +++ b/Models/Lights/ALS/left-strobe.eff @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> + +<PropertyList> + <name>Effects/left-strobe</name> + <inherits-from>Effects/procedural-light</inherits-from> + +<parameters> + <texture n="0"> + <type>white</type> + </texture> + + <light_color_base_r type="float">0.46</light_color_base_r> + <light_color_base_g type="float">0.46</light_color_base_g> + <light_color_base_b type="float">0.63</light_color_base_b> + <light_color_center_r type="float">0.98</light_color_center_r> + <light_color_center_g type="float">0.98</light_color_center_g> + <light_color_center_b type="float">0.98</light_color_center_b> + <intensity_scale type="float"><use>sim/model/lights/strobe/state</use></intensity_scale> + <pointing_x type="float">-1</pointing_x> + <pointing_y type="float">0.70710678</pointing_y> + <pointing_z type="float">0.0</pointing_z> + <is_directional type="bool">false</is_directional> + <is_strobe type="bool">false</is_strobe> + <inner_angle type="float">0.5</inner_angle> + <outer_angle type="float">0.34202014</outer_angle> + <zero_angle type="float">0.017452406437</zero_angle> + <outer_gain type="float">1.0</outer_gain> + <visibility><use>/environment/ground-visibility-m</use></visibility> + <avisibility><use>/environment/visibility-m</use></avisibility> + <lthickness><use>/environment/ground-haze-thickness-m</use></lthickness> + <terrain_alt><use>/environment/mean-terrain-elevation-m</use></terrain_alt> + <eye_alt><use>/sim/rendering/eye-altitude-m</use></eye_alt> + <terminator><use>/environment/terminator-relative-position-m</use></terminator> +</parameters> +</PropertyList> diff --git a/Models/Lights/ALS/left-strobe.xml b/Models/Lights/ALS/left-strobe.xml new file mode 100644 index 00000000..35f638ba --- /dev/null +++ b/Models/Lights/ALS/left-strobe.xml @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<PropertyList> + + <path>left-strobe.ac</path> + <nopreview/> + + + +<effect> + <inherits-from>Aircraft/A320Family/Models/lights/ALS/left-strobe</inherits-from> + <object-name>left-strobeals</object-name> + </effect> + + + + <animation> + <type>scale</type> + <x-offset>0.75</x-offset> + <y-offset>0.75</y-offset> + <z-offset>0.75</z-offset> + </animation> + + + +<animation> + <type>dist-scale</type> + <object-name>left-strobeals</object-name> + <interpolation> + <entry> + <ind>0</ind> + <dep>1</dep> + </entry> + <entry> + <ind>300</ind> + <dep>4</dep> + </entry> + <entry> + <ind>1500</ind> + <dep>8</dep> + </entry> + </interpolation> + </animation> + + + +</PropertyList> diff --git a/Models/Lights/ALS/red-navlight.ac b/Models/Lights/ALS/red-navlight.ac new file mode 100644 index 00000000..6d061971 --- /dev/null +++ b/Models/Lights/ALS/red-navlight.ac @@ -0,0 +1,24 @@ +AC3Db +MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0 +MATERIAL "DefaultWhite.001" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.025 0.025 0.025 shi 50 trans 0.1 +OBJECT world +kids 1 +OBJECT poly +name "red-navlightals" +data 4 +Mesh +crease 30.000000 +numvert 4 +-2e-06 -1 -1 +0 1 -1 +0 -1 1 +2e-06 1 1 +numsurf 1 +SURF 0x20 +mat 1 +refs 4 +1 0.0 0.0 +0 0.0 0.0 +2 0.0 0.0 +3 0.0 0.0 +kids 0 diff --git a/Models/Lights/ALS/red-navlight.eff b/Models/Lights/ALS/red-navlight.eff new file mode 100644 index 00000000..7e4d3794 --- /dev/null +++ b/Models/Lights/ALS/red-navlight.eff @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> + +<PropertyList> + <name>Effects/red-navlight</name> + <inherits-from>Effects/procedural-light</inherits-from> + +<parameters> + <texture n="0"> + <type>white</type> + </texture> + + <light_color_base_r type="float">0.5</light_color_base_r> + <light_color_base_g type="float">0.0</light_color_base_g> + <light_color_base_b type="float">0.0</light_color_base_b> + <light_color_center_r type="float">1.0</light_color_center_r> + <light_color_center_g type="float">0.7</light_color_center_g> + <light_color_center_b type="float">0.7</light_color_center_b> + <intensity_scale type="float"><use>controls/lighting/nav-lights</use></intensity_scale> + <pointing_x type="float">1.0</pointing_x> + <pointing_y type="float">0.97629600712</pointing_y> + <pointing_z type="float">0.0</pointing_z> + <is_directional type="bool">true</is_directional> + <is_strobe type="bool">false</is_strobe> + <inner_angle type="float">0.707106781187</inner_angle> + <outer_angle type="float">0.939692620786</outer_angle> + <zero_angle type="float">0.017452406437</zero_angle> + <outer_gain type="float">0.1</outer_gain> + <visibility><use>/environment/ground-visibility-m</use></visibility> + <avisibility><use>/environment/visibility-m</use></avisibility> + <lthickness><use>/environment/ground-haze-thickness-m</use></lthickness> + <terrain_alt><use>/environment/mean-terrain-elevation-m</use></terrain_alt> + <eye_alt><use>/sim/rendering/eye-altitude-m</use></eye_alt> + <terminator><use>/environment/terminator-relative-position-m</use></terminator> +</parameters> +</PropertyList> diff --git a/Models/Lights/ALS/rednav.xml b/Models/Lights/ALS/rednav.xml new file mode 100644 index 00000000..792a8641 --- /dev/null +++ b/Models/Lights/ALS/rednav.xml @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<PropertyList> + + <path>red-navlight.ac</path> + <nopreview/> + + + + <effect> + <inherits-from>Aircraft/A320Family/Models/lights/ALS/red-navlight</inherits-from> + <object-name>red-navlightals</object-name> + </effect> + + <animation> + <type>scale</type> + <x-offset>0.175</x-offset> + <y-offset>0.175</y-offset> + <z-offset>0.175</z-offset> + </animation> + +<animation> + <type>dist-scale</type> + <object-name>red-navlightals</object-name> + <interpolation> + <entry> + <ind>0</ind> + <dep>1</dep> + </entry> + <entry> + <ind>300</ind> + <dep>4</dep> + </entry> + <entry> + <ind>1500</ind> + <dep>8</dep> + </entry> + </interpolation> + </animation> + + +</PropertyList> diff --git a/Models/Lights/ALS/right-strobe.ac b/Models/Lights/ALS/right-strobe.ac new file mode 100644 index 00000000..c1340b5b --- /dev/null +++ b/Models/Lights/ALS/right-strobe.ac @@ -0,0 +1,24 @@ +AC3Db +MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0 +MATERIAL "DefaultWhite.007" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.025 0.025 0.025 shi 50 trans 0.1 +OBJECT world +kids 1 +OBJECT poly +name "right-strobeals" +data 8 +Mesh.003 +crease 30.000000 +numvert 4 +-0.050333 -1 -0.999806 +-0.050331 1 -0.999806 +-0.05033 -1 1.000194 +-0.050329 1 1.000194 +numsurf 1 +SURF 0x20 +mat 1 +refs 4 +1 0.0 0.0 +0 0.0 0.0 +2 0.0 0.0 +3 0.0 0.0 +kids 0 diff --git a/Models/Lights/ALS/right-strobe.eff b/Models/Lights/ALS/right-strobe.eff new file mode 100644 index 00000000..b01d02fa --- /dev/null +++ b/Models/Lights/ALS/right-strobe.eff @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> + +<PropertyList> + <name>Effects/right-strobe</name> + <inherits-from>Effects/procedural-light</inherits-from> + +<parameters> + <texture n="0"> + <type>white</type> + </texture> + + <light_color_base_r type="float">0.46</light_color_base_r> + <light_color_base_g type="float">0.46</light_color_base_g> + <light_color_base_b type="float">0.63</light_color_base_b> + <light_color_center_r type="float">0.98</light_color_center_r> + <light_color_center_g type="float">0.98</light_color_center_g> + <light_color_center_b type="float">0.98</light_color_center_b> <intensity_scale type="float"><use>sim/model/lights/strobe/state</use></intensity_scale> + <pointing_x type="float">-1</pointing_x> + <pointing_y type="float">-0.70710678</pointing_y> + <pointing_z type="float">0.0</pointing_z> + <is_directional type="bool">false</is_directional> + <is_strobe type="bool">false</is_strobe> + <inner_angle type="float">0.5</inner_angle> + <outer_angle type="float">0.34202014</outer_angle> + <zero_angle type="float">0.017452406437</zero_angle> + <outer_gain type="float">1.0</outer_gain> + <visibility><use>/environment/ground-visibility-m</use></visibility> + <avisibility><use>/environment/visibility-m</use></avisibility> + <lthickness><use>/environment/ground-haze-thickness-m</use></lthickness> + <terrain_alt><use>/environment/mean-terrain-elevation-m</use></terrain_alt> + <eye_alt><use>/sim/rendering/eye-altitude-m</use></eye_alt> + <terminator><use>/environment/terminator-relative-position-m</use></terminator> +</parameters> +</PropertyList> diff --git a/Models/Lights/ALS/right-strobe.xml b/Models/Lights/ALS/right-strobe.xml new file mode 100644 index 00000000..a97973d2 --- /dev/null +++ b/Models/Lights/ALS/right-strobe.xml @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<PropertyList> + + <path>right-strobe.ac</path> + <nopreview/> + + + +<effect> + <inherits-from>Aircraft/A320Family/Models/lights/ALS/right-strobe</inherits-from> + <object-name>right-strobeals</object-name> + </effect> + + + <animation> + <type>scale</type> + <x-offset>0.75</x-offset> + <y-offset>0.75</y-offset> + <z-offset>0.75</z-offset> + </animation> + + + +<animation> + <type>dist-scale</type> + <object-name>right-strobeals</object-name> + <interpolation> + <entry> + <ind>0</ind> + <dep>1</dep> + </entry> + <entry> + <ind>300</ind> + <dep>4</dep> + </entry> + <entry> + <ind>1500</ind> + <dep>8</dep> + </entry> + </interpolation> + </animation> + + + +</PropertyList> diff --git a/Models/Lights/ALS/taxilight.eff b/Models/Lights/ALS/taxilight.eff new file mode 100644 index 00000000..2c98950a --- /dev/null +++ b/Models/Lights/ALS/taxilight.eff @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> + +<PropertyList> + <name>Effects/taxilight</name> + <inherits-from>Effects/procedural-light</inherits-from> + +<parameters> + <texture n="0"> + <type>white</type> + </texture> + + <light_color_base_r type="float">0.46</light_color_base_r> + <light_color_base_g type="float">0.46</light_color_base_g> + <light_color_base_b type="float">0.63</light_color_base_b> + <light_color_center_r type="float">0.98</light_color_center_r> + <light_color_center_g type="float">0.98</light_color_center_g> + <light_color_center_b type="float">0.98</light_color_center_b> + <intensity_scale type="float"><use>controls/lighting/taxi-light-switch</use></intensity_scale> + <pointing_x type="float">1</pointing_x> + <pointing_y type="float">0.0</pointing_y> + <pointing_z type="float">0.0</pointing_z> + <is_directional type="bool">true</is_directional> + <is_strobe type="bool">false</is_strobe> + <inner_angle type="float">0.3</inner_angle> + <outer_angle type="float">1</outer_angle> + <zero_angle type="float">0.9</zero_angle> + <outer_gain type="float">1.1</outer_gain> + <visibility><use>/environment/ground-visibility-m</use></visibility> + <avisibility><use>/environment/visibility-m</use></avisibility> + <lthickness><use>/environment/ground-haze-thickness-m</use></lthickness> + <terrain_alt><use>/environment/mean-terrain-elevation-m</use></terrain_alt> + <eye_alt><use>/sim/rendering/eye-altitude-m</use></eye_alt> + <terminator><use>/environment/terminator-relative-position-m</use></terminator> +</parameters> +</PropertyList> diff --git a/Models/Lights/ALS/taxilight.xml b/Models/Lights/ALS/taxilight.xml new file mode 100644 index 00000000..5793f681 --- /dev/null +++ b/Models/Lights/ALS/taxilight.xml @@ -0,0 +1,66 @@ +<?xml version="1.0"?> +<PropertyList> + + <path>landinglight.ac</path> + <nopreview/> + + + +<effect> + <inherits-from>Aircraft/737-800/Models/lights/ALS/taxilight</inherits-from> + <object-name>landinglightals</object-name> + </effect> + + + + <animation> + <type>scale</type> + <x-offset>0.75</x-offset> + <y-offset>0.75</y-offset> + <z-offset>0.75</z-offset> + </animation> + + + +<animation> + <type>dist-scale</type> + <object-name>landinglightals</object-name> + <interpolation> + <entry> + <ind>0</ind> + <dep>1</dep> + </entry> + <entry> + <ind>300</ind> + <dep>4</dep> + </entry> + <entry> + <ind>1500</ind> + <dep>8</dep> + </entry> + </interpolation> + </animation> + + <animation> + <type>flash</type> + <object-name>landinglightals</object-name> + <center> + <x-m>0.0</x-m> + <y-m>0.0</y-m> + <z-m>0.0</z-m> + </center> + <axis> + <x>-1</x> + <y>0</y> + <z>0</z> + </axis> + <power>8</power> + <factor>3</factor> + <offset>0</offset> + <two-sides type="bool">false</two-sides> + <min>0.5</min> + <max>80</max> + </animation> + + +</PropertyList> diff --git a/Models/Wings/res/wings_white.png b/Models/Wings/res/wings_white.png new file mode 100644 index 00000000..981bec88 Binary files /dev/null and b/Models/Wings/res/wings_white.png differ diff --git a/Nasal/MCDU/MCDU1.nas b/Nasal/MCDU/MCDU1.nas index 4e0e4414..da17f313 100644 --- a/Nasal/MCDU/MCDU1.nas +++ b/Nasal/MCDU/MCDU1.nas @@ -512,7 +512,9 @@ var arrowbutton = func(btn) { } var pagebutton = func(btn) { - if (btn == "perf") { + if (btn == "radnav") { + setprop("/MCDU[0]/page", "RADNAV"); + } else if (btn == "perf") { if (getprop("/FMGC/status/phase") == 0 or getprop("/FMGC/status/phase") == 1) { setprop("/MCDU[0]/page", "TO"); } else if (getprop("/FMGC/status/phase") == 2) { diff --git a/Nasal/MCDU/MCDU2.nas b/Nasal/MCDU/MCDU2.nas index 7c427fae..7a777f39 100644 --- a/Nasal/MCDU/MCDU2.nas +++ b/Nasal/MCDU/MCDU2.nas @@ -512,7 +512,9 @@ var arrowbutton = func(btn) { } var pagebutton = func(btn) { - if (btn == "perf") { + if (btn == "radnav") { + setprop("/MCDU[1]/page", "RADNAV"); + } else if (btn == "perf") { if (getprop("/FMGC/status/phase") == 0 or getprop("/FMGC/status/phase") == 1) { setprop("/MCDU[1]/page", "TO"); } else if (getprop("/FMGC/status/phase") == 2) { diff --git a/Nasal/electrical.nas b/Nasal/electrical.nas index ac9bbd14..e03fe859 100644 --- a/Nasal/electrical.nas +++ b/Nasal/electrical.nas @@ -37,13 +37,11 @@ var elec_init = func { setprop("/systems/electrical/bus/dc-ess", 0); setprop("/systems/electrical/bus/ac1", 0); setprop("/systems/electrical/bus/ac2", 0); - setprop("/systems/electrical/bus/emergen-hz", 0); setprop("/systems/electrical/bus/gen1-hz", 0); setprop("/systems/electrical/bus/gen2-hz", 0); setprop("/systems/electrical/bus/ac-ess", 0); setprop("/systems/electrical/extra/ext-volts", 0); setprop("/systems/electrical/extra/apu-volts", 0); - setprop("/systems/electrical/extra/emergen-volts", 0); setprop("/systems/electrical/extra/gen1-volts", 0); setprop("/systems/electrical/extra/gen2-volts", 0); setprop("/systems/electrical/extra/ext-hz", 0); @@ -128,8 +126,6 @@ var master_elec = func { var bat1_con = getprop("/systems/electrical/extra/battery/bat1-contact"); var bat2_con = getprop("/systems/electrical/extra/battery/bat2-contact"); var emergen = getprop("/controls/electrical/switches/emer-gen"); - var emergenvolts = getprop("/systems/electrical/extra/emergen-volts"); - var emergenhz = getprop("/systems/electrical/bus/emergen-hz"); var ias = getprop("/instrumentation/airspeed-indicator/indicated-speed-kt"); var rat = getprop("/controls/hydraulic/rat"); var manrat = getprop("/controls/hydraulic/rat-man"); diff --git a/Nasal/pneumatics.nas b/Nasal/pneumatics.nas index ccfa3af8..601ad645 100644 --- a/Nasal/pneumatics.nas +++ b/Nasal/pneumatics.nas @@ -29,18 +29,23 @@ var pneu_init = func { setprop("/systems/pneumatic/eng1-starter", 0); setprop("/systems/pneumatic/eng2-starter", 0); pneu_timer.start(); - press_timer.start(); } var press_init = func { setprop("/FMGC/internal/dep-arpt", ""); setprop("/systems/pressurization/mode", "GN"); setprop("/systems/pressurization/vs", "0"); + setprop("/systems/pressurization/targetvs", "0"); + setprop("/systems/pressurization/vs-norm", "0"); setprop("/systems/pressurization/auto", 1); setprop("/systems/pressurization/deltap", "0"); setprop("/systems/pressurization/outflowpos", "0"); + setprop("/systems/pressurization/deltap-norm", "0"); + setprop("/systems/pressurization/outflowpos-norm", "0"); var altitude = getprop("/position/altitude-ft"); - setprop("/systems/pressurization/cabinalt", altitude); # initially set altitude + setprop("/systems/pressurization/cabinalt", altitude); + setprop("/systems/pressurization/targetalt", altitude); + setprop("/systems/pressurization/diff-to-target", "0"); } ############## @@ -61,58 +66,32 @@ var master_press = func { var airport_dep_elev_ft = getprop("autopilot/route-manager/departure/field-elevation-ft"); var altitude = getprop("/position/altitude-ft"); var airport_arr_elev_ft = getprop("autopilot/route-manager/destination/field-elevation-ft"); - var vs = getprop("/systems/pressurization/vs"); + var vs = getprop("/systems/pressurization/vs-norm"); var outflowpos = getprop("/systems/pressurization/outflowpos"); var cabinalt = getprop("/systems/pressurization/cabinalt"); + var targetalt = getprop("/systems/pressurization/targetalt"); + var targetvs = getprop("/systems/pressurization/targetvs"); + var ambient = getprop("/systems/pressurization/ambientpsi"); + var cabinpsi = getprop("/systems/pressurization/cabinpsi"); + setprop("/systems/pressurization/diff-to-target", targetalt - cabinalt); + setprop("/systems/pressurization/deltap", cabinpsi - ambient); # switch mode to TO if ((pressmode == "GN") and (pressmode != "CL") and (wowl and wowr) and ((state1 == "MCT") or (state1 == "TOGA")) and ((state2 == "MCT") or (state2 == "TOGA"))) { setprop("/systems/pressurization/mode", "TO"); } - # prepressurization - var pressmode = getprop("/systems/pressurization/mode"); - if (pressmode == "TO") { - if (outflowpos == "0") { - interpolate("/systems/pressurization/outflowpos", 1, 1); - } - if (vs > -500 and (outflowpos != 0.5)) { - interpolate("/systems/pressurization/vs", vs - 50, 0.1); - } - if (dep_apt != "") { - if ((cabinalt > (airport_dep_elev_ft - 1)) and (cabinalt < (airport_dep_elev_ft + 1))) { - interpolate("/systems/pressurization/cabinalt", airport_dep_elev_ft - 187, 10); - } - } else { - if ((cabinalt > (altitude - 1)) and (cabinalt < (altitude + 1))) { - interpolate("/systems/pressurization/cabinalt", altitude - 187, 10); - } - } - if (dep_apt != "") { - if (cabinalt < (airport_dep_elev_ft - 183)) { - if (vs < 0) { - interpolate("/systems/pressurization/vs", 0, 1); - } - if (outflowpos == "1") { - interpolate("/systems/pressurization/outflowpos", 0.5, 1); - } - } - } else { - if (cabinalt < (altitude - 183)) { - if (vs < 0) { - interpolate("/systems/pressurization/vs", vs + 50, 0.1); - } - if (outflowpos == "1") { - interpolate("/systems/pressurization/outflowpos", 0.5, 1); - } - } - } - } - # switch mode to CLB if (((!wowl) or (!wowr)) and (speed > 100) and (pressmode == "TO")) { - setprop("/systems/pressurization/mode", "CL"); - + setprop("/systems/pressurization/mode", "CL"); + } + + if (vs != targetvs and !wowl and !wowr) { + setprop("/systems/pressurization/vs", targetvs); + } + + if (cabinalt != targetalt and !wowl and !wowr) { + setprop("/systems/pressurization/cabinalt", cabinalt + vs); } } @@ -219,12 +198,8 @@ var master_pneu = func { var update_pneumatic = func { master_pneu(); + master_press(); } var pneu_timer = maketimer(0.2, update_pneumatic); -var update_press = func { - master_press(); -} - -var press_timer = maketimer(0.1, update_press); diff --git a/Systems/instrumentation.xml b/Systems/instrumentation.xml index be894889..7acc2114 100644 --- a/Systems/instrumentation.xml +++ b/Systems/instrumentation.xml @@ -103,6 +103,11 @@ file, these values will be used (they are hardcoded). <name>nav</name> <number>1</number> </nav-radio> + + <nav-radio> + <name>nav</name> + <number>2</number> + </nav-radio> <slip-skid-ball> <name>slip-skid-ball</name> diff --git a/Systems/libraries.xml b/Systems/libraries.xml index b59dd216..da8c1509 100644 --- a/Systems/libraries.xml +++ b/Systems/libraries.xml @@ -202,4 +202,159 @@ <output>/controls/engines/engine[1]/throttle-pos</output> </filter> + <filter> + <name>Target Pressurize Altitude</name> + <type>gain</type> + <gain>1</gain> + <update-interval-secs type="double">0.1</update-interval-secs> + <input> + <expression> + <table> + <property>/instrumentation/altimeter/indicated-altitude-ft</property> + <entry><ind> 0</ind><dep> 0</dep></entry> + <entry><ind> 1000</ind><dep> 500</dep></entry> + <entry><ind> 5000</ind><dep> 1100</dep></entry> + <entry><ind> 20000</ind><dep> 5200</dep></entry> + <entry><ind> 30000</ind><dep> 6700</dep></entry> + <entry><ind> 30000</ind><dep> 7900</dep></entry> + <entry><ind> 40500</ind><dep> 8000</dep></entry> + </table> + </expression> + </input> + <output>/systems/pressurization/targetalt</output> + </filter> + + <filter> + <name>Cabin PSI</name> + <type>gain</type> + <gain>1</gain> + <update-interval-secs type="double">0.1</update-interval-secs> + <input> + <expression> + <table> + <property>/systems/pressurization/cabinalt-norm</property> + <entry><ind> -1000</ind><dep> 16.5</dep></entry> + <entry><ind> 0</ind><dep> 14.7</dep></entry> + <entry><ind> 1000</ind><dep> 14.6</dep></entry> + <entry><ind> 5000</ind><dep> 14.4</dep></entry> + <entry><ind> 20000</ind><dep> 12.1</dep></entry> + <entry><ind> 30000</ind><dep> 11.4</dep></entry> + <entry><ind> 30000</ind><dep> 11.0</dep></entry> + <entry><ind> 40500</ind><dep> 10.9</dep></entry> + </table> + </expression> + </input> + <output>/systems/pressurization/cabinpsi</output> + </filter> + + <filter> + <name>Ambient PSI (ICAO std)</name> + <type>gain</type> + <gain>1</gain> + <update-interval-secs type="double">0.1</update-interval-secs> + <input> + <expression> + <table> + <property>/instrumentation/altimeter/indicated-altitude-ft</property> + <entry><ind> -1000</ind><dep> 16.5</dep></entry> + <entry><ind> 0</ind><dep> 14.7</dep></entry> + <entry><ind> 1000</ind><dep> 14.2</dep></entry> + <entry><ind> 2000</ind><dep> 13.6</dep></entry> + <entry><ind> 3000</ind><dep> 13.2</dep></entry> + <entry><ind> 4000</ind><dep> 12.7</dep></entry> + <entry><ind> 5000</ind><dep> 12.2</dep></entry> + <entry><ind> 6000</ind><dep> 11.7</dep></entry> + <entry><ind> 7000</ind><dep> 11.3</dep></entry> + <entry><ind> 8000</ind><dep> 10.9</dep></entry> + <entry><ind> 9000</ind><dep> 10.5</dep></entry> + <entry><ind> 10000</ind><dep> 10.1</dep></entry> + <entry><ind> 11000</ind><dep> 9.7</dep></entry> + <entry><ind> 12000</ind><dep> 9.3</dep></entry> + <entry><ind> 13000</ind><dep> 9</dep></entry> + <entry><ind> 14000</ind><dep> 8.6</dep></entry> + <entry><ind> 15000</ind><dep> 8.3</dep></entry> + <entry><ind> 16000</ind><dep> 8.0</dep></entry> + <entry><ind> 17000</ind><dep> 7.6</dep></entry> + <entry><ind> 18000</ind><dep> 7.3</dep></entry> + <entry><ind> 19000</ind><dep> 7.0</dep></entry> + <entry><ind> 20000</ind><dep> 6.8</dep></entry> + <entry><ind> 22000</ind><dep> 6.2</dep></entry> + <entry><ind> 24000</ind><dep> 5.7</dep></entry> + <entry><ind> 26000</ind><dep> 5.2</dep></entry> + <entry><ind> 28000</ind><dep> 4.7</dep></entry> + <entry><ind> 30000</ind><dep> 4.4</dep></entry> + <entry><ind> 32000</ind><dep> 4.0</dep></entry> + <entry><ind> 34000</ind><dep> 3.6</dep></entry> + <entry><ind> 36000</ind><dep> 3.3</dep></entry> + <entry><ind> 38000</ind><dep> 3.0</dep></entry> + <entry><ind> 39000</ind><dep> 2.9</dep></entry> + <entry><ind> 40000</ind><dep> 2.7</dep></entry> + <entry><ind> 41000</ind><dep> 2.6</dep></entry> + </table> + </expression> + </input> + <output>/systems/pressurization/ambientpsi</output> + </filter> + + <filter> + <name>Outflow Valve</name> + <type>noise-spike</type> + <input> + <property>/systems/pressurization/outflowpos</property> + </input> + <output>/systems/pressurization/outflowpos-norm</output> + <max-rate-of-change>1</max-rate-of-change> + </filter> + + <filter> + <name>Cabin VS</name> + <type>noise-spike</type> + <input> + <property>/systems/pressurization/vs</property> + </input> + <output>/systems/pressurization/vs-norm</output> + <max-rate-of-change>100</max-rate-of-change> + </filter> + + <filter> + <name>Cabin Differential</name> + <type>noise-spike</type> + <input> + <property>/systems/pressurization/deltap</property> + </input> + <output>/systems/pressurization/deltap-norm</output> + <max-rate-of-change>1</max-rate-of-change> + </filter> + + <filter> + <name>Cabin Alt</name> + <type>noise-spike</type> + <input> + <property>/systems/pressurization/cabinalt</property> + </input> + <output>/systems/pressurization/cabinalt-norm</output> + <max-rate-of-change>40500</max-rate-of-change> + </filter> + + <filter> + <name>VS-target</name> + <type>gain</type> + <gain>1</gain> + <update-interval-secs type="double">0.05</update-interval-secs> + <input> + <expression> + <table> + <property>/it-autoflight/internal/vert-speed-fpm</property> + <entry><ind>-1000</ind><dep>-410</dep></entry> + <entry><ind> 0</ind><dep> 0</dep></entry> + <entry><ind> 1000</ind><dep> 205</dep></entry> + <entry><ind> 2000</ind><dep> 410</dep></entry> + <entry><ind> 3000</ind><dep> 615</dep></entry> + <entry><ind> 4000</ind><dep> 820</dep></entry> + <entry><ind> 5000</ind><dep>1025</dep></entry> + </table> + </expression> + </input> + <output>/systems/pressurization/targetvs</output> + </filter> </PropertyList> diff --git a/tools.txt b/tools.txt new file mode 100644 index 00000000..ee7c1373 --- /dev/null +++ b/tools.txt @@ -0,0 +1,19 @@ +Tools and Utilities: + +Trim Calculator (for FSLabs, but will work for us) + https://forums.flightsimlabs.com/index.php?/files/file/675-a320x-trim-calculation-tool/ + +Take off performance calculator (excel) + https://forums.flightsimlabs.com/index.php?/files/file/763-a320-takeoff-and-landing-performance-calculator/ + +Take off performance calculator (.exe -- different to above) + http://www.avsimrus.com/f/for-pilots-19/popular-calculator-to-calculate-takeoff-parameters-in-from-airbus-type-36340.html + +Air Berlin Norm. Checklist + https://forums.flightsimlabs.com/index.php?/files/file/778-airberlin-normal-procedures-checklist/ + +Airbus Checklist + https://forums.flightsimlabs.com/index.php?/files/file/481-airliners-checklist-a320-normal-checklist/ + +Lufthansa Checklist + https://forums.flightsimlabs.com/index.php?/files/file/480-lufthansa-checklist-a320-20/ \ No newline at end of file