Sounds: Added brake sounds from the other followme

This commit is contained in:
Sidi Liang 2020-02-15 18:54:40 +08:00
parent 03d58c163f
commit dc37cedaf9
No known key found for this signature in database
GPG Key ID: 79F0A6B20B72F42F
3 changed files with 28 additions and 0 deletions

BIN
Sounds/Renault4-brake.wav Executable file

Binary file not shown.

View File

@ -70,6 +70,28 @@
</volume>
</safety>-->
<brake>
<name>brake</name>
<mode>once</mode>
<path>Aircraft/followme/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>
</and>
</condition>
<volume>
<factor>0.5</factor>
</volume>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
</brake>
<horn>
<name>horn</name>
<mode>looped</mode>

View File

@ -428,6 +428,10 @@
<int n="4" alias="/controls/gear/brake-left"/>
<int n="5" alias="/services/service-truck/enable"/>
<int n="6" alias="/systems/screen-enable"/>
<int n="7" alias="/gear/gear[0]/tyre-smoke"/>
<int n="8" alias="/gear/gear[1]/tyre-smoke"/>
<int n="9" alias="/gear/gear[2]/tyre-smoke"/>
<int n="10" alias="/gear/gear[3]/tyre-smoke"/>
<float n="0" alias="/controls/doors/rearright/position-norm"/>
<float n="1" alias="/controls/doors/rearleft/position-norm"/>
@ -457,6 +461,8 @@
<float n="18" alias="/controls/steering_wheel"/>
<float n="19" alias="/controls/gear/brake-parking"/>
<string n="0" alias="/systems/plate"/>
<string n="1" alias="/systems/battery-gauge/type"/>
<string n="2" alias="/systems/speedometer/type"/>