Where to find the header and lat range (scasm)

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

Last edited:

arno

Administrator
Staff member
FSDevConf team
Resource contributor
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
 
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
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