-
Notifications
You must be signed in to change notification settings - Fork 9
/
c182-sound-multiplayer.xml
98 lines (96 loc) · 3 KB
/
c182-sound-multiplayer.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0"?>
<!-- Multiplayer sound configuration -->
<!-- Loaded for remote models -->
<!-- See: https://wiki.flightgear.org/w/index.php?title=Howto:Add_sound_effects_to_aircraft&action=submit -->
<PropertyList>
<fx>
<engine>
<name>engine</name>
<mode>looped</mode>
<path>/Sounds/wasp.wav</path>
<condition>
<greater-than>
<property>engines/engine/rpm</property>
<value>500</value>
</greater-than>
</condition>
<volume>
<expression>
<sum>
<value>-1.00</value>
<property>/sim/model/c182s/sound/volume-boost-doors</property>
<table>
<property>engines/engine/rpm</property>
<entry>
<ind>800</ind>
<dep>0.25</dep>
</entry>
<entry>
<ind>2400</ind>
<dep>0.75</dep>
</entry>
</table>
</sum>
</expression>
</volume>
<pitch>
<property>engines/engine/rpm</property>
<factor>0.0004</factor>
<min>0.5</min>
<max>2.0</max>
<offset>0.01</offset>
</pitch>
<reference-dist>5.0</reference-dist>
<max-dist>1500.0</max-dist>
<position>
<x-m>-0.90</x-m>
<y>0</y>
<z>0</z>
</position>
</engine>
<propeller>
<name>propeller</name>
<path>/Aircraft/c182s/Sounds/Engine_Continental-O200A.wav</path>
<mode>looped</mode>
<condition>
<greater-than>
<property>engines/engine/rpm</property>
<value>10</value>
</greater-than>
</condition>
<volume>
<expression>
<sum>
<value>-1.00</value>
<property>/sim/model/c182s/sound/volume-boost-doors</property>
<table>
<property>engines/engine/rpm</property>
<entry>
<ind>100</ind>
<dep>0.0</dep>
</entry>
<entry>
<ind>1500</ind>
<dep>0.75</dep>
</entry>
</table>
</sum>
</expression>
</volume>
<pitch>
<property>engines/engine/rpm</property>
<factor>0.0004</factor>
<min>0.5</min>
<max>2.0</max>
<offset>0.01</offset>
</pitch>
<reference-dist>5.0</reference-dist>
<max-dist>1500.0</max-dist>
<position>
<x-m>-1.20</x-m>
<y>0</y>
<z>0</z>
</position>
</propeller>
</fx>
</PropertyList>