diff --git a/Nasal/Systems/hydraulics.nas b/Nasal/Systems/hydraulics.nas
index 9ae7e607..ca06c7a3 100644
--- a/Nasal/Systems/hydraulics.nas
+++ b/Nasal/Systems/hydraulics.nas
@@ -37,7 +37,7 @@ var HYD = {
yellow: props.globals.getNode("systems/hydraulic/yellow-psi"),
},
Ptu: {
- active: props.globals.getNode("systems/hydraulic/sources/ptu/ptu-active"),
+ active: props.globals.getNode("systems/hydraulic/sources/ptu/ptu-hydraulic-condition"),
diff: props.globals.getNode("systems/hydraulic/yellow-psi-diff"),
},
Qty: {
diff --git a/Sounds/A320-common-sound.xml b/Sounds/A320-common-sound.xml
index 828bbfbc..0bf16ec7 100644
--- a/Sounds/A320-common-sound.xml
+++ b/Sounds/A320-common-sound.xml
@@ -57,11 +57,10 @@
-
PTU
once
- airbus_ptu.wav
+ airbus_ptu_on.wav
/systems/hydraulic/sources/ptu/yellow-green
@@ -75,6 +74,23 @@
100.0
+
+ PTU-loop
+ looped
+ airbus_ptu.wav
+
+
+ /systems/hydraulic/sources/ptu/ptu-loop-sound
+ 1
+
+
+
+ 8
+
+ 20.0
+ 100.0
+
+
PurserSnacks
once
diff --git a/Sounds/airbus_ptu.wav b/Sounds/airbus_ptu.wav
index f3f0283c..ba50cf22 100644
Binary files a/Sounds/airbus_ptu.wav and b/Sounds/airbus_ptu.wav differ
diff --git a/Sounds/airbus_ptu_on.wav b/Sounds/airbus_ptu_on.wav
new file mode 100644
index 00000000..4a6f7f7f
Binary files /dev/null and b/Sounds/airbus_ptu_on.wav differ
diff --git a/Systems/a320-hydraulic.xml b/Systems/a320-hydraulic.xml
index fc1ce302..e4b44abc 100644
--- a/Systems/a320-hydraulic.xml
+++ b/Systems/a320-hydraulic.xml
@@ -416,25 +416,44 @@
-
+
+
+
+
+ /sim/model/autopush/enabled eq 0
+ /controls/gear/brake-parking eq 0
+
+
+ /controls/engines/engine[0]/cutoff-switch eq 0
+ /controls/engines/engine[1]/cutoff-switch eq 0
+
+
+ /controls/engines/engine[0]/cutoff-switch eq 1
+ /controls/engines/engine[1]/cutoff-switch eq 1
+
+ /gear/gear[0]/compression-norm eq 0
+
+
+
+
/systems/hydraulic/yellow-psi-diff gt -250
/systems/hydraulic/yellow-psi-diff lt 250
- /systems/hydraulic/sources/ptu/ptu-active eq 1
+ /systems/hydraulic/sources/ptu/ptu-hydraulic-condition eq 1
/systems/hydraulic/yellow-psi-diff ge 250
/systems/hydraulic/yellow-psi-diff le -250
- /systems/hydraulic/sources/ptu/ptu-active eq 1
+ /systems/hydraulic/sources/ptu/ptu-hydraulic-condition eq 1
/systems/hydraulic/yellow-psi-diff gt 500
/systems/hydraulic/yellow-psi-diff lt -500
- /systems/hydraulic/sources/ptu/ptu-active eq 0
+ /systems/hydraulic/sources/ptu/ptu-hydraulic-condition eq 0
@@ -442,18 +461,34 @@
/controls/hydraulic/switches/ptu eq 1
- /systems/hydraulic/sources/ptu/ptu-active eq 1
+ /systems/hydraulic/sources/ptu/ptu-hydraulic-condition eq 1
+ /systems/hydraulic/sources/ptu/ptu-inhibited eq 0
/systems/electrical/bus/dc-2 ge 25
/systems/failures/hydraulic/ptu ne 1
/systems/hydraulic/sources/yellow-edp/fire-valve lt 0.10
+
+
+
+ /systems/hydraulic/sources/ptu/yellow-green ne 0
+ /systems/hydraulic/sources/ptu/green-yellow ne 0
+
+
+
+
+ /systems/hydraulic/sources/ptu/ptu-loop-sound-cmd
+ 1
+ 100
+
+
/controls/hydraulic/switches/ptu eq 1
- /systems/hydraulic/sources/ptu/ptu-active eq 1
+ /systems/hydraulic/sources/ptu/ptu-hydraulic-condition eq 1
+ /systems/hydraulic/sources/ptu/ptu-inhibited eq 0
/systems/electrical/bus/dc-2 ge 25
/systems/failures/hydraulic/ptu ne 1
/systems/hydraulic/sources/green-edp/fire-valve lt 0.10