SCM2XY2   utility for scenery design on  FS2002

!!!! B E T A - V E R S I O N   !!!!! 

converts FS2000-polygons created by the AIRPORT program to ASM-Files that can be compiled by the Microsoft BGLC program

Input  *.SCA or *.SCM  SCASM files     output to OUTPUT.ASM 

the "TDFmarcos.ZIP" created by Richard Ludowise are needed for use of the BGLC program
 
SCM to VTP2XY2 converter program by F.Dienstbach 21.01.2003

Falko.Dienstbach@t-online.de




If you want to generate a polygon you should add a comment "poly" (and additional text) to the  polygons comment field in AIRPORT or add a comment line 

;;Polygon 1 

to the SCASM file ahead to the polygons area block. 

Since SCM2XY2 should only be used for creating small polygons, the polygons are not split 
up when cell-borders are crossed by the polygon but just cut at the border. So single polygons should not be larger then 30 km x 30 km. 

 
The program now reports 5 textures:


VTPTextureID 0, 0                ;;; VTPTextureName  "0124"   ;dark water
VTPTextureID 1, 0                ;;; VTPTextureName  "0050"   ;sand desert
VTPTextureID 2, 0                ;;;;VTPTextureName  "0057"   ;grasslands
VTPTextureID 3, 0                ;;;;VTPTextureName  "0005"   ;leave forrest
VTPTextureID 4, 0                ;;;;VTPTextureName  "0001"   ;city




 

Das Programm erzeugt VTP2-Polygone aus SCA-Polygonen, nicht aus Strassen.
Um SCM2XY" dazu zu bringen ein Polygon zu erzeugen muss in die Kommentarzeile 
"Poly" eingefgt werden, z.B.:

; Polygon 1 im Norden

Das Programm liest dann die folgende RefPoint-Anweisung und die darauf folgende 
Point-Liste ein.


SCM2XY2 erzeugt derzeit ca. alle 1000 meter zustzliche Punkte und kopiert den 
Startpunkt zustzlich an das Ende. Ob dies ausreichend, oder eher berflssig ist 
muss noch getestet werden.
Das Programm teilt die Polygone bei berschreiten von Cellgrenzen nicht auf, sondern
schneidet den berhngenden Teil ab. Die Polygone sollten daher nicht grsser 
als 30 km x 30 km sein.

