• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSXA ADF2 Radial

Messages
53
I've been trying to get a 3D ADF2 needle to work in the VC, but no luck. The identical code (but for ADF1, obviously) is working just fine, and so I'm at a bit of a loss to know where the problem is.

1. The aircraft.cfg [Radios] section is correctly set up for two ADF
2. The needle has been checked for 'scale', etc.and everything looks ok.

Can anyone think of something I may have overlooked?

Code:
<PartInfo>
    <Name>ADF2_needle</Name>
    <AnimLength>360</AnimLength>
    <Animation>
    <Parameter>
      <Code>
        (A:ELECTRICAL MASTER BATTERY,bool)
        (A:AVIONICS MASTER SWITCH,bool)
        and
        if{ (A:ADF2 Radial,degrees) dnor }
        els{ 90 }
      </Code>
    </Parameter>
    </Animation>
  </PartInfo>

Thanks!

Mike
 
The FSX/ESP SDK simulation variable name for ADF radials is "ADF RADIAL:index" (degrees).
 
Are two ADF channels supported in FS9?
If not, it might be the reason why FSX doesn't know the "ADF2 Radial" variable (whereas other legacy variables tend to work without issue).
 
No. FS9 only supported one ADF, which begs the question as to why they specified "ADF1..." to begin with.:confused:
 
No. FS9 only supported one ADF, which begs the question as to why they specified "ADF1..." to begin with.:confused:

Maybe they had to defer ADF2 implementation due to time and budget constaints?
 
What? I have been using 2 ADFs in FS9 for years.

A snippet of code in a dual needle ADF RMI:

Code:
            <Element>
               <Position X="128" Y="128"/>
               <Image Name="RMI_NAV2_ND.bmp" ImageSizes="33,207">
                  <Axis X="16.5" Y="103.5"/>
               </Image>
               <Rotate>
                  <Value>(A:ADF Radial:2,radians) </Value>
               </Rotate>
            </Element>
           <Element>
               <Position X="128" Y="128"/>
                    <Image Name="RMI_NAV1_ND.bmp" ImageSizes="33,207">
                        <Axis X="16.5" Y="103.5"/>
                     </Image>
               <Rotate>
                  <Value>(A:ADF Radial:1,radians) </Value>
               </Rotate>
            </Element>

Of course you do need to activate it in the aircraft.cfg file:

Code:
[Radios]
Audio.1=1
Com.1=1, 0
Com.2=1, 0
Nav.1=1, 0, 1
Nav.2=1, 0, 1
Adf.1=1
Adf.2=1
Transponder.1=1
Marker.1=1

FS9 has a complete set of radios - 2 COM, 2 NAV (including ILSs in both), 2 ADF, Marker, and Transponder. The AP can only operate from the NAV1 radio, though.

Hope this helps,
 
Well, I was half-right anyway: ADF2 does not exist... It was FS8 that introduced ADF1 but never implemented ADF2.
 
If you mean the (A:ADF2 Radial,degrees) variable doesn't exist then you're right, I believe. But luckily the (A:ADF Radial:2,degrees) was introduced in FS2004.

From the FS2004 SDK:

"Note: Avionics parameters take an index (e.g., 1 or 2) for Nav 1, Nav 2, Com 1, Com 2, ADF 1, ADF 2, etc.

ADF RADIAL Current direction from NDB station

Although I do admit that MS was not at all consistent in their indexing of their panel variables!
 
Back
Top