Sounds: add sounds for gear handle, and sounds file for handbrake
This commit is contained in:
parent
9edc403a8c
commit
8363996973
|
@ -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");
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -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>
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue