• 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 Land class?

Messages
176
Country
denmark
Would it be possible to read what type of land class you are flying above in a gauge?

E.g. hovering above water?


Thanks
Michael
 
Maybe (A:SURFACE TYPE,enum)?

Type of surface:
0 = Concrete
1 = Grass
2 = Water
3 = Grass_bumpy
4 = Asphalt
5 = Short_grass
6 = Long_grass
7 = Hard_turf
8 = Snow
9 = Ice
10 = Urban
11 = Forest
12 = Dirt
13 = Coral
14 = Gravel
15 = Oil_treated
16 = Steel_mats
17 = Bituminus
18 = Brick
19 = Macadam
20 = Planks
21 = Sand
22 = Shale
23 = Tarmac
24 = Wright_flyer_track

Edit: if I remember correctly, value of this variable is valid only at extremely low altitudes, up to a few meters above the ground.
 
Last edited:
Interesting.

Looking at these surface variables, they seem to be the same choice you get when building airports using an airport designer application.

I wonder if a land class outside airports can be 'read' like this?

For the gauge I want to build it should be perfect if this only works a few meters off the ground :)


Michael
 
Last edited:
(A:SURFACE TYPE,enum) work also outside the airport and any altitude,
and you can use (A:RADIO HEIGHT,Feet) for make the gauge work only only works a few meters off the ground
 
I have some additional questions relating to this topic:

1. When detecting water landclass under the aircraft, is this measured from a
certain point on the aircraft?

2. If I was to create a 'large bucket of water' object, and the aircraft above
should detect this 'landclass', what would be the best approach:
a. To 'embed' the water landclass somehow in the object?
b. To add a shaped water landclass under the object?


Thanks
Michael
 
Back
Top