• 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 SCASM lights over Ground poly... HELP!

It's got 2 boxes each for lat and long. You entered everything in the right box.

So it should be eg... "N|50|18.2892|" "W|2|.09305|".
Thank you for making me notice that, but the generated APT file is still in French and does not look like some that a few users posted on this website...
And also I don't get why it generates 5 files instead of one..
 

Attachments

  • runway.zip
    2.2 KB · Views: 446
I don't know what those excludes are for. I have AFW 2.6 You're using 3.0.

Running the scasm of the runway gives your .bgl. Doesn't it work? Don't worry about the excludes.
 
I don't know what those excludes are for. I have AFW 2.6 You're using 3.0.

Running the scasm of the runway gives your .bgl. Doesn't it work? Don't worry about the excludes.
I used to use 2.6, I just updated it thinking it would fix this problem, but nothing. All the files are generated at once when I click to get the SCASM code...
 
Yes, drag the LZZI_Runway.sca into the SCASM compiler. The LZZI_Runway.bgl should then become 1kb. Put this in your scenery folder. This is for FSX right?
 
Look this is how your coordinates should be displayed:


You have only put degrees in. This is the default airport's runway's coordinates.
1450894_1578426282370693_4513999991867230283_n.jpg
 
Look this is how your coordinates should be displayed:


You have only put degrees in. This is the default airport's runway's coordinates.

I fixed the coordinates issue and I compiled the SCA code, but nothing happens. Then I tweaked it by adding some codes that I found on .SCA files posted on FSDeveloper by other users. These codes weren't written in my SCA. I also removed some from mine that weren't in the code posted on the website, but even after compiling it tweaked nothing will happen!

This is the content of the .SCA file, before and after tweaking it.

;---------------------------------------------------------------------------
; SCASM file generated by Airport Freeware Version 3.0 Build 192 for FS 2000
; LZZI_Runway.SCA domenica 22 febbraio 2015 - 18:29:09
;---------------------------------------------------------------------------
; MagVar = 0
;---------------------------------------------------------------------------

Set( FSVERS 0x700 )

Header( 1 49.12889 48.87889 18.12727 17.87727 )

LatRange( 48.87889 49.12889 )

Copyright( "FSoftware [Freeware Version 3.0 Build 192]" )



; FS2000 runway 06
; [using newer SCASM Runway command for FS2K & beyond]

Area( 5 49:0.23076 018:0.1365 30 )
Smoothing ( 1 )
Runway( 49:0.23076 018:0.1365
Altitude 311
Heading 64.63
Length 3773
Width 98
Id 06
Surface -1
Markers 0
THRESHOLD 0
Lights 2
ThrLightsN 01
ThrLightsF 01
AprLN 2
)
Smoothing ( 0 )
EndA

Header( 1 49.51410 49.26410 18.73330 18.48330 )
LatRange( 49.26410 49.51410 )

Area( 5 49.2334303 18.3649827 30 )
LayerCall( :drawStuff 24 ) ; main call, let's draw stuff
Jump32( : ) ; finished now, get outta here

:drawStuff
Runway( 49.2334303 18.3649827
Alt 311 ; in meters
Heading 64.63
Length 3773 ; in feet
Width 98 ; in feet
Markers 00
Lights 2
Surface -1
Treshold 0
ThrLightsN 01
AprLN 2
)
Return
EndA
 
Well both are wrong compared to mine. Use AFW 2.6


Header( 1 49.35843 49.10843 18.73857 18.48857 )

LatRange( 49.10843 49.35843 )

set( areamx 64 )




Menu( Zilina )
MenuEntry( 49:14.006 018:36.814 310 0 0 0 0 0 0 Scenery_center )



Area( 5 49:14.00584 018:36.81424 30 )
LayerCall( :rwy 24 )
Jump( : )
:rwy
Smoothing ( 1 )
Runway( 49:14.00584 018:36.81424
Altitude 310
Heading 64.63
Length 3720
Width 95
Id 06
Surface -1
Markers 0
THRESHOLD 0
Lights 2
VasiBarsN 8
VasiSlopeN 3
VasiSpaceN 226
VasiDistN 1563
VasiSideN L57
VasiBarsF 8
VasiSlopeF 3
VasiSpaceF 226
VasiDistF 1563
VasiSideF L57
)
Smoothing ( 0 )
Return
EndA
 
Well both are wrong compared to mine. Use AFW 2.6


Header( 1 49.35843 49.10843 18.73857 18.48857 )

LatRange( 49.10843 49.35843 )

set( areamx 64 )




Menu( Zilina )
MenuEntry( 49:14.006 018:36.814 310 0 0 0 0 0 0 Scenery_center )



