A3XX: New Lower ECAM APU Page, fix APU behavior, fix wierd view bug

This commit is contained in:
Joshua Davidson 2017-07-06 23:51:33 -04:00
parent 6661e01329
commit 9bce793710
22 changed files with 891 additions and 75 deletions

View file

@ -42,7 +42,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -55,7 +55,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -68,7 +68,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -81,7 +81,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -94,7 +94,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -47,7 +47,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -60,7 +60,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -73,7 +73,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -86,7 +86,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -99,7 +99,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -47,7 +47,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -60,7 +60,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -73,7 +73,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -86,7 +86,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -99,7 +99,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -67,7 +67,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -80,7 +80,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -93,7 +93,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -106,7 +106,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -119,7 +119,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -67,7 +67,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -80,7 +80,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -93,7 +93,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -106,7 +106,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -119,7 +119,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -67,7 +67,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -80,7 +80,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -93,7 +93,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -106,7 +106,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -119,7 +119,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -809,7 +809,7 @@
<binding> <binding>
<command>property-assign</command> <command>property-assign</command>
<property>/sim/current-view/view-number</property> <property>/sim/current-view/view-number</property>
<value>9</value> <value>8</value>
</binding> </binding>
</key> </key>
<key n="51"> <key n="51">
@ -818,7 +818,7 @@
<binding> <binding>
<command>property-assign</command> <command>property-assign</command>
<property>/sim/current-view/view-number</property> <property>/sim/current-view/view-number</property>
<value>10</value> <value>9</value>
</binding> </binding>
</key> </key>
<key n="127"> <key n="127">

View file

@ -57,7 +57,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -70,7 +70,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -83,7 +83,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -96,7 +96,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -109,7 +109,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -57,7 +57,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -70,7 +70,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -83,7 +83,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -96,7 +96,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -109,7 +109,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -47,7 +47,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -60,7 +60,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -73,7 +73,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -86,7 +86,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -99,7 +99,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -48,7 +48,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -61,7 +61,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -74,7 +74,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -87,7 +87,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -100,7 +100,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -43,7 +43,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -56,7 +56,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -69,7 +69,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -82,7 +82,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -95,7 +95,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -43,7 +43,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="103"> <view n="100">
<name>Copilot View</name> <name>Copilot View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -56,7 +56,7 @@
<default-field-of-view-deg type="double">60</default-field-of-view-deg> <default-field-of-view-deg type="double">60</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="104"> <view n="101">
<name>Overhead Panel View</name> <name>Overhead Panel View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">true</internal> <internal archive="y">true</internal>
@ -69,7 +69,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="105"> <view n="102">
<name>Left Engine View</name> <name>Left Engine View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -82,7 +82,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="106"> <view n="103">
<name>Right Wing View</name> <name>Right Wing View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>
@ -95,7 +95,7 @@
<default-field-of-view-deg type="double">85</default-field-of-view-deg> <default-field-of-view-deg type="double">85</default-field-of-view-deg>
</config> </config>
</view> </view>
<view n="107"> <view n="104">
<name>Aft View</name> <name>Aft View</name>
<type>lookfrom</type> <type>lookfrom</type>
<internal archive="y">false</internal> <internal archive="y">false</internal>

View file

@ -13,6 +13,16 @@
<path>eng-eis1.xml</path> <path>eng-eis1.xml</path>
</model> </model>
<model>
<condition>
<equals>
<property>/instrumentation/efis/ecam/display-mode</property>
<value>APU</value>
</equals>
</condition>
<path>apu.xml</path>
</model>
<model> <model>
<path>osgtxt-common.xml</path> <path>osgtxt-common.xml</path>
</model> </model>

View file

