;VODDATA Latitude Longitude Not_used Scale Rotation Not_used Not_used Not_used Not_used Visibility Not_used Scenery_complexity(0-4) Not_used Not_used 
;MACRODESC 

; Macro generated using VOD v3.0

; Author : Scenery made By me

; %1  = Latitude
; %2  = Longitude
; %3  = Not used
; %4  = Scale
; %5  = Rotation
; %6  = Not used
; %7  = Not used
; %8  = Not used
; %9  = Not used
; %10 = Visibility range
; %11 = Not used
; %12 = Scenery complexity
;
 ;
 ; Object no.:  1
 ; 
 ; Object description : rmvbus
 ; 
Area( 5 %1 %2 22 )
IfVarRange( : 346 %12 4 )
     PerspectiveCall( :rmvbus_pc01 )
     Jump( : )
:rmvbus_pc01
Perspective
RefPoint( 7 :rmvbus_SubEnd  %4 %1 %2  v1= %10 )
RotatedCall( :rmvbus_b1 0 0 %5 )
:rmvbus_SubEnd
    Return
:rmvbus_b1
    ShadowCall( :rmvbus_b2 )
:rmvbus_b2
Monitor3D( :rmvbus_nocrash -0 0 0 0 -0 0 )
Setvar( 284 14 )
:rmvbus_nocrash
Points( 0
    -1 0 -7                            ; 0
    2 0 -7                             ; 1
    2 0 7                              ; 2
    -1 0 7                             ; 3
    -1 3 -7                            ; 4
    2 3 -7                             ; 5
    2 3 7                              ; 6
    -1 3 7                             ; 7
)
Bitmap( RMV1.PAT 0 0 0 0 )
ConcavePoly
BitmapMode( 1 )
Inst_7D
TexPoly(   a   ; External Front
    0   10  202
    4   10  142
    5   60  142
    1   60  202
      )
BitmapMode( 0 )
ConcavePoly
BitmapMode( 1 )
Inst_7D
TexPoly(   a   ; External Back
    2   91  202
    6   91  143
    7   143  143
    3   143  202
      )
BitmapMode( 0 )
ConcavePoly
BitmapMode( 1 )
Inst_7D
TexPoly(   a   ; External Left
    3   0  128
    7   0  70
    4   255  70
    0   255  128
      )
BitmapMode( 0 )
ConcavePoly
BitmapMode( 1 )
Inst_7D
TexPoly(   a   ; External Right
    1   0  60
    5   0  0
    6   255  0
    2   255  60
      )
BitmapMode( 0 )
ConcavePoly
BitmapMode( 1 )
Inst_7D
TexPoly(   a   ; External Top
    4   0  255
    7   0  211
    6   255  211
    5   255  255
      )
BitmapMode( 0 )
Return
EndA
