Add a separate engine sound for the DR400

This commit is contained in:
PlayeRom
2022-08-20 02:49:15 +02:00
parent 51fe8f095e
commit e06948d99d
3 changed files with 26 additions and 1 deletions
@@ -2,6 +2,6 @@
<PropertyList include="AI/Aircraft/DR400/Models/dr400-ai.xml">
<sound>
<path>AI/Aircraft/Aerotow/Sound/sound.xml</path>
<path>AI/Aircraft/Aerotow/DR400/Sound/sound.xml</path>
</sound>
</PropertyList>
@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<PropertyList>
<fx>
<engine>
<name>engine</name>
<mode>looped</mode>
<path>DR400-engine.wav</path>
<condition>
<property>/addons/by-id/org.flightgear.addons.Aerotow/addon-devel/sound/enable</property>
</condition>
<volume>
<offset>-0.95</offset>
</volume>
<pitch>
<property>velocities/true-airspeed-kt</property>
<factor>0.012</factor>
<offset>0.3</offset>
<min>0.3</min>
<max>1.0</max>
</pitch>
<reference-dist>150.0</reference-dist>
<max-dist>5000.0</max-dist>
</engine>
</fx>
</PropertyList>