| 1 |
If you wish to implement the ilec-sc7 on your glider, |
| 2 |
|
| 3 |
You will need to : |
| 4 |
|
| 5 |
* call the ilec-sc7.xml file from your model xml file |
| 6 |
* call the ilec-sc7.nas script from your [aircraft-name]-set.xml file |
| 7 |
* modify your sound.xml, including the following lines : |
| 8 |
|
| 9 |
<variometer-up> |
| 10 |
<name>variometer-up</name> |
| 11 |
<mode>looped</mode> |
| 12 |
<path>Instruments-3d/glider/vario/ilec-sc7/vario.wav</path> |
| 13 |
<condition> |
| 14 |
<and> |
| 15 |
<greater-than> |
| 16 |
<property>instrumentation/ilec-sc7/audio</property> |
| 17 |
<value>0</value> |
| 18 |
</greater-than> |
| 19 |
<greater-than> |
| 20 |
<property>instrumentation/ilec-sc7/te-reading-mps</property> |
| 21 |
<value>0.01</value> |
| 22 |
</greater-than> |
| 23 |
</and> |
| 24 |
</condition> |
| 25 |
<pitch> |
| 26 |
<property>instrumentation/ilec-sc7/sound-pitch</property> |
| 27 |
<offset>0</offset><!-- Do not remove, default is 1 --> |
| 28 |
</pitch> |
| 29 |
<volume> |
| 30 |
<property>instrumentation/ilec-sc7/volume</property> |
| 31 |
<max>1</max> |
| 32 |
</volume> |
| 33 |
</variometer-up> |
| 34 |
|
| 35 |
<variometer-down> |
| 36 |
<name>variometer-down</name> |
| 37 |
<mode>looped</mode> |
| 38 |
<path>Instruments-3d/glider/vario/ilec-sc7/vario2.wav</path> |
| 39 |
<condition> |
| 40 |
<and> |
| 41 |
<equals> |
| 42 |
<property>instrumentation/ilec-sc7/audio</property> |
| 43 |
<value>2</value> |
| 44 |
</equals> |
| 45 |
<greater-than> |
| 46 |
<property>instrumentation/ilec-sc7/te-reading-mps</property> |
| 47 |
<value>-10.66</value> |
| 48 |
</greater-than> |
| 49 |
<less-than> |
| 50 |
<property>instrumentation/ilec-sc7/te-reading-mps</property> |
| 51 |
<value>-0.01</value> |
| 52 |
</less-than> |
| 53 |
</and> |
| 54 |
</condition> |
| 55 |
<pitch> |
| 56 |
<property>instrumentation/ilec-sc7/sound-pitch</property> |
| 57 |
<offset>0</offset><!-- Do not remove, default is 1 --> |
| 58 |
</pitch> |
| 59 |
<volume> |
| 60 |
<property>instrumentation/ilec-sc7/volume</property> |
| 61 |
<max>1</max> |
| 62 |
</volume> |
| 63 |
</variometer-down> |