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

FSX Lowest and highest elevation

Messages
205
Country
netherlandsantilles
Dear FS gurus,
Im currently writing a TAWS for the citation XLS and I notice the MFD gives the lowest and highest elevation displayed on the screen.
I want to be able to simulate that but I read trough the GPS guide book and was unable to see how you could get that information. Any body can guide me through the right direction?

Capture.JPG


thnx,
Adino
 
Looking at it from an XML and gps.dll variables perspective (the stuff of the guidebooks), I don't know of a way to do that. And, I'm not familiar with the Citation XLS aircraft you're discussing and how the developers got the elevation information. I presume the MFD gauge file is a .gau file which can't be read.

Neither do I know of an easy, yet dynamic, way to query the terrain database to extract elevation as a function of an arbitrary lat/lon.

Those that have superior coding tools like C++ may know of a way to find the info you're after. Apparently, it can be done, if the Citation can do it.

Bob
 
Last edited:
Thanks for the reply Bob.
The shot is from the real aircraft TAWS and I am currently programming something similar. But basically you answer my question from what I see there is no simple way.
I will have to leave it like that.
thank you.
 
I'm aware of SimConnect_RequestGroundInfo in P3D v4. It's not XML so I have not played around with it. And, that's not available for FSX.

It would take quite a bit more code to get highest and lowest elevation displayed on the screen based on point-by-point ground elevation info. That doesn't strike me as the right tactic.

A couple of questions -

1) Is your project for FSX or P3D v4?

2) If FSX, are you going to use the TAWS-like map method described in the FSMAP Guidebook? That's based on a trick with the ElevationXXXColor variables.

3) Do you need an XML solution of are you coding this in C++?

Bob
 
Last edited:
A couple of questions -

1) Is your project for FSX or P3D v4?

2) If FSX, are you going to use the TAWS-like map method described in the FSMAP Guidebook? That's based on a trick with the ElevationXXXColor variables.

3) Do you need an XML solution of are you coding this in C++?

Bob

1) it is primarily a personal project for FSX but so far I tested in P3D it is working as well.

2) Correct actually I got it already working for some part I'm working the details now.
pic1.JPG


3) I'm looking for an XML solution but I'm not afraid of C++ I have code some gauges in C in the past using Alegro. MingW and fsuipc.
 
Back
Top