Sounds: bug fix

This commit is contained in:
Sidi Liang 2020-02-15 23:19:51 +08:00
parent dc37cedaf9
commit 5928820dba
No known key found for this signature in database
GPG Key ID: 79F0A6B20B72F42F
1 changed files with 9 additions and 5 deletions

View File

@ -75,19 +75,23 @@
<brake>
<name>brake</name>
<mode>once</mode>
<path>Aircraft/followme/Sounds/Renault4-brake.wav</path>
<path>Aircraft/followme_e-tron/Sounds/Renault4-brake.wav</path>
<condition>
<and>
<greater-than>
<property>sim/multiplay/generic/float[15]</property>
<value>7</value>
</greater-than>
<property>sim/multiplay/generic/float[20]</property>
<equals>
<property>sim/multiplay/generic/float[19]</property>
<value>1</value>
</equals>
</and>
</condition>
<volume>
<factor>0.5</factor>
</volume>
<volume>
<property>sim/multiplay/generic/float[19]</property>
<factor>0.5</factor>
</volume>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
</brake>