LuisFelizTirado
12-07-2001, 08:06 AM
Really at my wit's end, but then there is not much there anyway.
I have created a simple airport with standard elements and a simple building made in Easy Object Designer with some simple textures and color. It compiles correctly and runs well - good frame rates.
I made another building, a little more complex, but not too much (140 polygons) with textures and some paint. Now, I get an error (with the latest version of Airport and also with the previous build):
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 88
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico oeste.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 90
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico este.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 92
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 110
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 112
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico entrada doble.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 130
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 132
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico persiana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 150
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 171
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 174
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 1 ventana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 192
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 194
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico todo verde.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 212
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 230
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 234
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico persiana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 252
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 254
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico este.BMP )
-> ')' expected !!!
Scasm compilation status: error(s) 17
Obviously, scasm does not like my new api, although it is basically the same as the other. So I took a look at the API source:
;macrodesc Casa Lobasico (EOD)
;defaultscale 1
;textures Lobasico oeste.BMP,Lobasico este.BMP,Lobasico 3 ventanas.BMP,Lobasico sin ventana.bmp,Lobasico entrada doble.bmp,Lobasico persiana.bmp,Lobasico 1 ventana.bmp,Lobasico todo verde.bmp,ROOF1.BMP,VOD15.PAT,
;designshape -6,-8,-6,8,6,8,6,-8
;--------------------------------------------
; Filename: Casa Lobasico.api
; Project:
; Designer:
; Date: 01-12-05
; Update: 01-12-06
; Credits: (c) Antilia Aviacion 2001
; Macro generated using EOD 2.0.50
; EOD Website: http://www.echos.ch/eod
;--------------------------------------------
; %1 = Latitude
; %2 = Longtitude
; %3 = Not used
; %4 = Not used [RefpointScale=1, ObjectScale=0,0625]
; %5 = Rotation
; %6 = Not Used
; %7 = Not Used
; %8 = Not Used
; %9 = Not Used
; %10 = Visibility range
; %11 = Altitude
; %12 = Detail level
Area( 5 %1 %2 22 )
mif( %12 )
IfVarRange( : 0346 %12 4 )
mifend
PerspectiveCall( :Pos )
ShadowCall( :Shadows )
Jump( : )
:Pos
Perspective
:Shadows
mif( %11 )
RefPoint( 2 :SubEnd 1 %1 %2 E= %11 )
melse
RefPoint( 7 :SubEnd 1 %1 %2 )
mifend
SetScaleX( :SubEnd %10 0 12 ) ; Scale=0,0625
RotatedCall( :Begin 0 0 %5 )
:SubEnd
Return
:Begin
TransformCall( :Module00 0 0 -7 0 0 0 0 0 0 ) ;Cube 1
TransformCall( :Module01 99 0 -7 0 0 0 0 0 0 ) ;Cube 2
TransformCall( :Module02 127 0 -69 0 0 0 0 0 0 ) ;Cube 3
TransformCall( :Module03 -130 0 82 0 0 0 0 0 0 ) ;Cube 4
TransformCall( :Module04 -184 0 -71 0 0 0 0 0 0 ) ;Cube 5
TransformCall( :Module05 -142 0 -41 0 0 0 0 0 0 ) ;Cube 6
TransformCall( :Module06 -120 0 21 0 0 0 0 0 0 ) ;Cube 7
TransformCall( :Module07 147 0 -111 0 0 0 0 0 0 ) ;Cube 8
TransformCall( :Module08 96 0 -106 0 0 0 0 0 0 ) ;Cube 9
TransformCall( :Module09 12 48 -6 0 0 0 0 0 0 ) ;Cube 10
TransformCall( :Module10 112 48 -7 0 0 0 0 0 0 ) ;Cube 11
TransformCall( :Module11 134 48 -63 0 0 0 0 0 0 ) ;Cube 12
TransformCall( :Module12 144 48 -116 0 0 0 0 0 0 ) ;Cube 13
TransformCall( :Module13 -191 48 -77 0 0 0 0 0 0 ) ;Cube 14
TransformCall( :Module14 -134 48 81 0 0 0 0 0 0 ) ;Cube 15
TransformCall( :Module15 -141 48 -42 0 0 0 0 0 0 ) ;Cube 16
TransformCall( :Module16 -119 48 20 0 0 0 0 0 0 ) ;Cube 17
TransformCall( :Module17 -90 48 -7 0 0 0 0 0 0 ) ;Cube 18
TransformCall( :Module18 -160 66 -4 0 0 0 0 0 0 ) ;Custom object 19
TransformCall( :Module19 0 67 0 0 0 0 0 0 0 ) ;Cylinder 20
TransformCall( :Module20 27 61 0 0 0 0 0 0 0 ) ;Base 21
TransformCall( :Module21 7 0 111 0 0 0 0 0 0 ) ;Cube 22
TransformCall( :Module22 1 0 -132 0 0 0 0 0 0 ) ;Cube 23
TransformCall( :Module23 100 0 80 0 0 0 0 0 0 ) ;Cube 24
Return
;Module description
:Module00
; cube - Cube 1
Points( 0
-90 0 -101 ; 0
89 0 -101 ; 1
89 0 100 ; 2
-90 0 100 ; 3
-90 48 -101 ; 4
89 48 -101 ; 5
89 48 100 ; 6
-90 48 100 ; 7
)
LoadBitmap( 0 6 EF 0 0 0 Lobasico oeste.BMP )
TexPoly( a 0 0 167 4 0 255 5 254 255 1 254 167 ) ;Front
LoadBitmap( 0 6 EF 0 0 0 Lobasico este.BMP )
TexPoly( a 2 0 167 6 0 255 7 254 255 3 254 167 ) ;Back
LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
TexPoly( a 1 0 167 5 0 255 6 254 255 2 254 167 ) ;Right
Return
;Module description
:Module01
; cube - Cube 2
Points( 8
-10 0 -37 ; 0
10 0 -37 ; 1
10 0 37 ; 2
-10 0 37 ; 3
-10 48 -37 ; 4
10 48 -37 ; 5
10 48 37 ; 6
-10 48 37 ; 7
)
LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
TexPoly( a 10 0 167 14 0 255 15 254 255 11 254 167 ) ;Back
LoadBitmap( 0 6 EF 0 0 0 Lobasico entrada doble.bmp )
TexPoly( a 9 0 167 13 0 255 14 254 255 10 254 167 ) ;Right
Return
;Module description
:Module02
; cube - Cube 3
Points( 16
-38 0 -25 ; 0
37 0 -25 ; 1
37 0 25 ; 2
-38 0 25 ; 3
-38 48 -25 ; 4
37 48 -25 ; 5
37 48 25 ; 6
-38 48 25 ; 7
)
LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
TexPoly( a 18 0 167 22 0 255 23 254 255 19 254 167 ) ;Back
LoadBitmap( 0 6 EF 0 0 0 Lobasico persiana.bmp )
TexPoly( a 17 0 167 21 0 255 22 254 255 18 254 167 ) ;Right
Return
And so on. This looks right to me, but then, I know nothing of the syntax for scasm. So I took a look at the Airport source:
;---------------------------------------------------------------------------
; SCASM file generated by Airport Version 2.6 Build 127 for FS 2000
; ANTILIA.SCA Thursday, December 06, 2001 - 20:17:23
;---------------------------------------------------------------------------
; MagVar = 8.5
;---------------------------------------------------------------------------
Header( 1 18.56667 18.31667 -70.20167 -69.95167 )
LatRange( 18.31667 18.56667 )
set( areamx 64 )
Copyright( " [Version 2.6 Build 127]" )
; Area16 Elevation Area 1
Area16N
Elevation ( 42.672
18:26.23923 -070:4.62102 ; 1
18:26.26136 -070:4.50739 ; 2
18:26.7543 -070:4.58693 ; 3
18:26.71002 -070:4.70057 ; 4
18:26.53455 -070:4.73579 ; 5
)
End16
Menu( Antilia Airport )
MenuEntry( 18:26.47935 -070:4.65911 42.672 0 118.00 110.50 0 108.00 0 Ramp )
MenuEntry( 18:26.29251 -070:4.56446 42.672 351 118.00 110.50 0 108.00 0 Runway 36 )
MenuEntry( 18:26.70821 -070:4.62991 42.672 171 118.00 110.50 0 108.00 0 Runway 18 )
MenuEntry( 18:26.51798 -070:4.66648 42.672 180 118.00 110.50 0 108.00 0 Hangar )
; FS2000 runway 18
; [using newer SCASM Runway command for FS2K & beyond]
Area( 5 18:26.5 -070:4.59716 30 )
LayerCall( :rwy 24 )
Jump( : )
:rwy
Smoothing ( 1 )
Runway( 18:26.5 -070:4.59716
Altitude 42.672
Heading 171.5
Length 2500
Width 125
Id 18
Surface 2
Markers BF
THRESHOLD 0
Lights 15
ThrLightsN 00
ThrLightsF 00
ExtN 50
ExtF 50
)
Smoothing ( 0 )
Macro( C:\PROGRA~1\AIRPOR~1\api\papi02.api 18:26.5 -070:4.59716 null null 171.5 81 -19 2 3.5 null 42.672 )
Macro( C:\PROGRA~1\AIRPOR~1\api\papi02.api 18:26.5 -070:4.59716 null null 351.5 81 -19 2 3.5 null 42.672 )
Return
EndA
; ILS NavAID
Ils2( 110.500 10 C3 000 ANT I-ANT 18.4384452 -70.0761175 43 171.5 18.4442132 -70.0770170 43 3.5 5 )
Mm( 18:27.1981 -070:4.70966 43 )
Om( 18:34.12023 -070:5.79915 43 )
; refueling zone Fuel
Area( 5 18:26.47959 -070:4.68079 10 )
RefPoint( 7 :TagPoly 1 18:26.47959 -070:4.68079 )
IfVarRange( :TagPoly 37E -30 30 )
IfVarRange( :TagPoly 386 -30 30 )
SetVar( 288 1 )
:TagPoly
EndA
; polygon Hold short 18
Area( b 18:26.69491 -070:4.64659 30 )
LayerCall( :Taglayer 20 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.69491 -070:4.64659 E= 42.672 V1= 40000 V2= 55 )
Bitmap( termloc.bmp 0 0 0 0 )
Smoothing( 1 )
Points( 1
-00021 0 00000 ; 001
-00006 0 -00017 ; 002
00016 0 -00008 ; 003
00011 0 00024 ; 004
)
StartSurface
MoveToPt( 1 )
DrawToPt( 2 3 4 )
EndSurface
Smoothing( 0 )
:TagPoly
Return
EndA
; polygon Hold short 36
Area( b 18:26.30077 -070:4.58296 30 )
LayerCall( :Taglayer 20 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.30077 -070:4.58296 E= 42.672 V1= 40000 V2= 46 )
Bitmap( termloc.bmp 0 0 0 0 )
Smoothing( 1 )
Points( 1
-00006 0 00015 ; 001
00008 0 00016 ; 002
00014 0 -00020 ; 003
-00014 0 -00011 ; 004
)
StartSurface
MoveToPt( 1 )
DrawToPt( 2 3 4 )
EndSurface
Smoothing( 0 )
:TagPoly
Return
EndA
; polygon Turn off
Area( b 18:26.50108 -070:4.61307 30 )
LayerCall( :Taglayer 20 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.50108 -070:4.61307 E= 42.672 V1= 40000 V2= 49 )
Bitmap( termloc.bmp 0 0 0 0 )
Smoothing( 1 )
Points( 1
00006 0 00022 ; 001
00012 0 -00021 ; 002
00003 0 -00010 ; 003
-00008 0 -00012 ; 004
-00012 0 00009 ; 005
00000 0 00010 ; 006
)
ConcavePoly
StartSurface
MoveToPt( 1 )
DrawToPt( 2 3 4 5 6 )
EndSurface
Smoothing( 0 )
:TagPoly
Return
EndA
; polygon Ramp
Area( b 18:26.50864 -070:4.6625 30 )
LayerCall( :Taglayer 24 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.50864 -070:4.6625 E= 42.672 V1= 40000 V2= 182 )
Bitmap( CONCRET3.R8 0 0 0 0 )
Smoothing( 1 )
Points( 1
-00053 0 00069 ; 001
00039 0 00069 ; 002
00065 0 -00070 ; 003
-00053 0 -00070 ; 004
)
StartSurface
MoveToPt( 1 )
DrawToPt( 2 3 4 )
EndSurface
Smoothing( 0 )
:TagPoly
Return
EndA
; polygon Ramp exit
Area( b 18:26.4946 -070:4.62841 30 )
LayerCall( :Taglayer 20 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.4946 -070:4.62841 E= 42.672 V1= 40000 V2= 32 )
Bitmap( termloc.bmp 0 0 0 0 )
Smoothing( 1 )
Points( 1
00001 0 00017 ; 001
00005 0 -00011 ; 002
-00001 0 -00013 ; 003
-00005 0 00009 ; 004
)
StartSurface
MoveToPt( 1 )
DrawToPt( 2 3 4 )
EndSurface
Smoothing( 0 )
:TagPoly
Return
EndA
; line of Objects Verja este
Macro( "C:\FS CONSTRUCCION\API\APIS\MASCH.API" 18:26.43143 -070:4.90226 10 1 59 0 0 0 0 0 0 0 V2= 250 )
Macro( "C:\FS CONSTRUCCION\API\APIS\MASCH.API" 18:26.44061 -070:4.90794 10 1 59 0 0 0 0 0 0 0 V2= 250 )
Macro( "C:\FS CONSTRUCCION\API\APIS\MASCH.API" 18:26.44979 -070:4.91363 10 1 59 0 0 0 0 0 0 0 V2= 250 )
Macro( "C:\FS CONSTRUCCION\API\APIS\MASCH.API" 18:26.45951 -070:4.91931 10 1 59 0 0 0 0 0 0 0 V2= 250 )
; Taxiway Road 1
Area( 5 18:26.49568 -070:4.62216 19 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.49568 -070:4.62216 E= 42.672 V1= 18520 V2= 738 )
Monitor3d( :TagPoly -18520 18520 0 2000 -18520 18520 )
LoadBitmap( 0 5 EF 0 128 0 "termloc.bmp" )
Smoothing( 1 )
TaxiwayStart( 8 -59 0 364 ) ; 1
TaxiwayCont( 59 0 -365 ) ; 2
Smoothing(0)
:TagPoly
Return
EndA
; Centerline 1
Area( 5 18:26.49568 -070:4.62216 19 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:26.49568 -070:4.62216 E= 42.722 V1= 185200 V2= 7380 )
Monitor3d( :TagPoly -18520 18520 0 2000 -18520 18520 )
SurfaceColor( 9 F0 )
RRStart( 0 -1 -590 0 3640 ) ; 1
RoadCont( 590 0 -3650 ) ; 2
:TagPoly
Return
EndA
; Centerline Lights 1
Area( 5 18:26.49568 -070:4.62216 19 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 7 :TagPoly .1 18:26.49568 -070:4.62216 V1= 185200 V2= 7380 )
IfVarAnd( :TagPoly1 028c 0001 )
:TagRoad
Monitor3d( :TagPoly -18520 18520 0 2000 -18520 18520 )
Jump( :TagPoly )
:TagPoly1
LineColor( 10 F0 )
Dot( -543 0 3348 ) ; 1
Dot( -496 0 3057 ) ; 1
Dot( -448 0 2765 ) ; 1
Dot( -401 0 2474 ) ; 1
Dot( -354 0 2182 ) ; 1
Dot( -307 0 1890 ) ; 1
Dot( -260 0 1599 ) ; 1
Dot( -212 0 1307 ) ; 1
Dot( -165 0 1016 ) ; 1
Dot( -118 0 724 ) ; 1
Dot( -71 0 432 ) ; 1
Dot( -24 0 141 ) ; 1
Dot( 24 0 -151 ) ; 1
Dot( 71 0 -442 ) ; 1
Dot( 118 0 -734 ) ; 1
Dot( 165 0 -1026 ) ; 1
Dot( 212 0 -1317 ) ; 1
Dot( 260 0 -1609 ) ; 1
Dot( 307 0 -1900 ) ; 1
Dot( 354 0 -2192 ) ; 1
Dot( 401 0 -2484 ) ; 1
Dot( 448 0 -2775 ) ; 1
Dot( 496 0 -3067 ) ; 1
Dot( 543 0 -3358 ) ; 1
:TagPoly
Return
EndA
; Road Camino vecinal
Area( 5 18:26.2835 -070:4.69659 10 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:26.2835 -070:4.69659 E= 42.672 V1= 100000 V2= 17510 )
Monitor3d( :TagPoly -10000 10000 0 2000 -10000 10000 )
LoadBitmap( 0 5 E0 0 0 0 "dirt.r8" )
Smoothing( 1 )
RRStart( 1 -15 -5580 0 5740 ) ; 1
RoadCont( -5330 0 4920 ) ; 2
RoadCont( -4450 0 3550 ) ; 3
RoadCont( -3970 0 3400 ) ; 4
RoadCont( -3590 0 2750 ) ; 5
RoadCont( -3320 0 2640 ) ; 6
RoadCont( -1830 0 2290 ) ; 7
RoadCont( -1260 0 1400 ) ; 8
RoadCont( -870 0 760 ) ; 9
RoadCont( -620 0 100 ) ; 10
RoadCont( 210 0 -80 ) ; 11
RoadCont( 550 0 -1550 ) ; 12
RoadCont( 740 0 -2330 ) ; 13
RoadCont( 1520 0 -3070 ) ; 14
RoadCont( 3050 0 -3300 ) ; 15
RoadCont( 4290 0 -3480 ) ; 16
RoadCont( 5930 0 -4220 ) ; 17
RoadCont( 6110 0 -4700 ) ; 18
RoadCont( 8340 0 -4890 ) ; 19
Smoothing(0)
:TagPoly
Return
EndA
; Road Antilia camino
Area( 5 18:26.45681 -070:4.75965 10 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:26.45681 -070:4.75965 E= 42.672 V1= 100000 V2= 4240 )
Monitor3d( :TagPoly -10000 10000 0 2000 -10000 10000 )
LoadBitmap( 0 5 E0 0 0 0 "dirt.r8" )
Smoothing( 1 )
RRStart( 1 -15 -2360 0 -510 ) ; 1
RoadCont( -1250 0 240 ) ; 2
RoadCont( 1800 0 40 ) ; 3
RoadCont( 1810 0 230 ) ; 4
Smoothing(0)
:TagPoly
Return
EndA
; Road Camino carreterra
Area( 5 18:25.9547 -070:4.74772 10 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:25.9547 -070:4.74772 E= 42.672 V1= 100000 V2= 8200 )
Monitor3d( :TagPoly -10000 10000 0 2000 -10000 10000 )
LoadBitmap( 0 5 E0 0 0 0 "dirt.r8" )
Smoothing( 1 )
RRStart( 1 -15 1620 0 3710 ) ; 1
RoadCont( 630 0 2400 ) ; 2
RoadCont( -480 0 2240 ) ; 3
RoadCont( -750 0 1300 ) ; 4
RoadCont( -1050 0 1230 ) ; 5
RoadCont( -850 0 510 ) ; 6
RoadCont( -360 0 100 ) ; 7
RoadCont( -220 0 -570 ) ; 8
RoadCont( -60 0 -1370 ) ; 9
RoadCont( 260 0 -2270 ) ; 10
RoadCont( 530 0 -3260 ) ; 11
RoadCont( 670 0 -4040 ) ; 12
Smoothing(0)
:TagPoly
Return
EndA
; Road Arroyo carreterra
Area( 5 18:25.79866 -070:4.7443 10 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:25.79866 -070:4.7443 E= 42.672 V1= 100000 V2= 10420 )
Monitor3d( :TagPoly -10000 10000 0 2000 -10000 10000 )
LoadBitmap( 0 5 E0 0 0 0 "water.r8" )
Smoothing( 1 )
RRStart( 1 -23 -6130 0 1220 ) ; 1
RoadCont( -1780 0 600 ) ; 2
RoadCont( -1480 0 360 ) ; 3
RoadCont( -610 0 -330 ) ; 4
RoadCont( 450 0 -300 ) ; 5
RoadCont( 2160 0 20 ) ; 6
RoadCont( 3430 0 -250 ) ; 7
RoadCont( 3980 0 -1310 ) ; 8
Smoothing(0)
:TagPoly
Return
EndA
; Road Lobasico entrada
Area( 5 18:26.43845 -070:4.91874 10 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:26.43845 -070:4.91874 E= 42.672 V1= 100000 V2= 500 )
Monitor3d( :TagPoly -10000 10000 0 2000 -10000 10000 )
LoadBitmap( 0 5 E0 0 0 0 "Dirt.r8" )
Smoothing( 1 )
RRStart( 1 -15 -250 0 -10 ) ; 1
RoadCont( 250 0 0 ) ; 2
Smoothing(0)
:TagPoly
Return
EndA
; poly3d Hangar
Macro( "C:\FS Construccion\API\apis\Store.api" 18:26.52162 -070:4.66469 6 1 0 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Ramp light
Macro( "C:\FS Construccion\API\apis\ramp1.api" 18:26.47983 -070:4.69204 6 0.05 90 0 0 0 0 3000 0 2 V2= 12 )
; poly3d Piper J4
Macro( "C:\FS Construccion\API\apis\Piper-j4.api" 18:26.50972 -070:4.65881 6 1 180 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Piper Tripacer
Macro( "C:\FS Construccion\API\apis\Piptri.api" 18:26.48238 -070:4.63168 6 1 270 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Stinson
Macro( "C:\FS Construccion\API\apis\Stinson.api" 18:26.4776 -070:4.6367 6 1 0 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Bananier
Macro( "C:\FS Construccion\API\apis\bananaTr.api" 18:26.45918 -070:4.92954 6 0.35 180 0 0 0 0 3000 0 2 V2= 88 )
; poly3d Piper Colt
Macro( "C:\FS Construccion\API\apis\Pipcolt.api" 18:26.50899 -070:4.67389 6 1 180 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Delante casa
Macro( "C:\Program Files\Airport for Windows\Api\LISCADU1.API" 18:26.44936 -070:4.91931 30 0.2 0 40 5 00 00 20000 0 0 V2= 50 )
; poly3d Bomba Shell
Macro( "C:\FS Construccion\API\Shell gas station\Api\gstation.api" 18:25.75493 -070:4.68624 6 0.3 270 0 0 0 0 3000 0 2 V2= 75 )
; poly3d Torre voltaje
Macro( "C:\FS Construccion\API\High voltage towers\tower_42.api" 18:26.53636 -070:4.28214 6 1 90 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Torre voltaje
Macro( "C:\FS Construccion\API\High voltage towers\tower_42.api" 18:26.34478 -070:4.23149 6 1 90 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Torre voltaje
Macro( "C:\FS Construccion\API\High voltage towers\tower_42.api" 18:26.12126 -070:4.14918 6 1 90 0 0 0 0 3000 0 2 V2= 250 )
; poly3d 13
Macro( "C:\FS Construccion\API\Lobasico\Casa Lobasico.api" 18:26.44914 -070:4.93579 6 1 90 0 0 0 0 3000 0 2 V2= 250 )
This last seems to be causing the problem. But why? So I ran the BGL Test Utility and got this:
cannot find map file: C:\Program Files\Airport for Windows\ANTILIA AEROPUERTO.MPF
; BGLTST 2.02 analysing file:
; C:\Program Files\Airport for Windows\ANTILIA AEROPUERTO.bgl
;
ID=1 18:34:00 18:19:00 -69:57:06 -70:12:06
NAV (ILS/VOR) sect 0 -> BA
VIS scenery sect 9 -> 10D
Menu, sect 11 -> 28A3C
Markers, etc. sect 16 -> 28AE6
--------
Scenery Assembler vers. 2.50
" [Version 2.6 Build 119]"
Area( 5 18:26:29.9786 -70:04:35.8294 30 )
000117: 001A: 1: unknown instruction ...
000131: AA 00 4E 00 01 00 A8 98 45 1F 00 00 00 D7 F0 2A ..N.....E......*
Area( 5 18:26:31.2743 -70:04:39.8813 22 )
001521: 03AC: 3: unknown instruction ...
0018CD: AC 00 00 00 22 00 1A 00 08 00 08 00 FF FF 00 00 ...."...........
Area( 5 18:26:27.1279 -70:04:55.6108 22 )
018C73: 0054: 2: unknown instruction ...
018CC7: A7 00 22 00 00 00 00 00 00 00 00 00 00 00 01 00 ..".............
Area( 5 18:25:45.7927 -70:04:41.0765 22 )
01D919: 05A2: 3: unknown instruction ...
01DEBB: AC 00 00 00 22 00 1A 00 08 00 08 00 B0 FF 00 00 ...."...........
Area( 5 18:26:32.1814 -70:04:16.9282 6 )
01FD9F: 1322: 11: Illegal Vector in VectorJump
0210C1: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1344: 11: Illegal Vector in VectorJump
0210E3: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1366: 13: Illegal Vector in VectorJump
021105: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1388: 13: Illegal Vector in VectorJump
021127: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 13AA: 11: Illegal Vector in VectorJump
021149: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 13CC: 11: Illegal Vector in VectorJump
02116B: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 13EE: 11: Illegal Vector in VectorJump
02118D: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1410: 11: Illegal Vector in VectorJump
0211AF: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1432: 13: Illegal Vector in VectorJump
0211D1: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1454: 13: Illegal Vector in VectorJump
0211F3: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1476: 13: Illegal Vector in VectorJump
021215: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1498: 13: Illegal Vector in VectorJump
021237: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
Area( 5 18:26:20.6814 -70:04:13.8893 6 )
0243ED: 1322: 11: Illegal Vector in VectorJump
02570F: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1344: 11: Illegal Vector in VectorJump
025731: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1366: 13: Illegal Vector in VectorJump
025753: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1388: 13: Illegal Vector in VectorJump
025775: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 13AA: 11: Illegal Vector in VectorJump
025797: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 13CC: 11: Illegal Vector in VectorJump
0257B9: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 13EE: 11: Illegal Vector in VectorJump
0257DB: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1410: 11: Illegal Vector in VectorJump
0257FD: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1432: 13: Illegal Vector in VectorJump
02581F: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1454: 13: Illegal Vector in VectorJump
025841: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1476: 13: Illegal Vector in VectorJump
025863: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1498: 13: Illegal Vector in VectorJump
025885: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
Error count 6 Max subroutine level 16 Qmax = 118
Now what? Is this even the same problem?
Anyway, I tried getting the Scasm manual to check syntax, but the site, www.scasm.com, does not seem to work anymore. Can anyone direct me to the right place for Scasm and its manual, if there is one?
Or if someone has come across this problem, perhaps they could be so kind as to indicate my obviously novice error. Are the bitmap names too long? Should they not be extended bitmaps? I hope it is something so simple.
By the way, the new build of Airport has eliminated the famous error 13 message (that never prevented the scenery from being compiled and running correctly) and has added some very nice touches. Thanks to Tom for all.
Best regards.
Luis
I have created a simple airport with standard elements and a simple building made in Easy Object Designer with some simple textures and color. It compiles correctly and runs well - good frame rates.
I made another building, a little more complex, but not too much (140 polygons) with textures and some paint. Now, I get an error (with the latest version of Airport and also with the previous build):
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 88
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico oeste.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 90
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico este.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 92
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 110
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 112
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico entrada doble.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 130
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 132
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico persiana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 150
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 171
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 174
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 1 ventana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 192
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 194
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico todo verde.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 212
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 230
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 234
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico persiana.bmp )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 252
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
-> ')' expected !!!
Error in macro file C:\FS Construccion\API\Lobasico\Casa Lobasico.api line 254
-> LoadBitmap( 0 6 EF 0 0 0 Lobasico este.BMP )
-> ')' expected !!!
Scasm compilation status: error(s) 17
Obviously, scasm does not like my new api, although it is basically the same as the other. So I took a look at the API source:
;macrodesc Casa Lobasico (EOD)
;defaultscale 1
;textures Lobasico oeste.BMP,Lobasico este.BMP,Lobasico 3 ventanas.BMP,Lobasico sin ventana.bmp,Lobasico entrada doble.bmp,Lobasico persiana.bmp,Lobasico 1 ventana.bmp,Lobasico todo verde.bmp,ROOF1.BMP,VOD15.PAT,
;designshape -6,-8,-6,8,6,8,6,-8
;--------------------------------------------
; Filename: Casa Lobasico.api
; Project:
; Designer:
; Date: 01-12-05
; Update: 01-12-06
; Credits: (c) Antilia Aviacion 2001
; Macro generated using EOD 2.0.50
; EOD Website: http://www.echos.ch/eod
;--------------------------------------------
; %1 = Latitude
; %2 = Longtitude
; %3 = Not used
; %4 = Not used [RefpointScale=1, ObjectScale=0,0625]
; %5 = Rotation
; %6 = Not Used
; %7 = Not Used
; %8 = Not Used
; %9 = Not Used
; %10 = Visibility range
; %11 = Altitude
; %12 = Detail level
Area( 5 %1 %2 22 )
mif( %12 )
IfVarRange( : 0346 %12 4 )
mifend
PerspectiveCall( :Pos )
ShadowCall( :Shadows )
Jump( : )
:Pos
Perspective
:Shadows
mif( %11 )
RefPoint( 2 :SubEnd 1 %1 %2 E= %11 )
melse
RefPoint( 7 :SubEnd 1 %1 %2 )
mifend
SetScaleX( :SubEnd %10 0 12 ) ; Scale=0,0625
RotatedCall( :Begin 0 0 %5 )
:SubEnd
Return
:Begin
TransformCall( :Module00 0 0 -7 0 0 0 0 0 0 ) ;Cube 1
TransformCall( :Module01 99 0 -7 0 0 0 0 0 0 ) ;Cube 2
TransformCall( :Module02 127 0 -69 0 0 0 0 0 0 ) ;Cube 3
TransformCall( :Module03 -130 0 82 0 0 0 0 0 0 ) ;Cube 4
TransformCall( :Module04 -184 0 -71 0 0 0 0 0 0 ) ;Cube 5
TransformCall( :Module05 -142 0 -41 0 0 0 0 0 0 ) ;Cube 6
TransformCall( :Module06 -120 0 21 0 0 0 0 0 0 ) ;Cube 7
TransformCall( :Module07 147 0 -111 0 0 0 0 0 0 ) ;Cube 8
TransformCall( :Module08 96 0 -106 0 0 0 0 0 0 ) ;Cube 9
TransformCall( :Module09 12 48 -6 0 0 0 0 0 0 ) ;Cube 10
TransformCall( :Module10 112 48 -7 0 0 0 0 0 0 ) ;Cube 11
TransformCall( :Module11 134 48 -63 0 0 0 0 0 0 ) ;Cube 12
TransformCall( :Module12 144 48 -116 0 0 0 0 0 0 ) ;Cube 13
TransformCall( :Module13 -191 48 -77 0 0 0 0 0 0 ) ;Cube 14
TransformCall( :Module14 -134 48 81 0 0 0 0 0 0 ) ;Cube 15
TransformCall( :Module15 -141 48 -42 0 0 0 0 0 0 ) ;Cube 16
TransformCall( :Module16 -119 48 20 0 0 0 0 0 0 ) ;Cube 17
TransformCall( :Module17 -90 48 -7 0 0 0 0 0 0 ) ;Cube 18
TransformCall( :Module18 -160 66 -4 0 0 0 0 0 0 ) ;Custom object 19
TransformCall( :Module19 0 67 0 0 0 0 0 0 0 ) ;Cylinder 20
TransformCall( :Module20 27 61 0 0 0 0 0 0 0 ) ;Base 21
TransformCall( :Module21 7 0 111 0 0 0 0 0 0 ) ;Cube 22
TransformCall( :Module22 1 0 -132 0 0 0 0 0 0 ) ;Cube 23
TransformCall( :Module23 100 0 80 0 0 0 0 0 0 ) ;Cube 24
Return
;Module description
:Module00
; cube - Cube 1
Points( 0
-90 0 -101 ; 0
89 0 -101 ; 1
89 0 100 ; 2
-90 0 100 ; 3
-90 48 -101 ; 4
89 48 -101 ; 5
89 48 100 ; 6
-90 48 100 ; 7
)
LoadBitmap( 0 6 EF 0 0 0 Lobasico oeste.BMP )
TexPoly( a 0 0 167 4 0 255 5 254 255 1 254 167 ) ;Front
LoadBitmap( 0 6 EF 0 0 0 Lobasico este.BMP )
TexPoly( a 2 0 167 6 0 255 7 254 255 3 254 167 ) ;Back
LoadBitmap( 0 6 EF 0 0 0 Lobasico 3 ventanas.BMP )
TexPoly( a 1 0 167 5 0 255 6 254 255 2 254 167 ) ;Right
Return
;Module description
:Module01
; cube - Cube 2
Points( 8
-10 0 -37 ; 0
10 0 -37 ; 1
10 0 37 ; 2
-10 0 37 ; 3
-10 48 -37 ; 4
10 48 -37 ; 5
10 48 37 ; 6
-10 48 37 ; 7
)
LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
TexPoly( a 10 0 167 14 0 255 15 254 255 11 254 167 ) ;Back
LoadBitmap( 0 6 EF 0 0 0 Lobasico entrada doble.bmp )
TexPoly( a 9 0 167 13 0 255 14 254 255 10 254 167 ) ;Right
Return
;Module description
:Module02
; cube - Cube 3
Points( 16
-38 0 -25 ; 0
37 0 -25 ; 1
37 0 25 ; 2
-38 0 25 ; 3
-38 48 -25 ; 4
37 48 -25 ; 5
37 48 25 ; 6
-38 48 25 ; 7
)
LoadBitmap( 0 6 EF 0 0 0 Lobasico sin ventana.bmp )
TexPoly( a 18 0 167 22 0 255 23 254 255 19 254 167 ) ;Back
LoadBitmap( 0 6 EF 0 0 0 Lobasico persiana.bmp )
TexPoly( a 17 0 167 21 0 255 22 254 255 18 254 167 ) ;Right
Return
And so on. This looks right to me, but then, I know nothing of the syntax for scasm. So I took a look at the Airport source:
;---------------------------------------------------------------------------
; SCASM file generated by Airport Version 2.6 Build 127 for FS 2000
; ANTILIA.SCA Thursday, December 06, 2001 - 20:17:23
;---------------------------------------------------------------------------
; MagVar = 8.5
;---------------------------------------------------------------------------
Header( 1 18.56667 18.31667 -70.20167 -69.95167 )
LatRange( 18.31667 18.56667 )
set( areamx 64 )
Copyright( " [Version 2.6 Build 127]" )
; Area16 Elevation Area 1
Area16N
Elevation ( 42.672
18:26.23923 -070:4.62102 ; 1
18:26.26136 -070:4.50739 ; 2
18:26.7543 -070:4.58693 ; 3
18:26.71002 -070:4.70057 ; 4
18:26.53455 -070:4.73579 ; 5
)
End16
Menu( Antilia Airport )
MenuEntry( 18:26.47935 -070:4.65911 42.672 0 118.00 110.50 0 108.00 0 Ramp )
MenuEntry( 18:26.29251 -070:4.56446 42.672 351 118.00 110.50 0 108.00 0 Runway 36 )
MenuEntry( 18:26.70821 -070:4.62991 42.672 171 118.00 110.50 0 108.00 0 Runway 18 )
MenuEntry( 18:26.51798 -070:4.66648 42.672 180 118.00 110.50 0 108.00 0 Hangar )
; FS2000 runway 18
; [using newer SCASM Runway command for FS2K & beyond]
Area( 5 18:26.5 -070:4.59716 30 )
LayerCall( :rwy 24 )
Jump( : )
:rwy
Smoothing ( 1 )
Runway( 18:26.5 -070:4.59716
Altitude 42.672
Heading 171.5
Length 2500
Width 125
Id 18
Surface 2
Markers BF
THRESHOLD 0
Lights 15
ThrLightsN 00
ThrLightsF 00
ExtN 50
ExtF 50
)
Smoothing ( 0 )
Macro( C:\PROGRA~1\AIRPOR~1\api\papi02.api 18:26.5 -070:4.59716 null null 171.5 81 -19 2 3.5 null 42.672 )
Macro( C:\PROGRA~1\AIRPOR~1\api\papi02.api 18:26.5 -070:4.59716 null null 351.5 81 -19 2 3.5 null 42.672 )
Return
EndA
; ILS NavAID
Ils2( 110.500 10 C3 000 ANT I-ANT 18.4384452 -70.0761175 43 171.5 18.4442132 -70.0770170 43 3.5 5 )
Mm( 18:27.1981 -070:4.70966 43 )
Om( 18:34.12023 -070:5.79915 43 )
; refueling zone Fuel
Area( 5 18:26.47959 -070:4.68079 10 )
RefPoint( 7 :TagPoly 1 18:26.47959 -070:4.68079 )
IfVarRange( :TagPoly 37E -30 30 )
IfVarRange( :TagPoly 386 -30 30 )
SetVar( 288 1 )
:TagPoly
EndA
; polygon Hold short 18
Area( b 18:26.69491 -070:4.64659 30 )
LayerCall( :Taglayer 20 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.69491 -070:4.64659 E= 42.672 V1= 40000 V2= 55 )
Bitmap( termloc.bmp 0 0 0 0 )
Smoothing( 1 )
Points( 1
-00021 0 00000 ; 001
-00006 0 -00017 ; 002
00016 0 -00008 ; 003
00011 0 00024 ; 004
)
StartSurface
MoveToPt( 1 )
DrawToPt( 2 3 4 )
EndSurface
Smoothing( 0 )
:TagPoly
Return
EndA
; polygon Hold short 36
Area( b 18:26.30077 -070:4.58296 30 )
LayerCall( :Taglayer 20 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.30077 -070:4.58296 E= 42.672 V1= 40000 V2= 46 )
Bitmap( termloc.bmp 0 0 0 0 )
Smoothing( 1 )
Points( 1
-00006 0 00015 ; 001
00008 0 00016 ; 002
00014 0 -00020 ; 003
-00014 0 -00011 ; 004
)
StartSurface
MoveToPt( 1 )
DrawToPt( 2 3 4 )
EndSurface
Smoothing( 0 )
:TagPoly
Return
EndA
; polygon Turn off
Area( b 18:26.50108 -070:4.61307 30 )
LayerCall( :Taglayer 20 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.50108 -070:4.61307 E= 42.672 V1= 40000 V2= 49 )
Bitmap( termloc.bmp 0 0 0 0 )
Smoothing( 1 )
Points( 1
00006 0 00022 ; 001
00012 0 -00021 ; 002
00003 0 -00010 ; 003
-00008 0 -00012 ; 004
-00012 0 00009 ; 005
00000 0 00010 ; 006
)
ConcavePoly
StartSurface
MoveToPt( 1 )
DrawToPt( 2 3 4 5 6 )
EndSurface
Smoothing( 0 )
:TagPoly
Return
EndA
; polygon Ramp
Area( b 18:26.50864 -070:4.6625 30 )
LayerCall( :Taglayer 24 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.50864 -070:4.6625 E= 42.672 V1= 40000 V2= 182 )
Bitmap( CONCRET3.R8 0 0 0 0 )
Smoothing( 1 )
Points( 1
-00053 0 00069 ; 001
00039 0 00069 ; 002
00065 0 -00070 ; 003
-00053 0 -00070 ; 004
)
StartSurface
MoveToPt( 1 )
DrawToPt( 2 3 4 )
EndSurface
Smoothing( 0 )
:TagPoly
Return
EndA
; polygon Ramp exit
Area( b 18:26.4946 -070:4.62841 30 )
LayerCall( :Taglayer 20 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.4946 -070:4.62841 E= 42.672 V1= 40000 V2= 32 )
Bitmap( termloc.bmp 0 0 0 0 )
Smoothing( 1 )
Points( 1
00001 0 00017 ; 001
00005 0 -00011 ; 002
-00001 0 -00013 ; 003
-00005 0 00009 ; 004
)
StartSurface
MoveToPt( 1 )
DrawToPt( 2 3 4 )
EndSurface
Smoothing( 0 )
:TagPoly
Return
EndA
; line of Objects Verja este
Macro( "C:\FS CONSTRUCCION\API\APIS\MASCH.API" 18:26.43143 -070:4.90226 10 1 59 0 0 0 0 0 0 0 V2= 250 )
Macro( "C:\FS CONSTRUCCION\API\APIS\MASCH.API" 18:26.44061 -070:4.90794 10 1 59 0 0 0 0 0 0 0 V2= 250 )
Macro( "C:\FS CONSTRUCCION\API\APIS\MASCH.API" 18:26.44979 -070:4.91363 10 1 59 0 0 0 0 0 0 0 V2= 250 )
Macro( "C:\FS CONSTRUCCION\API\APIS\MASCH.API" 18:26.45951 -070:4.91931 10 1 59 0 0 0 0 0 0 0 V2= 250 )
; Taxiway Road 1
Area( 5 18:26.49568 -070:4.62216 19 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly 1 18:26.49568 -070:4.62216 E= 42.672 V1= 18520 V2= 738 )
Monitor3d( :TagPoly -18520 18520 0 2000 -18520 18520 )
LoadBitmap( 0 5 EF 0 128 0 "termloc.bmp" )
Smoothing( 1 )
TaxiwayStart( 8 -59 0 364 ) ; 1
TaxiwayCont( 59 0 -365 ) ; 2
Smoothing(0)
:TagPoly
Return
EndA
; Centerline 1
Area( 5 18:26.49568 -070:4.62216 19 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:26.49568 -070:4.62216 E= 42.722 V1= 185200 V2= 7380 )
Monitor3d( :TagPoly -18520 18520 0 2000 -18520 18520 )
SurfaceColor( 9 F0 )
RRStart( 0 -1 -590 0 3640 ) ; 1
RoadCont( 590 0 -3650 ) ; 2
:TagPoly
Return
EndA
; Centerline Lights 1
Area( 5 18:26.49568 -070:4.62216 19 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 7 :TagPoly .1 18:26.49568 -070:4.62216 V1= 185200 V2= 7380 )
IfVarAnd( :TagPoly1 028c 0001 )
:TagRoad
Monitor3d( :TagPoly -18520 18520 0 2000 -18520 18520 )
Jump( :TagPoly )
:TagPoly1
LineColor( 10 F0 )
Dot( -543 0 3348 ) ; 1
Dot( -496 0 3057 ) ; 1
Dot( -448 0 2765 ) ; 1
Dot( -401 0 2474 ) ; 1
Dot( -354 0 2182 ) ; 1
Dot( -307 0 1890 ) ; 1
Dot( -260 0 1599 ) ; 1
Dot( -212 0 1307 ) ; 1
Dot( -165 0 1016 ) ; 1
Dot( -118 0 724 ) ; 1
Dot( -71 0 432 ) ; 1
Dot( -24 0 141 ) ; 1
Dot( 24 0 -151 ) ; 1
Dot( 71 0 -442 ) ; 1
Dot( 118 0 -734 ) ; 1
Dot( 165 0 -1026 ) ; 1
Dot( 212 0 -1317 ) ; 1
Dot( 260 0 -1609 ) ; 1
Dot( 307 0 -1900 ) ; 1
Dot( 354 0 -2192 ) ; 1
Dot( 401 0 -2484 ) ; 1
Dot( 448 0 -2775 ) ; 1
Dot( 496 0 -3067 ) ; 1
Dot( 543 0 -3358 ) ; 1
:TagPoly
Return
EndA
; Road Camino vecinal
Area( 5 18:26.2835 -070:4.69659 10 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:26.2835 -070:4.69659 E= 42.672 V1= 100000 V2= 17510 )
Monitor3d( :TagPoly -10000 10000 0 2000 -10000 10000 )
LoadBitmap( 0 5 E0 0 0 0 "dirt.r8" )
Smoothing( 1 )
RRStart( 1 -15 -5580 0 5740 ) ; 1
RoadCont( -5330 0 4920 ) ; 2
RoadCont( -4450 0 3550 ) ; 3
RoadCont( -3970 0 3400 ) ; 4
RoadCont( -3590 0 2750 ) ; 5
RoadCont( -3320 0 2640 ) ; 6
RoadCont( -1830 0 2290 ) ; 7
RoadCont( -1260 0 1400 ) ; 8
RoadCont( -870 0 760 ) ; 9
RoadCont( -620 0 100 ) ; 10
RoadCont( 210 0 -80 ) ; 11
RoadCont( 550 0 -1550 ) ; 12
RoadCont( 740 0 -2330 ) ; 13
RoadCont( 1520 0 -3070 ) ; 14
RoadCont( 3050 0 -3300 ) ; 15
RoadCont( 4290 0 -3480 ) ; 16
RoadCont( 5930 0 -4220 ) ; 17
RoadCont( 6110 0 -4700 ) ; 18
RoadCont( 8340 0 -4890 ) ; 19
Smoothing(0)
:TagPoly
Return
EndA
; Road Antilia camino
Area( 5 18:26.45681 -070:4.75965 10 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:26.45681 -070:4.75965 E= 42.672 V1= 100000 V2= 4240 )
Monitor3d( :TagPoly -10000 10000 0 2000 -10000 10000 )
LoadBitmap( 0 5 E0 0 0 0 "dirt.r8" )
Smoothing( 1 )
RRStart( 1 -15 -2360 0 -510 ) ; 1
RoadCont( -1250 0 240 ) ; 2
RoadCont( 1800 0 40 ) ; 3
RoadCont( 1810 0 230 ) ; 4
Smoothing(0)
:TagPoly
Return
EndA
; Road Camino carreterra
Area( 5 18:25.9547 -070:4.74772 10 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:25.9547 -070:4.74772 E= 42.672 V1= 100000 V2= 8200 )
Monitor3d( :TagPoly -10000 10000 0 2000 -10000 10000 )
LoadBitmap( 0 5 E0 0 0 0 "dirt.r8" )
Smoothing( 1 )
RRStart( 1 -15 1620 0 3710 ) ; 1
RoadCont( 630 0 2400 ) ; 2
RoadCont( -480 0 2240 ) ; 3
RoadCont( -750 0 1300 ) ; 4
RoadCont( -1050 0 1230 ) ; 5
RoadCont( -850 0 510 ) ; 6
RoadCont( -360 0 100 ) ; 7
RoadCont( -220 0 -570 ) ; 8
RoadCont( -60 0 -1370 ) ; 9
RoadCont( 260 0 -2270 ) ; 10
RoadCont( 530 0 -3260 ) ; 11
RoadCont( 670 0 -4040 ) ; 12
Smoothing(0)
:TagPoly
Return
EndA
; Road Arroyo carreterra
Area( 5 18:25.79866 -070:4.7443 10 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:25.79866 -070:4.7443 E= 42.672 V1= 100000 V2= 10420 )
Monitor3d( :TagPoly -10000 10000 0 2000 -10000 10000 )
LoadBitmap( 0 5 E0 0 0 0 "water.r8" )
Smoothing( 1 )
RRStart( 1 -23 -6130 0 1220 ) ; 1
RoadCont( -1780 0 600 ) ; 2
RoadCont( -1480 0 360 ) ; 3
RoadCont( -610 0 -330 ) ; 4
RoadCont( 450 0 -300 ) ; 5
RoadCont( 2160 0 20 ) ; 6
RoadCont( 3430 0 -250 ) ; 7
RoadCont( 3980 0 -1310 ) ; 8
Smoothing(0)
:TagPoly
Return
EndA
; Road Lobasico entrada
Area( 5 18:26.43845 -070:4.91874 10 )
LayerCall( :Taglayer 16 )
Jump( : )
:Taglayer
RefPoint( 2 :TagPoly .1 18:26.43845 -070:4.91874 E= 42.672 V1= 100000 V2= 500 )
Monitor3d( :TagPoly -10000 10000 0 2000 -10000 10000 )
LoadBitmap( 0 5 E0 0 0 0 "Dirt.r8" )
Smoothing( 1 )
RRStart( 1 -15 -250 0 -10 ) ; 1
RoadCont( 250 0 0 ) ; 2
Smoothing(0)
:TagPoly
Return
EndA
; poly3d Hangar
Macro( "C:\FS Construccion\API\apis\Store.api" 18:26.52162 -070:4.66469 6 1 0 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Ramp light
Macro( "C:\FS Construccion\API\apis\ramp1.api" 18:26.47983 -070:4.69204 6 0.05 90 0 0 0 0 3000 0 2 V2= 12 )
; poly3d Piper J4
Macro( "C:\FS Construccion\API\apis\Piper-j4.api" 18:26.50972 -070:4.65881 6 1 180 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Piper Tripacer
Macro( "C:\FS Construccion\API\apis\Piptri.api" 18:26.48238 -070:4.63168 6 1 270 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Stinson
Macro( "C:\FS Construccion\API\apis\Stinson.api" 18:26.4776 -070:4.6367 6 1 0 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Bananier
Macro( "C:\FS Construccion\API\apis\bananaTr.api" 18:26.45918 -070:4.92954 6 0.35 180 0 0 0 0 3000 0 2 V2= 88 )
; poly3d Piper Colt
Macro( "C:\FS Construccion\API\apis\Pipcolt.api" 18:26.50899 -070:4.67389 6 1 180 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Delante casa
Macro( "C:\Program Files\Airport for Windows\Api\LISCADU1.API" 18:26.44936 -070:4.91931 30 0.2 0 40 5 00 00 20000 0 0 V2= 50 )
; poly3d Bomba Shell
Macro( "C:\FS Construccion\API\Shell gas station\Api\gstation.api" 18:25.75493 -070:4.68624 6 0.3 270 0 0 0 0 3000 0 2 V2= 75 )
; poly3d Torre voltaje
Macro( "C:\FS Construccion\API\High voltage towers\tower_42.api" 18:26.53636 -070:4.28214 6 1 90 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Torre voltaje
Macro( "C:\FS Construccion\API\High voltage towers\tower_42.api" 18:26.34478 -070:4.23149 6 1 90 0 0 0 0 3000 0 2 V2= 250 )
; poly3d Torre voltaje
Macro( "C:\FS Construccion\API\High voltage towers\tower_42.api" 18:26.12126 -070:4.14918 6 1 90 0 0 0 0 3000 0 2 V2= 250 )
; poly3d 13
Macro( "C:\FS Construccion\API\Lobasico\Casa Lobasico.api" 18:26.44914 -070:4.93579 6 1 90 0 0 0 0 3000 0 2 V2= 250 )
This last seems to be causing the problem. But why? So I ran the BGL Test Utility and got this:
cannot find map file: C:\Program Files\Airport for Windows\ANTILIA AEROPUERTO.MPF
; BGLTST 2.02 analysing file:
; C:\Program Files\Airport for Windows\ANTILIA AEROPUERTO.bgl
;
ID=1 18:34:00 18:19:00 -69:57:06 -70:12:06
NAV (ILS/VOR) sect 0 -> BA
VIS scenery sect 9 -> 10D
Menu, sect 11 -> 28A3C
Markers, etc. sect 16 -> 28AE6
--------
Scenery Assembler vers. 2.50
" [Version 2.6 Build 119]"
Area( 5 18:26:29.9786 -70:04:35.8294 30 )
000117: 001A: 1: unknown instruction ...
000131: AA 00 4E 00 01 00 A8 98 45 1F 00 00 00 D7 F0 2A ..N.....E......*
Area( 5 18:26:31.2743 -70:04:39.8813 22 )
001521: 03AC: 3: unknown instruction ...
0018CD: AC 00 00 00 22 00 1A 00 08 00 08 00 FF FF 00 00 ...."...........
Area( 5 18:26:27.1279 -70:04:55.6108 22 )
018C73: 0054: 2: unknown instruction ...
018CC7: A7 00 22 00 00 00 00 00 00 00 00 00 00 00 01 00 ..".............
Area( 5 18:25:45.7927 -70:04:41.0765 22 )
01D919: 05A2: 3: unknown instruction ...
01DEBB: AC 00 00 00 22 00 1A 00 08 00 08 00 B0 FF 00 00 ...."...........
Area( 5 18:26:32.1814 -70:04:16.9282 6 )
01FD9F: 1322: 11: Illegal Vector in VectorJump
0210C1: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1344: 11: Illegal Vector in VectorJump
0210E3: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1366: 13: Illegal Vector in VectorJump
021105: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1388: 13: Illegal Vector in VectorJump
021127: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 13AA: 11: Illegal Vector in VectorJump
021149: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 13CC: 11: Illegal Vector in VectorJump
02116B: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 13EE: 11: Illegal Vector in VectorJump
02118D: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1410: 11: Illegal Vector in VectorJump
0211AF: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1432: 13: Illegal Vector in VectorJump
0211D1: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1454: 13: Illegal Vector in VectorJump
0211F3: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1476: 13: Illegal Vector in VectorJump
021215: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
01FD9F: 1498: 13: Illegal Vector in VectorJump
021237: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
Area( 5 18:26:20.6814 -70:04:13.8893 6 )
0243ED: 1322: 11: Illegal Vector in VectorJump
02570F: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1344: 11: Illegal Vector in VectorJump
025731: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1366: 13: Illegal Vector in VectorJump
025753: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1388: 13: Illegal Vector in VectorJump
025775: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 13AA: 11: Illegal Vector in VectorJump
025797: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 13CC: 11: Illegal Vector in VectorJump
0257B9: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 13EE: 11: Illegal Vector in VectorJump
0257DB: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1410: 11: Illegal Vector in VectorJump
0257FD: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1432: 13: Illegal Vector in VectorJump
02581F: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1454: 13: Illegal Vector in VectorJump
025841: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1476: 13: Illegal Vector in VectorJump
025863: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
0243ED: 1498: 13: Illegal Vector in VectorJump
025885: 25 00 18 00 00 00 00 00 00 00 00 00 00 00 %.............
Error count 6 Max subroutine level 16 Qmax = 118
Now what? Is this even the same problem?
Anyway, I tried getting the Scasm manual to check syntax, but the site, www.scasm.com, does not seem to work anymore. Can anyone direct me to the right place for Scasm and its manual, if there is one?
Or if someone has come across this problem, perhaps they could be so kind as to indicate my obviously novice error. Are the bitmap names too long? Should they not be extended bitmaps? I hope it is something so simple.
By the way, the new build of Airport has eliminated the famous error 13 message (that never prevented the scenery from being compiled and running correctly) and has added some very nice touches. Thanks to Tom for all.
Best regards.
Luis