Sounds: updates

This commit is contained in:
Sidi Liang 2020-05-31 11:02:01 +08:00
parent c36e74c0e2
commit 04f80bc7d0
No known key found for this signature in database
GPG Key ID: 79F0A6B20B72F42F
3 changed files with 111 additions and 4 deletions

View File

@ -15,7 +15,7 @@
</nasal>
<sound>
<path>Aircraft/followme_e-tron/Sounds/followme-sound.xml</path>
<path>Aircraft/followme_e-tron/Sounds/followme-sound_mp.xml</path>
</sound>
<!-- Airbag -->

View File

@ -23,7 +23,7 @@
</condition>
<volume>
<property>sim/multiplay/generic/float[15]</property>
<factor>0.011</factor>
<factor>0.015</factor>
<min>0</min>
<max>2</max>
<offset>0</offset>
@ -42,7 +42,7 @@
<property>sim/multiplay/generic/float[15]</property>
<volume>
<property>sim/multiplay/generic/float[15]</property>
<factor>0.0015</factor>
<factor>0.003</factor>
<min>0.0</min>
<max>1.0</max>
</volume>
@ -136,7 +136,7 @@
</and>
</condition>
<volume>
<value>3</value>
<value>0.6</value>
</volume>
</indicator>

View File

@ -0,0 +1,107 @@
<?xml version="1.0"?>
<PropertyList>
<fx>
<engine>
<name>motor</name>
<mode>looped</mode>
<path>Sounds/motor.wav</path>
<property>sim/multiplay/generic/float[15]</property>
<!--><condition>
<equals>
<property>sim/current-view/internal</property>
<value>1</value>
</equals>
</condition>-->
<condition>
<equals>
<property>/controls/engines/engine/started</property>
<value>1</value>
</equals>
</condition>
<volume>
<property>sim/multiplay/generic/float[15]</property>
<factor>0.015</factor>
<min>0</min>
<max>2</max>
<offset>0</offset>
</volume>
<pitch>
<property>sim/multiplay/generic/float[15]</property>
<factor>0.015</factor>
<offset>0.45</offset>
</pitch>
</engine>
<brake>
<name>brake</name>
<mode>once</mode>
<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>
<equals>
<property>sim/multiplay/generic/float[19]</property>
<value>1</value>
</equals>
</and>
</condition>
<volume>
<property>sim/multiplay/generic/float[19]</property>
<factor>0.5</factor>
</volume>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
</brake>
<horn>
<name>horn</name>
<mode>looped</mode>
<path>Aircraft/followme_e-tron/Sounds/horn.wav</path>
<condition>
<equals>
<property>sim/multiplay/generic/int[2]</property>
<value>1</value>
</equals>
</condition>
<volume>
<factor>1</factor>
</volume>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
</horn>
<indicator>
<name>indicator</name>
<mode>looped</mode>
<path>Aircraft/followme_e-tron/Sounds/indicatorFlashing.wav</path>
<condition>
<and>
<or>
<equals>
<property>controls/lighting/indicator-left</property>
<value>1</value>
</equals>
<equals>
<property>controls/lighting/indicator-right</property>
<value>1</value>
</equals>
</or>
<equals>
<property>sim/current-view/internal</property>
<value>1</value>
</equals>
</and>
</condition>
<volume>
<value>0.6</value>
</volume>
</indicator>
</fx>
</PropertyList>