# Copyright 2020 Benedikt Wolf # 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. Add flarm.nas to your aircraft's list of included nasal files: ... Aircraft/Instruments-3d/glider/flarm/flarm.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 2. Add the model to your aircraft: There are two models available, the standard, full-size FLARM and a smaller FLARM (v3) display for integration into a panel. You can use either or both of these: Aircraft/Instruments-3d/glider/flarm/v3_display/flarm_v3.xml ... Aircraft/Instruments-3d/glider/flarm/traditional/flarm_traditional.xml ... 3. If you are using a custom electric system, make sure the FLARM is supplied at /systems/electrical/outputs/flarm when appropriate 4. Add sound effects for this FLARM, e.g. by using the block below and adjusting it to fit: flarm new contact once Aircraft/Instruments-3d/glider/flarm/flarm_new_contact.wav /systems/electrical/outputs/flarm 9 /instrumentation/flarm/new-contact 0 -1.35 0.0 0.1 flarm new contact 2 once Aircraft/Instruments-3d/glider/flarm/flarm_new_contact.wav /systems/electrical/outputs/flarm 9 /instrumentation/flarm/new-contact 1 -1.35 0.0 0.1 flarm warn 1 looped Aircraft/Instruments-3d/glider/flarm/flarm1.wav /systems/electrical/outputs/flarm 9 /instrumentation/flarm/warn 1 -1.35 0.0 0.1 flarm warn 2 looped Aircraft/Instruments-3d/glider/flarm/flarm2.wav /systems/electrical/outputs/flarm 9 /instrumentation/flarm/warn 2 -1.35 0.0 0.1 ## 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