diff --git a/Nasal/Panels/acp.nas b/Nasal/Panels/acp.nas index 0741dd4f..ac336502 100644 --- a/Nasal/Panels/acp.nas +++ b/Nasal/Panels/acp.nas @@ -11,6 +11,10 @@ var mkr_capt_recive = props.globals.initNode("/controls/audio/acp[0]/mkr-recive" var mkr_capt_volume = props.globals.initNode("/controls/audio/acp[0]/mkr-volume", 1, "DOUBLE"); var mkr_fo_recive = props.globals.initNode("/controls/audio/acp[1]/mkr-recive", 0, "BOOL"); var mkr_fo_volume = props.globals.initNode("/controls/audio/acp[1]/mkr-volume", 1, "DOUBLE"); +var ils_capt_recive = props.globals.initNode("/controls/audio/acp[0]/ils-recive", 0, "BOOL"); +var ils_capt_volume = props.globals.initNode("/controls/audio/acp[0]/ils-volume", 1, "DOUBLE"); +var ils_fo_recive = props.globals.initNode("/controls/audio/acp[1]/ils-recive", 0, "BOOL"); +var ils_fo_volume = props.globals.initNode("/controls/audio/acp[1]/ils-volume", 1, "DOUBLE"); var vhf1_capt_recive = props.globals.initNode("/controls/audio/acp[0]/vhf1-recive", 1, "BOOL"); var vhf2_capt_recive = props.globals.initNode("/controls/audio/acp[0]/vhf2-recive", 1, "BOOL"); diff --git a/Nasal/Systems/electrical.nas b/Nasal/Systems/electrical.nas index 54894e6d..d3bf6556 100644 --- a/Nasal/Systems/electrical.nas +++ b/Nasal/Systems/electrical.nas @@ -49,8 +49,6 @@ var ELEC = { tr2Fault: props.globals.getNode("/systems/failures/electrical/tr-2"), }, Generic: { - adf: props.globals.initNode("/systems/electrical/outputs/adf", 0, "DOUBLE"), - dme: props.globals.initNode("/systems/electrical/outputs/dme", 0, "DOUBLE"), efis: props.globals.initNode("/systems/electrical/outputs/efis", 0, "DOUBLE"), fcpPower: props.globals.initNode("/systems/electrical/outputs/fcp-power", 0, "DOUBLE"), fuelPump0: props.globals.initNode("/systems/electrical/outputs/fuel-pump[0]", 0, "DOUBLE"), @@ -58,10 +56,6 @@ var ELEC = { fuelPump2: props.globals.initNode("/systems/electrical/outputs/fuel-pump[2]", 0, "DOUBLE"), gps: props.globals.initNode("/systems/electrical/outputs/gps", 0, "DOUBLE"), mkViii: props.globals.initNode("/systems/electrical/outputs/mk-viii", 0, "DOUBLE"), - nav0: props.globals.initNode("/systems/electrical/outputs/nav[0]", 0, "DOUBLE"), - nav1: props.globals.initNode("/systems/electrical/outputs/nav[1]", 0, "DOUBLE"), - nav2: props.globals.initNode("/systems/electrical/outputs/nav[2]", 0, "DOUBLE"), - nav3: props.globals.initNode("/systems/electrical/outputs/nav[3]", 0, "DOUBLE"), tacan: props.globals.initNode("/systems/electrical/outputs/tacan", 0, "DOUBLE"), transponder: props.globals.initNode("/systems/electrical/outputs/transponder", 0, "DOUBLE"), turnCoordinator: props.globals.initNode("/systems/electrical/outputs/turn-coordinator", 0, "DOUBLE"), diff --git a/Systems/a320-electrical.xml b/Systems/a320-electrical.xml index 0081e2d7..9b416c21 100644 --- a/Systems/a320-electrical.xml +++ b/Systems/a320-electrical.xml @@ -2242,12 +2242,23 @@ /systems/electrical/outputs/fuel-pump[0] /systems/electrical/outputs/fuel-pump[1] /systems/electrical/outputs/fuel-pump[2] - /systems/electrical/outputs/gps /systems/electrical/outputs/mk-viii /systems/electrical/outputs/tacan /systems/electrical/outputs/turn-coordinator + + This makes the FG stuff work because we killed the generic electrical + + + /systems/electrical/bus/ac-ess ge 25 + + + /systems/electrical/bus/ac-2 ge 25 + + /systems/electrical/outputs/gps + + diff --git a/Systems/a320-misc.xml b/Systems/a320-misc.xml index c049a677..04800d0a 100644 --- a/Systems/a320-misc.xml +++ b/Systems/a320-misc.xml @@ -195,7 +195,7 @@ - + @@ -329,6 +329,24 @@ + + + + /controls/audio/acp[0]/ils-recive eq 1 + + /controls/audio/acp[1]/ils-recive eq 0 + /controls/audio/acp[0]/ils-volume ge /controls/audio/acp[1]/ils-volume + + + + /controls/audio/acp[1]/ils-recive eq 1 + + /controls/audio/acp[0]/ils-recive eq 0 + /controls/audio/acp[0]/ils-volume lt /controls/audio/acp[1]/ils-volume + + + + diff --git a/Systems/instrumentation.xml b/Systems/instrumentation.xml index 243b1590..1941fa4f 100644 --- a/Systems/instrumentation.xml +++ b/Systems/instrumentation.xml @@ -129,14 +129,14 @@ dme 0 - /instrumentation/dme[0]/power-supply-node + /systems/electrical/bus/ac-ess 109.9 dme 1 - /instrumentation/dme[1]/power-supply-node + /systems/electrical/bus/ac-2 109.9 @@ -188,14 +188,14 @@ nav 0 - /instrumentation/nav[2]/power-supply-node + /systems/electrical/bus/ac-ess 109.9 nav 1 - /instrumentation/nav[3]/power-supply-node + /systems/electrical/bus/ac-2 109.9