From b1c7dc1c192b632b402cadc52e3690795d5ef04c Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Tue, 23 Oct 2018 16:46:36 +0100 Subject: [PATCH] Add lights to elec --- A320-100-CFM.xml | 1 + A320-200-CFM.xml | 1 + A320-200-IAE.xml | 1 + A320neo-CFM.xml | 1 + A320neo-PW.xml | 1 + Models/Effects/panel-flood.eff | 2 +- Models/Effects/reading-light-checklist.eff | 3 +- Models/Effects/reading-light.eff | 3 +- Systems/a320-lights.xml | 33 ++++++++++++++++++++++ 9 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 Systems/a320-lights.xml diff --git a/A320-100-CFM.xml b/A320-100-CFM.xml index e68416c8..83354795 100644 --- a/A320-100-CFM.xml +++ b/A320-100-CFM.xml @@ -141,6 +141,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd"> + diff --git a/A320-200-CFM.xml b/A320-200-CFM.xml index cc5c783c..293f7492 100644 --- a/A320-200-CFM.xml +++ b/A320-200-CFM.xml @@ -141,6 +141,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd"> + diff --git a/A320-200-IAE.xml b/A320-200-IAE.xml index ddbdc62d..753b14e7 100644 --- a/A320-200-IAE.xml +++ b/A320-200-IAE.xml @@ -141,6 +141,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd"> + diff --git a/A320neo-CFM.xml b/A320neo-CFM.xml index 828ec642..6562e1d4 100644 --- a/A320neo-CFM.xml +++ b/A320neo-CFM.xml @@ -141,6 +141,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd"> + diff --git a/A320neo-PW.xml b/A320neo-PW.xml index 0f7cdc24..21d8dd22 100644 --- a/A320neo-PW.xml +++ b/A320neo-PW.xml @@ -141,6 +141,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd"> + diff --git a/Models/Effects/panel-flood.eff b/Models/Effects/panel-flood.eff index 9305a2ed..e711bace 100644 --- a/Models/Effects/panel-flood.eff +++ b/Models/Effects/panel-flood.eff @@ -7,7 +7,7 @@ 0 0.0 1 - /controls/lighting/main-flood-knb + /controls/lighting/panel-light 1.0 1.0 1.0 Aircraft/IDG-A32X/Models/Effects/panel-floodlight.png diff --git a/Models/Effects/reading-light-checklist.eff b/Models/Effects/reading-light-checklist.eff index db546ce7..84c8f865 100644 --- a/Models/Effects/reading-light-checklist.eff +++ b/Models/Effects/reading-light-checklist.eff @@ -7,8 +7,7 @@ 0 0.0 1 - - /controls/lighting/main-flood-knb + /controls/lighting/reading-light*0.5 1.0 1.0 1.0 Aircraft/IDG-A32X/Models/Effects/checklist.png diff --git a/Models/Effects/reading-light.eff b/Models/Effects/reading-light.eff index 0bb6e4fb..5a05f813 100644 --- a/Models/Effects/reading-light.eff +++ b/Models/Effects/reading-light.eff @@ -7,8 +7,7 @@ 0 0.0 1 - - /controls/lighting/main-flood-knb + /controls/lighting/reading-light 1.0 1.0 1.0 Aircraft/IDG-A32X/Models/Effects/reading-light.png diff --git a/Systems/a320-lights.xml b/Systems/a320-lights.xml new file mode 100644 index 00000000..24fadc2b --- /dev/null +++ b/Systems/a320-lights.xml @@ -0,0 +1,33 @@ + + + + + + + + + + /controls/lighting/reading-light + + + + /systems/electrical/bus/dc1 gt 25 + + + + + /controls/lighting/panel-light + + + + /systems/electrical/bus/dc-ess gt 25 + /systems/electrical/bus/dc1 gt 25 + + + + +