@ -0,0 +1,579 @@
<?xml version="1.0"?>
<PropertyList>
<path>res/apu/apu.ac</path>
<!-- Analog Gauges -->
<!-- APU N -->
<animation>
<type>rotate</type>
<object-name>N</object-name>
<property>/systems/apu/rpm</property>
<interpolation>
<entry><ind> 0</ind><dep>-126</dep></entry>
<entry><ind>100</ind><dep> 54</dep></entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>-0.04466</y-m>
<z-m>0.0003</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- APU EGT -->
<animation>
<type>rotate</type>
<object-name>EGT</object-name>
<property>/systems/apu/egt</property>
<interpolation>
<entry><ind> 275</ind><dep>-114</dep></entry>
<entry><ind> 300</ind><dep>-106</dep></entry>
<entry><ind> 700</ind><dep> -19</dep></entry>
<entry><ind>1000</ind><dep> 67</dep></entry>
<entry><ind>1100</ind><dep> 86</dep></entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>-0.04483</y-m>
<z-m>-0.03256</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Text -->
<!-- APU N -->
<text>
<name>txt.n</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.04266</y-m>
<z-m>-0.0033</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/systems/apu/rpm</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>XX.n</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.04266</y-m>
<z-m>-0.0033</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">XX</format>
<property>autopilot/servicable</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<!-- APU EGT -->
<text>
<name>txt.egt</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.04283</y-m>
<z-m>-0.03556</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%4.0f</format>
<property>/systems/apu/egt</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>XX.egt</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.04283</y-m>
<z-m>-0.03556</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">XX</format>
<property>autopilot/servicable</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<!-- Various -->
<text>
<name>txt.avail</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.0</y-m>
<z-m>0.05</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">AVAIL</format>
<property>autopilot/servicable</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<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">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<animation>
<type>select</type>
<object-name>txt.avail</object-name>
<object-name>txt.bleedpsi</object-name>
<condition>
<greater-than-equals>
<property>/systems/apu/rpm</property>
<value>94.9</value>
</greater-than-equals>
</condition>
</animation>
<text>
<name>txt.flapopen</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.035</y-m>
<z-m>-0.01</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">FLAP OPEN</format>
<property>autopilot/servicable</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<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">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<animation>
<type>select</type>
<object-name>txt.flapopen</object-name>
<condition>
<or>
<greater-than-equals>
<property>/systems/apu/rpm</property>
<value>3.5</value>
</greater-than-equals>
<equals>
<property>/controls/APU/master</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<text>
<name>txt.bleedpsi</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.047</y-m>
<z-m>0.033</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%2.0f</format>
<property>/systems/pneumatic/bleedapu</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>XX.bleedpsi</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>0.047</y-m>
<z-m>0.033</z-m>
</offsets>
<alignment>center-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">text-value</type>
<format type="string">XX</format>
<property>autopilot/servicable</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<animation>
<type>select</type>
<object-name>XX.bleedpsi</object-name>
<condition>
<less-than>
<property>/systems/apu/rpm</property>
<value>94.9</value>
</less-than>
</condition>
</animation>
<text>
<name>txt.load</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.048</y-m>
<z-m>0.0483</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/systems/electrical/extra/apu-load</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>txt.volts</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.048</y-m>
<z-m>0.0413</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/systems/electrical/extra/apu-volts</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>txt.volts.a</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.048</y-m>
<z-m>0.0413</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/systems/electrical/extra/apu-volts</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<animation>
<type>select</type>
<object-name>txt.volts</object-name>
<condition>
<greater-than-equals>
<property>/systems/electrical/extra/apu-volts</property>
<value>110</value>
</greater-than-equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>txt.volts.a</object-name>
<condition>
<less-than>
<property>/systems/electrical/extra/apu-volts</property>
<value>110</value>
</less-than>
</condition>
</animation>
<text>
<name>txt.hz</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.048</y-m>
<z-m>0.034</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/systems/electrical/extra/apu-hz</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<text>
<name>txt.hz.a</name>
<offsets>
<x-m>0.0004</x-m>
<y-m>-0.048</y-m>
<z-m>0.034</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/systems/electrical/extra/apu-hz</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.005</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>
<animation>
<type>select</type>
<object-name>txt.hz</object-name>
<condition>
<greater-than-equals>
<property>/systems/electrical/extra/apu-hz</property>
<value>380</value>
</greater-than-equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>txt.hz.a</object-name>
<condition>
<less-than>
<property>/systems/electrical/extra/apu-hz</property>
<value>380</value>
</less-than>
</condition>
</animation>
<!-- Bleed In-line -->
<animation>
<type>select</type>
<object-name>bleed-inline</object-name>
<condition>
<and>
<greater-than>
<property>/systems/pneumatic/bleedapu</property>
<value>0</value>
</greater-than>
<equals>
<property>/controls/pneumatic/switches/bleedapu</property>
<value>1</value>
</equals>
</and>
</condition>
</animation>
<!-- XX -->
<animation>
<type>select</type>
<object-name>N</object-name>
<object-name>EGT</object-name>
<object-name>txt.n</object-name>
<object-name>txt.egt</object-name>
<condition>
<or>
<greater-than-equals>
<property>/systems/apu/rpm</property>
<value>3.5</value>
</greater-than-equals>
<equals>
<property>/controls/APU/master</property>
<value>1</value>
</equals>
</or>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>XX.n</object-name>
<object-name>XX.egt</object-name>
<condition>
<and>
<less-than>
<property>/systems/apu/rpm</property>
<value>3.5</value>
</less-than>
<equals>
<property>/controls/APU/master</property>
<value>0</value>
</equals>
</and>
</condition>
</animation>
<!-- Colors -->
<!-- Green -->
<animation>
<type>material</type>
<object-name>txt.n</object-name>
<object-name>txt.egt</object-name>
<object-name>txt.avail</object-name>
<object-name>txt.flapopen</object-name>
<object-name>txt.bleedpsi</object-name>
<object-name>txt.load</object-name>
<object-name>txt.volts</object-name>
<object-name>txt.hz</object-name>
<diffuse>
<red>0</red>
<green>0.543</green>
<blue>0</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.543</green>
<blue>0</blue>
</emission>
</animation>
<!-- Amber -->
<animation>
<type>material</type>
<object-name>XX.n</object-name>
<object-name>XX.egt</object-name>
<object-name>XX.bleedpsi</object-name>
<object-name>txt.volts.a</object-name>
<object-name>txt.hz.a</object-name>
<diffuse>
<red>1</red>
<green>0.4</green>
<blue>0</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>0.4</green>
<blue>0</blue>
</emission>
</animation>
</PropertyList>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View file

