diff --git a/AircraftConfig/groundservices.xml b/AircraftConfig/groundservices.xml index 48a25f1e..60b561ca 100644 --- a/AircraftConfig/groundservices.xml +++ b/AircraftConfig/groundservices.xml @@ -8,7 +8,7 @@ ground-services vbox - + hbox @@ -26,12 +26,360 @@ - + - + vbox + + hbox + + true + + + + + + true + + + + + vbox + + + left + + + /gear/gear[0]/wow + /gear/gear[1]/wow + /gear/gear[2]/wow + + + /services/chocks/nose + + property-toggle + /services/chocks/left + + + property-toggle + /services/chocks/right + + + property-toggle + /services/chocks/nose + + true + + + + + + vbox + + + hbox + + true + + + + + + true + + + + + + + + + hbox + + + /systems/apu/oil/allow-oil-consumption + + 10 + 50 + 200 + /systems/apu/oil/level-l + 3.9 + 5.4 + true + + dialog-apply + + + + + 10 + 200 + + %.1f litres + /systems/apu/oil/level-l + true + + + + + + left + /controls/electrical/ground-cart + + property-assign + /controls/electrical/switches/ext-pwr + 0 + + + + + /controls/gear/brake-parking + /services/chocks/nose + /services/chocks/left + /services/chocks/right + + + /velocities/groundspeed-kt + 2 + + + + + dialog-apply + + true + + + + + left + /controls/pneumatics/switches/groundair + + property-toggle + /controls/pneumatics/switches/groundair + + + + + /controls/gear/brake-parking + /services/chocks/nose + /services/chocks/left + /services/chocks/right + + + /velocities/groundspeed-kt + 2 + + + + + dialog-apply + + true + + + + + left + /controls/hydraulic/hand-pump-yellow + + property-toggle + /controls/hydraulic/hand-pump-yellow + + + + + /controls/gear/brake-parking + /services/chocks/nose + /services/chocks/left + /services/chocks/right + + + /velocities/groundspeed-kt + 2 + + + /systems/electrical/bus/ac-2 + 115 + + + /controls/electrical/switches/ext-pwr + 0 + + + + + dialog-apply + + true + + + + + vbox + + + hbox + + true + + + + + + true + + + + + + left + /services/stairs/l1 + + dialog-apply + + true + + + + + left + /services/stairs/l4 + + dialog-apply + + true + + + + + left + /services/stairs/cover + + dialog-apply + + true + + + + hbox + + true + + + + + + true + + + + + + left + /services/baggage/enable + + dialog-apply + + true + + + + hbox + + true + + + + + + true + + + + + + left + /services/catering/enable + + dialog-apply + + true + + + + + + hbox + + true + + + + + + true + + + + + + + hbox + + true + + + + + + true + + + left @@ -55,159 +403,6 @@ 1 - - - - - - - - - - left - /services/catering/enable - - dialog-apply - - true - - - - - - - left - /services/baggage/enable - - dialog-apply - - true - - - - hbox - - - true - - - - - - true - - - - - - left - /services/stairs/l1 - - dialog-apply - - true - - - - - left - /services/stairs/l4 - - dialog-apply - - true - - - - - left - /services/stairs/cover - - dialog-apply - - true - - - - hbox - - - true - - - - - - true - - - - - hbox - - - /systems/apu/oil/allow-oil-consumption - - 10 - 50 - 200 - /systems/apu/oil/level-l - 3.9 - 5.4 - true - - dialog-apply - - - - - 10 - 200 - - %.1f litres - /systems/apu/oil/level-l - true - - - + diff --git a/AircraftConfig/main.xml b/AircraftConfig/main.xml index 0c230669..d7edd304 100644 --- a/AircraftConfig/main.xml +++ b/AircraftConfig/main.xml @@ -219,151 +219,7 @@ - - - - left - - - /gear/gear[0]/wow - /gear/gear[1]/wow - /gear/gear[2]/wow - - - /services/chocks/nose - - dialog-apply - - true - - - - - left - - - /gear/gear[0]/wow - /gear/gear[1]/wow - /gear/gear[2]/wow - - - /services/chocks/left - - dialog-apply - - true - - - - - left - - - /gear/gear[0]/wow - /gear/gear[1]/wow - /gear/gear[2]/wow - - - /services/chocks/right - - dialog-apply - - true - - - - - left - /controls/electrical/ground-cart - - property-assign - /controls/electrical/switches/ext-pwr - 0 - - - - - /controls/gear/brake-parking - /services/chocks/nose - /services/chocks/left - /services/chocks/right - - - /velocities/groundspeed-kt - 2 - - - - - dialog-apply - - true - - - - - left - /controls/pneumatics/switches/groundair - - property-toggle - /controls/pneumatics/switches/groundair - - - - - /controls/gear/brake-parking - /services/chocks/nose - /services/chocks/left - /services/chocks/right - - - /velocities/groundspeed-kt - 2 - - - - - dialog-apply - - true - - - - - left - /controls/hydraulic/hand-pump-yellow - - property-toggle - /controls/hydraulic/hand-pump-yellow - - - - - /controls/gear/brake-parking - /services/chocks/nose - /services/chocks/left - /services/chocks/right - - - /velocities/groundspeed-kt - 2 - - - /systems/electrical/bus/ac-2 - 115 - - - /controls/electrical/switches/ext-pwr - 0 - - - - - dialog-apply - - true - - + diff --git a/Nasal/Libraries/libraries.nas b/Nasal/Libraries/libraries.nas index c13c5110..c4ed32b5 100644 --- a/Nasal/Libraries/libraries.nas +++ b/Nasal/Libraries/libraries.nas @@ -268,9 +268,9 @@ var systemsLoop = maketimer(0.1, func { systems.APUController.loop(); systems.HFLoop(); - if ((getprop("/controls/pneumatic/switches/groundair") or getprop("/controls/electrical/ground-cart")) and ((getprop("/velocities/groundspeed-kt") > 2) or (getprop("/controls/gear/brake-parking") == 0 and getprop("/services/chocks/nose") == 0 and getprop("/services/chocks/left") == 0 and getprop("/services/chocks/right") == 0))) { + if ((getprop("/controls/pneumatics/switches/groundair") or getprop("/controls/electrical/ground-cart")) and ((getprop("/velocities/groundspeed-kt") > 2) or (getprop("/controls/gear/brake-parking") == 0 and getprop("/services/chocks/nose") == 0 and getprop("/services/chocks/left") == 0 and getprop("/services/chocks/right") == 0))) { setprop("/controls/electrical/ground-cart", 0); - setprop("/controls/pneumatic/switches/groundair", 0); + setprop("/controls/pneumatics/switches/groundair", 0); } if (getprop("/velocities/groundspeed-kt") > 15) {