<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.flightgear.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Colin+Geniet</id>
	<title>FlightGear wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.flightgear.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Colin+Geniet"/>
	<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/Special:Contributions/Colin_Geniet"/>
	<updated>2026-04-07T12:05:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Opentrack&amp;diff=137320</id>
		<title>Opentrack</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Opentrack&amp;diff=137320"/>
		<updated>2023-02-17T07:51:17Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Slightly better parameters for protocol command line option: 'localhost' instead of IP, higher refresh rate.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase title}}&lt;br /&gt;
{{Infobox Software&lt;br /&gt;
| title                  = opentrack&lt;br /&gt;
| logo                   = &lt;br /&gt;
| image                  = Opentrack_screenshot.png&lt;br /&gt;
| alt                    = The opentrack interface&lt;br /&gt;
| writtenin              = C/C++&lt;br /&gt;
| os                     = Cross-platform&lt;br /&gt;
| developmentstatus      = Active&lt;br /&gt;
| license                = Most all code is under the ICS license&lt;br /&gt;
| website                = https://github.com/opentrack/opentrack&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[https://github.com/opentrack/opentrack '''opentrack'''] is a head-tracking program with built-in support for the [[Interfacing_FlightGear|FlightGear interface]], allowing head tracking data to be sent directly as input data to FlightGear. Licensed as open-source software, opentrack has its roots in the [[FaceTrackNoIR]] project, and maintains many of the projects ideas. &lt;br /&gt;
&lt;br /&gt;
== Installation  ==&lt;br /&gt;
=== Compiling for Linux ===&lt;br /&gt;
Linux users may be disappointed to know that no binaries are provided for opentrack. Luckily, compiling opentrack is a fairly mild process.&lt;br /&gt;
&lt;br /&gt;
The following dependencies are for '''Debian-based''' systems, however it should give users of other distros a rough idea of what they will need to hunt for in their own package manager. Users of other distributions are encouraged to expand upon this guide.&lt;br /&gt;
&lt;br /&gt;
==== Dependencies ====&lt;br /&gt;
* {{code|cmake}}&lt;br /&gt;
* {{code|git}}&lt;br /&gt;
* {{code|qttools5-dev}}&lt;br /&gt;
* {{code|qtbase5-private-dev}}&lt;br /&gt;
* {{code|libprocps-dev}}&lt;br /&gt;
* {{code|libopencv-dev}}&lt;br /&gt;
&lt;br /&gt;
{{Note|While opentrack will build without OpenCV, it will only compile with a very minimal subset of its functionality, making it of little use to the average user who does not have very specific usage requirements.}} &lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
Compiling the project is the same as with any cmake project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
git clone https://github.com/opentrack/opentrack&lt;br /&gt;
cd opentrack/&lt;br /&gt;
cmake .&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|The resulting build output will be placed in the {{code|install/}} directory. It will not 'install' itself anywhere outside of the current directory.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
{{tip|If you use the [[Howto:Place 3D objects with the UFO|UFO to place objects]], disable the headtracker add-on before starting FlightGear. The {{key press|Shift|{{=}}}} binding for centering the view will interfere with the UFO's binding for showing the Adjust Model dialog.}}&lt;br /&gt;
&lt;br /&gt;
FlightGear will not automatically start accepting input from opentrack just because you have it running, because it has not been told to listen for input from opentrack, or what to do with it.&lt;br /&gt;
&lt;br /&gt;
The simplest way to do so is to use the headtracker addon.&lt;br /&gt;
* Download the headtracker addon from {{fgaddon source|path=Addons/Headtracker}} (See [[FGAddon#Download|FGAddon]] regarding how to download from an svn repository).&lt;br /&gt;
* Load the headtracker [[Addon#Installing_and_using_an_addon|addon]], either by adding it in the [[FlightGear_Qt_launcher| FlightGear launcher]], or with the following [[Command_line_options|command line option]]:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
--addon=full-path-to-the-headtracker-folder&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Add the following [[Command_line_options|option]] either from the [[Command_line|command line]], or through the [[FlightGear_Qt_launcher| FlightGear launcher]]:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
--generic=socket,in,60,localhost,5542,udp,opentrack&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{Note|Proper calibration of your head-tracking setup is crucial for success, it may require lots of experimenting. Also ensure that no other software is trying to use your webcam, that FlightGear is selected as the &amp;quot;Output&amp;quot;, and that your tracking is running before launching FlightGear}}&lt;br /&gt;
&lt;br /&gt;
[[File:Opentrack with the FlightGear output mode selected.png|thumbnail|FlightGear must be selected as the &amp;quot;Output&amp;quot; in order for the head tracking to work]]&lt;br /&gt;
&lt;br /&gt;
A generic quickstart video demonstrating the usage of opentrack can be found below.&lt;br /&gt;
{{#ev:youtube|QYmHab6CGgo|A quickstart video for using opentrack}}&lt;br /&gt;
&lt;br /&gt;
== Related content ==&lt;br /&gt;
=== Wiki articles ===&lt;br /&gt;
* [[Head tracking]]&lt;br /&gt;
&lt;br /&gt;
=== Forum topics ===&lt;br /&gt;
* {{forum link|title=Re: Opentrack|p=372905|}} (The original source of the XML code and startup options)&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* {{github source|proj=opentrack|repo=opentrack|text=Project website}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Head tracking]]&lt;br /&gt;
&lt;br /&gt;
[[pl:opentrack]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Add_sound_effects_to_aircraft&amp;diff=137056</id>
		<title>Howto:Add sound effects to aircraft</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Add_sound_effects_to_aircraft&amp;diff=137056"/>
		<updated>2023-01-10T07:25:01Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Document bugs when using mode=once and max-dist. See https://sourceforge.net/p/flightgear/simgear/merge-requests/120/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can '''add sound effects to aircraft''' by adding the sound samples and configuring the sound effects in XML files.  The sound effects can be conditional and the sound's pitch and volume can depend on properties in the property tree.  &lt;br /&gt;
&lt;br /&gt;
{{note|This text is partially incorrect/outdated. Especially how the final volume/pitch is calculated. Make sure to also read the {{fgdata source|Docs/README.xmlsound|text=official documentation}}.}}&lt;br /&gt;
&lt;br /&gt;
Some sound effects are added other ways.  For example, sounds from avionics like navigation radio receivers are automatically added when you add those radios.&lt;br /&gt;
&lt;br /&gt;
{{FGCquote|1= The volume calculation due to distance and orientation of the sounds source ONLY work on mono samples!|2= {{cite web  | url    = http://sourceforge.net/p/flightgear/mailman/message/28505220/  | title  = &amp;lt;nowiki&amp;gt;Re: [Flightgear-devel] Stereo sounds no longer supported?&amp;lt;/nowiki&amp;gt;  | author = &amp;lt;nowiki&amp;gt;syd adams&amp;lt;/nowiki&amp;gt;  | date   = Dec 7th, 2011  }}}}&lt;br /&gt;
&lt;br /&gt;
{{FGCquote|1= The old way was that the stereo sound would always play the left channel on the left side.  Now you split the sound and place it in 3D space.  When you turn your head, the speaker the left side sound comes out of changes with you|2= {{cite web  | url    = http://forum.flightgear.org/viewtopic.php?p=257291#p257291  | title  = &amp;lt;nowiki&amp;gt;Re: 787-8 Boarding music&amp;lt;/nowiki&amp;gt;  | author = &amp;lt;nowiki&amp;gt;bugman&amp;lt;/nowiki&amp;gt;  | date   = Sep 14th, 2015  }}}}&lt;br /&gt;
&lt;br /&gt;
{{FGCquote|1= All sounds must now be mono point sources, and stereo simply requires the two sound sources to be positioned in the 3D environment. |2= {{cite web  | url    = http://sourceforge.net/p/flightgear/mailman/message/34100151/  | title  = &amp;lt;nowiki&amp;gt;[Flightgear-devel] Audit and proposal for handling non-supported stereo sound files in FGAddon via the 3D sound engine.&amp;lt;/nowiki&amp;gt;  | author = &amp;lt;nowiki&amp;gt;Edward d'Auvergne&amp;lt;/nowiki&amp;gt;  | date   = May 10th, 2015  }}}}&lt;br /&gt;
&lt;br /&gt;
{{FGCquote|1= We use OpenAL for 3D positional audio and most OpenAL implementations can only handle one stereo file.Also Stereo files will not work in 3d space, so they will not be positional.But  most aircraft developers did not know that and used several stereo files expecting everything to work properly but the truth was that in most implementations just one of those stereo files was played.And if you think of it, stereo separation does not work for boarding music either since it plays left channel to your left ear and right channel to your right ear. But in reality boarding music is played left channel to the left audio channel in the aircraft and right channel to the right audio channel in the aircraft.This works the same as normal stereo if you enter the aircraft, but will, reverse once you turn around.So the solution is to split up the stereo file into two mono files and play the proper channel at the proper side of the passenger compartment.|2= {{cite web  | url    = http://forum.flightgear.org/viewtopic.php?p=257289#p257289  | title  = &amp;lt;nowiki&amp;gt;Re: 787-8 Boarding music&amp;lt;/nowiki&amp;gt;  | author = &amp;lt;nowiki&amp;gt;erik&amp;lt;/nowiki&amp;gt;  | date   = Sep 14th, 2015  }}}}&lt;br /&gt;
&lt;br /&gt;
== Sound configuration files ==&lt;br /&gt;
The sound configuration files are [[PropertyList XML files]].&lt;br /&gt;
&lt;br /&gt;
The top level sound configuration file is composed of a &amp;lt;code&amp;gt;&amp;amp;lt;fx&amp;amp;gt;&amp;lt;/code&amp;gt; and a &amp;lt;code&amp;gt;&amp;amp;lt;name&amp;amp;gt;&amp;lt;/code&amp;gt; tag, a &amp;lt;code&amp;gt;&amp;amp;lt;path&amp;amp;gt;&amp;lt;/code&amp;gt; to a sound sample file and zero or more &amp;lt;code&amp;gt;&amp;amp;lt;volume&amp;amp;gt;&amp;lt;/code&amp;gt; and/or &amp;lt;code&amp;gt;&amp;amp;lt;pitch&amp;amp;gt;&amp;lt;/code&amp;gt;definitions.&lt;br /&gt;
&lt;br /&gt;
Paths are relative to [[$FG_ROOT]], but absolute paths may also be used.&lt;br /&gt;
&lt;br /&gt;
Comments are bracketed with &amp;lt;code&amp;gt;&amp;amp;lt;!-- --&amp;amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
This example would define an engine sound effect for a piston engine driven aeroplane.&lt;br /&gt;
&lt;br /&gt;
The sound effect representing the engine is located in &amp;lt;code&amp;gt;$FG_ROOT/Sounds&amp;lt;/code&amp;gt; and is named &amp;lt;code&amp;gt;wasp.wav&amp;lt;/code&amp;gt;. The effect is started when the property &amp;lt;code&amp;gt;/engines/engine/running&amp;lt;/code&amp;gt; becomes non-zero. &lt;br /&gt;
&lt;br /&gt;
When that happens, the sound will be played looped (see &amp;lt;code&amp;gt;&amp;amp;lt;mode&amp;amp;gt;&amp;lt;/code&amp;gt;) until the property returns zero again. As you can see the volume is dependent on the property &amp;lt;code&amp;gt;/engines/engine/mp-osi&amp;lt;/code&amp;gt;, and the pitch of the sound depends on the property &amp;lt;code&amp;gt;/engines/engine/rpm&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;PropertyList&amp;gt;&lt;br /&gt;
 &amp;lt;fx&amp;gt;&lt;br /&gt;
  &amp;lt;engine&amp;gt;&lt;br /&gt;
   &amp;lt;name&amp;gt;engine&amp;lt;/name&amp;gt;&lt;br /&gt;
   &amp;lt;path&amp;gt;Sounds/wasp.wav&amp;lt;/path&amp;gt;&lt;br /&gt;
   &amp;lt;mode&amp;gt;looped&amp;lt;/mode&amp;gt;&lt;br /&gt;
   &amp;lt;condition&amp;gt;&lt;br /&gt;
    &amp;lt;property&amp;gt;/engines/engine/running&amp;lt;/property&amp;gt;&lt;br /&gt;
   &amp;lt;/condition&amp;gt;&lt;br /&gt;
   &amp;lt;volume&amp;gt;&lt;br /&gt;
    &amp;lt;property&amp;gt;/engines/engine/mp-osi&amp;lt;/property&amp;gt;&lt;br /&gt;
    &amp;lt;factor&amp;gt;0.005&amp;lt;/factor&amp;gt;&lt;br /&gt;
    &amp;lt;min&amp;gt;0.15&amp;lt;/min&amp;gt;&lt;br /&gt;
    &amp;lt;max&amp;gt;0.5&amp;lt;/max&amp;gt;&lt;br /&gt;
    &amp;lt;offset&amp;gt;0.15&amp;lt;/offset&amp;gt;&lt;br /&gt;
   &amp;lt;/volume&amp;gt;&lt;br /&gt;
   &amp;lt;pitch&amp;gt;&lt;br /&gt;
    &amp;lt;property&amp;gt;/engines/engine/rpm&amp;lt;/property&amp;gt;&lt;br /&gt;
    &amp;lt;factor&amp;gt;0.0012&amp;lt;/factor&amp;gt;&lt;br /&gt;
    &amp;lt;min&amp;gt;0.3&amp;lt;/min&amp;gt;&lt;br /&gt;
    &amp;lt;max&amp;gt;5.0&amp;lt;/max&amp;gt;&lt;br /&gt;
    &amp;lt;offset&amp;gt;0.3&amp;lt;/offset&amp;gt;&lt;br /&gt;
   &amp;lt;/pitch&amp;gt;&lt;br /&gt;
  &amp;lt;/engine&amp;gt;&lt;br /&gt;
 &amp;lt;/fx&amp;gt;&lt;br /&gt;
&amp;lt;/PropertyList&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Inclusion from the aircraft-set.xml file ===&lt;br /&gt;
In order for the sound configuration to be used, it has to be included from the [[aircraft-set.xml]] file.&lt;br /&gt;
&lt;br /&gt;
This can be done by adding the path to the file relative to the aircraft's base path within the &amp;lt;code&amp;gt;&amp;amp;lt;sim&amp;amp;gt;&amp;lt;/code&amp;gt; tags in the aircraft-set.xml file..&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;PropertyList&amp;gt;&lt;br /&gt;
 &amp;lt;!-- ... ---&amp;gt;&lt;br /&gt;
 &amp;lt;sim&amp;gt;&lt;br /&gt;
  &amp;lt;!-- ... ---&amp;gt;&lt;br /&gt;
   &amp;lt;sound&amp;gt;&lt;br /&gt;
    &amp;lt;path type=&amp;quot;string&amp;quot;&amp;gt;My-sound-config.xml&amp;lt;/path&amp;gt;&lt;br /&gt;
   &amp;lt;/sound&amp;gt;&lt;br /&gt;
  &amp;lt;!-- ... ---&amp;gt;&lt;br /&gt;
 &amp;lt;/sim&amp;gt;&lt;br /&gt;
 &amp;lt;!-- ... ---&amp;gt;&lt;br /&gt;
&amp;lt;/PropertyList&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration tags ==&lt;br /&gt;
   &lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;fx&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Named FX subtree living under /sim/sound&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt; ... &amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: This is the event separator. The text inside the brackets can be anything, but it is advised to give it a meaningful name like: crank, engine, rumble, gear, squeal, flap, wind or stall.&lt;br /&gt;
 &lt;br /&gt;
: The value can be defined multiple times, thus anything which is related may have the same name (grouping them together).&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;name&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: This defines the name of the event. This name is used internally and, although it can me defined multiple times in the same file, should normally have an unique value.&lt;br /&gt;
 &lt;br /&gt;
: Multiple definitions of the same name will allow multiple sections to interfere in the starting and stopping of the sample.&lt;br /&gt;
&lt;br /&gt;
: This method can't be used to control the pitch or volume of the sample, but instead multiple volume or pitch section should be included inside the same event.&lt;br /&gt;
&lt;br /&gt;
: The types &amp;quot;raise&amp;quot; and &amp;quot;fall&amp;quot; will stop the playback of the sample regardless of any other event. This means that when the type &amp;quot;raise&amp;quot; is supplied, sample playback will stop when the event turns false. Using the type &amp;quot;fall&amp;quot; will stop playback when the event turns true.&lt;br /&gt;
&lt;br /&gt;
: IMPORTANT&lt;br /&gt;
:: If the trigger is used for anything else but stopping the sound at a certain event, all sections with the same name ''should'' have exactly the same sections for everything but property and type.&lt;br /&gt;
&lt;br /&gt;
:: In the case of just stopping the sample at a certain event, the sections for path, volume and pitch may be omitted.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;path&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: This defined the path to the sound file. The path is relative to the FlightGear root directory but could be specified absolute.&lt;br /&gt;
&lt;br /&gt;
: The sound format must be mono.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;condition&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Define a condition that triggers the event.&lt;br /&gt;
&lt;br /&gt;
: For a complete description of the FlightGear conditions, please read docs-mini/README.conditions or read the [[Conditions]] article on the wikie.&lt;br /&gt;
&lt;br /&gt;
: An event should define either a condition or a property.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;property&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Define which property triggers the event, and refers to a node in the FlightGear property tree.&lt;br /&gt;
&lt;br /&gt;
: Action is taken when the property is non zero.&lt;br /&gt;
&lt;br /&gt;
: A more sophisticated mechanism to trigger the event is described in &amp;lt;condition&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;mode&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: This defines how the sample should be played:&lt;br /&gt;
 &lt;br /&gt;
:; once&lt;br /&gt;
:: The sample is played once. This is the default.&lt;br /&gt;
 &lt;br /&gt;
:; looped&lt;br /&gt;
:: The sample plays continuously, until the event turns false.&lt;br /&gt;
&lt;br /&gt;
:; in-transit&lt;br /&gt;
:: the sample plays continuously, while the property is changing its value.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;type&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: This defines the type of this sample, each type also have seperate volume slider in sound settings menu:&lt;br /&gt;
&lt;br /&gt;
:; fx&lt;br /&gt;
:: This is the default type and doesn't need to be defined.&lt;br /&gt;
&lt;br /&gt;
:; avionics&lt;br /&gt;
:: Sounds set to this type don't have a position and orientation but are treated as if it's mounted to the aircraft panel.&lt;br /&gt;
&lt;br /&gt;
:: It is up to the user to define if it can always be heard or only when in cockpit view.&lt;br /&gt;
&lt;br /&gt;
:; atc&lt;br /&gt;
:: Is used by the ATC chatter add-on.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;delay-sec&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Delay after which the sound starts playing.&lt;br /&gt;
&lt;br /&gt;
: This is useful to let a property start two sounds at the same time, where the second is delayed until the first stopped playing.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;volume&amp;amp;gt;&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;&amp;amp;lt;pitch&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Volume or Pitch definition.&lt;br /&gt;
&lt;br /&gt;
: Currently there may be up to 5 volume and up to 5 pitch definitions defined within one sound event.&lt;br /&gt;
&lt;br /&gt;
: There are two important results from each &amp;lt;volume&amp;gt; and &amp;lt;pitch&amp;gt; section: the offset and the value. Normally all offset values from the different volume/pitch are added together to create the total offset.  The values from each &amp;lt;volume&amp;gt; or &amp;lt;pitch&amp;gt; section are multiplied together to create an final value.  Then the volume (or pitch, respectively) is set to total offset + final value.&lt;br /&gt;
&lt;br /&gt;
: A special condition occurs when the value of factor is negative, in which case the offset doesn't get added to the other offset values but instead will be used in the multiplication section.&lt;br /&gt;
&lt;br /&gt;
: Pitch final output can range from 0 to 2. 1 represents the original pitch of the sound file.  Offset defaults to 1, meaning that if no specific &amp;lt;pitch&amp;gt; parameters are given the file will be played at its original pitch.&lt;br /&gt;
&lt;br /&gt;
: Volume final output can range from 0 to 1. 1 represents full volume and 0 is silence.&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;&amp;amp;lt;expression&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Defines an expression, and will replace all other tags in this volume/pitch tag.&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;&amp;amp;lt;property&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Defines which property supplies the value for the calculation.&lt;br /&gt;
&lt;br /&gt;
:: Either a &amp;lt;property&amp;gt; or an &amp;lt;internal&amp;gt; should be defined.  If none is defined, the property reverts to its default.  For volume this is 0, meaning the sound will not be audible at all.&lt;br /&gt;
&lt;br /&gt;
:: The value is treated as a floating point number.&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;&amp;amp;lt;internal&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Defines which internal variable should be used for the calculation.&lt;br /&gt;
&lt;br /&gt;
:: The value is treated as a floating point number.&lt;br /&gt;
&lt;br /&gt;
:: The following internals are available at this time:&lt;br /&gt;
&lt;br /&gt;
::; dt_play&lt;br /&gt;
::: The number of seconds since the sound started playing.&lt;br /&gt;
&lt;br /&gt;
::; dt_stop&lt;br /&gt;
::: The number of seconds after the sound has stopped.&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;&amp;amp;lt;type&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Defines the function that should be used upon the property before it is used for calculating the net result:&lt;br /&gt;
&lt;br /&gt;
::; lin&lt;br /&gt;
::: Linear handling of the property value. This is the default.&lt;br /&gt;
 &lt;br /&gt;
::; ln&lt;br /&gt;
:: Convert the property value to a natural logarithmic value before scaling it.&lt;br /&gt;
&lt;br /&gt;
::: Anything below 1 will return zero.&lt;br /&gt;
 &lt;br /&gt;
::; log&lt;br /&gt;
::: convert the property value to a true logarithmic value before scaling it. (log base 10)&lt;br /&gt;
&lt;br /&gt;
::: Anything below 1 will return zero.&lt;br /&gt;
&lt;br /&gt;
::; inv&lt;br /&gt;
::: Inverse linear handling (1/x).&lt;br /&gt;
&lt;br /&gt;
::; abs&lt;br /&gt;
:: Absolute handling of the value (always positive).&lt;br /&gt;
&lt;br /&gt;
::; sqrt&lt;br /&gt;
::: Calculate the square root of the absolute value before scaling it.&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;&amp;amp;lt;factor&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Defines the multiplication factor for the property value.&lt;br /&gt;
&lt;br /&gt;
:: A special condition is when scale is defined as a negative value. In this case the result of |&amp;lt;scale&amp;gt;| * &amp;lt;property) will be subtracted from &amp;amp;lt;default&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;&amp;amp;lt;offset&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: The initial value for this sound.&lt;br /&gt;
&lt;br /&gt;
:: This value is also used as an offset value for calculating the end result.&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;&amp;amp;lt;random&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Add a bit of randomness to the offset. Only used for pitch.&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;&amp;amp;lt;min&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Minimum allowed value.&lt;br /&gt;
&lt;br /&gt;
:: This is useful if sounds start to sound funny. Anything lower will be truncated to this value.&lt;br /&gt;
&lt;br /&gt;
:; &amp;lt;code&amp;gt;&amp;amp;lt;max&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Maximum allowed value.&lt;br /&gt;
&lt;br /&gt;
:: This is useful if sounds gets to loud. Anything higher will be truncated to this value.&lt;br /&gt;
&lt;br /&gt;
:: Keep in mind that min &amp;amp; max are applied first, then offset.  So for example if min = 0, max = 0.5 and offset = 1.0, then the resulting values will range 1 to 1.5.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;position&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Specify the position of the sounds source relative to the 3D models center.&lt;br /&gt;
&lt;br /&gt;
: The coordinate system used is a left hand coordinate system where +Y = left, -Y = right, -Z = down, +Z = up, -X = forward, +X = aft.  Distances are in meters.&lt;br /&gt;
&lt;br /&gt;
: It's important to note that for sounds the Y axis is inverted compared to e.g. object animation coordinates (see also [[Howto:3D_Aircraft_Models]]).&lt;br /&gt;
&lt;br /&gt;
: The volume calculation due to distance and orientation of the sounds source ONLY work on mono samples!&lt;br /&gt;
&lt;br /&gt;
: Also take notice that the values should not be 0.0, since that can produce sound artifacts on some sound cards.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;x&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: X dimension offset (-X = forward, +X = aft, in meters)&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;y&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Y dimension offset (+Y = left, -Y = right)&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;z&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Z dimension offset (-Z = down, +Z = up)&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;orientation&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Specify the orientation of the sounds source.&lt;br /&gt;
&lt;br /&gt;
: The zero vector is default, indicating that a Source is not directional.&lt;br /&gt;
&lt;br /&gt;
: Specifying a non-zero vector will make the Source directional in the X,Y,Z direction&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;x&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: X dimension&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;y&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Y dimension&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;z&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Z dimension&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;inner-angle&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: The inner edge of the audio cone in degrees (0.0 - 360.0).&lt;br /&gt;
&lt;br /&gt;
: Any sound withing that angle will be played at the current gain.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;outer-angle&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: The outer edge of the audio cone in degrees (0.0 - 360.0).&lt;br /&gt;
&lt;br /&gt;
: Any sound beyond the outer cone will be played at &amp;quot;outer-gain&amp;quot; volume.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;outer-gain&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: The gain at the outer edge of the cone.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;reference-dist&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Set a reference distance of sound in meters. This is the distance where the volume is at its maximum. Default is 60.&lt;br /&gt;
&lt;br /&gt;
: Volume is clamped to this maximum for any distance below.&lt;br /&gt;
&lt;br /&gt;
: Volume is attenuated for any distance above.&lt;br /&gt;
&lt;br /&gt;
: Attenuation depends on reference and maximum distance. See OpenAL specification on &amp;quot;AL_INVERSE_DISTANCE_CLAMPED&amp;quot; mode for details on exact computation.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;&amp;amp;lt;max-dist&amp;amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
: Set the maximum audible distance for the sound in meters. Default is 6000.&lt;br /&gt;
&lt;br /&gt;
: Sound is cut-off above this distance.&lt;br /&gt;
&lt;br /&gt;
== Creating a configuration file ==&lt;br /&gt;
&lt;br /&gt;
To make things easy, there is a default value for most entries to allow a&lt;br /&gt;
sane configuration when a certain entry is omitted.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Tag !! Default value&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;amp;lt;type&amp;amp;gt;''' || lin&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;amp;lt;factor&amp;amp;gt;''' || 1.0&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;amp;lt;offset&amp;amp;gt;''' || 0.0 for volume, 1.0 for pitch&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;amp;lt;min&amp;amp;gt;''' || 0.0&lt;br /&gt;
|-&lt;br /&gt;
| '''&amp;amp;lt;max&amp;amp;gt;''' || 0.0 (don't check)&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
Calculations are made the following way (for both pitch and volume):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
value = 0;&lt;br /&gt;
offs = 0;&lt;br /&gt;
&lt;br /&gt;
for (n = 0; n &amp;lt; max; n++) {&lt;br /&gt;
    if (factor &amp;lt; 0) {&lt;br /&gt;
        value += offset[n] - abs(factor[n]) * function(property[n]);&lt;br /&gt;
    } else {&lt;br /&gt;
        value *= factor[n] * function(property[n]);&lt;br /&gt;
        offs += offset[n];&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
volume = offs + value;&lt;br /&gt;
if (volume &amp;gt; 1.0) vol = 1.0;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
where function can be one of: lin, ln, log, inv, abs or sqrt&lt;br /&gt;
&lt;br /&gt;
== Multiplayer sound ==&lt;br /&gt;
The multiplayer sound file works just as the normal sound file, except it should reside in &amp;lt;code&amp;gt;/sim/model/sound&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;/sim/sound&amp;lt;/code&amp;gt;. Make sure it depends on properties that are [[Howto:Transmit_properties_over_MP|transmitted over MP]].&lt;br /&gt;
&lt;br /&gt;
== Recommended audio file formats ==&lt;br /&gt;
{{note|The sound sample '''must be in mono''' format.  This is because it can not be put in a 3D context otherwise. Also, as of at least June 2015 '''stereo samples will not be played'''.}}&lt;br /&gt;
&lt;br /&gt;
There some considerations on the quality to the audio files. As a rule of thumb, any computer is able to playback sounds in DVD-quality (48 kHz/24 bits).&lt;br /&gt;
Macs still has trouble reading 32 bit files. Most standard sound cards also can't playback 32 bit files.&lt;br /&gt;
&lt;br /&gt;
From a listeners point of view, anything above 44.1 kHz and 24 bits is only useful for high end music. Personally, I would think that 44.1 kHz with 16 bits should be more than enough to play engine sounds and alarms from the cockpit. Consider the disk-space against the gain in audio quality!&lt;br /&gt;
&lt;br /&gt;
== Preventing sounds from playing when sim starts ==&lt;br /&gt;
Some times it can be hard to prevent sounds from playing right away, if the condition starts to evaluate to true. A hack to get this to work is to multiply the volume with a property that you in nasal set to true some seconds after the sim has been initialized.&lt;br /&gt;
&lt;br /&gt;
== Bugs in the sound system ==&lt;br /&gt;
* The Doppler effect if you pass an aircraft in high speed sometimes is way too high pitch.&lt;br /&gt;
* None of the position coordinates must not be 0.0 as described above.&lt;br /&gt;
* Sounds using &amp;lt;code&amp;gt;&amp;amp;lt;mode&amp;amp;gt;&amp;lt;/code&amp;gt; 'once' together with &amp;lt;code&amp;gt;&amp;amp;lt;max-dist&amp;amp;gt;&amp;lt;/code&amp;gt; behave incorrectly when going out of range of the sound, then back in range, all while the trigger condition remains true:&lt;br /&gt;
** Until January 2023 (Flightgear 2020.3): the above causes the sound to incorrectly restart playing.&lt;br /&gt;
** Since January 2023 (for development versions): the sound stops entirely when going out of range, it is not possible to come back in range to hear the end of the sound.&lt;br /&gt;
&lt;br /&gt;
== Related content ==&lt;br /&gt;
=== Wiki articles ===&lt;br /&gt;
* [[Conditions]]&lt;br /&gt;
* [[Expressions]]&lt;br /&gt;
* [[Howto:Reload sound configuration without restarting]]&lt;br /&gt;
&lt;br /&gt;
=== Readme file ===&lt;br /&gt;
* {{readme file|xmlsound}}&lt;br /&gt;
&lt;br /&gt;
=== Source code ===&lt;br /&gt;
* {{simgear file|simgear/sound/xmlsound.hxx}}&lt;br /&gt;
* {{simgear file|simgear/sound/xmlsound.cxx}}&lt;br /&gt;
* {{flightgear file|src/Sound/fg_fx.hxx}}&lt;br /&gt;
* {{flightgear file|src/Sound/fg_fx.cxx}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Aircraft enhancement]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131615</id>
		<title>Saab 37 Viggen</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131615"/>
		<updated>2021-05-01T20:19:29Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Add pointers to help and documentation material, notably the flight manual.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox aircraft&lt;br /&gt;
|image = Saab JA-37 Viggen Blue Peter Livery.png&lt;br /&gt;
|name = Saab 37 Viggen&lt;br /&gt;
|livery = 23 Liveries&lt;br /&gt;
|type = Fighter aircraft/Attack aircraft/STOL aircraft&lt;br /&gt;
|config = Canard aircraft/Delta-wing aircraft/Retractable gear aircraft&lt;br /&gt;
|propulsion = Single-engine jet&lt;br /&gt;
|manufacturer = Saab&lt;br /&gt;
|fdm = JSBSim&lt;br /&gt;
|status-fdm	= 4&lt;br /&gt;
|status-systems	= 5&lt;br /&gt;
|status-cockpit	= 4&lt;br /&gt;
|status-model	= 4&lt;br /&gt;
|status = Early production&lt;br /&gt;
|authors = Anders Lejczak/Justin Nicholson/Nicola B. Bernardelli/Isaac Protiva/Enrico Castaldi/Joshua Davidson/Nikolai V. Chr./Colin Geniet&lt;br /&gt;
|fgname = JA37-Viggen&lt;br /&gt;
|fgname1 = AJS37-Viggen&lt;br /&gt;
|development = https://github.com/NikolaiVChr/flightgear-saab-ja-37-viggen&lt;br /&gt;
|download = http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/JA37.zip&lt;br /&gt;
|ready = canvas/checklist&lt;br /&gt;
|license = GPLv2+&lt;br /&gt;
|forumtid = 19130&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Saab 37 Viggen''' is an all-weather attack/fighter aircraft. It had Europe's first pulse-doppler radar, and one of only two jet fighters in the world to sport reverse thrust, the other being Panavia Tornado. This version of '''JA-37 Viggen''' was manufactured from 1980-1990, and the JA 37D variant flew in the Swedish airforce until 2005. The '''AJ-37 Viggen''' was introduced in 1971, the '''AJS-37 Viggen''' in 1993.&lt;br /&gt;
&lt;br /&gt;
[[File:AJS-37 rising.png|958×507px|AJS-37 in vertical ascend.]]&lt;br /&gt;
&lt;br /&gt;
== Flightgear version ==&lt;br /&gt;
The package contains two variants: AJS-37 and JA-37Di.&lt;br /&gt;
&lt;br /&gt;
Notice that the JA37 is much more accurate and well developed than the other variants.&lt;br /&gt;
&lt;br /&gt;
===Flightgear compatibility===&lt;br /&gt;
* The latest Viggen version is compatible with Flightgear version 2020.3.1 or later.&lt;br /&gt;
&lt;br /&gt;
== Help and Documentation ==&lt;br /&gt;
====Flight manual====&lt;br /&gt;
The [https://github.com/NikolaiVChr/flightgear-saab-ja-37-viggen/tree/master/Aircraft/JA37/Doc flight manual] is located under JA37/Doc/ in the aircraft directory. There is also a shortcut in the JA-37 menu to open it from FlightGear. There are two versions of the manual, for the JA-37Di and the AJS-37. Although it is far from completed, the flight manual is the most detailed and up to date source of information.&lt;br /&gt;
&lt;br /&gt;
====In FlightGear====&lt;br /&gt;
The aircraft help dialog contains a summary of the keybindings, and some additional information.&lt;br /&gt;
Detailed [[Aircraft_checklists|checklists]] are available, including the full startup procedure.&lt;br /&gt;
&lt;br /&gt;
====Other====&lt;br /&gt;
The file [https://github.com/NikolaiVChr/flightgear-saab-ja-37-viggen/blob/master/Aircraft/JA37/readme.ja37.txt readme.ja37.txt] contains some information on the most advanced JA-37 systems, which is not yet available in the flight manual.&lt;br /&gt;
&lt;br /&gt;
====Tutorial video series====&lt;br /&gt;
Outdated to varying degrees. Still contains a lot of useful information, notably regarding navigation systems.&lt;br /&gt;
{{#ev:youtube|VGsWxUgy0Q}}&lt;br /&gt;
&lt;br /&gt;
== Feature overview ==&lt;br /&gt;
====Aerodynamics====&lt;br /&gt;
* [[JSBSim]] FDM based mostly on original Saab windtunnel data.&lt;br /&gt;
* 47 individual aerodynamic coefficients.&lt;br /&gt;
* Aerodynamic effect of air intake factor, ground effects and control surface shading.&lt;br /&gt;
* At high alpha asymmetric vortex detachment of left or right side, resulting in adverse effects.&lt;br /&gt;
* Very high alpha handling including realistic departures such as stall, spiral dive, flat spin and inverted spin.&lt;br /&gt;
* Aerodynamic response to payload. (droptank &amp;amp; armament)&lt;br /&gt;
* Aerodynamic drag from canopy open and canopy detachment.&lt;br /&gt;
* Significantly reduced lift and roll damping when wings detach.&lt;br /&gt;
* High compliance with various performance numbers. (true not indicated instrument values)&lt;br /&gt;
* Capable of landing with a heavy crosswind.&lt;br /&gt;
* Mach tuck in transonic/supersonic regime.&lt;br /&gt;
&lt;br /&gt;
====Flight control system====&lt;br /&gt;
* Autopilot with 3 modes: stability assist, attitude hold, and altitude hold. Autothrottle intended for landing, with speed and AoA hold modes.&lt;br /&gt;
* Foreplane flaps are linked to the landing gear.&lt;br /&gt;
* Elevon and rudder deflection is limited depending on hydraulic pressure, air density and speed.&lt;br /&gt;
* Filter based pitch, yaw and roll dampers lets the pilot control the plane without adverse effects such as turbulence, dutch roll, accelerated rolls and pitch oscillations which would otherwise be present.&lt;br /&gt;
* Gear will not retract on runway, and not extend above certain speeds.&lt;br /&gt;
&lt;br /&gt;
====System====&lt;br /&gt;
* Detailed electrical system based on the flight manual schematics. Includes several AC and DC bus, battery, external power, generator, ram air turbine. Each instrument and system is powered by the correct bus.&lt;br /&gt;
* Two hydraulic systems modeled, the second having a reserve pump.&lt;br /&gt;
* Terrain warning system, with HUD indication and annunciator.&lt;br /&gt;
* Open canopy can be torn off by high wind speeds.&lt;br /&gt;
* Simulated airconditioner unit, which become handy when ice or fog forms on windshield in ALS.&lt;br /&gt;
* Automated fuel system that works like in the real Viggen. It uses pneumatics, hydralics and electricity.&lt;br /&gt;
* TILS (tactical instrument landing system) that auto tunes to nearby ILS frequencies.&lt;br /&gt;
* Custom flight recorder records 53 extra properties for accurate replay functionality. Also record fidelity has been increased for smoother replay.&lt;br /&gt;
* 7 internal fuel tanks plus a drop tank that can be jettisoned.&lt;br /&gt;
&lt;br /&gt;
====Failure system====&lt;br /&gt;
* 26 extra failures beside the standard ones.&lt;br /&gt;
* Canopy motor, canopy hinges, wings attachment and individual gear locking mechanisms are preset to fail under specific conditions.&lt;br /&gt;
* Engine fire preset to start under certain conditions. Can fail engine if left burning too long.&lt;br /&gt;
* Crash-detection and high-G structural break tied into the failure system; it can randomly fail components proportional to the damage the plane takes.&lt;br /&gt;
* Damage system for getting hit by ordnance.&lt;br /&gt;
&lt;br /&gt;
====Avionics====&lt;br /&gt;
* Gauges are in metric and have Swedish descriptions. But they have [[Tooltips]], showing Imperial and English units.&lt;br /&gt;
* Switches, knobs and buttons have English text for convenience.&lt;br /&gt;
* Two custom [[Canvas]] [[HUD]] (one for each variant) built from Saab flight manual several operation modes.&lt;br /&gt;
* HUD values depend on indicated values, not real values.&lt;br /&gt;
* HUD can switch between Imperial and Metric units (JA37 only).&lt;br /&gt;
* At ILS landings the HUD will show a glideslope guide, if the runway supports it.&lt;br /&gt;
* Other HUD features such as distance scale, variant altitude scale, heading scale on horizon in landing mode, diamond at missile lock, altimeter calibration warning etc.&lt;br /&gt;
* Radar with 120 Km range that show MP and AI objects alike, simulating line of sight and pulse doppler filtering.&lt;br /&gt;
* Several complex [[Canvas]] displays (radar screen on the AJS-37, radar and HSD on the JA-37).&lt;br /&gt;
* Complex navigation system on the JA-37, allowing to load 4 mission routes and 8 return routes.&lt;br /&gt;
* Auto-start and auto shut down scripts.&lt;br /&gt;
* Very accurate sound warnings for terrain proximity, high load or AoA, speed, etc.&lt;br /&gt;
* Realistic modeled indicator panels for various warnings, alerts and notices.&lt;br /&gt;
* Datalink between JA-37, which displays aircraft positions on the HSD.&lt;br /&gt;
&lt;br /&gt;
====Engine====&lt;br /&gt;
* Volvo RM-8B (AJS37: RM-8A) turbine with accurate fuel consumption and performance in different air density and speed regimes.&lt;br /&gt;
* A thrust reverser is equipped which require proper hydraulics and electricity to work.&lt;br /&gt;
* Afterburner that has 3 continuous zones of operation.&lt;br /&gt;
&lt;br /&gt;
====Sound====&lt;br /&gt;
* 58 distinct sounds, including 19 annunciation warnings.&lt;br /&gt;
* When canopy is open wind and exterior engine sounds can be heard.&lt;br /&gt;
* No out of place sounds being played at start of sim.&lt;br /&gt;
* When guided missiles hit, the sound is propagated according to the speed of sound at the altitude, and so the explosion will be realistically delayed.&lt;br /&gt;
* Thunder (when using adv. weather) and rain sounds.&lt;br /&gt;
&lt;br /&gt;
====Armament====&lt;br /&gt;
* JA37: 30mm internal cannon, rocket pods, and RB-24J, RB-74, RB-99, RB-71 air to air missiles that can be fired at AI and MP alike.&lt;br /&gt;
* AJS37: 30mm cannon pods, rocket pods, bombs, and guided RB-75, RB-04, RB-05, M90 and RB-15F air to ground missiles. Plus 3 kinds of sidewinders.&lt;br /&gt;
* Detailed fire control system, with trigger safety, weapon selection knob (for the AJS 37).&lt;br /&gt;
* Several aiming modes for both JA37 and AJS37, including CCIP for cannon, rockets, and bombs.&lt;br /&gt;
* Radar warning receiver, with both sound and display. Warns of radar, radar lock, and incoming missiles from MP aircrafts.&lt;br /&gt;
* IFF system for multiplayer.&lt;br /&gt;
* Option to enable damage over multiplayer. No longer compatible with the [[Bombable]] addon, Sorry.&lt;br /&gt;
&lt;br /&gt;
====Model====&lt;br /&gt;
* 12 authentic Swedish Airforce and 10 fictive Flightgear liveries included.&lt;br /&gt;
* Selection view, with camera pointing to the aircraft from outside and towards the current selected MP/AI aircraft.&lt;br /&gt;
* Ubershaded exterior model and cockpit panels. Also flood light is supported if model shader is enabled.&lt;br /&gt;
* Normal mapped exterior model.&lt;br /&gt;
* Fully ALS ready, but with no light influences.&lt;br /&gt;
* Animated gear scissors, compressions and spinning wheels.&lt;br /&gt;
* Pilot eye view is tuned for getting good view of runways at landings, while at the same time give good view of HUD and instrument panel.&lt;br /&gt;
* Preloaded exterior view, for fast switching to exterior view.&lt;br /&gt;
&lt;br /&gt;
====Effects====&lt;br /&gt;
* Aerobatic smoke in yellow or blue.&lt;br /&gt;
* Wing vapour under the right atmospheric conditions.&lt;br /&gt;
* Under right conditions, contrails will form and if persistent contrail shader is on they will show also.&lt;br /&gt;
* Lights that depends on distance viewed and sun position.&lt;br /&gt;
* Beacon light that simulate rotating beacons.&lt;br /&gt;
* Frost, fog and rain splashes on canopy in ALS. They depend on canopy position, aircondition, outside/inside temperate and dewpoint and rain.&lt;br /&gt;
* Vapour cone in transonic regime.&lt;br /&gt;
* Landing light cone on runway in ALS.&lt;br /&gt;
* Explosion at crash if plane takes enough damage and has enough fuel.&lt;br /&gt;
* In ALS rain drops will form on the fuselage.&lt;br /&gt;
* Buffeting of cockpit view, at high G, on runway, transonic and high alpha, depending on altitude.&lt;br /&gt;
&lt;br /&gt;
====Multiplay====&lt;br /&gt;
* The following is transmitted and shown over MP: Gear compression, flight surfaces animation, afterburner flame, engine flame light, landing light, flash light, beacon lights, navigation lights, canopy animation, canopy detachment, wings detachment, explosion, wing vapour, engine smoke, reversers, frontgear steering, missiles, rocket pods, drop tank, transonic vapour, contrails, aerobatic smoke, external power truck, control surfaces, livery and engine heat blur.&lt;br /&gt;
* Different Viggen version are to high degree compatible with each other in [[Multiplayer]].&lt;br /&gt;
&lt;br /&gt;
====GUI====&lt;br /&gt;
* 12 [[Aircraft_Checklists|Checklists]], 9 for normal procedures and 3 for emergency procedures. Most are translations of real Viggen checklists. Complete with markers, conditions, and bindings.&lt;br /&gt;
* Performance monitor with environment stats, aerodynamic ratios, landing/takeoff distance measurement and other interesting values.&lt;br /&gt;
* Systems monitor, that reveals internal systems state.&lt;br /&gt;
* Options panel, with many configurable options.&lt;br /&gt;
&lt;br /&gt;
== Info ==&lt;br /&gt;
[https://raw.githubusercontent.com/NikolaiVChr/flightgear-saab-ja-37-viggen/master/Aircraft/JA37/changelog.txt Changelog]&lt;br /&gt;
&lt;br /&gt;
== Media ==&lt;br /&gt;
&lt;br /&gt;
=== Some HUD situations ===&lt;br /&gt;
&lt;br /&gt;
[[File:JA-37 in a bad ILS approach.png|The HUD assists with ILS landings.]]&lt;br /&gt;
[[File:JA-37 HUD during standard flight.png|This is how the HUD looks most often.]]&lt;br /&gt;
[[File:JA-37 HUD ready for takeoff.png|This is typical HUD situation before takeoff.]]&lt;br /&gt;
&lt;br /&gt;
=== Others ===&lt;br /&gt;
[[File:37 Viggen Red ghost livery.png|900x506px|Red ghost livery for the Saab JA-37 Viggen]]&lt;br /&gt;
[[File:JA-37 Soaring.png|thumb|Vapour on the Viggen in a high AoA situation.]]&lt;br /&gt;
[[File:JA-37 Transonic.png|thumb|Transonic pass of freighter]]&lt;br /&gt;
[[File:JA-37 Frontpanel.png|thumb|Frontpanel will full functioning indicator panels.]]&lt;br /&gt;
[[File:JA-37 Afterburner.png||Notice the light effect on the fuselage from the afterburner flame.]]&lt;br /&gt;
[[File:JA-37 Reversing.png||Reverse petals]]&lt;br /&gt;
[[File:JA-37 Sunset.png||Grey/black camo livery]]&lt;br /&gt;
[[File:AJS-37 Attack.png|958×507px|AJS-37 doing an attack run.]]&lt;br /&gt;
&lt;br /&gt;
See more screenshot in this gallery [https://sites.google.com/site/fghangar/ja-37-screenshots here].&lt;br /&gt;
&lt;br /&gt;
== Discord ==&lt;br /&gt;
The Flightgear Viggen has its own Discord chat server: [https://discord.gg/34CRATF Discord invite link]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.milavia.net/specials/iv_viggen/ Viggen pilot interview]&lt;br /&gt;
* [http://www.airvectors.net/avvig.html Saab 37 Viggen]&lt;br /&gt;
* {{Wikipedia|Saab 37 Viggen}}&lt;br /&gt;
&lt;br /&gt;
{{Saab}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Attack aircraft]]&lt;br /&gt;
[[Category:Canard aircraft]]&lt;br /&gt;
[[Category:Fighter aircraft]]&lt;br /&gt;
[[Category:Single-engine jets]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131614</id>
		<title>Saab 37 Viggen</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131614"/>
		<updated>2021-05-01T20:05:06Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Reorganize sections. Move features list to separate section. Add 'Help and documentation section'. Move changelog before media.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox aircraft&lt;br /&gt;
|image = Saab JA-37 Viggen Blue Peter Livery.png&lt;br /&gt;
|name = Saab 37 Viggen&lt;br /&gt;
|livery = 23 Liveries&lt;br /&gt;
|type = Fighter aircraft/Attack aircraft/STOL aircraft&lt;br /&gt;
|config = Canard aircraft/Delta-wing aircraft/Retractable gear aircraft&lt;br /&gt;
|propulsion = Single-engine jet&lt;br /&gt;
|manufacturer = Saab&lt;br /&gt;
|fdm = JSBSim&lt;br /&gt;
|status-fdm	= 4&lt;br /&gt;
|status-systems	= 5&lt;br /&gt;
|status-cockpit	= 4&lt;br /&gt;
|status-model	= 4&lt;br /&gt;
|status = Early production&lt;br /&gt;
|authors = Anders Lejczak/Justin Nicholson/Nicola B. Bernardelli/Isaac Protiva/Enrico Castaldi/Joshua Davidson/Nikolai V. Chr./Colin Geniet&lt;br /&gt;
|fgname = JA37-Viggen&lt;br /&gt;
|fgname1 = AJS37-Viggen&lt;br /&gt;
|development = https://github.com/NikolaiVChr/flightgear-saab-ja-37-viggen&lt;br /&gt;
|download = http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/JA37.zip&lt;br /&gt;
|ready = canvas/checklist&lt;br /&gt;
|license = GPLv2+&lt;br /&gt;
|forumtid = 19130&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Saab 37 Viggen''' is an all-weather attack/fighter aircraft. It had Europe's first pulse-doppler radar, and one of only two jet fighters in the world to sport reverse thrust, the other being Panavia Tornado. This version of '''JA-37 Viggen''' was manufactured from 1980-1990, and the JA 37D variant flew in the Swedish airforce until 2005. The '''AJ-37 Viggen''' was introduced in 1971, the '''AJS-37 Viggen''' in 1993.&lt;br /&gt;
&lt;br /&gt;
[[File:AJS-37 rising.png|958×507px|AJS-37 in vertical ascend.]]&lt;br /&gt;
&lt;br /&gt;
== Flightgear version ==&lt;br /&gt;
The package contains two variants: AJS-37 and JA-37Di.&lt;br /&gt;
&lt;br /&gt;
Notice that the JA37 is much more accurate and well developed than the other variants.&lt;br /&gt;
&lt;br /&gt;
===Flightgear compatibility===&lt;br /&gt;
* The latest Viggen version is compatible with Flightgear version 2020.3.1 or later.&lt;br /&gt;
&lt;br /&gt;
== Help and Documentation ==&lt;br /&gt;
Tutorial video series:&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|VGsWxUgy0Q}}&lt;br /&gt;
&lt;br /&gt;
== Feature overview ==&lt;br /&gt;
====Aerodynamics====&lt;br /&gt;
* [[JSBSim]] FDM based mostly on original Saab windtunnel data.&lt;br /&gt;
* 47 individual aerodynamic coefficients.&lt;br /&gt;
* Aerodynamic effect of air intake factor, ground effects and control surface shading.&lt;br /&gt;
* At high alpha asymmetric vortex detachment of left or right side, resulting in adverse effects.&lt;br /&gt;
* Very high alpha handling including realistic departures such as stall, spiral dive, flat spin and inverted spin.&lt;br /&gt;
* Aerodynamic response to payload. (droptank &amp;amp; armament)&lt;br /&gt;
* Aerodynamic drag from canopy open and canopy detachment.&lt;br /&gt;
* Significantly reduced lift and roll damping when wings detach.&lt;br /&gt;
* High compliance with various performance numbers. (true not indicated instrument values)&lt;br /&gt;
* Capable of landing with a heavy crosswind.&lt;br /&gt;
* Mach tuck in transonic/supersonic regime.&lt;br /&gt;
&lt;br /&gt;
====Flight control system====&lt;br /&gt;
* Autopilot with 3 modes: stability assist, attitude hold, and altitude hold. Autothrottle intended for landing, with speed and AoA hold modes.&lt;br /&gt;
* Foreplane flaps are linked to the landing gear.&lt;br /&gt;
* Elevon and rudder deflection is limited depending on hydraulic pressure, air density and speed.&lt;br /&gt;
* Filter based pitch, yaw and roll dampers lets the pilot control the plane without adverse effects such as turbulence, dutch roll, accelerated rolls and pitch oscillations which would otherwise be present.&lt;br /&gt;
* Gear will not retract on runway, and not extend above certain speeds.&lt;br /&gt;
&lt;br /&gt;
====System====&lt;br /&gt;
* Detailed electrical system based on the flight manual schematics. Includes several AC and DC bus, battery, external power, generator, ram air turbine. Each instrument and system is powered by the correct bus.&lt;br /&gt;
* Two hydraulic systems modeled, the second having a reserve pump.&lt;br /&gt;
* Terrain warning system, with HUD indication and annunciator.&lt;br /&gt;
* Open canopy can be torn off by high wind speeds.&lt;br /&gt;
* Simulated airconditioner unit, which become handy when ice or fog forms on windshield in ALS.&lt;br /&gt;
* Automated fuel system that works like in the real Viggen. It uses pneumatics, hydralics and electricity.&lt;br /&gt;
* TILS (tactical instrument landing system) that auto tunes to nearby ILS frequencies.&lt;br /&gt;
* Custom flight recorder records 53 extra properties for accurate replay functionality. Also record fidelity has been increased for smoother replay.&lt;br /&gt;
* 7 internal fuel tanks plus a drop tank that can be jettisoned.&lt;br /&gt;
&lt;br /&gt;
====Failure system====&lt;br /&gt;
* 26 extra failures beside the standard ones.&lt;br /&gt;
* Canopy motor, canopy hinges, wings attachment and individual gear locking mechanisms are preset to fail under specific conditions.&lt;br /&gt;
* Engine fire preset to start under certain conditions. Can fail engine if left burning too long.&lt;br /&gt;
* Crash-detection and high-G structural break tied into the failure system; it can randomly fail components proportional to the damage the plane takes.&lt;br /&gt;
* Damage system for getting hit by ordnance.&lt;br /&gt;
&lt;br /&gt;
====Avionics====&lt;br /&gt;
* Gauges are in metric and have Swedish descriptions. But they have [[Tooltips]], showing Imperial and English units.&lt;br /&gt;
* Switches, knobs and buttons have English text for convenience.&lt;br /&gt;
* Two custom [[Canvas]] [[HUD]] (one for each variant) built from Saab flight manual several operation modes.&lt;br /&gt;
* HUD values depend on indicated values, not real values.&lt;br /&gt;
* HUD can switch between Imperial and Metric units (JA37 only).&lt;br /&gt;
* At ILS landings the HUD will show a glideslope guide, if the runway supports it.&lt;br /&gt;
* Other HUD features such as distance scale, variant altitude scale, heading scale on horizon in landing mode, diamond at missile lock, altimeter calibration warning etc.&lt;br /&gt;
* Radar with 120 Km range that show MP and AI objects alike, simulating line of sight and pulse doppler filtering.&lt;br /&gt;
* Several complex [[Canvas]] displays (radar screen on the AJS-37, radar and HSD on the JA-37).&lt;br /&gt;
* Complex navigation system on the JA-37, allowing to load 4 mission routes and 8 return routes.&lt;br /&gt;
* Auto-start and auto shut down scripts.&lt;br /&gt;
* Very accurate sound warnings for terrain proximity, high load or AoA, speed, etc.&lt;br /&gt;
* Realistic modeled indicator panels for various warnings, alerts and notices.&lt;br /&gt;
* Datalink between JA-37, which displays aircraft positions on the HSD.&lt;br /&gt;
&lt;br /&gt;
====Engine====&lt;br /&gt;
* Volvo RM-8B (AJS37: RM-8A) turbine with accurate fuel consumption and performance in different air density and speed regimes.&lt;br /&gt;
* A thrust reverser is equipped which require proper hydraulics and electricity to work.&lt;br /&gt;
* Afterburner that has 3 continuous zones of operation.&lt;br /&gt;
&lt;br /&gt;
====Sound====&lt;br /&gt;
* 58 distinct sounds, including 19 annunciation warnings.&lt;br /&gt;
* When canopy is open wind and exterior engine sounds can be heard.&lt;br /&gt;
* No out of place sounds being played at start of sim.&lt;br /&gt;
* When guided missiles hit, the sound is propagated according to the speed of sound at the altitude, and so the explosion will be realistically delayed.&lt;br /&gt;
* Thunder (when using adv. weather) and rain sounds.&lt;br /&gt;
&lt;br /&gt;
====Armament====&lt;br /&gt;
* JA37: 30mm internal cannon, rocket pods, and RB-24J, RB-74, RB-99, RB-71 air to air missiles that can be fired at AI and MP alike.&lt;br /&gt;
* AJS37: 30mm cannon pods, rocket pods, bombs, and guided RB-75, RB-04, RB-05, M90 and RB-15F air to ground missiles. Plus 3 kinds of sidewinders.&lt;br /&gt;
* Detailed fire control system, with trigger safety, weapon selection knob (for the AJS 37).&lt;br /&gt;
* Several aiming modes for both JA37 and AJS37, including CCIP for cannon, rockets, and bombs.&lt;br /&gt;
* Radar warning receiver, with both sound and display. Warns of radar, radar lock, and incoming missiles from MP aircrafts.&lt;br /&gt;
* IFF system for multiplayer.&lt;br /&gt;
* Option to enable damage over multiplayer. No longer compatible with the [[Bombable]] addon, Sorry.&lt;br /&gt;
&lt;br /&gt;
====Model====&lt;br /&gt;
* 12 authentic Swedish Airforce and 10 fictive Flightgear liveries included.&lt;br /&gt;
* Selection view, with camera pointing to the aircraft from outside and towards the current selected MP/AI aircraft.&lt;br /&gt;
* Ubershaded exterior model and cockpit panels. Also flood light is supported if model shader is enabled.&lt;br /&gt;
* Normal mapped exterior model.&lt;br /&gt;
* Fully ALS ready, but with no light influences.&lt;br /&gt;
* Animated gear scissors, compressions and spinning wheels.&lt;br /&gt;
* Pilot eye view is tuned for getting good view of runways at landings, while at the same time give good view of HUD and instrument panel.&lt;br /&gt;
* Preloaded exterior view, for fast switching to exterior view.&lt;br /&gt;
&lt;br /&gt;
====Effects====&lt;br /&gt;
* Aerobatic smoke in yellow or blue.&lt;br /&gt;
* Wing vapour under the right atmospheric conditions.&lt;br /&gt;
* Under right conditions, contrails will form and if persistent contrail shader is on they will show also.&lt;br /&gt;
* Lights that depends on distance viewed and sun position.&lt;br /&gt;
* Beacon light that simulate rotating beacons.&lt;br /&gt;
* Frost, fog and rain splashes on canopy in ALS. They depend on canopy position, aircondition, outside/inside temperate and dewpoint and rain.&lt;br /&gt;
* Vapour cone in transonic regime.&lt;br /&gt;
* Landing light cone on runway in ALS.&lt;br /&gt;
* Explosion at crash if plane takes enough damage and has enough fuel.&lt;br /&gt;
* In ALS rain drops will form on the fuselage.&lt;br /&gt;
* Buffeting of cockpit view, at high G, on runway, transonic and high alpha, depending on altitude.&lt;br /&gt;
&lt;br /&gt;
====Multiplay====&lt;br /&gt;
* The following is transmitted and shown over MP: Gear compression, flight surfaces animation, afterburner flame, engine flame light, landing light, flash light, beacon lights, navigation lights, canopy animation, canopy detachment, wings detachment, explosion, wing vapour, engine smoke, reversers, frontgear steering, missiles, rocket pods, drop tank, transonic vapour, contrails, aerobatic smoke, external power truck, control surfaces, livery and engine heat blur.&lt;br /&gt;
* Different Viggen version are to high degree compatible with each other in [[Multiplayer]].&lt;br /&gt;
&lt;br /&gt;
====GUI====&lt;br /&gt;
* 12 [[Aircraft_Checklists|Checklists]], 9 for normal procedures and 3 for emergency procedures. Most are translations of real Viggen checklists. Complete with markers, conditions, and bindings.&lt;br /&gt;
* Performance monitor with environment stats, aerodynamic ratios, landing/takeoff distance measurement and other interesting values.&lt;br /&gt;
* Systems monitor, that reveals internal systems state.&lt;br /&gt;
* Options panel, with many configurable options.&lt;br /&gt;
&lt;br /&gt;
== Info ==&lt;br /&gt;
[https://raw.githubusercontent.com/NikolaiVChr/flightgear-saab-ja-37-viggen/master/Aircraft/JA37/changelog.txt Changelog]&lt;br /&gt;
&lt;br /&gt;
== Media ==&lt;br /&gt;
&lt;br /&gt;
=== Some HUD situations ===&lt;br /&gt;
&lt;br /&gt;
[[File:JA-37 in a bad ILS approach.png|The HUD assists with ILS landings.]]&lt;br /&gt;
[[File:JA-37 HUD during standard flight.png|This is how the HUD looks most often.]]&lt;br /&gt;
[[File:JA-37 HUD ready for takeoff.png|This is typical HUD situation before takeoff.]]&lt;br /&gt;
&lt;br /&gt;
=== Others ===&lt;br /&gt;
[[File:37 Viggen Red ghost livery.png|900x506px|Red ghost livery for the Saab JA-37 Viggen]]&lt;br /&gt;
[[File:JA-37 Soaring.png|thumb|Vapour on the Viggen in a high AoA situation.]]&lt;br /&gt;
[[File:JA-37 Transonic.png|thumb|Transonic pass of freighter]]&lt;br /&gt;
[[File:JA-37 Frontpanel.png|thumb|Frontpanel will full functioning indicator panels.]]&lt;br /&gt;
[[File:JA-37 Afterburner.png||Notice the light effect on the fuselage from the afterburner flame.]]&lt;br /&gt;
[[File:JA-37 Reversing.png||Reverse petals]]&lt;br /&gt;
[[File:JA-37 Sunset.png||Grey/black camo livery]]&lt;br /&gt;
[[File:AJS-37 Attack.png|958×507px|AJS-37 doing an attack run.]]&lt;br /&gt;
&lt;br /&gt;
See more screenshot in this gallery [https://sites.google.com/site/fghangar/ja-37-screenshots here].&lt;br /&gt;
&lt;br /&gt;
== Discord ==&lt;br /&gt;
The Flightgear Viggen has its own Discord chat server: [https://discord.gg/34CRATF Discord invite link]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.milavia.net/specials/iv_viggen/ Viggen pilot interview]&lt;br /&gt;
* [http://www.airvectors.net/avvig.html Saab 37 Viggen]&lt;br /&gt;
* {{Wikipedia|Saab 37 Viggen}}&lt;br /&gt;
&lt;br /&gt;
{{Saab}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Attack aircraft]]&lt;br /&gt;
[[Category:Canard aircraft]]&lt;br /&gt;
[[Category:Fighter aircraft]]&lt;br /&gt;
[[Category:Single-engine jets]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131613</id>
		<title>Saab 37 Viggen</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131613"/>
		<updated>2021-05-01T19:58:17Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Many additions and updates to the features list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox aircraft&lt;br /&gt;
|image = Saab JA-37 Viggen Blue Peter Livery.png&lt;br /&gt;
|name = Saab 37 Viggen&lt;br /&gt;
|livery = 23 Liveries&lt;br /&gt;
|type = Fighter aircraft/Attack aircraft/STOL aircraft&lt;br /&gt;
|config = Canard aircraft/Delta-wing aircraft/Retractable gear aircraft&lt;br /&gt;
|propulsion = Single-engine jet&lt;br /&gt;
|manufacturer = Saab&lt;br /&gt;
|fdm = JSBSim&lt;br /&gt;
|status-fdm	= 4&lt;br /&gt;
|status-systems	= 5&lt;br /&gt;
|status-cockpit	= 4&lt;br /&gt;
|status-model	= 4&lt;br /&gt;
|status = Early production&lt;br /&gt;
|authors = Anders Lejczak/Justin Nicholson/Nicola B. Bernardelli/Isaac Protiva/Enrico Castaldi/Joshua Davidson/Nikolai V. Chr./Colin Geniet&lt;br /&gt;
|fgname = JA37-Viggen&lt;br /&gt;
|fgname1 = AJS37-Viggen&lt;br /&gt;
|development = https://github.com/NikolaiVChr/flightgear-saab-ja-37-viggen&lt;br /&gt;
|download = http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/JA37.zip&lt;br /&gt;
|ready = canvas/checklist&lt;br /&gt;
|license = GPLv2+&lt;br /&gt;
|forumtid = 19130&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Saab 37 Viggen''' is an all-weather attack/fighter aircraft. It had Europe's first pulse-doppler radar, and one of only two jet fighters in the world to sport reverse thrust, the other being Panavia Tornado. This version of '''JA-37 Viggen''' was manufactured from 1980-1990, and the JA 37D variant flew in the Swedish airforce until 2005. The '''AJ-37 Viggen''' was introduced in 1971, the '''AJS-37 Viggen''' in 1993.&lt;br /&gt;
&lt;br /&gt;
[[File:AJS-37 rising.png|958×507px|AJS-37 in vertical ascend.]]&lt;br /&gt;
&lt;br /&gt;
== Flightgear version ==&lt;br /&gt;
The package contains two variants: AJS-37 and JA-37Di.&lt;br /&gt;
&lt;br /&gt;
Notice that the JA37 is much more accurate and well developed than the other variants.&lt;br /&gt;
&lt;br /&gt;
=== Feature overview ===&lt;br /&gt;
====Flightgear compatibility====&lt;br /&gt;
* The latest Viggen version is compatible with Flightgear version 2020.3.1 or later.&lt;br /&gt;
&lt;br /&gt;
====Aerodynamics====&lt;br /&gt;
* [[JSBSim]] FDM based mostly on original Saab windtunnel data.&lt;br /&gt;
* 47 individual aerodynamic coefficients.&lt;br /&gt;
* Aerodynamic effect of air intake factor, ground effects and control surface shading.&lt;br /&gt;
* At high alpha asymmetric vortex detachment of left or right side, resulting in adverse effects.&lt;br /&gt;
* Very high alpha handling including realistic departures such as stall, spiral dive, flat spin and inverted spin.&lt;br /&gt;
* Aerodynamic response to payload. (droptank &amp;amp; armament)&lt;br /&gt;
* Aerodynamic drag from canopy open and canopy detachment.&lt;br /&gt;
* Significantly reduced lift and roll damping when wings detach.&lt;br /&gt;
* High compliance with various performance numbers. (true not indicated instrument values)&lt;br /&gt;
* Capable of landing with a heavy crosswind.&lt;br /&gt;
* Mach tuck in transonic/supersonic regime.&lt;br /&gt;
&lt;br /&gt;
====Flight control system====&lt;br /&gt;
* Autopilot with 3 modes: stability assist, attitude hold, and altitude hold. Autothrottle intended for landing, with speed and AoA hold modes.&lt;br /&gt;
* Foreplane flaps are linked to the landing gear.&lt;br /&gt;
* Elevon and rudder deflection is limited depending on hydraulic pressure, air density and speed.&lt;br /&gt;
* Filter based pitch, yaw and roll dampers lets the pilot control the plane without adverse effects such as turbulence, dutch roll, accelerated rolls and pitch oscillations which would otherwise be present.&lt;br /&gt;
* Gear will not retract on runway, and not extend above certain speeds.&lt;br /&gt;
&lt;br /&gt;
====System====&lt;br /&gt;
* Detailed electrical system based on the flight manual schematics. Includes several AC and DC bus, battery, external power, generator, ram air turbine. Each instrument and system is powered by the correct bus.&lt;br /&gt;
* Two hydraulic systems modeled, the second having a reserve pump.&lt;br /&gt;
* Terrain warning system, with HUD indication and annunciator.&lt;br /&gt;
* Open canopy can be torn off by high wind speeds.&lt;br /&gt;
* Simulated airconditioner unit, which become handy when ice or fog forms on windshield in ALS.&lt;br /&gt;
* Automated fuel system that works like in the real Viggen. It uses pneumatics, hydralics and electricity.&lt;br /&gt;
* TILS (tactical instrument landing system) that auto tunes to nearby ILS frequencies.&lt;br /&gt;
* Custom flight recorder records 53 extra properties for accurate replay functionality. Also record fidelity has been increased for smoother replay.&lt;br /&gt;
* 7 internal fuel tanks plus a drop tank that can be jettisoned.&lt;br /&gt;
&lt;br /&gt;
====Failure system====&lt;br /&gt;
* 26 extra failures beside the standard ones.&lt;br /&gt;
* Canopy motor, canopy hinges, wings attachment and individual gear locking mechanisms are preset to fail under specific conditions.&lt;br /&gt;
* Engine fire preset to start under certain conditions. Can fail engine if left burning too long.&lt;br /&gt;
* Crash-detection and high-G structural break tied into the failure system; it can randomly fail components proportional to the damage the plane takes.&lt;br /&gt;
* Damage system for getting hit by ordnance.&lt;br /&gt;
&lt;br /&gt;
====Avionics====&lt;br /&gt;
* Gauges are in metric and have Swedish descriptions. But they have [[Tooltips]], showing Imperial and English units.&lt;br /&gt;
* Switches, knobs and buttons have English text for convenience.&lt;br /&gt;
* Two custom [[Canvas]] [[HUD]] (one for each variant) built from Saab flight manual several operation modes.&lt;br /&gt;
* HUD values depend on indicated values, not real values.&lt;br /&gt;
* HUD can switch between Imperial and Metric units (JA37 only).&lt;br /&gt;
* At ILS landings the HUD will show a glideslope guide, if the runway supports it.&lt;br /&gt;
* Other HUD features such as distance scale, variant altitude scale, heading scale on horizon in landing mode, diamond at missile lock, altimeter calibration warning etc.&lt;br /&gt;
* Radar with 120 Km range that show MP and AI objects alike, simulating line of sight and pulse doppler filtering.&lt;br /&gt;
* Several complex [[Canvas]] displays (radar screen on the AJS-37, radar and HSD on the JA-37).&lt;br /&gt;
* Complex navigation system on the JA-37, allowing to load 4 mission routes and 8 return routes.&lt;br /&gt;
* Auto-start and auto shut down scripts.&lt;br /&gt;
* Very accurate sound warnings for terrain proximity, high load or AoA, speed, etc.&lt;br /&gt;
* Realistic modeled indicator panels for various warnings, alerts and notices.&lt;br /&gt;
* Datalink between JA-37, which displays aircraft positions on the HSD.&lt;br /&gt;
&lt;br /&gt;
====Engine====&lt;br /&gt;
* Volvo RM-8B (AJS37: RM-8A) turbine with accurate fuel consumption and performance in different air density and speed regimes.&lt;br /&gt;
* A thrust reverser is equipped which require proper hydraulics and electricity to work.&lt;br /&gt;
* Afterburner that has 3 continuous zones of operation.&lt;br /&gt;
&lt;br /&gt;
====Sound====&lt;br /&gt;
* 58 distinct sounds, including 19 annunciation warnings.&lt;br /&gt;
* When canopy is open wind and exterior engine sounds can be heard.&lt;br /&gt;
* No out of place sounds being played at start of sim.&lt;br /&gt;
* When guided missiles hit, the sound is propagated according to the speed of sound at the altitude, and so the explosion will be realistically delayed.&lt;br /&gt;
* Thunder (when using adv. weather) and rain sounds.&lt;br /&gt;
&lt;br /&gt;
====Armament====&lt;br /&gt;
* JA37: 30mm internal cannon, rocket pods, and RB-24J, RB-74, RB-99, RB-71 air to air missiles that can be fired at AI and MP alike.&lt;br /&gt;
* AJS37: 30mm cannon pods, rocket pods, bombs, and guided RB-75, RB-04, RB-05, M90 and RB-15F air to ground missiles. Plus 3 kinds of sidewinders.&lt;br /&gt;
* Detailed fire control system, with trigger safety, weapon selection knob (for the AJS 37).&lt;br /&gt;
* Several aiming modes for both JA37 and AJS37, including CCIP for cannon, rockets, and bombs.&lt;br /&gt;
* Radar warning receiver, with both sound and display. Warns of radar, radar lock, and incoming missiles from MP aircrafts.&lt;br /&gt;
* IFF system for multiplayer.&lt;br /&gt;
* Option to enable damage over multiplayer. No longer compatible with the [[Bombable]] addon, Sorry.&lt;br /&gt;
&lt;br /&gt;
====Model====&lt;br /&gt;
* 12 authentic Swedish Airforce and 10 fictive Flightgear liveries included.&lt;br /&gt;
* Selection view, with camera pointing to the aircraft from outside and towards the current selected MP/AI aircraft.&lt;br /&gt;
* Ubershaded exterior model and cockpit panels. Also flood light is supported if model shader is enabled.&lt;br /&gt;
* Normal mapped exterior model.&lt;br /&gt;
* Fully ALS ready, but with no light influences.&lt;br /&gt;
* Animated gear scissors, compressions and spinning wheels.&lt;br /&gt;
* Pilot eye view is tuned for getting good view of runways at landings, while at the same time give good view of HUD and instrument panel.&lt;br /&gt;
* Preloaded exterior view, for fast switching to exterior view.&lt;br /&gt;
&lt;br /&gt;
====Effects====&lt;br /&gt;
* Aerobatic smoke in yellow or blue.&lt;br /&gt;
* Wing vapour under the right atmospheric conditions.&lt;br /&gt;
* Under right conditions, contrails will form and if persistent contrail shader is on they will show also.&lt;br /&gt;
* Lights that depends on distance viewed and sun position.&lt;br /&gt;
* Beacon light that simulate rotating beacons.&lt;br /&gt;
* Frost, fog and rain splashes on canopy in ALS. They depend on canopy position, aircondition, outside/inside temperate and dewpoint and rain.&lt;br /&gt;
* Vapour cone in transonic regime.&lt;br /&gt;
* Landing light cone on runway in ALS.&lt;br /&gt;
* Explosion at crash if plane takes enough damage and has enough fuel.&lt;br /&gt;
* In ALS rain drops will form on the fuselage.&lt;br /&gt;
* Buffeting of cockpit view, at high G, on runway, transonic and high alpha, depending on altitude.&lt;br /&gt;
&lt;br /&gt;
====Multiplay====&lt;br /&gt;
* The following is transmitted and shown over MP: Gear compression, flight surfaces animation, afterburner flame, engine flame light, landing light, flash light, beacon lights, navigation lights, canopy animation, canopy detachment, wings detachment, explosion, wing vapour, engine smoke, reversers, frontgear steering, missiles, rocket pods, drop tank, transonic vapour, contrails, aerobatic smoke, external power truck, control surfaces, livery and engine heat blur.&lt;br /&gt;
* Different Viggen version are to high degree compatible with each other in [[Multiplayer]].&lt;br /&gt;
&lt;br /&gt;
====GUI====&lt;br /&gt;
* 12 [[Aircraft_Checklists|Checklists]], 9 for normal procedures and 3 for emergency procedures. Most are translations of real Viggen checklists. Complete with markers, conditions, and bindings.&lt;br /&gt;
* Performance monitor with environment stats, aerodynamic ratios, landing/takeoff distance measurement and other interesting values.&lt;br /&gt;
* Systems monitor, that reveals internal systems state.&lt;br /&gt;
* Options panel, with many configurable options.&lt;br /&gt;
&lt;br /&gt;
=== Some HUD situations ===&lt;br /&gt;
&lt;br /&gt;
[[File:JA-37 in a bad ILS approach.png|The HUD assists with ILS landings.]]&lt;br /&gt;
[[File:JA-37 HUD during standard flight.png|This is how the HUD looks most often.]]&lt;br /&gt;
[[File:JA-37 HUD ready for takeoff.png|This is typical HUD situation before takeoff.]]&lt;br /&gt;
&lt;br /&gt;
=== Media ===&lt;br /&gt;
[[File:37 Viggen Red ghost livery.png|900x506px|Red ghost livery for the Saab JA-37 Viggen]]&lt;br /&gt;
[[File:JA-37 Soaring.png|thumb|Vapour on the Viggen in a high AoA situation.]]&lt;br /&gt;
[[File:JA-37 Transonic.png|thumb|Transonic pass of freighter]]&lt;br /&gt;
[[File:JA-37 Frontpanel.png|thumb|Frontpanel will full functioning indicator panels.]]&lt;br /&gt;
[[File:JA-37 Afterburner.png||Notice the light effect on the fuselage from the afterburner flame.]]&lt;br /&gt;
[[File:JA-37 Reversing.png||Reverse petals]]&lt;br /&gt;
[[File:JA-37 Sunset.png||Grey/black camo livery]]&lt;br /&gt;
[[File:AJS-37 Attack.png|958×507px|AJS-37 doing an attack run.]]&lt;br /&gt;
&lt;br /&gt;
See more screenshot in this gallery [https://sites.google.com/site/fghangar/ja-37-screenshots here].&lt;br /&gt;
&lt;br /&gt;
Tutorial video series:&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|VGsWxUgy0Q}}&lt;br /&gt;
&lt;br /&gt;
=== Info ===&lt;br /&gt;
[https://raw.githubusercontent.com/NikolaiVChr/flightgear-saab-ja-37-viggen/master/Aircraft/JA37/changelog.txt Changelog]&lt;br /&gt;
&lt;br /&gt;
== Discord ==&lt;br /&gt;
The Flightgear Viggen has its own Discord chat server: [https://discord.gg/34CRATF Discord invite link]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.milavia.net/specials/iv_viggen/ Viggen pilot interview]&lt;br /&gt;
* [http://www.airvectors.net/avvig.html Saab 37 Viggen]&lt;br /&gt;
* {{Wikipedia|Saab 37 Viggen}}&lt;br /&gt;
&lt;br /&gt;
{{Saab}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Attack aircraft]]&lt;br /&gt;
[[Category:Canard aircraft]]&lt;br /&gt;
[[Category:Fighter aircraft]]&lt;br /&gt;
[[Category:Single-engine jets]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131612</id>
		<title>Saab 37 Viggen</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131612"/>
		<updated>2021-05-01T19:35:24Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Many updates to the features list, mainly removing outdated stuff&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox aircraft&lt;br /&gt;
|image = Saab JA-37 Viggen Blue Peter Livery.png&lt;br /&gt;
|name = Saab 37 Viggen&lt;br /&gt;
|livery = 23 Liveries&lt;br /&gt;
|type = Fighter aircraft/Attack aircraft/STOL aircraft&lt;br /&gt;
|config = Canard aircraft/Delta-wing aircraft/Retractable gear aircraft&lt;br /&gt;
|propulsion = Single-engine jet&lt;br /&gt;
|manufacturer = Saab&lt;br /&gt;
|fdm = JSBSim&lt;br /&gt;
|status-fdm	= 4&lt;br /&gt;
|status-systems	= 5&lt;br /&gt;
|status-cockpit	= 4&lt;br /&gt;
|status-model	= 4&lt;br /&gt;
|status = Early production&lt;br /&gt;
|authors = Anders Lejczak/Justin Nicholson/Nicola B. Bernardelli/Isaac Protiva/Enrico Castaldi/Joshua Davidson/Nikolai V. Chr./Colin Geniet&lt;br /&gt;
|fgname = JA37-Viggen&lt;br /&gt;
|fgname1 = AJS37-Viggen&lt;br /&gt;
|development = https://github.com/NikolaiVChr/flightgear-saab-ja-37-viggen&lt;br /&gt;
|download = http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/JA37.zip&lt;br /&gt;
|ready = canvas/checklist&lt;br /&gt;
|license = GPLv2+&lt;br /&gt;
|forumtid = 19130&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Saab 37 Viggen''' is an all-weather attack/fighter aircraft. It had Europe's first pulse-doppler radar, and one of only two jet fighters in the world to sport reverse thrust, the other being Panavia Tornado. This version of '''JA-37 Viggen''' was manufactured from 1980-1990, and the JA 37D variant flew in the Swedish airforce until 2005. The '''AJ-37 Viggen''' was introduced in 1971, the '''AJS-37 Viggen''' in 1993.&lt;br /&gt;
&lt;br /&gt;
[[File:AJS-37 rising.png|958×507px|AJS-37 in vertical ascend.]]&lt;br /&gt;
&lt;br /&gt;
== Flightgear version ==&lt;br /&gt;
The package contains two variants: AJS-37 and JA-37Di.&lt;br /&gt;
&lt;br /&gt;
Notice that the JA37 is much more accurate and well developed than the other variants.&lt;br /&gt;
&lt;br /&gt;
=== Feature overview ===&lt;br /&gt;
====Flightgear compatibility====&lt;br /&gt;
* The latest Viggen version is compatible with Flightgear version 2020.3.1 or later.&lt;br /&gt;
&lt;br /&gt;
====Aerodynamics====&lt;br /&gt;
* [[JSBSim]] FDM based mostly on original Saab windtunnel data.&lt;br /&gt;
* 47 individual aerodynamic coefficients.&lt;br /&gt;
* Aerodynamic effect of air intake factor, ground effects and control surface shading.&lt;br /&gt;
* At high alpha asymmetric vortex detachment of left or right side, resulting in adverse effects.&lt;br /&gt;
* Very high alpha handling including realistic departures such as stall, spiral dive, flat spin and inverted spin.&lt;br /&gt;
* Aerodynamic response to payload. (droptank &amp;amp; armament)&lt;br /&gt;
* Aerodynamic drag from canopy open and canopy detachment.&lt;br /&gt;
* Significantly reduced lift and roll damping when wings detach.&lt;br /&gt;
* High compliance with various performance numbers. (true not indicated instrument values)&lt;br /&gt;
* Capable of landing with a heavy crosswind.&lt;br /&gt;
* Mach tuck in transonic/supersonic regime.&lt;br /&gt;
&lt;br /&gt;
====Flight control system====&lt;br /&gt;
* Tuned [[autopilot]] based on indicated instrument values, not true values. All settings supported except speed controlled from pitch.&lt;br /&gt;
* A/P can be set to follow other aircraft.&lt;br /&gt;
* Automatically controlled flaps.&lt;br /&gt;
* Elevon and rudder deflection is limited depending on hydraulic pressure, air density and speed.&lt;br /&gt;
* Filter based pitch, yaw and roll dampers lets the pilot control the plane without adverse effects such as turbulence, dutch roll, accelerated rolls and pitch oscillations which would otherwise be present.&lt;br /&gt;
* Nose wheel steering lock and limiting depending on ground speed.&lt;br /&gt;
* Gear will not retract on runway, and not extend above certain speeds.&lt;br /&gt;
&lt;br /&gt;
====System====&lt;br /&gt;
* External power supply truck, generator or reserve generator produces AC voltages.&lt;br /&gt;
* DC voltage converted from AC or from battery.&lt;br /&gt;
* Battery drain and recharge.&lt;br /&gt;
* Instrument and landing light dims when not getting enough power and various systems shut down.&lt;br /&gt;
* Two hydraulic systems modeled, the second having a reserve pump.&lt;br /&gt;
* Terrain warning system, with HUD indication and annunciator.&lt;br /&gt;
* Open canopy can be torn off by high wind speeds.&lt;br /&gt;
* Simulated airconditioner unit, which become handy when ice or fog forms on windshield in ALS.&lt;br /&gt;
* Automated fuel system that works like in the real Viggen. It uses pneumatics, hydralics and electricity. It can be controlled manually also.&lt;br /&gt;
* TILS (tactical instrument landing system) that auto tunes to nearby ILS frequencies.&lt;br /&gt;
* Custom flight recorder records 53 extra properties for accurate replay functionality. Also record fidelity has been increased for smoother replay.&lt;br /&gt;
* 7 internal fuel tanks plus a drop tank that can be jettisoned.&lt;br /&gt;
&lt;br /&gt;
====Failure system====&lt;br /&gt;
* 26 extra failures beside the standard ones.&lt;br /&gt;
* Canopy motor, canopy hinges, wings attachment and individual gear locking mechanisms are preset to fail under specific conditions.&lt;br /&gt;
* Engine fire preset to start under certain conditions. Can fail engine if left burning too long.&lt;br /&gt;
* Crash-detection and high-G structural break tied into the failure system; it can randomly fail components proportional to the damage the plane takes.&lt;br /&gt;
* Damage system for getting hit by ordnance.&lt;br /&gt;
&lt;br /&gt;
====Avionics====&lt;br /&gt;
* The cockpit features 77 working controls.&lt;br /&gt;
* Gauges are in metric and have Swedish descriptions. But they have [[Tooltips]], showing Imperial and English units.&lt;br /&gt;
* Switches, knobs and buttons have English text for convenience.&lt;br /&gt;
* Custom [[Canvas]] [[HUD]] built from Saab flight manual with 4 modes of operation: navigation, landing, takeoff and tactical.&lt;br /&gt;
* HUD values depend on indicated values, not real values.&lt;br /&gt;
* HUD can switch between Imperial and Metric units.&lt;br /&gt;
* At ILS landings the HUD will show a glideslope guide, if the runway supports it.&lt;br /&gt;
* Other HUD features such as distance scale, variant altitude scale, heading scale on horizon in landing mode, diamond at missile lock, altimeter calibration warning etc.&lt;br /&gt;
* Radar with 120 Km range that show MP and AI objects alike, simulating line of sight and pulse doppler filtering.&lt;br /&gt;
* Auto-start and auto shut down scripts.&lt;br /&gt;
* Realistic modeled indicator panels for various warnings, alerts and notices.&lt;br /&gt;
&lt;br /&gt;
====Engine====&lt;br /&gt;
* Volvo RM-8B (AJS37: RM-8A) turbine with accurate fuel consumption and performance in different air density and speed regimes.&lt;br /&gt;
* A thrust reverser is equipped which require proper hydraulics and electricity to work.&lt;br /&gt;
* Afterburner that has 3 continuous zones of operation.&lt;br /&gt;
&lt;br /&gt;
====Sound====&lt;br /&gt;
* 58 distinct sounds, including 19 annunciation warnings.&lt;br /&gt;
* When canopy is open wind and exterior engine sounds can be heard.&lt;br /&gt;
* No out of place sounds being played at start of sim.&lt;br /&gt;
* When guided missiles hit, the sound is propagated according to the speed of sound at the altitude, and so the explosion will be realistically delayed.&lt;br /&gt;
* Annunciator will warn of incoming guided air to air missile from ja37, m2000-5, f-15 or f-14b. It will also say from which direction.&lt;br /&gt;
* Thunder (when using adv. weather) and rain sounds.&lt;br /&gt;
&lt;br /&gt;
====Armament====&lt;br /&gt;
* JA37: 30mm Cannon with authentic shell properties and accurate recoil.&lt;br /&gt;
* JA37: Unguided rocket pods and guided RB-24J, RB-74, RB-99 and RB-71 air2air missiles, that can be fired at AI and MP alike.&lt;br /&gt;
* AJS37: Unguided rocket and cannon pods, bombs, and guided RB-75, RB-04, RB-05, M90 and RB-15F air2ground missiles. Plus 3 kinds of sidewinders.&lt;br /&gt;
* RB-24 / RB-24J works as rear aspect only.&lt;br /&gt;
* Dual releasing flares that work against RB24, RB-24J and RB74.&lt;br /&gt;
* No longer compatible with the [[Bombable]] addon. Sorry.&lt;br /&gt;
* M71 dumb bombs with CCIP aiming.&lt;br /&gt;
&lt;br /&gt;
====Model====&lt;br /&gt;
* 12 authentic Swedish Airforce and 10 fictive Flightgear liveries included.&lt;br /&gt;
* Selection view, with camera pointing to the aircraft from outside and towards the current selected MP/AI aircraft.&lt;br /&gt;
* Ubershaded exterior model and cockpit panels. Also flood light is supported if model shader is enabled.&lt;br /&gt;
* Normal mapped exterior model.&lt;br /&gt;
* Fully ALS ready, but with no light influences.&lt;br /&gt;
* Animated gear scissors, compressions and spinning wheels.&lt;br /&gt;
* Pilot eye view is tuned for getting good view of runways at landings, while at the same time give good view of HUD and instrument panel.&lt;br /&gt;
* Preloaded exterior view, for fast switching to exterior view.&lt;br /&gt;
&lt;br /&gt;
====Effects====&lt;br /&gt;
* Aerobatic smoke in yellow or blue.&lt;br /&gt;
* Wing vapour under the right atmospheric conditions.&lt;br /&gt;
* Under right conditions, contrails will form and if persistent contrail shader is on they will show also.&lt;br /&gt;
* Lights that depends on distance viewed and sun position.&lt;br /&gt;
* Beacon light that simulate rotating beacons.&lt;br /&gt;
* Frost, fog and rain splashes on canopy in ALS. They depend on canopy position, aircondition, outside/inside temperate and dewpoint and rain.&lt;br /&gt;
* Vapour cone in transonic regime.&lt;br /&gt;
* Landing light cone on runway in ALS.&lt;br /&gt;
* Explosion at crash if plane takes enough damage and has enough fuel.&lt;br /&gt;
* In ALS rain drops will form on the fuselage.&lt;br /&gt;
* Buffeting of cockpit view, at high G, on runway, transonic and high alpha, depending on altitude.&lt;br /&gt;
&lt;br /&gt;
====Multiplay====&lt;br /&gt;
* The following is transmitted and shown over MP: Gear compression, flight surfaces animation, afterburner flame, engine flame light, landing light, flash light, beacon lights, navigation lights, canopy animation, canopy detachment, wings detachment, explosion, wing vapour, engine smoke, reversers, frontgear steering, missiles, rocket pods, drop tank, transonic vapour, contrails, aerobatic smoke, external power truck, control surfaces, livery and engine heat blur.&lt;br /&gt;
* Different Viggen version are to high degree compatible with each other in [[Multiplayer]].&lt;br /&gt;
&lt;br /&gt;
====GUI====&lt;br /&gt;
* 4 [[Aircraft_Checklists|Checklists]]; startup with ext. power, startup with battery, takeoff and landing.&lt;br /&gt;
* Performance monitor with environment stats, aerodynamic ratios, landing/takeoff distance measurement and other interesting values.&lt;br /&gt;
* Systems monitor, that reveals internal systems state.&lt;br /&gt;
* Options panel, with many configurable options.&lt;br /&gt;
&lt;br /&gt;
=== Some HUD situations ===&lt;br /&gt;
&lt;br /&gt;
[[File:JA-37 in a bad ILS approach.png|The HUD assists with ILS landings.]]&lt;br /&gt;
[[File:JA-37 HUD during standard flight.png|This is how the HUD looks most often.]]&lt;br /&gt;
[[File:JA-37 HUD ready for takeoff.png|This is typical HUD situation before takeoff.]]&lt;br /&gt;
&lt;br /&gt;
=== Media ===&lt;br /&gt;
[[File:37 Viggen Red ghost livery.png|900x506px|Red ghost livery for the Saab JA-37 Viggen]]&lt;br /&gt;
[[File:JA-37 Soaring.png|thumb|Vapour on the Viggen in a high AoA situation.]]&lt;br /&gt;
[[File:JA-37 Transonic.png|thumb|Transonic pass of freighter]]&lt;br /&gt;
[[File:JA-37 Frontpanel.png|thumb|Frontpanel will full functioning indicator panels.]]&lt;br /&gt;
[[File:JA-37 Afterburner.png||Notice the light effect on the fuselage from the afterburner flame.]]&lt;br /&gt;
[[File:JA-37 Reversing.png||Reverse petals]]&lt;br /&gt;
[[File:JA-37 Sunset.png||Grey/black camo livery]]&lt;br /&gt;
[[File:AJS-37 Attack.png|958×507px|AJS-37 doing an attack run.]]&lt;br /&gt;
&lt;br /&gt;
See more screenshot in this gallery [https://sites.google.com/site/fghangar/ja-37-screenshots here].&lt;br /&gt;
&lt;br /&gt;
Tutorial video series:&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|VGsWxUgy0Q}}&lt;br /&gt;
&lt;br /&gt;
=== Info ===&lt;br /&gt;
[https://raw.githubusercontent.com/NikolaiVChr/flightgear-saab-ja-37-viggen/master/Aircraft/JA37/changelog.txt Changelog]&lt;br /&gt;
&lt;br /&gt;
== Discord ==&lt;br /&gt;
The Flightgear Viggen has its own Discord chat server: [https://discord.gg/34CRATF Discord invite link]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.milavia.net/specials/iv_viggen/ Viggen pilot interview]&lt;br /&gt;
* [http://www.airvectors.net/avvig.html Saab 37 Viggen]&lt;br /&gt;
* {{Wikipedia|Saab 37 Viggen}}&lt;br /&gt;
&lt;br /&gt;
{{Saab}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Attack aircraft]]&lt;br /&gt;
[[Category:Canard aircraft]]&lt;br /&gt;
[[Category:Fighter aircraft]]&lt;br /&gt;
[[Category:Single-engine jets]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131611</id>
		<title>Saab 37 Viggen</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131611"/>
		<updated>2021-05-01T19:29:29Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Update minimum supported FG version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox aircraft&lt;br /&gt;
|image = Saab JA-37 Viggen Blue Peter Livery.png&lt;br /&gt;
|name = Saab 37 Viggen&lt;br /&gt;
|livery = 23 Liveries&lt;br /&gt;
|type = Fighter aircraft/Attack aircraft/STOL aircraft&lt;br /&gt;
|config = Canard aircraft/Delta-wing aircraft/Retractable gear aircraft&lt;br /&gt;
|propulsion = Single-engine jet&lt;br /&gt;
|manufacturer = Saab&lt;br /&gt;
|fdm = JSBSim&lt;br /&gt;
|status-fdm	= 4&lt;br /&gt;
|status-systems	= 5&lt;br /&gt;
|status-cockpit	= 4&lt;br /&gt;
|status-model	= 4&lt;br /&gt;
|status = Early production&lt;br /&gt;
|authors = Anders Lejczak/Justin Nicholson/Nicola B. Bernardelli/Isaac Protiva/Enrico Castaldi/Joshua Davidson/Nikolai V. Chr./Colin Geniet&lt;br /&gt;
|fgname = JA37-Viggen&lt;br /&gt;
|fgname1 = AJS37-Viggen&lt;br /&gt;
|development = https://github.com/NikolaiVChr/flightgear-saab-ja-37-viggen&lt;br /&gt;
|download = http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/JA37.zip&lt;br /&gt;
|ready = canvas/checklist&lt;br /&gt;
|license = GPLv2+&lt;br /&gt;
|forumtid = 19130&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Saab 37 Viggen''' is an all-weather attack/fighter aircraft. It had Europe's first pulse-doppler radar, and one of only two jet fighters in the world to sport reverse thrust, the other being Panavia Tornado. This version of '''JA-37 Viggen''' was manufactured from 1980-1990, and the JA 37D variant flew in the Swedish airforce until 2005. The '''AJ-37 Viggen''' was introduced in 1971, the '''AJS-37 Viggen''' in 1993.&lt;br /&gt;
&lt;br /&gt;
[[File:AJS-37 rising.png|958×507px|AJS-37 in vertical ascend.]]&lt;br /&gt;
&lt;br /&gt;
== Flightgear version ==&lt;br /&gt;
The package contains two variants: AJS-37 and JA-37Di.&lt;br /&gt;
&lt;br /&gt;
Notice that the JA37 is much more accurate and well developed than the other variants.&lt;br /&gt;
&lt;br /&gt;
=== Feature overview ===&lt;br /&gt;
====Flightgear compatibility====&lt;br /&gt;
* The latest Viggen version is compatible with Flightgear version 2020.3.1 or later.&lt;br /&gt;
&lt;br /&gt;
====Aerodynamics====&lt;br /&gt;
* [[JSBSim]] FDM based mostly on original Saab windtunnel data.&lt;br /&gt;
* 47 individual aerodynamic coefficients.&lt;br /&gt;
* Aerodynamic effect of air intake factor, ground effects and control surface shading.&lt;br /&gt;
* At high alpha asymmetric vortex detachment of left or right side, resulting in adverse effects.&lt;br /&gt;
* Very high alpha handling including realistic departures such as stall, spiral dive, flat spin and inverted spin.&lt;br /&gt;
* Aerodynamic response to payload. (droptank &amp;amp; armament)&lt;br /&gt;
* Aerodynamic drag from canopy open and canopy detachment.&lt;br /&gt;
* Significantly reduced lift and roll damping when wings detach.&lt;br /&gt;
* High compliance with various performance numbers. (true not indicated instrument values)&lt;br /&gt;
* Capable of landing with a heavy crosswind.&lt;br /&gt;
* Mach tuck in transonic/supersonic regime.&lt;br /&gt;
&lt;br /&gt;
====Flight control system====&lt;br /&gt;
* Tuned [[autopilot]] based on indicated instrument values, not true values. All settings supported except speed controlled from pitch.&lt;br /&gt;
* A/P can be set to follow other aircraft.&lt;br /&gt;
* Automatically controlled flaps.&lt;br /&gt;
* Elevon and rudder deflection is limited depending on hydraulic pressure, air density and speed.&lt;br /&gt;
* Filter based pitch, yaw and roll dampers lets the pilot control the plane without adverse effects such as turbulence, dutch roll, accelerated rolls and pitch oscillations which would otherwise be present.&lt;br /&gt;
* Nose wheel steering lock and limiting depending on ground speed.&lt;br /&gt;
* Gear will not retract on runway, and not extend above certain speeds.&lt;br /&gt;
&lt;br /&gt;
====System====&lt;br /&gt;
* External power supply truck, generator or reserve generator produces AC voltages.&lt;br /&gt;
* DC voltage converted from AC or from battery.&lt;br /&gt;
* Battery drain and recharge.&lt;br /&gt;
* Instrument and landing light dims when not getting enough power and various systems shut down.&lt;br /&gt;
* Two hydraulic systems modeled, the second having a reserve pump.&lt;br /&gt;
* Terrain warning system, with HUD indication and annunciator.&lt;br /&gt;
* Open canopy can be torn off by high wind speeds.&lt;br /&gt;
* Simulated airconditioner unit, which become handy when ice or fog forms on windshield in ALS.&lt;br /&gt;
* Automated fuel system that works like in the real Viggen. It uses pneumatics, hydralics and electricity. It can be controlled manually also.&lt;br /&gt;
* TILS (tactical instrument landing system) that auto tunes to nearby ILS frequencies.&lt;br /&gt;
* Custom flight recorder records 53 extra properties for accurate replay functionality. Also record fidelity has been increased for smoother replay.&lt;br /&gt;
* 7 internal fuel tanks plus a drop tank that can be jettisoned.&lt;br /&gt;
&lt;br /&gt;
====Failure system====&lt;br /&gt;
* 26 extra failures beside the standard ones.&lt;br /&gt;
* Canopy motor, canopy hinges, wings attachment and individual gear locking mechanisms are preset to fail under specific conditions.&lt;br /&gt;
* Engine fire preset to start under certain conditions. Can fail engine if left burning too long.&lt;br /&gt;
* Crash-detection and high-G structural break tied into the failure system; it can randomly fail components proportional to the damage the plane takes.&lt;br /&gt;
* Damage system for getting hit by ordnance.&lt;br /&gt;
&lt;br /&gt;
====Avionics====&lt;br /&gt;
* The cockpit features 77 working controls.&lt;br /&gt;
* Gauges are in metric and have Swedish descriptions. But they have [[Tooltips]], showing Imperial and English units.&lt;br /&gt;
* Switches, knobs and buttons have English text for convenience.&lt;br /&gt;
* Custom [[Canvas]] [[HUD]] built from Saab flight manual with 4 modes of operation: navigation, landing, takeoff and tactical.&lt;br /&gt;
* HUD values depend on indicated values, not real values.&lt;br /&gt;
* HUD can switch between Imperial and Metric units.&lt;br /&gt;
* The callsign (or type), velocity vector and distance of the selected track is also displayed in the HUD. It also display nearest tower.&lt;br /&gt;
* HUD shows radar tracks of aircraft plus scenario objects like ferries, balloons, tankers, carriers, tanks, bus, trains etc.&lt;br /&gt;
* At ILS landings the HUD will show a glideslope guide, if the runway supports it. Also DME if supported and enabled.&lt;br /&gt;
* Other HUD features such as distance scale, variant altitude scale, heading scale on horizon in landing mode, diamond at missile lock, altimeter calibration warning etc.&lt;br /&gt;
* Radar with 180 Km (120 Km for AJ37) range that show MP and AI objects alike depend on hydraulic and electricity.&lt;br /&gt;
* In regards to MP planes the radar can be setup to be pulse doppler and/or not able to see through terrain.&lt;br /&gt;
* Auto-start and auto shut down scripts.&lt;br /&gt;
* Realistic modeled indicator panels for various warnings, alerts and notices.&lt;br /&gt;
&lt;br /&gt;
====Engine====&lt;br /&gt;
* Volvo RM-8B (AJ37: RM-8A) turbine with accurate fuel consumption and performance in different air density and speed regimes.&lt;br /&gt;
* A thrust reverser is equipped which require proper hydraulics and electricity to work.&lt;br /&gt;
* Afterburner that has 3 continuous zones of operation.&lt;br /&gt;
&lt;br /&gt;
====Sound====&lt;br /&gt;
* 58 distinct sounds, including 19 annunciation warnings.&lt;br /&gt;
* 9 [[Multiplayer]] sounds enabled.&lt;br /&gt;
* When canopy is open wind and exterior engine sounds can be heard.&lt;br /&gt;
* No out of place sounds being played at start of sim.&lt;br /&gt;
* When guided missiles hit, the sound is propagated according to the speed of sound at the altitude, and so the explosion will be realistically delayed.&lt;br /&gt;
* Annunciator will warn of incoming guided air to air missile from ja37, m2000-5, f-15 or f-14b. It will also say from which direction.&lt;br /&gt;
* Thunder (when using adv. weather) and rain sounds.&lt;br /&gt;
&lt;br /&gt;
====Armament====&lt;br /&gt;
* JA37: 30mm Cannon with authentic shell properties and accurate recoil.&lt;br /&gt;
* JA37: Unguided rocket pods and guided RB-24J, RB-74, RB-99 and RB-71 air2air missiles, that can be fired at AI and MP alike.&lt;br /&gt;
* AJ37: Unguided rocket and cannon pods and guided RB-75, RB-04, RB-05, M90 and RB-15F air2ground missiles. Plus 3 kinds of sidewinders.&lt;br /&gt;
* RB-24 / RB-24J works as rear aspect only.&lt;br /&gt;
* Dual releasing flares that work against RB24, RB-24J and RB74.&lt;br /&gt;
* No longer compatible with the [[Bombable]] addon. Sorry.&lt;br /&gt;
* M71 dumb bombs with CCIP aiming.&lt;br /&gt;
* Ability to target a GPS coordinate and fire at it.&lt;br /&gt;
&lt;br /&gt;
====Model====&lt;br /&gt;
* 12 authentic Swedish Airforce and 10 fictive Flightgear liveries included.&lt;br /&gt;
* Selection view, with camera pointing to the aircraft from outside and towards the current selected MP/AI aircraft.&lt;br /&gt;
* Ubershaded exterior model and cockpit panels. Also flood light is supported if model shader is enabled.&lt;br /&gt;
* Normal mapped exterior model.&lt;br /&gt;
* Fully ALS ready and also Rembrandt compatible, but with no light influences.&lt;br /&gt;
* Animated gear scissors, compressions and spinning wheels.&lt;br /&gt;
* Pilot eye view is tuned for getting good view of runways at landings, while at the same time give good view of HUD and instrument panel.&lt;br /&gt;
* Preloaded exterior view, for fast switching to exterior view.&lt;br /&gt;
&lt;br /&gt;
====Effects====&lt;br /&gt;
* Aerobatic smoke in yellow or blue.&lt;br /&gt;
* Wing vapour under the right atmospheric conditions.&lt;br /&gt;
* Under right conditions, contrails will form and if persistent contrail shader is on they will show also.&lt;br /&gt;
* Lights that depends on distance viewed and sun position.&lt;br /&gt;
* Beacon light that simulate rotating beacons.&lt;br /&gt;
* Frost, fog and rain splashes on canopy in ALS. They depend on canopy position, aircondition, outside/inside temperate and dewpoint and rain.&lt;br /&gt;
* Vapour cone in transonic regime.&lt;br /&gt;
* Landing light cone on runway in ALS.&lt;br /&gt;
* Explosion at crash if plane takes enough damage and has enough fuel.&lt;br /&gt;
* In ALS rain drops will form on the fuselage.&lt;br /&gt;
* Buffeting of cockpit view, at high G, on runway, transonic and high alpha, depending on altitude.&lt;br /&gt;
&lt;br /&gt;
====Multiplay====&lt;br /&gt;
* The following is transmitted and shown over MP: Gear compression, flight surfaces animation, afterburner flame, engine flame light, landing light, flash light, beacon lights, navigation lights, canopy animation, canopy detachment, wings detachment, explosion, wing vapour, engine smoke, reversers, frontgear steering, missiles, rocket pods, drop tank, transonic vapour, contrails, aerobatic smoke, external power truck, control surfaces, livery and engine heat blur.&lt;br /&gt;
* Different Viggen version are to high degree compatible with each other in [[Multiplayer]].&lt;br /&gt;
&lt;br /&gt;
====GUI====&lt;br /&gt;
* 4 [[Aircraft_Checklists|Checklists]]; startup with ext. power, startup with battery, takeoff and landing.&lt;br /&gt;
* Performance monitor with environment stats, aerodynamic ratios, landing/takeoff distance measurement and other interesting values.&lt;br /&gt;
* Systems monitor, that reveals internal systems state.&lt;br /&gt;
* Options panel, with many configurable options.&lt;br /&gt;
&lt;br /&gt;
=== Some HUD situations ===&lt;br /&gt;
&lt;br /&gt;
[[File:JA-37 in a bad ILS approach.png|The HUD assists with ILS landings.]]&lt;br /&gt;
[[File:JA-37 HUD during standard flight.png|This is how the HUD looks most often.]]&lt;br /&gt;
[[File:JA-37 HUD ready for takeoff.png|This is typical HUD situation before takeoff.]]&lt;br /&gt;
&lt;br /&gt;
=== Media ===&lt;br /&gt;
[[File:37 Viggen Red ghost livery.png|900x506px|Red ghost livery for the Saab JA-37 Viggen]]&lt;br /&gt;
[[File:JA-37 Soaring.png|thumb|Vapour on the Viggen in a high AoA situation.]]&lt;br /&gt;
[[File:JA-37 Transonic.png|thumb|Transonic pass of freighter]]&lt;br /&gt;
[[File:JA-37 Frontpanel.png|thumb|Frontpanel will full functioning indicator panels.]]&lt;br /&gt;
[[File:JA-37 Afterburner.png||Notice the light effect on the fuselage from the afterburner flame.]]&lt;br /&gt;
[[File:JA-37 Reversing.png||Reverse petals]]&lt;br /&gt;
[[File:JA-37 Sunset.png||Grey/black camo livery]]&lt;br /&gt;
[[File:AJS-37 Attack.png|958×507px|AJS-37 doing an attack run.]]&lt;br /&gt;
&lt;br /&gt;
See more screenshot in this gallery [https://sites.google.com/site/fghangar/ja-37-screenshots here].&lt;br /&gt;
&lt;br /&gt;
Tutorial video series:&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|VGsWxUgy0Q}}&lt;br /&gt;
&lt;br /&gt;
=== Info ===&lt;br /&gt;
[https://raw.githubusercontent.com/NikolaiVChr/flightgear-saab-ja-37-viggen/master/Aircraft/JA37/changelog.txt Changelog]&lt;br /&gt;
&lt;br /&gt;
== Discord ==&lt;br /&gt;
The Flightgear Viggen has its own Discord chat server: [https://discord.gg/34CRATF Discord invite link]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.milavia.net/specials/iv_viggen/ Viggen pilot interview]&lt;br /&gt;
* [http://www.airvectors.net/avvig.html Saab 37 Viggen]&lt;br /&gt;
* {{Wikipedia|Saab 37 Viggen}}&lt;br /&gt;
&lt;br /&gt;
{{Saab}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Attack aircraft]]&lt;br /&gt;
[[Category:Canard aircraft]]&lt;br /&gt;
[[Category:Fighter aircraft]]&lt;br /&gt;
[[Category:Single-engine jets]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131610</id>
		<title>Saab 37 Viggen</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131610"/>
		<updated>2021-05-01T19:27:27Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Update supported features icons: bombable has long been removed, rembrandt is becoming increasingly broken, auto-generated tutorials have been removed because they are broken&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox aircraft&lt;br /&gt;
|image = Saab JA-37 Viggen Blue Peter Livery.png&lt;br /&gt;
|name = Saab 37 Viggen&lt;br /&gt;
|livery = 23 Liveries&lt;br /&gt;
|type = Fighter aircraft/Attack aircraft/STOL aircraft&lt;br /&gt;
|config = Canard aircraft/Delta-wing aircraft/Retractable gear aircraft&lt;br /&gt;
|propulsion = Single-engine jet&lt;br /&gt;
|manufacturer = Saab&lt;br /&gt;
|fdm = JSBSim&lt;br /&gt;
|status-fdm	= 4&lt;br /&gt;
|status-systems	= 5&lt;br /&gt;
|status-cockpit	= 4&lt;br /&gt;
|status-model	= 4&lt;br /&gt;
|status = Early production&lt;br /&gt;
|authors = Anders Lejczak/Justin Nicholson/Nicola B. Bernardelli/Isaac Protiva/Enrico Castaldi/Joshua Davidson/Nikolai V. Chr./Colin Geniet&lt;br /&gt;
|fgname = JA37-Viggen&lt;br /&gt;
|fgname1 = AJS37-Viggen&lt;br /&gt;
|development = https://github.com/NikolaiVChr/flightgear-saab-ja-37-viggen&lt;br /&gt;
|download = http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/JA37.zip&lt;br /&gt;
|ready = canvas/checklist&lt;br /&gt;
|license = GPLv2+&lt;br /&gt;
|forumtid = 19130&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Saab 37 Viggen''' is an all-weather attack/fighter aircraft. It had Europe's first pulse-doppler radar, and one of only two jet fighters in the world to sport reverse thrust, the other being Panavia Tornado. This version of '''JA-37 Viggen''' was manufactured from 1980-1990, and the JA 37D variant flew in the Swedish airforce until 2005. The '''AJ-37 Viggen''' was introduced in 1971, the '''AJS-37 Viggen''' in 1993.&lt;br /&gt;
&lt;br /&gt;
[[File:AJS-37 rising.png|958×507px|AJS-37 in vertical ascend.]]&lt;br /&gt;
&lt;br /&gt;
== Flightgear version ==&lt;br /&gt;
The package contains two variants: AJS-37 and JA-37Di.&lt;br /&gt;
&lt;br /&gt;
Notice that the JA37 is much more accurate and well developed than the other variants.&lt;br /&gt;
&lt;br /&gt;
=== Feature overview ===&lt;br /&gt;
====Flightgear compatibility====&lt;br /&gt;
* The Viggen is compatible with Flightgear version 2018.2.1 or later.&lt;br /&gt;
&lt;br /&gt;
====Aerodynamics====&lt;br /&gt;
* [[JSBSim]] FDM based mostly on original Saab windtunnel data.&lt;br /&gt;
* 47 individual aerodynamic coefficients.&lt;br /&gt;
* Aerodynamic effect of air intake factor, ground effects and control surface shading.&lt;br /&gt;
* At high alpha asymmetric vortex detachment of left or right side, resulting in adverse effects.&lt;br /&gt;
* Very high alpha handling including realistic departures such as stall, spiral dive, flat spin and inverted spin.&lt;br /&gt;
* Aerodynamic response to payload. (droptank &amp;amp; armament)&lt;br /&gt;
* Aerodynamic drag from canopy open and canopy detachment.&lt;br /&gt;
* Significantly reduced lift and roll damping when wings detach.&lt;br /&gt;
* High compliance with various performance numbers. (true not indicated instrument values)&lt;br /&gt;
* Capable of landing with a heavy crosswind.&lt;br /&gt;
* Mach tuck in transonic/supersonic regime.&lt;br /&gt;
&lt;br /&gt;
====Flight control system====&lt;br /&gt;
* Tuned [[autopilot]] based on indicated instrument values, not true values. All settings supported except speed controlled from pitch.&lt;br /&gt;
* A/P can be set to follow other aircraft.&lt;br /&gt;
* Automatically controlled flaps.&lt;br /&gt;
* Elevon and rudder deflection is limited depending on hydraulic pressure, air density and speed.&lt;br /&gt;
* Filter based pitch, yaw and roll dampers lets the pilot control the plane without adverse effects such as turbulence, dutch roll, accelerated rolls and pitch oscillations which would otherwise be present.&lt;br /&gt;
* Nose wheel steering lock and limiting depending on ground speed.&lt;br /&gt;
* Gear will not retract on runway, and not extend above certain speeds.&lt;br /&gt;
&lt;br /&gt;
====System====&lt;br /&gt;
* External power supply truck, generator or reserve generator produces AC voltages.&lt;br /&gt;
* DC voltage converted from AC or from battery.&lt;br /&gt;
* Battery drain and recharge.&lt;br /&gt;
* Instrument and landing light dims when not getting enough power and various systems shut down.&lt;br /&gt;
* Two hydraulic systems modeled, the second having a reserve pump.&lt;br /&gt;
* Terrain warning system, with HUD indication and annunciator.&lt;br /&gt;
* Open canopy can be torn off by high wind speeds.&lt;br /&gt;
* Simulated airconditioner unit, which become handy when ice or fog forms on windshield in ALS.&lt;br /&gt;
* Automated fuel system that works like in the real Viggen. It uses pneumatics, hydralics and electricity. It can be controlled manually also.&lt;br /&gt;
* TILS (tactical instrument landing system) that auto tunes to nearby ILS frequencies.&lt;br /&gt;
* Custom flight recorder records 53 extra properties for accurate replay functionality. Also record fidelity has been increased for smoother replay.&lt;br /&gt;
* 7 internal fuel tanks plus a drop tank that can be jettisoned.&lt;br /&gt;
&lt;br /&gt;
====Failure system====&lt;br /&gt;
* 26 extra failures beside the standard ones.&lt;br /&gt;
* Canopy motor, canopy hinges, wings attachment and individual gear locking mechanisms are preset to fail under specific conditions.&lt;br /&gt;
* Engine fire preset to start under certain conditions. Can fail engine if left burning too long.&lt;br /&gt;
* Crash-detection and high-G structural break tied into the failure system; it can randomly fail components proportional to the damage the plane takes.&lt;br /&gt;
* Damage system for getting hit by ordnance.&lt;br /&gt;
&lt;br /&gt;
====Avionics====&lt;br /&gt;
* The cockpit features 77 working controls.&lt;br /&gt;
* Gauges are in metric and have Swedish descriptions. But they have [[Tooltips]], showing Imperial and English units.&lt;br /&gt;
* Switches, knobs and buttons have English text for convenience.&lt;br /&gt;
* Custom [[Canvas]] [[HUD]] built from Saab flight manual with 4 modes of operation: navigation, landing, takeoff and tactical.&lt;br /&gt;
* HUD values depend on indicated values, not real values.&lt;br /&gt;
* HUD can switch between Imperial and Metric units.&lt;br /&gt;
* The callsign (or type), velocity vector and distance of the selected track is also displayed in the HUD. It also display nearest tower.&lt;br /&gt;
* HUD shows radar tracks of aircraft plus scenario objects like ferries, balloons, tankers, carriers, tanks, bus, trains etc.&lt;br /&gt;
* At ILS landings the HUD will show a glideslope guide, if the runway supports it. Also DME if supported and enabled.&lt;br /&gt;
* Other HUD features such as distance scale, variant altitude scale, heading scale on horizon in landing mode, diamond at missile lock, altimeter calibration warning etc.&lt;br /&gt;
* Radar with 180 Km (120 Km for AJ37) range that show MP and AI objects alike depend on hydraulic and electricity.&lt;br /&gt;
* In regards to MP planes the radar can be setup to be pulse doppler and/or not able to see through terrain.&lt;br /&gt;
* Auto-start and auto shut down scripts.&lt;br /&gt;
* Realistic modeled indicator panels for various warnings, alerts and notices.&lt;br /&gt;
&lt;br /&gt;
====Engine====&lt;br /&gt;
* Volvo RM-8B (AJ37: RM-8A) turbine with accurate fuel consumption and performance in different air density and speed regimes.&lt;br /&gt;
* A thrust reverser is equipped which require proper hydraulics and electricity to work.&lt;br /&gt;
* Afterburner that has 3 continuous zones of operation.&lt;br /&gt;
&lt;br /&gt;
====Sound====&lt;br /&gt;
* 58 distinct sounds, including 19 annunciation warnings.&lt;br /&gt;
* 9 [[Multiplayer]] sounds enabled.&lt;br /&gt;
* When canopy is open wind and exterior engine sounds can be heard.&lt;br /&gt;
* No out of place sounds being played at start of sim.&lt;br /&gt;
* When guided missiles hit, the sound is propagated according to the speed of sound at the altitude, and so the explosion will be realistically delayed.&lt;br /&gt;
* Annunciator will warn of incoming guided air to air missile from ja37, m2000-5, f-15 or f-14b. It will also say from which direction.&lt;br /&gt;
* Thunder (when using adv. weather) and rain sounds.&lt;br /&gt;
&lt;br /&gt;
====Armament====&lt;br /&gt;
* JA37: 30mm Cannon with authentic shell properties and accurate recoil.&lt;br /&gt;
* JA37: Unguided rocket pods and guided RB-24J, RB-74, RB-99 and RB-71 air2air missiles, that can be fired at AI and MP alike.&lt;br /&gt;
* AJ37: Unguided rocket and cannon pods and guided RB-75, RB-04, RB-05, M90 and RB-15F air2ground missiles. Plus 3 kinds of sidewinders.&lt;br /&gt;
* RB-24 / RB-24J works as rear aspect only.&lt;br /&gt;
* Dual releasing flares that work against RB24, RB-24J and RB74.&lt;br /&gt;
* No longer compatible with the [[Bombable]] addon. Sorry.&lt;br /&gt;
* M71 dumb bombs with CCIP aiming.&lt;br /&gt;
* Ability to target a GPS coordinate and fire at it.&lt;br /&gt;
&lt;br /&gt;
====Model====&lt;br /&gt;
* 12 authentic Swedish Airforce and 10 fictive Flightgear liveries included.&lt;br /&gt;
* Selection view, with camera pointing to the aircraft from outside and towards the current selected MP/AI aircraft.&lt;br /&gt;
* Ubershaded exterior model and cockpit panels. Also flood light is supported if model shader is enabled.&lt;br /&gt;
* Normal mapped exterior model.&lt;br /&gt;
* Fully ALS ready and also Rembrandt compatible, but with no light influences.&lt;br /&gt;
* Animated gear scissors, compressions and spinning wheels.&lt;br /&gt;
* Pilot eye view is tuned for getting good view of runways at landings, while at the same time give good view of HUD and instrument panel.&lt;br /&gt;
* Preloaded exterior view, for fast switching to exterior view.&lt;br /&gt;
&lt;br /&gt;
====Effects====&lt;br /&gt;
* Aerobatic smoke in yellow or blue.&lt;br /&gt;
* Wing vapour under the right atmospheric conditions.&lt;br /&gt;
* Under right conditions, contrails will form and if persistent contrail shader is on they will show also.&lt;br /&gt;
* Lights that depends on distance viewed and sun position.&lt;br /&gt;
* Beacon light that simulate rotating beacons.&lt;br /&gt;
* Frost, fog and rain splashes on canopy in ALS. They depend on canopy position, aircondition, outside/inside temperate and dewpoint and rain.&lt;br /&gt;
* Vapour cone in transonic regime.&lt;br /&gt;
* Landing light cone on runway in ALS.&lt;br /&gt;
* Explosion at crash if plane takes enough damage and has enough fuel.&lt;br /&gt;
* In ALS rain drops will form on the fuselage.&lt;br /&gt;
* Buffeting of cockpit view, at high G, on runway, transonic and high alpha, depending on altitude.&lt;br /&gt;
&lt;br /&gt;
====Multiplay====&lt;br /&gt;
* The following is transmitted and shown over MP: Gear compression, flight surfaces animation, afterburner flame, engine flame light, landing light, flash light, beacon lights, navigation lights, canopy animation, canopy detachment, wings detachment, explosion, wing vapour, engine smoke, reversers, frontgear steering, missiles, rocket pods, drop tank, transonic vapour, contrails, aerobatic smoke, external power truck, control surfaces, livery and engine heat blur.&lt;br /&gt;
* Different Viggen version are to high degree compatible with each other in [[Multiplayer]].&lt;br /&gt;
&lt;br /&gt;
====GUI====&lt;br /&gt;
* 4 [[Aircraft_Checklists|Checklists]]; startup with ext. power, startup with battery, takeoff and landing.&lt;br /&gt;
* Performance monitor with environment stats, aerodynamic ratios, landing/takeoff distance measurement and other interesting values.&lt;br /&gt;
* Systems monitor, that reveals internal systems state.&lt;br /&gt;
* Options panel, with many configurable options.&lt;br /&gt;
&lt;br /&gt;
=== Some HUD situations ===&lt;br /&gt;
&lt;br /&gt;
[[File:JA-37 in a bad ILS approach.png|The HUD assists with ILS landings.]]&lt;br /&gt;
[[File:JA-37 HUD during standard flight.png|This is how the HUD looks most often.]]&lt;br /&gt;
[[File:JA-37 HUD ready for takeoff.png|This is typical HUD situation before takeoff.]]&lt;br /&gt;
&lt;br /&gt;
=== Media ===&lt;br /&gt;
[[File:37 Viggen Red ghost livery.png|900x506px|Red ghost livery for the Saab JA-37 Viggen]]&lt;br /&gt;
[[File:JA-37 Soaring.png|thumb|Vapour on the Viggen in a high AoA situation.]]&lt;br /&gt;
[[File:JA-37 Transonic.png|thumb|Transonic pass of freighter]]&lt;br /&gt;
[[File:JA-37 Frontpanel.png|thumb|Frontpanel will full functioning indicator panels.]]&lt;br /&gt;
[[File:JA-37 Afterburner.png||Notice the light effect on the fuselage from the afterburner flame.]]&lt;br /&gt;
[[File:JA-37 Reversing.png||Reverse petals]]&lt;br /&gt;
[[File:JA-37 Sunset.png||Grey/black camo livery]]&lt;br /&gt;
[[File:AJS-37 Attack.png|958×507px|AJS-37 doing an attack run.]]&lt;br /&gt;
&lt;br /&gt;
See more screenshot in this gallery [https://sites.google.com/site/fghangar/ja-37-screenshots here].&lt;br /&gt;
&lt;br /&gt;
Tutorial video series:&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|VGsWxUgy0Q}}&lt;br /&gt;
&lt;br /&gt;
=== Info ===&lt;br /&gt;
[https://raw.githubusercontent.com/NikolaiVChr/flightgear-saab-ja-37-viggen/master/Aircraft/JA37/changelog.txt Changelog]&lt;br /&gt;
&lt;br /&gt;
== Discord ==&lt;br /&gt;
The Flightgear Viggen has its own Discord chat server: [https://discord.gg/34CRATF Discord invite link]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.milavia.net/specials/iv_viggen/ Viggen pilot interview]&lt;br /&gt;
* [http://www.airvectors.net/avvig.html Saab 37 Viggen]&lt;br /&gt;
* {{Wikipedia|Saab 37 Viggen}}&lt;br /&gt;
&lt;br /&gt;
{{Saab}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Attack aircraft]]&lt;br /&gt;
[[Category:Canard aircraft]]&lt;br /&gt;
[[Category:Fighter aircraft]]&lt;br /&gt;
[[Category:Single-engine jets]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131608</id>
		<title>Saab 37 Viggen</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131608"/>
		<updated>2021-05-01T19:25:38Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Update download links (FGAddon mirror for download, github for dev)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox aircraft&lt;br /&gt;
|image = Saab JA-37 Viggen Blue Peter Livery.png&lt;br /&gt;
|name = Saab 37 Viggen&lt;br /&gt;
|livery = 23 Liveries&lt;br /&gt;
|type = Fighter aircraft/Attack aircraft/STOL aircraft&lt;br /&gt;
|config = Canard aircraft/Delta-wing aircraft/Retractable gear aircraft&lt;br /&gt;
|propulsion = Single-engine jet&lt;br /&gt;
|manufacturer = Saab&lt;br /&gt;
|fdm = JSBSim&lt;br /&gt;
|status-fdm	= 4&lt;br /&gt;
|status-systems	= 5&lt;br /&gt;
|status-cockpit	= 4&lt;br /&gt;
|status-model	= 4&lt;br /&gt;
|status = Early production&lt;br /&gt;
|authors = Anders Lejczak/Justin Nicholson/Nicola B. Bernardelli/Isaac Protiva/Enrico Castaldi/Joshua Davidson/Nikolai V. Chr./Colin Geniet&lt;br /&gt;
|fgname = JA37-Viggen&lt;br /&gt;
|fgname1 = AJS37-Viggen&lt;br /&gt;
|development = https://github.com/NikolaiVChr/flightgear-saab-ja-37-viggen&lt;br /&gt;
|download = http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/JA37.zip&lt;br /&gt;
|ready = bombable/canvas/checklist/rembrandt/tutorials&lt;br /&gt;
|license = GPLv2+&lt;br /&gt;
|forumtid = 19130&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Saab 37 Viggen''' is an all-weather attack/fighter aircraft. It had Europe's first pulse-doppler radar, and one of only two jet fighters in the world to sport reverse thrust, the other being Panavia Tornado. This version of '''JA-37 Viggen''' was manufactured from 1980-1990, and the JA 37D variant flew in the Swedish airforce until 2005. The '''AJ-37 Viggen''' was introduced in 1971, the '''AJS-37 Viggen''' in 1993.&lt;br /&gt;
&lt;br /&gt;
[[File:AJS-37 rising.png|958×507px|AJS-37 in vertical ascend.]]&lt;br /&gt;
&lt;br /&gt;
== Flightgear version ==&lt;br /&gt;
The package contains two variants: AJS-37 and JA-37Di.&lt;br /&gt;
&lt;br /&gt;
Notice that the JA37 is much more accurate and well developed than the other variants.&lt;br /&gt;
&lt;br /&gt;
=== Feature overview ===&lt;br /&gt;
====Flightgear compatibility====&lt;br /&gt;
* The Viggen is compatible with Flightgear version 2018.2.1 or later.&lt;br /&gt;
&lt;br /&gt;
====Aerodynamics====&lt;br /&gt;
* [[JSBSim]] FDM based mostly on original Saab windtunnel data.&lt;br /&gt;
* 47 individual aerodynamic coefficients.&lt;br /&gt;
* Aerodynamic effect of air intake factor, ground effects and control surface shading.&lt;br /&gt;
* At high alpha asymmetric vortex detachment of left or right side, resulting in adverse effects.&lt;br /&gt;
* Very high alpha handling including realistic departures such as stall, spiral dive, flat spin and inverted spin.&lt;br /&gt;
* Aerodynamic response to payload. (droptank &amp;amp; armament)&lt;br /&gt;
* Aerodynamic drag from canopy open and canopy detachment.&lt;br /&gt;
* Significantly reduced lift and roll damping when wings detach.&lt;br /&gt;
* High compliance with various performance numbers. (true not indicated instrument values)&lt;br /&gt;
* Capable of landing with a heavy crosswind.&lt;br /&gt;
* Mach tuck in transonic/supersonic regime.&lt;br /&gt;
&lt;br /&gt;
====Flight control system====&lt;br /&gt;
* Tuned [[autopilot]] based on indicated instrument values, not true values. All settings supported except speed controlled from pitch.&lt;br /&gt;
* A/P can be set to follow other aircraft.&lt;br /&gt;
* Automatically controlled flaps.&lt;br /&gt;
* Elevon and rudder deflection is limited depending on hydraulic pressure, air density and speed.&lt;br /&gt;
* Filter based pitch, yaw and roll dampers lets the pilot control the plane without adverse effects such as turbulence, dutch roll, accelerated rolls and pitch oscillations which would otherwise be present.&lt;br /&gt;
* Nose wheel steering lock and limiting depending on ground speed.&lt;br /&gt;
* Gear will not retract on runway, and not extend above certain speeds.&lt;br /&gt;
&lt;br /&gt;
====System====&lt;br /&gt;
* External power supply truck, generator or reserve generator produces AC voltages.&lt;br /&gt;
* DC voltage converted from AC or from battery.&lt;br /&gt;
* Battery drain and recharge.&lt;br /&gt;
* Instrument and landing light dims when not getting enough power and various systems shut down.&lt;br /&gt;
* Two hydraulic systems modeled, the second having a reserve pump.&lt;br /&gt;
* Terrain warning system, with HUD indication and annunciator.&lt;br /&gt;
* Open canopy can be torn off by high wind speeds.&lt;br /&gt;
* Simulated airconditioner unit, which become handy when ice or fog forms on windshield in ALS.&lt;br /&gt;
* Automated fuel system that works like in the real Viggen. It uses pneumatics, hydralics and electricity. It can be controlled manually also.&lt;br /&gt;
* TILS (tactical instrument landing system) that auto tunes to nearby ILS frequencies.&lt;br /&gt;
* Custom flight recorder records 53 extra properties for accurate replay functionality. Also record fidelity has been increased for smoother replay.&lt;br /&gt;
* 7 internal fuel tanks plus a drop tank that can be jettisoned.&lt;br /&gt;
&lt;br /&gt;
====Failure system====&lt;br /&gt;
* 26 extra failures beside the standard ones.&lt;br /&gt;
* Canopy motor, canopy hinges, wings attachment and individual gear locking mechanisms are preset to fail under specific conditions.&lt;br /&gt;
* Engine fire preset to start under certain conditions. Can fail engine if left burning too long.&lt;br /&gt;
* Crash-detection and high-G structural break tied into the failure system; it can randomly fail components proportional to the damage the plane takes.&lt;br /&gt;
* Damage system for getting hit by ordnance.&lt;br /&gt;
&lt;br /&gt;
====Avionics====&lt;br /&gt;
* The cockpit features 77 working controls.&lt;br /&gt;
* Gauges are in metric and have Swedish descriptions. But they have [[Tooltips]], showing Imperial and English units.&lt;br /&gt;
* Switches, knobs and buttons have English text for convenience.&lt;br /&gt;
* Custom [[Canvas]] [[HUD]] built from Saab flight manual with 4 modes of operation: navigation, landing, takeoff and tactical.&lt;br /&gt;
* HUD values depend on indicated values, not real values.&lt;br /&gt;
* HUD can switch between Imperial and Metric units.&lt;br /&gt;
* The callsign (or type), velocity vector and distance of the selected track is also displayed in the HUD. It also display nearest tower.&lt;br /&gt;
* HUD shows radar tracks of aircraft plus scenario objects like ferries, balloons, tankers, carriers, tanks, bus, trains etc.&lt;br /&gt;
* At ILS landings the HUD will show a glideslope guide, if the runway supports it. Also DME if supported and enabled.&lt;br /&gt;
* Other HUD features such as distance scale, variant altitude scale, heading scale on horizon in landing mode, diamond at missile lock, altimeter calibration warning etc.&lt;br /&gt;
* Radar with 180 Km (120 Km for AJ37) range that show MP and AI objects alike depend on hydraulic and electricity.&lt;br /&gt;
* In regards to MP planes the radar can be setup to be pulse doppler and/or not able to see through terrain.&lt;br /&gt;
* Auto-start and auto shut down scripts.&lt;br /&gt;
* Realistic modeled indicator panels for various warnings, alerts and notices.&lt;br /&gt;
&lt;br /&gt;
====Engine====&lt;br /&gt;
* Volvo RM-8B (AJ37: RM-8A) turbine with accurate fuel consumption and performance in different air density and speed regimes.&lt;br /&gt;
* A thrust reverser is equipped which require proper hydraulics and electricity to work.&lt;br /&gt;
* Afterburner that has 3 continuous zones of operation.&lt;br /&gt;
&lt;br /&gt;
====Sound====&lt;br /&gt;
* 58 distinct sounds, including 19 annunciation warnings.&lt;br /&gt;
* 9 [[Multiplayer]] sounds enabled.&lt;br /&gt;
* When canopy is open wind and exterior engine sounds can be heard.&lt;br /&gt;
* No out of place sounds being played at start of sim.&lt;br /&gt;
* When guided missiles hit, the sound is propagated according to the speed of sound at the altitude, and so the explosion will be realistically delayed.&lt;br /&gt;
* Annunciator will warn of incoming guided air to air missile from ja37, m2000-5, f-15 or f-14b. It will also say from which direction.&lt;br /&gt;
* Thunder (when using adv. weather) and rain sounds.&lt;br /&gt;
&lt;br /&gt;
====Armament====&lt;br /&gt;
* JA37: 30mm Cannon with authentic shell properties and accurate recoil.&lt;br /&gt;
* JA37: Unguided rocket pods and guided RB-24J, RB-74, RB-99 and RB-71 air2air missiles, that can be fired at AI and MP alike.&lt;br /&gt;
* AJ37: Unguided rocket and cannon pods and guided RB-75, RB-04, RB-05, M90 and RB-15F air2ground missiles. Plus 3 kinds of sidewinders.&lt;br /&gt;
* RB-24 / RB-24J works as rear aspect only.&lt;br /&gt;
* Dual releasing flares that work against RB24, RB-24J and RB74.&lt;br /&gt;
* No longer compatible with the [[Bombable]] addon. Sorry.&lt;br /&gt;
* M71 dumb bombs with CCIP aiming.&lt;br /&gt;
* Ability to target a GPS coordinate and fire at it.&lt;br /&gt;
&lt;br /&gt;
====Model====&lt;br /&gt;
* 12 authentic Swedish Airforce and 10 fictive Flightgear liveries included.&lt;br /&gt;
* Selection view, with camera pointing to the aircraft from outside and towards the current selected MP/AI aircraft.&lt;br /&gt;
* Ubershaded exterior model and cockpit panels. Also flood light is supported if model shader is enabled.&lt;br /&gt;
* Normal mapped exterior model.&lt;br /&gt;
* Fully ALS ready and also Rembrandt compatible, but with no light influences.&lt;br /&gt;
* Animated gear scissors, compressions and spinning wheels.&lt;br /&gt;
* Pilot eye view is tuned for getting good view of runways at landings, while at the same time give good view of HUD and instrument panel.&lt;br /&gt;
* Preloaded exterior view, for fast switching to exterior view.&lt;br /&gt;
&lt;br /&gt;
====Effects====&lt;br /&gt;
* Aerobatic smoke in yellow or blue.&lt;br /&gt;
* Wing vapour under the right atmospheric conditions.&lt;br /&gt;
* Under right conditions, contrails will form and if persistent contrail shader is on they will show also.&lt;br /&gt;
* Lights that depends on distance viewed and sun position.&lt;br /&gt;
* Beacon light that simulate rotating beacons.&lt;br /&gt;
* Frost, fog and rain splashes on canopy in ALS. They depend on canopy position, aircondition, outside/inside temperate and dewpoint and rain.&lt;br /&gt;
* Vapour cone in transonic regime.&lt;br /&gt;
* Landing light cone on runway in ALS.&lt;br /&gt;
* Explosion at crash if plane takes enough damage and has enough fuel.&lt;br /&gt;
* In ALS rain drops will form on the fuselage.&lt;br /&gt;
* Buffeting of cockpit view, at high G, on runway, transonic and high alpha, depending on altitude.&lt;br /&gt;
&lt;br /&gt;
====Multiplay====&lt;br /&gt;
* The following is transmitted and shown over MP: Gear compression, flight surfaces animation, afterburner flame, engine flame light, landing light, flash light, beacon lights, navigation lights, canopy animation, canopy detachment, wings detachment, explosion, wing vapour, engine smoke, reversers, frontgear steering, missiles, rocket pods, drop tank, transonic vapour, contrails, aerobatic smoke, external power truck, control surfaces, livery and engine heat blur.&lt;br /&gt;
* Different Viggen version are to high degree compatible with each other in [[Multiplayer]].&lt;br /&gt;
&lt;br /&gt;
====GUI====&lt;br /&gt;
* 4 [[Aircraft_Checklists|Checklists]]; startup with ext. power, startup with battery, takeoff and landing.&lt;br /&gt;
* Performance monitor with environment stats, aerodynamic ratios, landing/takeoff distance measurement and other interesting values.&lt;br /&gt;
* Systems monitor, that reveals internal systems state.&lt;br /&gt;
* Options panel, with many configurable options.&lt;br /&gt;
&lt;br /&gt;
=== Some HUD situations ===&lt;br /&gt;
&lt;br /&gt;
[[File:JA-37 in a bad ILS approach.png|The HUD assists with ILS landings.]]&lt;br /&gt;
[[File:JA-37 HUD during standard flight.png|This is how the HUD looks most often.]]&lt;br /&gt;
[[File:JA-37 HUD ready for takeoff.png|This is typical HUD situation before takeoff.]]&lt;br /&gt;
&lt;br /&gt;
=== Media ===&lt;br /&gt;
[[File:37 Viggen Red ghost livery.png|900x506px|Red ghost livery for the Saab JA-37 Viggen]]&lt;br /&gt;
[[File:JA-37 Soaring.png|thumb|Vapour on the Viggen in a high AoA situation.]]&lt;br /&gt;
[[File:JA-37 Transonic.png|thumb|Transonic pass of freighter]]&lt;br /&gt;
[[File:JA-37 Frontpanel.png|thumb|Frontpanel will full functioning indicator panels.]]&lt;br /&gt;
[[File:JA-37 Afterburner.png||Notice the light effect on the fuselage from the afterburner flame.]]&lt;br /&gt;
[[File:JA-37 Reversing.png||Reverse petals]]&lt;br /&gt;
[[File:JA-37 Sunset.png||Grey/black camo livery]]&lt;br /&gt;
[[File:AJS-37 Attack.png|958×507px|AJS-37 doing an attack run.]]&lt;br /&gt;
&lt;br /&gt;
See more screenshot in this gallery [https://sites.google.com/site/fghangar/ja-37-screenshots here].&lt;br /&gt;
&lt;br /&gt;
Tutorial video series:&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|VGsWxUgy0Q}}&lt;br /&gt;
&lt;br /&gt;
=== Info ===&lt;br /&gt;
[https://raw.githubusercontent.com/NikolaiVChr/flightgear-saab-ja-37-viggen/master/Aircraft/JA37/changelog.txt Changelog]&lt;br /&gt;
&lt;br /&gt;
== Discord ==&lt;br /&gt;
The Flightgear Viggen has its own Discord chat server: [https://discord.gg/34CRATF Discord invite link]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.milavia.net/specials/iv_viggen/ Viggen pilot interview]&lt;br /&gt;
* [http://www.airvectors.net/avvig.html Saab 37 Viggen]&lt;br /&gt;
* {{Wikipedia|Saab 37 Viggen}}&lt;br /&gt;
&lt;br /&gt;
{{Saab}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Attack aircraft]]&lt;br /&gt;
[[Category:Canard aircraft]]&lt;br /&gt;
[[Category:Fighter aircraft]]&lt;br /&gt;
[[Category:Single-engine jets]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131607</id>
		<title>Saab 37 Viggen</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131607"/>
		<updated>2021-05-01T19:24:24Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Update authors list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox aircraft&lt;br /&gt;
|image = Saab JA-37 Viggen Blue Peter Livery.png&lt;br /&gt;
|name = Saab 37 Viggen&lt;br /&gt;
|livery = 23 Liveries&lt;br /&gt;
|type = Fighter aircraft/Attack aircraft/STOL aircraft&lt;br /&gt;
|config = Canard aircraft/Delta-wing aircraft/Retractable gear aircraft&lt;br /&gt;
|propulsion = Single-engine jet&lt;br /&gt;
|manufacturer = Saab&lt;br /&gt;
|fdm = JSBSim&lt;br /&gt;
|status-fdm	= 4&lt;br /&gt;
|status-systems	= 5&lt;br /&gt;
|status-cockpit	= 4&lt;br /&gt;
|status-model	= 4&lt;br /&gt;
|status = Early production&lt;br /&gt;
|authors = Anders Lejczak/Justin Nicholson/Nicola B. Bernardelli/Isaac Protiva/Enrico Castaldi/Joshua Davidson/Nikolai V. Chr./Colin Geniet&lt;br /&gt;
|fgname = JA37-Viggen&lt;br /&gt;
|fgname1 = AJS37-Viggen&lt;br /&gt;
|development = http://nikolaivchr.github.io/flightgear-saab-ja-37-viggen&lt;br /&gt;
|download = https://sites.google.com/site/fghangar&lt;br /&gt;
|ready = bombable/canvas/checklist/rembrandt/tutorials&lt;br /&gt;
|license = GPLv2+&lt;br /&gt;
|forumtid = 19130&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Saab 37 Viggen''' is an all-weather attack/fighter aircraft. It had Europe's first pulse-doppler radar, and one of only two jet fighters in the world to sport reverse thrust, the other being Panavia Tornado. This version of '''JA-37 Viggen''' was manufactured from 1980-1990, and the JA 37D variant flew in the Swedish airforce until 2005. The '''AJ-37 Viggen''' was introduced in 1971, the '''AJS-37 Viggen''' in 1993.&lt;br /&gt;
&lt;br /&gt;
[[File:AJS-37 rising.png|958×507px|AJS-37 in vertical ascend.]]&lt;br /&gt;
&lt;br /&gt;
== Flightgear version ==&lt;br /&gt;
The package contains two variants: AJS-37 and JA-37Di.&lt;br /&gt;
&lt;br /&gt;
Notice that the JA37 is much more accurate and well developed than the other variants.&lt;br /&gt;
&lt;br /&gt;
=== Feature overview ===&lt;br /&gt;
====Flightgear compatibility====&lt;br /&gt;
* The Viggen is compatible with Flightgear version 2018.2.1 or later.&lt;br /&gt;
&lt;br /&gt;
====Aerodynamics====&lt;br /&gt;
* [[JSBSim]] FDM based mostly on original Saab windtunnel data.&lt;br /&gt;
* 47 individual aerodynamic coefficients.&lt;br /&gt;
* Aerodynamic effect of air intake factor, ground effects and control surface shading.&lt;br /&gt;
* At high alpha asymmetric vortex detachment of left or right side, resulting in adverse effects.&lt;br /&gt;
* Very high alpha handling including realistic departures such as stall, spiral dive, flat spin and inverted spin.&lt;br /&gt;
* Aerodynamic response to payload. (droptank &amp;amp; armament)&lt;br /&gt;
* Aerodynamic drag from canopy open and canopy detachment.&lt;br /&gt;
* Significantly reduced lift and roll damping when wings detach.&lt;br /&gt;
* High compliance with various performance numbers. (true not indicated instrument values)&lt;br /&gt;
* Capable of landing with a heavy crosswind.&lt;br /&gt;
* Mach tuck in transonic/supersonic regime.&lt;br /&gt;
&lt;br /&gt;
====Flight control system====&lt;br /&gt;
* Tuned [[autopilot]] based on indicated instrument values, not true values. All settings supported except speed controlled from pitch.&lt;br /&gt;
* A/P can be set to follow other aircraft.&lt;br /&gt;
* Automatically controlled flaps.&lt;br /&gt;
* Elevon and rudder deflection is limited depending on hydraulic pressure, air density and speed.&lt;br /&gt;
* Filter based pitch, yaw and roll dampers lets the pilot control the plane without adverse effects such as turbulence, dutch roll, accelerated rolls and pitch oscillations which would otherwise be present.&lt;br /&gt;
* Nose wheel steering lock and limiting depending on ground speed.&lt;br /&gt;
* Gear will not retract on runway, and not extend above certain speeds.&lt;br /&gt;
&lt;br /&gt;
====System====&lt;br /&gt;
* External power supply truck, generator or reserve generator produces AC voltages.&lt;br /&gt;
* DC voltage converted from AC or from battery.&lt;br /&gt;
* Battery drain and recharge.&lt;br /&gt;
* Instrument and landing light dims when not getting enough power and various systems shut down.&lt;br /&gt;
* Two hydraulic systems modeled, the second having a reserve pump.&lt;br /&gt;
* Terrain warning system, with HUD indication and annunciator.&lt;br /&gt;
* Open canopy can be torn off by high wind speeds.&lt;br /&gt;
* Simulated airconditioner unit, which become handy when ice or fog forms on windshield in ALS.&lt;br /&gt;
* Automated fuel system that works like in the real Viggen. It uses pneumatics, hydralics and electricity. It can be controlled manually also.&lt;br /&gt;
* TILS (tactical instrument landing system) that auto tunes to nearby ILS frequencies.&lt;br /&gt;
* Custom flight recorder records 53 extra properties for accurate replay functionality. Also record fidelity has been increased for smoother replay.&lt;br /&gt;
* 7 internal fuel tanks plus a drop tank that can be jettisoned.&lt;br /&gt;
&lt;br /&gt;
====Failure system====&lt;br /&gt;
* 26 extra failures beside the standard ones.&lt;br /&gt;
* Canopy motor, canopy hinges, wings attachment and individual gear locking mechanisms are preset to fail under specific conditions.&lt;br /&gt;
* Engine fire preset to start under certain conditions. Can fail engine if left burning too long.&lt;br /&gt;
* Crash-detection and high-G structural break tied into the failure system; it can randomly fail components proportional to the damage the plane takes.&lt;br /&gt;
* Damage system for getting hit by ordnance.&lt;br /&gt;
&lt;br /&gt;
====Avionics====&lt;br /&gt;
* The cockpit features 77 working controls.&lt;br /&gt;
* Gauges are in metric and have Swedish descriptions. But they have [[Tooltips]], showing Imperial and English units.&lt;br /&gt;
* Switches, knobs and buttons have English text for convenience.&lt;br /&gt;
* Custom [[Canvas]] [[HUD]] built from Saab flight manual with 4 modes of operation: navigation, landing, takeoff and tactical.&lt;br /&gt;
* HUD values depend on indicated values, not real values.&lt;br /&gt;
* HUD can switch between Imperial and Metric units.&lt;br /&gt;
* The callsign (or type), velocity vector and distance of the selected track is also displayed in the HUD. It also display nearest tower.&lt;br /&gt;
* HUD shows radar tracks of aircraft plus scenario objects like ferries, balloons, tankers, carriers, tanks, bus, trains etc.&lt;br /&gt;
* At ILS landings the HUD will show a glideslope guide, if the runway supports it. Also DME if supported and enabled.&lt;br /&gt;
* Other HUD features such as distance scale, variant altitude scale, heading scale on horizon in landing mode, diamond at missile lock, altimeter calibration warning etc.&lt;br /&gt;
* Radar with 180 Km (120 Km for AJ37) range that show MP and AI objects alike depend on hydraulic and electricity.&lt;br /&gt;
* In regards to MP planes the radar can be setup to be pulse doppler and/or not able to see through terrain.&lt;br /&gt;
* Auto-start and auto shut down scripts.&lt;br /&gt;
* Realistic modeled indicator panels for various warnings, alerts and notices.&lt;br /&gt;
&lt;br /&gt;
====Engine====&lt;br /&gt;
* Volvo RM-8B (AJ37: RM-8A) turbine with accurate fuel consumption and performance in different air density and speed regimes.&lt;br /&gt;
* A thrust reverser is equipped which require proper hydraulics and electricity to work.&lt;br /&gt;
* Afterburner that has 3 continuous zones of operation.&lt;br /&gt;
&lt;br /&gt;
====Sound====&lt;br /&gt;
* 58 distinct sounds, including 19 annunciation warnings.&lt;br /&gt;
* 9 [[Multiplayer]] sounds enabled.&lt;br /&gt;
* When canopy is open wind and exterior engine sounds can be heard.&lt;br /&gt;
* No out of place sounds being played at start of sim.&lt;br /&gt;
* When guided missiles hit, the sound is propagated according to the speed of sound at the altitude, and so the explosion will be realistically delayed.&lt;br /&gt;
* Annunciator will warn of incoming guided air to air missile from ja37, m2000-5, f-15 or f-14b. It will also say from which direction.&lt;br /&gt;
* Thunder (when using adv. weather) and rain sounds.&lt;br /&gt;
&lt;br /&gt;
====Armament====&lt;br /&gt;
* JA37: 30mm Cannon with authentic shell properties and accurate recoil.&lt;br /&gt;
* JA37: Unguided rocket pods and guided RB-24J, RB-74, RB-99 and RB-71 air2air missiles, that can be fired at AI and MP alike.&lt;br /&gt;
* AJ37: Unguided rocket and cannon pods and guided RB-75, RB-04, RB-05, M90 and RB-15F air2ground missiles. Plus 3 kinds of sidewinders.&lt;br /&gt;
* RB-24 / RB-24J works as rear aspect only.&lt;br /&gt;
* Dual releasing flares that work against RB24, RB-24J and RB74.&lt;br /&gt;
* No longer compatible with the [[Bombable]] addon. Sorry.&lt;br /&gt;
* M71 dumb bombs with CCIP aiming.&lt;br /&gt;
* Ability to target a GPS coordinate and fire at it.&lt;br /&gt;
&lt;br /&gt;
====Model====&lt;br /&gt;
* 12 authentic Swedish Airforce and 10 fictive Flightgear liveries included.&lt;br /&gt;
* Selection view, with camera pointing to the aircraft from outside and towards the current selected MP/AI aircraft.&lt;br /&gt;
* Ubershaded exterior model and cockpit panels. Also flood light is supported if model shader is enabled.&lt;br /&gt;
* Normal mapped exterior model.&lt;br /&gt;
* Fully ALS ready and also Rembrandt compatible, but with no light influences.&lt;br /&gt;
* Animated gear scissors, compressions and spinning wheels.&lt;br /&gt;
* Pilot eye view is tuned for getting good view of runways at landings, while at the same time give good view of HUD and instrument panel.&lt;br /&gt;
* Preloaded exterior view, for fast switching to exterior view.&lt;br /&gt;
&lt;br /&gt;
====Effects====&lt;br /&gt;
* Aerobatic smoke in yellow or blue.&lt;br /&gt;
* Wing vapour under the right atmospheric conditions.&lt;br /&gt;
* Under right conditions, contrails will form and if persistent contrail shader is on they will show also.&lt;br /&gt;
* Lights that depends on distance viewed and sun position.&lt;br /&gt;
* Beacon light that simulate rotating beacons.&lt;br /&gt;
* Frost, fog and rain splashes on canopy in ALS. They depend on canopy position, aircondition, outside/inside temperate and dewpoint and rain.&lt;br /&gt;
* Vapour cone in transonic regime.&lt;br /&gt;
* Landing light cone on runway in ALS.&lt;br /&gt;
* Explosion at crash if plane takes enough damage and has enough fuel.&lt;br /&gt;
* In ALS rain drops will form on the fuselage.&lt;br /&gt;
* Buffeting of cockpit view, at high G, on runway, transonic and high alpha, depending on altitude.&lt;br /&gt;
&lt;br /&gt;
====Multiplay====&lt;br /&gt;
* The following is transmitted and shown over MP: Gear compression, flight surfaces animation, afterburner flame, engine flame light, landing light, flash light, beacon lights, navigation lights, canopy animation, canopy detachment, wings detachment, explosion, wing vapour, engine smoke, reversers, frontgear steering, missiles, rocket pods, drop tank, transonic vapour, contrails, aerobatic smoke, external power truck, control surfaces, livery and engine heat blur.&lt;br /&gt;
* Different Viggen version are to high degree compatible with each other in [[Multiplayer]].&lt;br /&gt;
&lt;br /&gt;
====GUI====&lt;br /&gt;
* 4 [[Aircraft_Checklists|Checklists]]; startup with ext. power, startup with battery, takeoff and landing.&lt;br /&gt;
* Performance monitor with environment stats, aerodynamic ratios, landing/takeoff distance measurement and other interesting values.&lt;br /&gt;
* Systems monitor, that reveals internal systems state.&lt;br /&gt;
* Options panel, with many configurable options.&lt;br /&gt;
&lt;br /&gt;
=== Some HUD situations ===&lt;br /&gt;
&lt;br /&gt;
[[File:JA-37 in a bad ILS approach.png|The HUD assists with ILS landings.]]&lt;br /&gt;
[[File:JA-37 HUD during standard flight.png|This is how the HUD looks most often.]]&lt;br /&gt;
[[File:JA-37 HUD ready for takeoff.png|This is typical HUD situation before takeoff.]]&lt;br /&gt;
&lt;br /&gt;
=== Media ===&lt;br /&gt;
[[File:37 Viggen Red ghost livery.png|900x506px|Red ghost livery for the Saab JA-37 Viggen]]&lt;br /&gt;
[[File:JA-37 Soaring.png|thumb|Vapour on the Viggen in a high AoA situation.]]&lt;br /&gt;
[[File:JA-37 Transonic.png|thumb|Transonic pass of freighter]]&lt;br /&gt;
[[File:JA-37 Frontpanel.png|thumb|Frontpanel will full functioning indicator panels.]]&lt;br /&gt;
[[File:JA-37 Afterburner.png||Notice the light effect on the fuselage from the afterburner flame.]]&lt;br /&gt;
[[File:JA-37 Reversing.png||Reverse petals]]&lt;br /&gt;
[[File:JA-37 Sunset.png||Grey/black camo livery]]&lt;br /&gt;
[[File:AJS-37 Attack.png|958×507px|AJS-37 doing an attack run.]]&lt;br /&gt;
&lt;br /&gt;
See more screenshot in this gallery [https://sites.google.com/site/fghangar/ja-37-screenshots here].&lt;br /&gt;
&lt;br /&gt;
Tutorial video series:&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|VGsWxUgy0Q}}&lt;br /&gt;
&lt;br /&gt;
=== Info ===&lt;br /&gt;
[https://raw.githubusercontent.com/NikolaiVChr/flightgear-saab-ja-37-viggen/master/Aircraft/JA37/changelog.txt Changelog]&lt;br /&gt;
&lt;br /&gt;
== Discord ==&lt;br /&gt;
The Flightgear Viggen has its own Discord chat server: [https://discord.gg/34CRATF Discord invite link]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.milavia.net/specials/iv_viggen/ Viggen pilot interview]&lt;br /&gt;
* [http://www.airvectors.net/avvig.html Saab 37 Viggen]&lt;br /&gt;
* {{Wikipedia|Saab 37 Viggen}}&lt;br /&gt;
&lt;br /&gt;
{{Saab}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Attack aircraft]]&lt;br /&gt;
[[Category:Canard aircraft]]&lt;br /&gt;
[[Category:Fighter aircraft]]&lt;br /&gt;
[[Category:Single-engine jets]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131606</id>
		<title>Saab 37 Viggen</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Saab_37_Viggen&amp;diff=131606"/>
		<updated>2021-05-01T19:16:36Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: AJ37 variant has been removed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox aircraft&lt;br /&gt;
|image = Saab JA-37 Viggen Blue Peter Livery.png&lt;br /&gt;
|name = Saab 37 Viggen&lt;br /&gt;
|livery = 23 Liveries&lt;br /&gt;
|type = Fighter aircraft/Attack aircraft/STOL aircraft&lt;br /&gt;
|config = Canard aircraft/Delta-wing aircraft/Retractable gear aircraft&lt;br /&gt;
|propulsion = Single-engine jet&lt;br /&gt;
|manufacturer = Saab&lt;br /&gt;
|fdm = JSBSim&lt;br /&gt;
|status-fdm	= 4&lt;br /&gt;
|status-systems	= 5&lt;br /&gt;
|status-cockpit	= 4&lt;br /&gt;
|status-model	= 4&lt;br /&gt;
|status = Early production&lt;br /&gt;
|authors = Anders Lejczak/Justin Nicholson/Nicola B. Bernardelli/Isaac Protiva/Enrico Castaldi/Joshua Davidson/Nikolai V. Chr.&lt;br /&gt;
|fgname = JA37-Viggen&lt;br /&gt;
|fgname1 = AJS37-Viggen&lt;br /&gt;
|development = http://nikolaivchr.github.io/flightgear-saab-ja-37-viggen&lt;br /&gt;
|download = https://sites.google.com/site/fghangar&lt;br /&gt;
|ready = bombable/canvas/checklist/rembrandt/tutorials&lt;br /&gt;
|license = GPLv2+&lt;br /&gt;
|forumtid = 19130&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Saab 37 Viggen''' is an all-weather attack/fighter aircraft. It had Europe's first pulse-doppler radar, and one of only two jet fighters in the world to sport reverse thrust, the other being Panavia Tornado. This version of '''JA-37 Viggen''' was manufactured from 1980-1990, and the JA 37D variant flew in the Swedish airforce until 2005. The '''AJ-37 Viggen''' was introduced in 1971, the '''AJS-37 Viggen''' in 1993.&lt;br /&gt;
&lt;br /&gt;
[[File:AJS-37 rising.png|958×507px|AJS-37 in vertical ascend.]]&lt;br /&gt;
&lt;br /&gt;
== Flightgear version ==&lt;br /&gt;
The package contains two variants: AJS-37 and JA-37Di.&lt;br /&gt;
&lt;br /&gt;
Notice that the JA37 is much more accurate and well developed than the other variants.&lt;br /&gt;
&lt;br /&gt;
=== Feature overview ===&lt;br /&gt;
====Flightgear compatibility====&lt;br /&gt;
* The Viggen is compatible with Flightgear version 2018.2.1 or later.&lt;br /&gt;
&lt;br /&gt;
====Aerodynamics====&lt;br /&gt;
* [[JSBSim]] FDM based mostly on original Saab windtunnel data.&lt;br /&gt;
* 47 individual aerodynamic coefficients.&lt;br /&gt;
* Aerodynamic effect of air intake factor, ground effects and control surface shading.&lt;br /&gt;
* At high alpha asymmetric vortex detachment of left or right side, resulting in adverse effects.&lt;br /&gt;
* Very high alpha handling including realistic departures such as stall, spiral dive, flat spin and inverted spin.&lt;br /&gt;
* Aerodynamic response to payload. (droptank &amp;amp; armament)&lt;br /&gt;
* Aerodynamic drag from canopy open and canopy detachment.&lt;br /&gt;
* Significantly reduced lift and roll damping when wings detach.&lt;br /&gt;
* High compliance with various performance numbers. (true not indicated instrument values)&lt;br /&gt;
* Capable of landing with a heavy crosswind.&lt;br /&gt;
* Mach tuck in transonic/supersonic regime.&lt;br /&gt;
&lt;br /&gt;
====Flight control system====&lt;br /&gt;
* Tuned [[autopilot]] based on indicated instrument values, not true values. All settings supported except speed controlled from pitch.&lt;br /&gt;
* A/P can be set to follow other aircraft.&lt;br /&gt;
* Automatically controlled flaps.&lt;br /&gt;
* Elevon and rudder deflection is limited depending on hydraulic pressure, air density and speed.&lt;br /&gt;
* Filter based pitch, yaw and roll dampers lets the pilot control the plane without adverse effects such as turbulence, dutch roll, accelerated rolls and pitch oscillations which would otherwise be present.&lt;br /&gt;
* Nose wheel steering lock and limiting depending on ground speed.&lt;br /&gt;
* Gear will not retract on runway, and not extend above certain speeds.&lt;br /&gt;
&lt;br /&gt;
====System====&lt;br /&gt;
* External power supply truck, generator or reserve generator produces AC voltages.&lt;br /&gt;
* DC voltage converted from AC or from battery.&lt;br /&gt;
* Battery drain and recharge.&lt;br /&gt;
* Instrument and landing light dims when not getting enough power and various systems shut down.&lt;br /&gt;
* Two hydraulic systems modeled, the second having a reserve pump.&lt;br /&gt;
* Terrain warning system, with HUD indication and annunciator.&lt;br /&gt;
* Open canopy can be torn off by high wind speeds.&lt;br /&gt;
* Simulated airconditioner unit, which become handy when ice or fog forms on windshield in ALS.&lt;br /&gt;
* Automated fuel system that works like in the real Viggen. It uses pneumatics, hydralics and electricity. It can be controlled manually also.&lt;br /&gt;
* TILS (tactical instrument landing system) that auto tunes to nearby ILS frequencies.&lt;br /&gt;
* Custom flight recorder records 53 extra properties for accurate replay functionality. Also record fidelity has been increased for smoother replay.&lt;br /&gt;
* 7 internal fuel tanks plus a drop tank that can be jettisoned.&lt;br /&gt;
&lt;br /&gt;
====Failure system====&lt;br /&gt;
* 26 extra failures beside the standard ones.&lt;br /&gt;
* Canopy motor, canopy hinges, wings attachment and individual gear locking mechanisms are preset to fail under specific conditions.&lt;br /&gt;
* Engine fire preset to start under certain conditions. Can fail engine if left burning too long.&lt;br /&gt;
* Crash-detection and high-G structural break tied into the failure system; it can randomly fail components proportional to the damage the plane takes.&lt;br /&gt;
* Damage system for getting hit by ordnance.&lt;br /&gt;
&lt;br /&gt;
====Avionics====&lt;br /&gt;
* The cockpit features 77 working controls.&lt;br /&gt;
* Gauges are in metric and have Swedish descriptions. But they have [[Tooltips]], showing Imperial and English units.&lt;br /&gt;
* Switches, knobs and buttons have English text for convenience.&lt;br /&gt;
* Custom [[Canvas]] [[HUD]] built from Saab flight manual with 4 modes of operation: navigation, landing, takeoff and tactical.&lt;br /&gt;
* HUD values depend on indicated values, not real values.&lt;br /&gt;
* HUD can switch between Imperial and Metric units.&lt;br /&gt;
* The callsign (or type), velocity vector and distance of the selected track is also displayed in the HUD. It also display nearest tower.&lt;br /&gt;
* HUD shows radar tracks of aircraft plus scenario objects like ferries, balloons, tankers, carriers, tanks, bus, trains etc.&lt;br /&gt;
* At ILS landings the HUD will show a glideslope guide, if the runway supports it. Also DME if supported and enabled.&lt;br /&gt;
* Other HUD features such as distance scale, variant altitude scale, heading scale on horizon in landing mode, diamond at missile lock, altimeter calibration warning etc.&lt;br /&gt;
* Radar with 180 Km (120 Km for AJ37) range that show MP and AI objects alike depend on hydraulic and electricity.&lt;br /&gt;
* In regards to MP planes the radar can be setup to be pulse doppler and/or not able to see through terrain.&lt;br /&gt;
* Auto-start and auto shut down scripts.&lt;br /&gt;
* Realistic modeled indicator panels for various warnings, alerts and notices.&lt;br /&gt;
&lt;br /&gt;
====Engine====&lt;br /&gt;
* Volvo RM-8B (AJ37: RM-8A) turbine with accurate fuel consumption and performance in different air density and speed regimes.&lt;br /&gt;
* A thrust reverser is equipped which require proper hydraulics and electricity to work.&lt;br /&gt;
* Afterburner that has 3 continuous zones of operation.&lt;br /&gt;
&lt;br /&gt;
====Sound====&lt;br /&gt;
* 58 distinct sounds, including 19 annunciation warnings.&lt;br /&gt;
* 9 [[Multiplayer]] sounds enabled.&lt;br /&gt;
* When canopy is open wind and exterior engine sounds can be heard.&lt;br /&gt;
* No out of place sounds being played at start of sim.&lt;br /&gt;
* When guided missiles hit, the sound is propagated according to the speed of sound at the altitude, and so the explosion will be realistically delayed.&lt;br /&gt;
* Annunciator will warn of incoming guided air to air missile from ja37, m2000-5, f-15 or f-14b. It will also say from which direction.&lt;br /&gt;
* Thunder (when using adv. weather) and rain sounds.&lt;br /&gt;
&lt;br /&gt;
====Armament====&lt;br /&gt;
* JA37: 30mm Cannon with authentic shell properties and accurate recoil.&lt;br /&gt;
* JA37: Unguided rocket pods and guided RB-24J, RB-74, RB-99 and RB-71 air2air missiles, that can be fired at AI and MP alike.&lt;br /&gt;
* AJ37: Unguided rocket and cannon pods and guided RB-75, RB-04, RB-05, M90 and RB-15F air2ground missiles. Plus 3 kinds of sidewinders.&lt;br /&gt;
* RB-24 / RB-24J works as rear aspect only.&lt;br /&gt;
* Dual releasing flares that work against RB24, RB-24J and RB74.&lt;br /&gt;
* No longer compatible with the [[Bombable]] addon. Sorry.&lt;br /&gt;
* M71 dumb bombs with CCIP aiming.&lt;br /&gt;
* Ability to target a GPS coordinate and fire at it.&lt;br /&gt;
&lt;br /&gt;
====Model====&lt;br /&gt;
* 12 authentic Swedish Airforce and 10 fictive Flightgear liveries included.&lt;br /&gt;
* Selection view, with camera pointing to the aircraft from outside and towards the current selected MP/AI aircraft.&lt;br /&gt;
* Ubershaded exterior model and cockpit panels. Also flood light is supported if model shader is enabled.&lt;br /&gt;
* Normal mapped exterior model.&lt;br /&gt;
* Fully ALS ready and also Rembrandt compatible, but with no light influences.&lt;br /&gt;
* Animated gear scissors, compressions and spinning wheels.&lt;br /&gt;
* Pilot eye view is tuned for getting good view of runways at landings, while at the same time give good view of HUD and instrument panel.&lt;br /&gt;
* Preloaded exterior view, for fast switching to exterior view.&lt;br /&gt;
&lt;br /&gt;
====Effects====&lt;br /&gt;
* Aerobatic smoke in yellow or blue.&lt;br /&gt;
* Wing vapour under the right atmospheric conditions.&lt;br /&gt;
* Under right conditions, contrails will form and if persistent contrail shader is on they will show also.&lt;br /&gt;
* Lights that depends on distance viewed and sun position.&lt;br /&gt;
* Beacon light that simulate rotating beacons.&lt;br /&gt;
* Frost, fog and rain splashes on canopy in ALS. They depend on canopy position, aircondition, outside/inside temperate and dewpoint and rain.&lt;br /&gt;
* Vapour cone in transonic regime.&lt;br /&gt;
* Landing light cone on runway in ALS.&lt;br /&gt;
* Explosion at crash if plane takes enough damage and has enough fuel.&lt;br /&gt;
* In ALS rain drops will form on the fuselage.&lt;br /&gt;
* Buffeting of cockpit view, at high G, on runway, transonic and high alpha, depending on altitude.&lt;br /&gt;
&lt;br /&gt;
====Multiplay====&lt;br /&gt;
* The following is transmitted and shown over MP: Gear compression, flight surfaces animation, afterburner flame, engine flame light, landing light, flash light, beacon lights, navigation lights, canopy animation, canopy detachment, wings detachment, explosion, wing vapour, engine smoke, reversers, frontgear steering, missiles, rocket pods, drop tank, transonic vapour, contrails, aerobatic smoke, external power truck, control surfaces, livery and engine heat blur.&lt;br /&gt;
* Different Viggen version are to high degree compatible with each other in [[Multiplayer]].&lt;br /&gt;
&lt;br /&gt;
====GUI====&lt;br /&gt;
* 4 [[Aircraft_Checklists|Checklists]]; startup with ext. power, startup with battery, takeoff and landing.&lt;br /&gt;
* Performance monitor with environment stats, aerodynamic ratios, landing/takeoff distance measurement and other interesting values.&lt;br /&gt;
* Systems monitor, that reveals internal systems state.&lt;br /&gt;
* Options panel, with many configurable options.&lt;br /&gt;
&lt;br /&gt;
=== Some HUD situations ===&lt;br /&gt;
&lt;br /&gt;
[[File:JA-37 in a bad ILS approach.png|The HUD assists with ILS landings.]]&lt;br /&gt;
[[File:JA-37 HUD during standard flight.png|This is how the HUD looks most often.]]&lt;br /&gt;
[[File:JA-37 HUD ready for takeoff.png|This is typical HUD situation before takeoff.]]&lt;br /&gt;
&lt;br /&gt;
=== Media ===&lt;br /&gt;
[[File:37 Viggen Red ghost livery.png|900x506px|Red ghost livery for the Saab JA-37 Viggen]]&lt;br /&gt;
[[File:JA-37 Soaring.png|thumb|Vapour on the Viggen in a high AoA situation.]]&lt;br /&gt;
[[File:JA-37 Transonic.png|thumb|Transonic pass of freighter]]&lt;br /&gt;
[[File:JA-37 Frontpanel.png|thumb|Frontpanel will full functioning indicator panels.]]&lt;br /&gt;
[[File:JA-37 Afterburner.png||Notice the light effect on the fuselage from the afterburner flame.]]&lt;br /&gt;
[[File:JA-37 Reversing.png||Reverse petals]]&lt;br /&gt;
[[File:JA-37 Sunset.png||Grey/black camo livery]]&lt;br /&gt;
[[File:AJS-37 Attack.png|958×507px|AJS-37 doing an attack run.]]&lt;br /&gt;
&lt;br /&gt;
See more screenshot in this gallery [https://sites.google.com/site/fghangar/ja-37-screenshots here].&lt;br /&gt;
&lt;br /&gt;
Tutorial video series:&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|VGsWxUgy0Q}}&lt;br /&gt;
&lt;br /&gt;
=== Info ===&lt;br /&gt;
[https://raw.githubusercontent.com/NikolaiVChr/flightgear-saab-ja-37-viggen/master/Aircraft/JA37/changelog.txt Changelog]&lt;br /&gt;
&lt;br /&gt;
== Discord ==&lt;br /&gt;
The Flightgear Viggen has its own Discord chat server: [https://discord.gg/34CRATF Discord invite link]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.milavia.net/specials/iv_viggen/ Viggen pilot interview]&lt;br /&gt;
* [http://www.airvectors.net/avvig.html Saab 37 Viggen]&lt;br /&gt;
* {{Wikipedia|Saab 37 Viggen}}&lt;br /&gt;
&lt;br /&gt;
{{Saab}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Attack aircraft]]&lt;br /&gt;
[[Category:Canard aircraft]]&lt;br /&gt;
[[Category:Fighter aircraft]]&lt;br /&gt;
[[Category:Single-engine jets]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Opentrack&amp;diff=131605</id>
		<title>Opentrack</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Opentrack&amp;diff=131605"/>
		<updated>2021-05-01T18:44:24Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Add instructions to use the headtracker addon. Remove the old protocol file because it is quite broken (completely ignores the aircraft view offsets, enabled in all views)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase title}}&lt;br /&gt;
{{Infobox Software&lt;br /&gt;
| title                  = opentrack&lt;br /&gt;
| logo                   = &lt;br /&gt;
| image                  = Opentrack_screenshot.png&lt;br /&gt;
| alt                    = The opentrack interface&lt;br /&gt;
| writtenin              = C/C++&lt;br /&gt;
| os                     = Cross-platform&lt;br /&gt;
| developmentstatus      = Active&lt;br /&gt;
| license                = Most all code is under the ICS license&lt;br /&gt;
| website                = https://github.com/opentrack/opentrack&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[https://github.com/opentrack/opentrack '''opentrack'''] is a head-tracking program with built-in support for the [[Interfacing_FlightGear|FlightGear interface]], allowing head tracking data to be sent directly as input data to FlightGear. Licensed as open-source software, opentrack has its roots in the [[FaceTrackNoIR]] project, and maintains many of the projects ideas. &lt;br /&gt;
&lt;br /&gt;
== Installation  ==&lt;br /&gt;
=== Compiling for Linux ===&lt;br /&gt;
Linux users may be disappointed to know that no binaries are provided for opentrack. Luckily, compiling opentrack is a fairly mild process.&lt;br /&gt;
&lt;br /&gt;
The following dependencies are for '''Debian-based''' systems, however it should give users of other distros a rough idea of what they will need to hunt for in their own package manager. Users of other distributions are encouraged to expand upon this guide.&lt;br /&gt;
&lt;br /&gt;
==== Dependencies ====&lt;br /&gt;
* {{code|cmake}}&lt;br /&gt;
* {{code|git}}&lt;br /&gt;
* {{code|qttools5-dev}}&lt;br /&gt;
* {{code|qtbase5-private-dev}}&lt;br /&gt;
* {{code|libprocps-dev}}&lt;br /&gt;
* {{code|libopencv-dev}}&lt;br /&gt;
&lt;br /&gt;
{{Note|While opentrack will build without OpenCV, it will only compile with a very minimal subset of its functionality, making it of little use to the average user who does not have very specific usage requirements.}} &lt;br /&gt;
&lt;br /&gt;
==== Building ====&lt;br /&gt;
Compiling the project is the same as with any cmake project:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
git clone https://github.com/opentrack/opentrack&lt;br /&gt;
cd opentrack/&lt;br /&gt;
cmake .&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Note|The resulting build output will be placed in the {{code|install/}} directory. It will not 'install' itself anywhere outside of the current directory.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
FlightGear will not automatically start accepting input from opentrack just because you have it running, because it has not been told to listen for input from opentrack, or what to do with it.&lt;br /&gt;
&lt;br /&gt;
The simplest way to do so is to use the headtracker addon.&lt;br /&gt;
* Download the headtracker addon from {{fgaddon source|path=Addons/Headtracker}} (See [[FGAddon#Download|FGAddon]] regarding how to download from an svn repository).&lt;br /&gt;
* Load the headtracker [[Addon#Installing_and_using_an_addon|addon]], either by adding it in the [[FlightGear_Qt_launcher| FlightGear launcher]], or with the following [[Command_line_options|command line option]]:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
--addon=full-path-to-the-headtracker-folder&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Add the following [[Command_line_options|option]] either from the [[Command_line|command line]], or through the [[FlightGear_Qt_launcher| FlightGear launcher]]:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
--generic=socket,in,25,127.0.0.1,5542,udp,opentrack&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{Note|Proper calibration of your head-tracking setup is crucial for success, it may require lots of experimenting. Also ensure that no other software is trying to use your webcam, that FlightGear is selected as the &amp;quot;Output&amp;quot;, and that your tracking is running before launching FlightGear}}&lt;br /&gt;
&lt;br /&gt;
[[File:Opentrack with the FlightGear output mode selected.png|thumbnail|FlightGear must be selected as the &amp;quot;Output&amp;quot; in order for the head tracking to work]]&lt;br /&gt;
&lt;br /&gt;
A generic quickstart video demonstrating the usage of opentrack can be found below.&lt;br /&gt;
{{#ev:youtube|QYmHab6CGgo|A quickstart video for using opentrack}}&lt;br /&gt;
&lt;br /&gt;
== Related content ==&lt;br /&gt;
=== Wiki articles ===&lt;br /&gt;
* [[Head tracking]]&lt;br /&gt;
&lt;br /&gt;
=== Forum topics ===&lt;br /&gt;
* {{forum link|title=Re: Opentrack|p=372905|}} (The original source of the XML code and startup options)&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* {{github source|proj=opentrack|repo=opentrack|text=Project website}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Head tracking]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=FaceTrackNoIR&amp;diff=131603</id>
		<title>FaceTrackNoIR</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=FaceTrackNoIR&amp;diff=131603"/>
		<updated>2021-05-01T17:57:32Z</updated>

		<summary type="html">&lt;p&gt;Colin Geniet: Changes for addon update: 1. protocol xml file is in the addon, no need to download it separately, 2. protocol xml file name changed headtracker -&amp;gt; facetracknoir&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox Software&lt;br /&gt;
| title                  = FaceTrackNoIR&lt;br /&gt;
| logo                   = &lt;br /&gt;
| image                  = Facetracknoir.jpg&lt;br /&gt;
| alt                    = The FaceTrackNoIR interface, with the webcam view in the bottomleft corner.&lt;br /&gt;
| developedby            = Wim Vriend, Ron Hendriks&lt;br /&gt;
| initialrelease         = May 24, 2010&lt;br /&gt;
| latestrelease          = July 08, 2018&lt;br /&gt;
| writtenin              = &lt;br /&gt;
| os                     = Windows&lt;br /&gt;
| platform               = &lt;br /&gt;
| developmentstatus      = Active (2010-)&lt;br /&gt;
| type                   = &lt;br /&gt;
| license                = parts of the program under ICS Licence, the rest unknown&lt;br /&gt;
| website                = http://sourceforge.net/projects/facetracknoir/&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[http://facetracknoir.sourceforge.net/home/default.htm '''FaceTrackNoIR'''] is a headtracking program that uses the [http://www.seeingmachines.com/product/faceapi/ SeeingMachines FaceAPI]. Movements of the head are registered by a simple web cam; no additional hardware (eg. markers) are required. [[FlightGear]] support is built in, so you can look around in the FlightGear world by rotating your head.&lt;br /&gt;
You can download it from here: [http://www.facetracknoir.nl/ http://www.facetracknoir.nl/] for around 2,85 Euro, you need the free PluginPack as well.&lt;br /&gt;
&lt;br /&gt;
== Run with FlightGear 2017.3 and newer ==&lt;br /&gt;
=== Installation  ===&lt;br /&gt;
* Make sure you have installed Facetracknoir from http://www.facetracknoir.nl/ and its Plugin-Pack as prescribed in the README contained in the zip-file or alternatively in the [http://facetracknoir.sourceforge.net/manual/installation.htm installation manual].&lt;br /&gt;
&lt;br /&gt;
* You then need to have the headtracker folder somewhere on your system. Its source for FlightGear's development version is part of FGAddon, precisely at:&lt;br /&gt;
&lt;br /&gt;
{{fgaddon source|path=Addons/Headtracker}}&lt;br /&gt;
&lt;br /&gt;
* Since FGAddon is a Subversion repository, any method to retrieve contents from a Subversion repository should be fine to get Headtracker on your hard drive. The page [[FGAddon]] explains a bunch of them in case you have no idea. For instance, with the Subversion command-line client (svn), the following command retrieves the development version of Headtracker (the last parameter is the destination folder):&lt;br /&gt;
&lt;br /&gt;
    svn checkout https://svn.code.sf.net/p/flightgear/fgaddon/trunk/Addons/Headtracker Headtracker&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
#Make sure you closed any webcam software that might be running. This is really important, failing to do so will probably stop FaceTrackNoIR from working.&lt;br /&gt;
#Start FaceTrackNoIR. &lt;br /&gt;
#Select &amp;quot;Game Protocol: FlightGear&amp;quot; and click the &amp;quot;Start&amp;quot; button under &amp;quot;Tracker Source&amp;quot;. You might have to restart the FaceTrackNoIR once, after clicking &amp;quot;Start&amp;quot;.&lt;br /&gt;
#A small window with your webcam's view should show up in the leftbottom corner. Make sure your head is well within the view and eyes, nose and cheeck are outlined by a yellow line. When you move/rotate your head, the lines should follow your movements.&lt;br /&gt;
#Start FlightGears Launcher and add the following argument in ''Additional Settings'' in ''Settings'':&amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;--addon=full-path-to-the-headtracker-folder&amp;lt;br /&amp;gt;--generic=socket,in,25,localhost,5550,udp,facetracknoir&amp;lt;br /&amp;gt;--generic=socket,out,10,localhost,5551,udp,facetracknoir&amp;lt;/tt&amp;gt;&lt;br /&gt;
#Add optional (opens up the property browser showing the headtracking values:&amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;--prop:browser=/sim/headtracker&amp;lt;/tt&amp;gt;&lt;br /&gt;
#While running FlightGear, open the FaceTrackNoIR dialog and edit the sensitivity bars, so that your head movements correspond well with FlightGear's view movements. Ticking the &amp;quot;invert&amp;quot; boxes might be neccesary if your movements are mirrored.&lt;br /&gt;
#*In FlightGear sometimes you have to reset the view. You can do this by pressing =-key (equal sign)&lt;br /&gt;
&lt;br /&gt;
== Run with FlightGear pre 2017.3 and older  (works only for FlightGear Versions older than 2017.3)==&lt;br /&gt;
# Download and install FaceTrackNoIR, as prescribed in the README contained in the zip-file or alternatively in the [http://facetracknoir.sourceforge.net/manual/installation.htm installation manual].&lt;br /&gt;
# You will have to move 2 files to the [[$FG ROOT|FlightGear root]]. Both files are called &amp;quot;headtracker.xml&amp;quot;, but their content is different! One file goes to [[$FG ROOT]]/Nasal and the other goes to [[$FG ROOT]]/Protocol. The files can be found in FaceTrackNoIR's [https://sourceforge.net/projects/facetracknoir/files/Special%20support/FlightGear/ file section]. &lt;br /&gt;
# Make sure you closed any webcam software that might be running. This is really important, failing to do so will probably stop FaceTrackNoIR from working.&lt;br /&gt;
# Start FaceTrackNoIR. &lt;br /&gt;
#* Select &amp;quot;Game Protocol: FlightGear&amp;quot; and click the &amp;quot;Start&amp;quot; button under &amp;quot;Tracker Source&amp;quot;. You might have to restart the FaceTrackNoIR once, after clicking &amp;quot;Start&amp;quot;.&lt;br /&gt;
#* A small window with your webcam's view should show up in the leftbottom corner. Make sure your head is well within the view and eyes, nose and cheeck are outlined by a yellow line. When you move/rotate your head, the lines should follow your movements.&lt;br /&gt;
# You can run FTNoIR through two ways:&lt;br /&gt;
#* Run FlightGear, with the following (extra) commands:&amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;--generic=socket,in,25,localhost,5550,udp,headtracker&amp;lt;br /&amp;gt;--generic=socket,out,10,localhost,5551,udp,headtracker&amp;lt;br /&amp;gt;--prop:browser=/sim/headtracker&amp;lt;br /&amp;gt;--config=[[$FG ROOT]]/Nasal/headtracker.xml&amp;lt;/tt&amp;gt;&lt;br /&gt;
#* Set the commands showed above via [[FGRun]]. All of them can be set via Advanced on the last page of the launcher.&lt;br /&gt;
# While running FlightGear, open the FaceTrackNoIR dialog and edit the sensitivity bars, so that your head movements correspond well with FlightGear's view movements. Ticking the &amp;quot;invert&amp;quot; boxes might be neccesary if your movements are mirrored.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resetting the View in pre 2017.3 ==&lt;br /&gt;
The following code is from an external [https://sourceforge.net/p/facetracknoir/discussion/flightgearprotocol/thread/d3bc8b0f/ discussion].&lt;br /&gt;
&lt;br /&gt;
Sometimes it is useful to be able to reset the view (in the example below with the equal sign key). That can be accomplished by adding the following code to the headtracker.xml in the Nasal directory at the beginning (the first and the last tag in the code snippet below already exist - use the code in between):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PropertyList&amp;gt;&lt;br /&gt;
	&amp;lt;input&amp;gt;&lt;br /&gt;
		&amp;lt;keyboard&amp;gt;&lt;br /&gt;
			&amp;lt;key n=&amp;quot;61&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;name&amp;gt;= (equal sign)&amp;lt;/name&amp;gt;&lt;br /&gt;
				&amp;lt;desc&amp;gt;Reset Head Tracker&amp;lt;/desc&amp;gt;&lt;br /&gt;
				&amp;lt;binding&amp;gt;&lt;br /&gt;
					&amp;lt;command&amp;gt;nasal&amp;lt;/command&amp;gt;&lt;br /&gt;
					&amp;lt;script&amp;gt;headtracker.reset()&amp;lt;/script&amp;gt;&lt;br /&gt;
				&amp;lt;/binding&amp;gt;&lt;br /&gt;
			&amp;lt;/key&amp;gt;&lt;br /&gt;
		&amp;lt;/keyboard&amp;gt;&lt;br /&gt;
	&amp;lt;/input&amp;gt;&lt;br /&gt;
	&amp;lt;nasal&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively you can assign the reset functionality to a button. In the following example clicking on the button resets the headtracker if in the default cockpit view. Otherwise it gets back to the cockpit view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;button&amp;gt;&lt;br /&gt;
	&amp;lt;number&amp;gt;&lt;br /&gt;
		&amp;lt;unix&amp;gt;13&amp;lt;/unix&amp;gt;&lt;br /&gt;
		&amp;lt;windows&amp;gt;1&amp;lt;/windows&amp;gt;&lt;br /&gt;
	&amp;lt;/number&amp;gt;&lt;br /&gt;
	&amp;lt;desc&amp;gt;Reset view and cockpit view&amp;lt;/desc&amp;gt;&lt;br /&gt;
	&amp;lt;binding&amp;gt;&lt;br /&gt;
		&amp;lt;command&amp;gt;nasal&amp;lt;/command&amp;gt;&lt;br /&gt;
		&amp;lt;script&amp;gt;&lt;br /&gt;
			&amp;lt;![CDATA[&lt;br /&gt;
				if (getprop(&amp;quot;/sim/current-view/view-number&amp;quot;) &amp;gt; 0) {&lt;br /&gt;
					setprop(&amp;quot;/sim/current-view/view-number&amp;quot;, 0);&lt;br /&gt;
					setprop(&amp;quot;/sim/current-view/goal-pitch-offset-deg&amp;quot;, getprop(&amp;quot;/sim/view[0]/config/pitch-offset-deg&amp;quot;));&lt;br /&gt;
					setprop(&amp;quot;/sim/current-view/goal-heading-offset-deg&amp;quot;, 0.0);&lt;br /&gt;
				} else {&lt;br /&gt;
					headtracker.reset();&lt;br /&gt;
				}&lt;br /&gt;
			]]&amp;gt;&lt;br /&gt;
		&amp;lt;/script&amp;gt;&lt;br /&gt;
	&amp;lt;/binding&amp;gt;&lt;br /&gt;
&amp;lt;/button&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
=== I get a &amp;quot;missing ... .dll&amp;quot; error ===&lt;br /&gt;
[http://www.faceapi.com/Download/register.php Download the faceAPI demo] to install the neccessary .dlls.&lt;br /&gt;
&lt;br /&gt;
=== Translating along X, Y or Z axis results in too large movements ===&lt;br /&gt;
If you experience that translations are exagerated too much despite appropriate settings in FaceTrackNoIR's curve settings, then you might want to add e.g. a factor of 0.01 to the headtracker.xml file in the Nasal directory like e.g.:&lt;br /&gt;
  z.apply(0.01 * getprop(&amp;quot;/sim/headtracker/z-m&amp;quot;));&lt;br /&gt;
&lt;br /&gt;
== Related content ==&lt;br /&gt;
* [[Head tracking]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://sourceforge.net/projects/facetracknoir/ Project website]&lt;br /&gt;
&lt;br /&gt;
[[Category:Head tracking]]&lt;/div&gt;</summary>
		<author><name>Colin Geniet</name></author>
	</entry>
</feed>