• 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.

FS2004 Control panel using NAV2 frequency

  • Thread starter Thread starter Aviasim
  • Start date Start date
A

Aviasim

Guest
Hi,

I am now expanding my knowledge in the sim community!

I will tell you basically what I am aiming to do, and why.

Well, I decided to make my own gauge which users can add to any aircraft of their choice when they fly into my leicester scenery, this scenery has 4 animations which are triggered by using the NAV2 frequency. I have found that not all aircraft have a NAV2 on the radio, so I make my own gauge.

I have drawn it all out in photoshop etc, but now I dont know where to start!
The frequencys being used is 112.00, 112.10, 112.20 and 112.30.

I want the users to be able to simply press on the button that displays the hangar which animations are being triggered, then automatically activating it for the animation.

Is this possible? if so, how do I go about doing this? also when the users click on one of the buttons, I want that button to display a "Active" light when that button is pressed and active.

Here are some screenshots:

No buttons pressed:
none.png


Left-Middle button pressed:
leftmid.png
 
Old eyes can't read 'chisel'... bad eyes can't either.

As for where to start... now you make a gauge.
 
Old eyes can't read 'chisel'... bad eyes can't either.

As for where to start... now you make a gauge.

Okay, and that is where I don't know where to start... which is why I am asking help to achieve this.

If the text on that was tricky to read, then I may remove it.
 
Yeah well I can fix that with a click of the mouse I am not too fussed how it looks now since I will most probably change the way the whole thing looks.

I am only asking if what I am trying to do is possible and how would I go about doing it.
 
Oh, sorry. I'm pretty sure it's possible to do, at least with XML gauges in FSX. I'm not as well versed in FS9, though.
 
Are you intending that pilots carry that chunk of marble on board their a/c?
If so their weight and balance will have to be recalculated!!!!!:)
vololiberista
 
Oh for goodness sake!

I clearly said: "I decided to make these little gauge so users of my EGBG scenery can open/close the hangars by clicking on a button since not all aircraft have a NAV2"!

Well done guys! great way to help a person who wants to learn this (y).
 
Boys jokes appart (just relax and don't take it seriously) your gauge will work as long as NAV2 is enabled in the aircraft.cfg file; I'm afraid some small planes might fall out of this situation.

Tom
 
Since you are using preset frequencies, all you need to do is create a simple mouse callback in XML that will convert that preset decimal freq to a BCD format, then use the appropriate ..._SET key event.

First, a simple but useful @macro to convert Decimal to BCD:
Code:
<Macro Name="Dec2Bcd">
   100 * 10000 % int
   d 10 % r 10 / int
   d 10 % r 10 / int
   d 10 % r 10 / int
   16 * +
   16 * +
   16 * +
</Macro>

Using the @macro is as simple as this example:

Code:
<Click>
     @Dec2Bcd(112.30) (>K:NAV2_RADIO_SET)
</Click>
 
Last edited:
Back
Top