# Copyright 2020 Benedikt Wolf
# with parts by Gilberto Agonstinho, WooT, Joshau Davidsonm, Colin Geniet
# This file is part of FlightGear.
#
# FlightGear is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# FlightGear is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with FlightGear. If not, see .
To install this instrument into your aircraft, you need to do the following:
1. Enable a second altimeter () module through the aircraft's instrumentation.xml (in case a custom one is used).
Make sure instrumentation/altimeter[1]/serviceable is set to true via your -set.xml file.
2. Add S3.nas to your aircraft's list of included nasal files:
...
Aircraft/Instruments-3d/glider/vario/S3/S3.nas
...
** Note that it is important to put the file into tags, as the animation xml may in the future reference the instrument by that name
3. Add the model to your aircraft:
Aircraft/Instruments-3d/glider/vario/S3/S3.xml
...
4. If you are using a custom electric system, make sure the vario is supplied at /systems/electrical/outputs/S3 when appropriate
5. Add sound effects for this vario, e.g. by using the block below and adjusting it to fit:
variometer-up
looped
Aircraft/Instruments-3d/glider/vario/ilec-sc7/vario.wav
instrumentation/s3/te-reading-mps
0.01
systems/electrical/outputs/S3
9
instrumentation/s3/start
1.0
instrumentation/s3/sound-pitch
0
instrumentation/s3/volume
1
1
-3.35
0
0.7
0.5
2.0
variometer-down
looped
Aircraft/Instruments-3d/glider/vario/ilec-sc7/vario2.wav
instrumentation/s3/te-reading-mps
-10.00
instrumentation/s3/te-reading-mps
-0.01
systems/electrical/outputs/S3
9
instrumentation/s3/start
1.0
instrumentation/s3/sound-pitch
0
instrumentation/s3/volume
1
1
-3.35
0
0.7
0.5
2.0
## Please report any bugs, issues and improvements either to the mailing list of FlightGear forum so they can be fixed/included in the shared version of this instrument