@ -0,0 +1,198 @@
AC3Db
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 1 1 1 spec 0 0 0 shi 128 trans 0
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 1 1 1 spec 1 1 1 shi 0 trans 0
OBJECT world
kids 4
OBJECT poly
name "bleed-inline"
loc 7.20988e-005 -0.0851298 -0.51126
texture "apu-extra.png"
crease 45.000000
numvert 4
0 0.130166 0.464091
0 0.130166 0.452192
0 0.150206 0.452192
0 0.150206 0.464091
numsurf 1
SURF 0x10
mat 0
refs 4
3 0.787356 0.908774
0 0.787356 0.783756
1 0.859843 0.783756
2 0.859843 0.908774
kids 0
OBJECT poly
name "N"
loc 0.000492332 0.00759549 0.0446599
data 10
enginepane
texture "needle.png"
crease 30.000002
numvert 4
0 0.00834595 -0.000478942
0 -0.00776947 -0.000478942
0 -0.00776947 0.000477958
0 0.00834595 0.000477958
numsurf 1
SURF 0x0
mat 1
refs 4
0 1.00067 0.999407
3 4.45843e-005 0.999407
2 4.45843e-005 0.000756443
1 1.00067 0.000756443
kids 0
OBJECT poly
name "face"
loc 1.6424e-005 -0.0851298 -0.51126
texture "apu.png"
crease 45.000000
numvert 16
0 0.00773944 0.430689
0 0.00625946 0.43426
0 0.00623417 0.588284
0 0.00771479 0.591855
0 0.0113114 0.42921
0 0.0113114 0.43426
0 0.0112861 0.588284
0 0.0112861 0.593334
0 0.158974 0.429186
0 0.162542 0.430665
0 0.164025 0.434236
0 0.158974 0.434236
0 0.15895 0.593311
0 0.15895 0.58826
0 0.16252 0.591832
0 0.164001 0.58826
numsurf 18
SURF 0x10
mat 0
refs 3
0 0.990844 0.0200349
5 0.969089 0.0423177
1 0.969089 0.0108024
SURF 0x10
mat 0
refs 3
4 0.999854 0.0423177
5 0.969089 0.0423177
0 0.990844 0.0200349
SURF 0x10
mat 0
refs 3
6 0.0307649 0.0421599
1 0.969089 0.0108024
5 0.969089 0.0423177
SURF 0x10
mat 0
refs 3
1 0.969089 0.0108024
6 0.0307649 0.0421599
2 0.0307649 0.0106447
SURF 0x10
mat 0
refs 3
6 0.0307649 0.0421599
7 0 0.0421599
3 0.00901031 0.0198811
SURF 0x10
mat 0
refs 3
6 0.0307649 0.0421599
3 0.00901031 0.0198811
2 0.0307649 0.0106447
SURF 0x10
mat 0
refs 3
5 0.969089 0.0423177
8 1 0.963469
11 0.969235 0.963469
SURF 0x10
mat 0
refs 3
8 1 0.963469
5 0.969089 0.0423177
4 0.999854 0.0423177
SURF 0x10
mat 0
refs 3
13 0.0309113 0.963318
5 0.969089 0.0423177
11 0.969235 0.963469
SURF 0x10
mat 0
refs 3
5 0.969089 0.0423177
13 0.0309113 0.963318
6 0.0307649 0.0421599
SURF 0x10
mat 0
refs 3
7 0 0.0421599
13 0.0309113 0.963318
12 0.00014019 0.963318
SURF 0x10
mat 0
refs 3
13 0.0309113 0.963318
7 0 0.0421599
6 0.0307649 0.0421599
SURF 0x10
mat 0
refs 3
11 0.969235 0.963469
8 1 0.963469
9 0.99099 0.985727
SURF 0x10
mat 0
refs 3
10 0.969235 0.99498
11 0.969235 0.963469
9 0.99099 0.985727
SURF 0x10
mat 0
refs 3
15 0.0309113 0.994828
11 0.969235 0.963469
10 0.969235 0.99498
SURF 0x10
mat 0
refs 3
11 0.969235 0.963469
15 0.0309113 0.994828
13 0.0309113 0.963318
SURF 0x10
mat 0
refs 3
12 0.00014019 0.963318
13 0.0309113 0.963318
14 0.00915051 0.985588
SURF 0x10
mat 0
refs 3
15 0.0309113 0.994828
14 0.00915051 0.985588
13 0.0309113 0.963318
kids 0
OBJECT poly
name "EGT"
loc 0.000492332 -0.025522 0.044835
data 10
enginepane
texture "needle.png"
crease 30.000002
numvert 4
0 0.00860268 0.000477958
0 -0.00751274 0.000477958
0 -0.00751274 -0.000478942
0 0.00860268 -0.000478942
numsurf 1
SURF 0x0
mat 1
refs 4
3 1.00067 0.999407
0 4.45843e-005 0.999407
1 4.45843e-005 0.000756443
2 1.00067 0.000756443
kids 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B

