Page 1 of 1

Re: Problem with SBuilder

Posted: Fri Jul 11, 2008 5:27 pm
by meshman
Can you zip up the .SBP file for your project and attach it to a post?

Re: Problem with SBuilder

Posted: Fri Jul 11, 2008 6:32 pm
by Matti
Sure, here it is!

http://maza.kapsi.fi/maenttae.SBP

I'm trying to exclude trees from the area and put grass layer on the runway. The line is just for marking the true position of the runway. Airport itself is Mänttä Sassi unofficial landing strip.

I have manually created the exclude file and done somewhat succesfully VTP2 poly with Ground2k, but I don't like that software.

Re: Problem with SBuilder

Posted: Sat Jul 12, 2008 2:59 am
by rhumbaflappy
Hi Matti.

The default AB files ( Airport backgrounds ) use VTP layer 7 and an "assembled" texture:

1189 Low Sparse Grassland

This will automatically rid the autogen from the airport area, and will eliminate the need for Excludes.

Attached is a zipped file as an example.
maenttae_1.zip
Dick

Re: Problem with SBuilder

Posted: Mon Jul 14, 2008 1:13 am
by Matti
That one still gives errors when compiling!

Code: Select all

Error in line 5
  -> VTPFileHeader( 0x100 )
  -> unknown command
Error in line 9
  -> VTPArea( 1 1 20 15 )
  -> unknown command
Error in line 10
  -> VTPLayer( 7 1 1 0 )
  -> unknown command
Error in line 11
  -> VTPTexID( 0 0 )
  -> unknown command
Error in line 12
  -> VTPPolyCount( 1 )
  -> unknown command
Error in line 14
  -> VTPPoly( 2 5 0 )
  -> unknown command
Error in line 15
  -> VTPPointXY( 9252 8653 )
  -> unknown command
Error in line 16
  -> VTPPointXY( 9144 8678 )
  -> unknown command
Error in line 17
  -> VTPPointXY( 9025 8704 )
  -> unknown command
Error in line 18
  -> VTPPointXY( 9019 8696 )
  -> unknown command
Error in line 19
  -> VTPPointXY( 9246 8644 )
  -> unknown command
Error in line 22
  -> VTPIndexList( 1         436 79 0         )
  -> unknown command
Error in line 26
  -> VTPTextureList( 1         1189 0 0 0 4         )
  -> unknown command
Error in line 30
  -> VTPEnd
  -> unknown command
Scasm compilation status: error(s) 14

Re: Problem with SBuilder

Posted: Mon Jul 14, 2008 2:38 pm
by rhumbaflappy
The VTP SCASM code looks like this:

Code: Select all

Set( BUF 8192 )

Header( 1 63 62 25 24 )

VTPFileHeader( 0x100 )

:cell00

VTPArea( 1 1 20 15 )
VTPLayer( 7 1 1 0 )
VTPTexID( 0 0 )
VTPPolyCount( 1 )

   VTPPoly( 2 5 0 )
      VTPPointXY( 9252 8653 )
      VTPPointXY( 9144 8678 )
      VTPPointXY( 9025 8704 )
      VTPPointXY( 9019 8696 )
      VTPPointXY( 9246 8644 )


VTPIndexList( 1
        436 79 0
        )

VTPTextureList( 1
        1205 0 0 0 4
        )

VTPEnd
It compiles with SCASM version 2.96 available from http://www.scasm.de/

If this does not compile, then the problem isn't with SBuilder, but lies somehow with either your version of SCASM, or some regional settings problem in Windows.

Dick