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

XML little issue about AP

Messages
44
Country
france
Hello all from France. (So with an aproximative English... )
-
Not enough skilled to create from scratch I just want to adapt an existing gauge.
Starting with the "KFC225" autopilot.
Real thank's to the author who don't signe.
I've lot of respect for his/her work.
-
I'had simplified a lot just to have an ALT and HEADING holder.
Wich work well.
-
But you know ...
When we begin to put a finger...
-
A GPS follower will be nice.
-
Then is my issue:
-
What I'm searching for is to switch from "nothing" or from "HDG on" directly to "GPS" route without the "NAV1 on " buton to manually activate this step .
-
Below is sections of codes I try to use :

But without any action.

As "newbee" I'm sure to be wrong.
And help will be really welcome.
Thank's in advance !


<Element>
<Value>(K:GPS drives nav1="1")</Value>
</Element>
Trying to put "on" the GPS priority

<!-- NAV ANNUNCIATOR -->
<Element>
<Position X="0" Y="0"/>
<Visible>(AP_NAV1_HOLD_ON, bool)</Visible>
<Image Name="ap3-nav-on.bmp" Bright="Yes" ImageSizes="400,400"/>
</Element>
Just to have the visualisation



And to finish the mouse area

<!-- NAV BUTTON -->
<Area Left="175" Top="327" Width="50" Height="40">
<Cursor Type="Hand"/>
<Click>(A:Autopilot nav1 lock, bool) 0 == if{ (&gt;K:AP_NAV1_HOLD_ON,bool) } els{ (&gt;K:AP_NAV1_HOLD_OFF,bool) (A:Autopilot heading lock, bool) 0 == if{ (&gt;K:AP_WING_LEVELER_ON) } }</Click>
<Tooltip ID="TOOLTIPTEXT_AUTOPILOT_NAV_HOLD"/>
 
(K:GPS drives nav1="1") should be 1 (&gt;K:GPS drives nav1) But this means that you can never use NAV for following VOR's or ILS's, since the NAV/GPS switch is always thrown to GPS.

Why don't you have a GPS button that:

1. Switches the AP to NAV
2. Switches the NAV/GPS to GPS

Have a separate NAV button that:

1. Switches the AP to NAV
2. Switches the NAV/GPS to NAV

Hope this helps,
 
Back
Top