View file

@ -0,0 +1,3 @@
AC3Db
OBJECT world
kids 0

View file

@ -180,11 +180,11 @@ var master_elec = func {
setprop("/systems/electrical/bus/dc1", dc_volt_std); setprop("/systems/electrical/bus/dc1", dc_volt_std);
setprop("/systems/electrical/bus/dc-ess", dc_volt_std); setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
setprop("/systems/electrical/bus/dc1-amps", dc_amps_std); setprop("/systems/electrical/bus/dc1-amps", dc_amps_std);
} else if (gen_apu and !genapu_fail) { } else if (extpwr_on and gen_ext_sw) {
setprop("/systems/electrical/bus/dc1", dc_volt_std); setprop("/systems/electrical/bus/dc1", dc_volt_std);
setprop("/systems/electrical/bus/dc-ess", dc_volt_std); setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
setprop("/systems/electrical/bus/dc1-amps", dc_amps_std); setprop("/systems/electrical/bus/dc1-amps", dc_amps_std);
} else if (extpwr_on and gen_ext_sw) { } else if (gen_apu and !genapu_fail) {
setprop("/systems/electrical/bus/dc1", dc_volt_std); setprop("/systems/electrical/bus/dc1", dc_volt_std);
setprop("/systems/electrical/bus/dc-ess", dc_volt_std); setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
setprop("/systems/electrical/bus/dc1-amps", dc_amps_std); setprop("/systems/electrical/bus/dc1-amps", dc_amps_std);
@ -209,11 +209,11 @@ var master_elec = func {
setprop("/systems/electrical/bus/dc2", dc_volt_std); setprop("/systems/electrical/bus/dc2", dc_volt_std);
setprop("/systems/electrical/bus/dc-ess", dc_volt_std); setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
setprop("/systems/electrical/bus/dc2-amps", dc_amps_std); setprop("/systems/electrical/bus/dc2-amps", dc_amps_std);
} else if (gen_apu and !genapu_fail) { } else if (extpwr_on and gen_ext_sw) {
setprop("/systems/electrical/bus/dc2", dc_volt_std); setprop("/systems/electrical/bus/dc2", dc_volt_std);
setprop("/systems/electrical/bus/dc-ess", dc_volt_std); setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
setprop("/systems/electrical/bus/dc2-amps", dc_amps_std); setprop("/systems/electrical/bus/dc2-amps", dc_amps_std);
} else if (extpwr_on and gen_ext_sw) { } else if (gen_apu and !genapu_fail) {
setprop("/systems/electrical/bus/dc2", dc_volt_std); setprop("/systems/electrical/bus/dc2", dc_volt_std);
setprop("/systems/electrical/bus/dc-ess", dc_volt_std); setprop("/systems/electrical/bus/dc-ess", dc_volt_std);
setprop("/systems/electrical/bus/dc2-amps", dc_amps_std); setprop("/systems/electrical/bus/dc2-amps", dc_amps_std);
@ -236,10 +236,10 @@ var master_elec = func {
# Left AC bus yes? # Left AC bus yes?
if (stateL == 3 and gen1_sw and !gen1_fail) { if (stateL == 3 and gen1_sw and !gen1_fail) {
setprop("/systems/electrical/bus/ac1", ac_volt_std); setprop("/systems/electrical/bus/ac1", ac_volt_std);
} else if (gen_apu and !genapu_fail) {
setprop("/systems/electrical/bus/ac1", ac_volt_std);
} else if (extpwr_on and gen_ext_sw) { } else if (extpwr_on and gen_ext_sw) {
setprop("/systems/electrical/bus/ac1", ac_volt_std); setprop("/systems/electrical/bus/ac1", ac_volt_std);
} else if (gen_apu and !genapu_fail) {
setprop("/systems/electrical/bus/ac1", ac_volt_std);
} else if (apu_ext_crosstie_sw == 1 and xtieL) { } else if (apu_ext_crosstie_sw == 1 and xtieL) {
setprop("/systems/electrical/bus/ac1", ac_volt_std); setprop("/systems/electrical/bus/ac1", ac_volt_std);
} else if (emergen) { } else if (emergen) {
@ -251,10 +251,10 @@ var master_elec = func {
# Right AC bus yes? # Right AC bus yes?
if (stateR == 3 and gen2_sw and !gen2_fail) { if (stateR == 3 and gen2_sw and !gen2_fail) {
setprop("/systems/electrical/bus/ac2", ac_volt_std); setprop("/systems/electrical/bus/ac2", ac_volt_std);
} else if (gen_apu and !genapu_fail) {
setprop("/systems/electrical/bus/ac2", ac_volt_std);
} else if (extpwr_on and gen_ext_sw) { } else if (extpwr_on and gen_ext_sw) {
setprop("/systems/electrical/bus/ac2", ac_volt_std); setprop("/systems/electrical/bus/ac2", ac_volt_std);
} else if (gen_apu and !genapu_fail) {
setprop("/systems/electrical/bus/ac2", ac_volt_std);
} else if (apu_ext_crosstie_sw == 1 and xtieR) { } else if (apu_ext_crosstie_sw == 1 and xtieR) {
setprop("/systems/electrical/bus/ac2", ac_volt_std); setprop("/systems/electrical/bus/ac2", ac_volt_std);
} else if (emergen) { } else if (emergen) {

View file

@ -7,20 +7,21 @@
var engines = props.globals.getNode("/engines").getChildren("engine"); var engines = props.globals.getNode("/engines").getChildren("engine");
var n1_min = 22.4; var n1_min = 22.4;
var n2_min = 63.7; var n2_min = 60.7;
var egt_min = 434; var egt_min = 434;
var n1_spin = 5.1; var n1_spin = 5.1;
var n2_spin = 22.8; var n2_spin = 22.8;
var n1_start = 22.3; var n1_start = 22.3;
var n2_start = 63.6; var n2_start = 60.6;
var egt_start = 587; var egt_start = 587;
var n1_max = 105.8; var n1_max = 105.8;
var n2_max = 102.1; var n2_max = 102.1;
var egt_max = 712; var egt_max = 712;
var n1_wm = 0; var n1_wm = 0;
var n2_wm = 0; var n2_wm = 0;
var apu_max = 99.8; var apu_max = 99.2;
var apu_egt_max = 513; var apu_egt_min = 496;
var apu_egt_max = 643;
var spinup_time = 49; var spinup_time = 49;
var start_time = 10; var start_time = 10;
var egt_lightup_time = 2; var egt_lightup_time = 2;
@ -50,6 +51,9 @@ setlistener("/controls/engines/engine[0]/cutoff-switch", func {
eng_one_man_startt.start(); eng_one_man_startt.start();
} }
} else if (getprop("/controls/engines/engine[0]/cutoff-switch") == 1) { } else if (getprop("/controls/engines/engine[0]/cutoff-switch") == 1) {
eng_one_auto_startt.stop();
eng_one_man_startt.stop();
eng_one_n2_checkt.stop();
setprop("/controls/engines/engine[0]/man-start", 0); setprop("/controls/engines/engine[0]/man-start", 0);
setprop("/systems/pneumatic/eng1-starter", 0); setprop("/systems/pneumatic/eng1-starter", 0);
setprop("/controls/engines/engine[0]/starter", 0); setprop("/controls/engines/engine[0]/starter", 0);
@ -99,6 +103,9 @@ setlistener("/controls/engines/engine[1]/cutoff-switch", func {
eng_two_man_startt.start(); eng_two_man_startt.start();
} }
} else if (getprop("/controls/engines/engine[1]/cutoff-switch") == 1) { } else if (getprop("/controls/engines/engine[1]/cutoff-switch") == 1) {
eng_two_auto_startt.stop();
eng_two_man_startt.stop();
eng_two_n2_checkt.stop();
setprop("/controls/engines/engine[1]/man-start", 0); setprop("/controls/engines/engine[1]/man-start", 0);
setprop("/systems/pneumatic/eng2-starter", 0); setprop("/systems/pneumatic/eng2-starter", 0);
setprop("/controls/engines/engine[1]/starter", 0); setprop("/controls/engines/engine[1]/starter", 0);
@ -228,16 +235,31 @@ setlistener("/controls/APU/start", func {
if ((getprop("/controls/APU/master") == 1) and (getprop("/controls/APU/start") == 1)) { if ((getprop("/controls/APU/master") == 1) and (getprop("/controls/APU/start") == 1)) {
if (getprop("/systems/acconfig/autoconfig-running") == 0) { if (getprop("/systems/acconfig/autoconfig-running") == 0) {
interpolate("/systems/apu/rpm", apu_max, spinup_time); interpolate("/systems/apu/rpm", apu_max, spinup_time);
interpolate("/systems/apu/egt", apu_egt_max, spinup_time); apu_egt_checkt.start();
} else if (getprop("/systems/acconfig/autoconfig-running") == 1) { } else if (getprop("/systems/acconfig/autoconfig-running") == 1) {
interpolate("/systems/apu/rpm", apu_max, 5); interpolate("/systems/apu/rpm", apu_max, 5);
interpolate("/systems/apu/egt", apu_egt_max, 5); interpolate("/systems/apu/egt", apu_egt_max, 5);
} }
} else if (getprop("/controls/APU/master") == 0) { } else if (getprop("/controls/APU/master") == 0) {
apu_egt_checkt.stop();
apu_stop(); apu_stop();
} }
}); });
var apu_egt_check = func {
if (getprop("/systems/apu/rpm") >= 28) {
apu_egt_checkt.stop();
interpolate("/systems/apu/egt", apu_egt_max, 5);
apu_egt2_checkt.start();
}
}
var apu_egt2_check = func {
if (getprop("/systems/apu/egt") >= 643) {
apu_egt2_checkt.stop();
interpolate("/systems/apu/egt", apu_egt_min, 20);
}
}
############ ############
# Stop APU # # Stop APU #
@ -246,6 +268,8 @@ setlistener("/controls/APU/start", func {
setlistener("/controls/APU/master", func { setlistener("/controls/APU/master", func {
if (getprop("/controls/APU/master") == 0) { if (getprop("/controls/APU/master") == 0) {
setprop("/controls/APU/start", 0); setprop("/controls/APU/start", 0);
apu_egt_checkt.stop();
apu_egt2_checkt.stop();
apu_stop(); apu_stop();
} }
}); });
@ -394,3 +418,5 @@ var eng_one_n2_checkt = maketimer(0.5, eng_one_n2_check);
var eng_two_auto_startt = maketimer(0.5, eng_two_auto_start); var eng_two_auto_startt = maketimer(0.5, eng_two_auto_start);
var eng_two_man_startt = maketimer(0.5, eng_two_man_start); var eng_two_man_startt = maketimer(0.5, eng_two_man_start);
var eng_two_n2_checkt = maketimer(0.5, eng_two_n2_check); var eng_two_n2_checkt = maketimer(0.5, eng_two_n2_check);
var apu_egt_checkt = maketimer(0.5, apu_egt_check);
var apu_egt2_checkt = maketimer(0.5, apu_egt2_check);