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

Where to find the header and lat range (scasm)

Messages
192
Country
netherlands
Hello.
I am making a costum runway and i have some question about it
How can i find the header, area number, and the lat range for scasm runway
Thanks

linden.
 
Last edited:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,391
Country
netherlands
Hi,

The header contains the min and max coordinates of the entire scenery, so you need to make sure it is big enough to fit your runway. Same for the latrange.

The area number does not matter that much. The different area types have a different maximum size, but with only a runway you will not get a big BGL anyway.

See the SCASM documentation for all details:

http://scasm.de/doc/index.htm
 
Messages
192
Country
netherlands
I tried this, but without succes
how or in what kind of program do i find these numbers (ADE, Google earth?, or something)
Header(? ) still not found
LatRange( ? )still not found
Area (?)still not found
now i struggling with this scasm method and still without succes, and now I feel myself like a dumbass :banghead:
I have attached my runway notepad and ADE BGL for WADD airport, can you take a look at it?
Thanks

Linden
 

Attachments

  • WADD runway.txt
    662 bytes · Views: 425
  • WADD_ADEX_MT.BGL
    15.3 KB · Views: 354
Last edited:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,391
Country
netherlands
Hi,

Did you actually look at the SCASM documentation? It should you that the header has 5 arguments, not only two:

http://scasm.de/doc/sca_cmd1.htm#head

So based on your runway latitude and longitude (I assume these are OK), I would try something like this:

Code:
Header( 1 -8.7 -8.8 115.2 115.1 )
LatRange( -8.8 -8.7 )


Area( 5 -8.748330474 115.167459995 )
LayerCall( :drawStuff 52 ) ; main call, let's draw stuff
Jump32( : ) ; finished now, get outta here

:drawStuff
Runway( -8.748330474 115.167459995
 
Messages
192
Country
netherlands
Thanks Arno, it works:)

You're right about the 5 arguments,
I am now in the learning fase for SCASM, but it's very difficult for me, because my mathematics are very bad, on school it was the difficultest lesson of all lessons for me,
I have searched some information about the DD:MM:SS.SSSS on the internet
and what i think to understand is, that there are needed some calculations?
correct me if i'm wrong.
Can you give me a step to step explanation about how to do these 5 arguments, and what kind of programs ( if needed) i need for it?
because it seems to be great, if i can learn this too.
Thanks Arno

Linden:)
 
Last edited:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,391
Country
netherlands
Hi,

As the manual says its the maximum and minimum latitude and the west and east longitude. The first parameter should always be 1 for visual scenery.

What I did is just take your runway coordinates and round them up and down to one digit. That will give me an area big enough to include the runway. The idea is that the header specified what region is covered by all objects in that bgl file.
 
Top