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

FSXA SCASM Runway Lights Problem with GP

mendiola_loyola

Resource contributor
Messages
520
Country
peru
Dear All:

I have been testing custom SCASM runway lights, it works well at night, but at day my custom runway polygons lose their textures at certain distances. See the white arrows on the attached picture.

The Runways Polygon has the following layers, 8, 12, 16

7-21-2016 8-21-38 PM.png


Is there something wrong in my scasm code:

Header( 0 S12:00:00 S12:02:30 W077:06:00 W077:07:30 )
LatRange( S12:02:30 S12:00:00 )

Area( 5 -12.021835 -77.114300 12 )

Runway( -12.021835 -77.114300
Alt 30.05 ; in meters plus 0.05M
Heading 154.22
Length 11551 ; in feet
Width 150 ; in feet
Markers 00
Lights 03
Surface -1
Threshold 0
ThrOffN 0
ExtN 0
ExtF 0
ThrLightsN 1
AprLN 03
StrobesN 5
VasiBarsN 8
VasiSpaceN 0
VasiDistN 1681
VasiSideN 125
VasiSlopeN 3.0
ThrLightsF 01
VasiBarsF 8
VasiSpaceF 0
VasiDistF 1681
VasiSideF 125
VasiSlopeF 3.0
)
EndA

Regards
Alfredo
 
Dear All:

I solved the problem changing the alt value to 30M which is the Runway elevation. I added that offset to raise the lights, but it gives problems at daylight.
Is it Right my Scasm Runway source code?


Header( 0 S12:00:00 S12:02:30 W077:06:00 W077:07:30 )
LatRange( S12:02:30 S12:00:00 )

Area( 5 -12.021835 -77.114300 12)
LayerCall( :drawStuff 24 ) ; main call, let's draw stuff
Jump32( : ) ; finished now, get outta here

:drawStuff
Runway( -12.021835 -77.114300
Alt 30.00 ; in meters don't add more height else the texture of the ground polygon disappears at short distance, this happens with surface -1.
Heading 154.22
Length 11551 ; in feet
Width 150 ; in feet
Markers 00
Lights 03
Surface -1
Threshold 0
ThrOffN 0
ExtN 0
ExtF 0
ThrLightsN 1
AprLN 03
StrobesN 5
VasiBarsN 8
VasiSpaceN 0
VasiDistN 1681
VasiSideN 125
VasiSlopeN 3.0
ThrLightsF 01
VasiBarsF 8
VasiSpaceF 0
VasiDistF 1681
VasiSideF 125
VasiSlopeF 3.0
)
Return
EndA

7-21-2016 11-06-23 PM.png


As additional information my AFCAD runway had a width of 0M, I changed it to 45 Meters.

Regards
Alfredo M
 
Last edited:
Back
Top