FSX SCASM lights over Ground poly... HELP!

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

#22
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.
 
#23
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...
 
#24
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?
 
#25
Look this is how your coordinates should be displayed:


You have only put degrees in. This is the default airport's runway's coordinates.
 
#26
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
 
#27
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
 
#28
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
 
#29
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
 
#30
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)?
 
#31
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:
#32
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?
 
#34
I put the default runway coordinates into your file. I don't know your coordinates. Because you haven't entered them properly still!
 
#35
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?
 
Top