Area( 5 49:14.00584 018:36.81424 30 )
LayerCall( :rwy 24 )
Jump( : )
:rwy
Smoothing ( 1 )
Runway( 49:14.00584 018:36.81424
Altitude 310
Heading 64.63
Length 3720
Width 95
Id 06
Surface -1
Markers 0
THRESHOLD 0
Lights 2
VasiBarsN 8
VasiSlopeN 3
VasiSpaceN 226
VasiDistN 1563
VasiSideN L57
VasiBarsF 8
VasiSlopeF 3
VasiSpaceF 226
VasiDistF 1563
VasiSideF L57
)
Smoothing ( 0 )
Return
EndA

Good one dude!
The good thing is that the lights now show.
The bad thing is that the custom GP now flickers with the ground and there aren't any approach lights... I double checked if I flattened the surface in ADE so I have no idea what it is
 
The airport altitudes in scasm and ade probably don't line up. What altitude are your ground polygons at?

Look at the complied code if you add approach lights, you have to figure some of this out for yourself.


Don't forget that this is using the default runway coordinates, not yours.


Header( 1 49.35843 49.10843 18.73857 18.48857 )

LatRange( 49.10843 49.35843 )

set( areamx 64 )





Menu( Zilina )
MenuEntry( 49:14.006 018:36.814 310 0 0 0 0 0 0 Scenery_center )



Area( 5 49:14.00584 018:36.81424 30 )
LayerCall( :rwy 24 )
Jump( : )
:rwy
Smoothing ( 1 )
Runway( 49:14.00584 018:36.81424
Altitude 310
Heading 64.63
Length 3720
Width 95
Id 06
Surface -1
Markers 0
THRESHOLD 0
Lights 2
ThrLightsN 01
VasiBarsN 8
VasiSlopeN 3
VasiSpaceN 226
VasiDistN 1563
VasiSideN L57
ThrLightsF 01
VasiBarsF 8
VasiSlopeF 3
VasiSpaceF 226
VasiDistF 1563
VasiSideF L57
AprLN 2
AprLF 2
)
Smoothing ( 0 )
Return
EndA

)
Smoothing ( 0 )
Return
EndA
 
The airport altitudes in scasm and ade probably don't line up. What altitude are your ground polygons at?

Look at the complied code if you add approach lights, you have to figure some of this out for yourself.


Don't forget that this is using the default runway coordinates, not yours.


Header( 1 49.35843 49.10843 18.73857 18.48857 )

LatRange( 49.10843 49.35843 )

set( areamx 64 )





Menu( Zilina )
MenuEntry( 49:14.006 018:36.814 310 0 0 0 0 0 0 Scenery_center )



Area( 5 49:14.00584 018:36.81424 30 )
LayerCall( :rwy 24 )
Jump( : )
:rwy
Smoothing ( 1 )
Runway( 49:14.00584 018:36.81424
Altitude 310
Heading 64.63
Length 3720
Width 95
Id 06
Surface -1
Markers 0
THRESHOLD 0
Lights 2
ThrLightsN 01
VasiBarsN 8
VasiSlopeN 3
VasiSpaceN 226
VasiDistN 1563
VasiSideN L57
ThrLightsF 01
VasiBarsF 8
VasiSlopeF 3
VasiSpaceF 226
VasiDistF 1563
VasiSideF L57
AprLN 2
AprLF 2
)
Smoothing ( 0 )
Return
EndA

)
Smoothing ( 0 )
Return
EndA

Thanks for helping me. The lights now work but there are still 2 problems:

-Approach lights won't show
-How do I tweak the MenuEntry coordinates (if this is needed to apply correctly the lights with my new runway coordinates)?
 
I checked your file, and with the RIGHT COORDINATES entered, which you still haven't done, it works fine.

Look at the picture above.

Open in ADE, change to DDM units, select the runway and put those coordinates in the Settings: general box shown above.

I really can't explain this more clearly (again).
 
Last edited:
I checked your file, and with the RIGHT COORDINATES entered, which you still haven't done, it works fine.

Look at the picture above.

Open in ADE, change to DDM units, select the runway and put those coordinates in the Settings: general box shown above.

I really can't explain this more clearly (again).
I understood that.. But do you mean that you tested it with the right coordinates?
 
Angry-Troll-Face.png
I put the default runway coordinates into your file. I don't know your coordinates. Because you haven't entered them properly still!
 
I put the default runway coordinates into your file. I don't know your coordinates. Because you haven't entered them properly still!
Sorry if I wasn't here for a while. I got the point now but when I try to put the min coordinates it gives me an error saying that the value must be equal or greater than 0 and less than 60..
The exact coordinates are LAT 49.233450817 LON 18.613659743 ... Mine is 61, so what can I do with it?
 
Back
Top