Sounds: add sounds for gear handle, and sounds file for handbrake

This commit is contained in:
Sidi Liang 2020-08-16 13:56:52 +08:00
parent 9edc403a8c
commit 8363996973
No known key found for this signature in database
GPG Key ID: 79F0A6B20B72F42F
5 changed files with 6 additions and 6 deletions

View File

@ -29,6 +29,7 @@ var Engine = {
#//Toggle Direction, forward:1; barkward: -1
me.direction *= -1;
props.getNode("/",1).setValue("/controls/direction", me.direction);
followme.playAudio("change_gear.wav")
},
getDirection: func(){
return me.direction;
@ -260,6 +261,7 @@ var startEngine = func(my_engine){
var stopEngine = func(my_engine){
my_engine.stopEngine();
smartInstruments.smartInstruments.shutDown();
followme.safety.stop();
print("Engine stopped");
}

BIN
Sounds/change_gear.wav Normal file

Binary file not shown.

View File

@ -70,9 +70,7 @@
</volume>
</safety>-->
<brake>
<brake>
<name>brake</name>
<mode>once</mode>
<path>Aircraft/followme_e-tron/Sounds/Renault4-brake.wav</path>
@ -94,7 +92,7 @@
</volume>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
</brake>
</brake>
<horn>
<name>horn</name>
@ -107,7 +105,7 @@
</equals>
</condition>
<volume>
<factor>1</factor>
<factor>0.8</factor>
</volume>
<reference-dist>100</reference-dist>
<max-dist>1000</max-dist>
@ -136,7 +134,7 @@
</and>
</condition>
<volume>
<value>0.6</value>
<value>0.4</value>
</volume>
</indicator>

BIN
Sounds/handbrake_off.wav Normal file

Binary file not shown.

BIN
Sounds/handbrake_on.wav Normal file

Binary file not shown.