Blockland Forums > Modification Help
.BLB Road Help?
(1/1)
Christopher P.:
This .blb i'm trying to make crashes blockland when placed. I used the BLB Editor to make this.
What did I do wrong?
(text shrunk because of long code)

--- Quote from: 32x32FRoadL.blb ---32 32 1
SPECIAL

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbb

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd


bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbdddddddddddddddddddd ddd

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

bbbbbbbbbddddddddddddddbbbbbb bbb

1

0 0 0
32 32 1
------------------ Top Quads:
33
         //T grass far
TEX:TOP
POSITION:
-16 -16 0.5
-16 16 0.5
-7 16 0.5
-7 -16 0.5
UV COORDS:
9 -32
9 0
0 0
0 -32
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
      //T near lane
TEX:RAMP
POSITION:
-0.3 -7.5 0.5
-0.3 -16 0.5
-6.3 -16 0.5
-6.3 -7 0.5
UV COORDS:
-0.3 -7.5
-0.3 -16
-6.3 -16
-6.3 -7
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
      //T far lane
TEX:RAMP
POSITION:
 6.3 -7 0.5
  6.3 -16 0.5
   0.3 -16 0.5
 0.3 -7.5 0.5
UV COORDS:
 6.3 -7
  6.3 -16
   0.3 -16
 0.3 -7.5
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
         //T lane patch
TEX:RAMP
POSITION:
 -6.3 -7 0.5
  6.3 -7 0.5
   0.3 -7.5 0.5
 -0.3 -7.5 0.5
UV COORDS:
 -6.3 -7
  6.3 -7
   0.3 -7.5
 -0.3 -7.5
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
      //T near stripe
TEX:RAMP
POSITION:
 -7 -7 0.5
  -6.3 -7 0.5
   -6.3 -16 0.5
 -7 -16 0.5
UV COORDS:
 -7 -7
  -6.3 -7
   -6.3 -16
 -7 -16
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
      //T far stripe
TEX:RAMP
POSITION:
 6.3 -7 0.5
  7 -7 0.5
   7 -16 0.5
 6.3 -16 0.5
UV COORDS:
 6.3 -7
  7 -7
   7 -16
 6.3 -16
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
      //T center stripe
TEX:RAMP
POSITION:
 -0.3 -7.5 0.5
  0.3 -7.5 0.5
   0.3 -16 0.5
 -0.3 -16 0.5
UV COORDS:
 -0.3 -7.5
  0.3 -7.5
   0.3 -16
 -0.3 -16
COLORS:
0.973 0.800 0.000 1
0.973 0.800 0.000 1
0.973 0.800 0.000 1
0.973 0.800 0.000 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
         //******RIGHT***** T grass far
TEX:TOP
POSITION:
-7 7 0.5
-7 16 0.5
16 16 0.5
16 7 0.5
UV COORDS:
23 -9
23 0
0 0
0 -9
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
         //T grass near
TEX:TOP
POSITION:
7 -16 0.5
7 -7 0.5
16 -7 0.5
16 -16 0.5
UV COORDS:
9 -32
9 -23
0 -23   
0 -32
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
      //T near lane
TEX:RAMP
POSITION:
7.5 -0.3 0.5
16 -0.3 0.5
16 -6.3 0.5
7 -6.3 0.5
UV COORDS:
7.5 -0.3
16 -0.3
16 -6.3
7 -6.3
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
      //T far lane
TEX:RAMP
POSITION:
7 6.3 0.5
16 6.3 0.5
16 0.3 0.5
7.5 0.3 0.5
UV COORDS:
7 6.3
16 6.3
16 0.3
7.5 0.3
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
         //T lane patch
TEX:RAMP
POSITION:
7 -6.3 0.5
7 6.3 0.5
7.5 0.3 0.5
7.5 -0.3 0.5
UV COORDS:
7 -6.3
7 6.3
7.5 0.3
7.5 -0.3
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
      //T near stripe
TEX:RAMP
POSITION:
7 -7 0.5
7 -6.3 0.5
16 -6.3 0.5
16 -7 0.5
UV COORDS:
7 -7
7 -6.3
16 -6.3
16 -7
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
      //T far stripe
TEX:RAMP
POSITION:
7 6.3 0.5
7 7 0.5
16 7 0.5
16 6.3 0.5
UV COORDS:
7 6.3
7 7
16 7
16 6.3
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
      //T center stripe
TEX:RAMP
POSITION:
7.5 -0.3 0.5
7.5 0.3 0.5
16 0.3 0.5
16 -0.3 0.5
UV COORDS:
7.5 -0.3
7.5 0.3
16 0.3
16 -0.3
COLORS:
0.973 0.800 0.000 1
0.973 0.800 0.000 1
0.973 0.800 0.000 1
0.973 0.800 0.000 1
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
         //left stripe
TEX:RAMP
POSITION:
-7 -7 0.5
-7 7 0.5
-6.3 6.3 0.5
-6.3 -6.3 0.5
UV COORDS:
-7 -7
-7 7
-6.3 6.3
-6.3 -6.3
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
         //right stripe
TEX:RAMP
POSITION:
6.3 -6.3 0.5
6.3 6.3 0.5
7 7 0.5
7 -7 0.5
UV COORDS:
6.3 -6.3
6.3 6.3
7 7
7 -7
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
         //left stripe ROT 90
TEX:RAMP
POSITION:
-6.3 -6.3 0.5
6.3 -6.3 0.5
7 -7 0.5
-7 -7 0.5
UV COORDS:
-6.3 -6.3
6.3 -6.3
7 -7
-7 -7
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
         //right stripe ROT 90
TEX:RAMP
POSITION:
-7 7 0.5
7 7 0.5
6.3 6.3 0.5
-6.3 6.3 0.5
UV COORDS:
-7 7
7 7
6.3 6.3
-6.3 6.3
COLORS:
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
0.996 0.996 0.910 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
         //middle
TEX:RAMP
POSITION:
-6.3 -6.3 0.5
-6.3 6.3 0.5
6.3 6.3 0.5
6.3 -6.3 0.5
UV COORDS:
-6.3 -6.3
-6.3 6.3
6.3 6.3
6.3 -6.3
COLORS:
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
0.200 0.200 0.200 1.000
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
------------------ Bottom Quads:
5

TEX:BOTTOMLOOP
POSITION:
-15.5 -15.5 -0.5
15.5 -15.5 -0.5
15.5 15.5 -0.5
-15.5 15.5 -0.5
UV COORDS:
0 0
0 31
31 31
31 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-16 -16 -0.5
16 -16 -0.5
15.5 -15.5 -0.5
-15.5 -15.5 -0.5
UV COORDS:
-0.5 0
31.5 0
31 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-15.5 15.5 -0.5
15.5 15.5 -0.5
16 16 -0.5
-16 16 -0.5
UV COORDS:
0 0.5
31 0.5
31.5 0
-0.5 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-15.5 -15.5 -0.5
-15.5 15.5 -0.5
-16 16 -0.5
-16 -16 -0.5
UV COORDS:
0 0.5
31 0.5
31.5 0
-0.5 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
16 -16 -0.5
16 16 -0.5
15.5 15.5 -0.5
15.5 -15.5 -0.5
UV COORDS:
-0.5 0
31.5 0
31 0.5
0 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
------------------ North Quads:
1

TEX:SIDE
POSITION:
-16 16 0.5
-16 16 -0.5
16 16 -0.5
16 16 0.5
UV COORDS:
0.98 -0.09
0.98  1.09
0.02  1.09
0.02 -0.09
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
------------------ East Quads:
1

TEX:SIDE
POSITION:
16 16 0.5
16 16 -0.5
16 -16 -0.5
16 -16 0.5
UV COORDS:
0.98 -0.09
0.98  1.09
0.02  1.09
0.02 -0.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
------------------ South Quads:
1

TEX:SIDE
POSITION:
16 -16 0.5
16 -16 -0.5
-16 -16 -0.5
-16 -16 0.5
UV COORDS:
0.98 -0.09
0.98  1.09
0.02  1.09
0.02 -0.09
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
------------------ West Quads:
1

TEX:SIDE
POSITION:
-16 -16 0.5
-16 -16 -0.5
-16 16 -0.5
-16 16 0.5
UV COORDS:
0.98 -0.09
0.98  1.09
0.02  1.09
0.02 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
------------------ Omni Quads:
0
--- End quote ---
Destiny/Zack0Wack0:
You can't have a space in your brick grid. If you're trying to make it so you can't plant anything there use 'x'
Christopher P.:

--- Quote from: Destiny/Zack0Wack0 on May 27, 2011, 08:31:49 PM ---You can't have a space in your brick grid. If you're trying to make it so you can't plant anything there use 'x'

--- End quote ---

Oh, okay. I'll try to delete the spaces and test it out.

EDIT: Now it crashes blockland when you start to load the map.

EDIT2: That is weird, on the op it shows spaces but there were no spaces in the coding... What I did was remove the empty lines in the brick grid.
Christopher P.:
Okay, I put the empty lines back in the brick grid to get some pictures of it.

Here is some lines in the console that may be showing a problem with the brick:

--- Code: ---fxDTSBrickData::Preload - unknown texID '5'
fxDTSBrickData::Preload - unknown texID '0 0 -1'
fxDTSBrickData::Preload - unknown texID '0 0 -1'
fxDTSBrickData::Preload - unknown texID '0 0 -1'
fxDTSBrickData::Preload - unknown texID '0 0 -1'
fxDTSBrickData::Preload - unknown texID '0 0 -1'
fxDTSBrickData::Preload - unknown texID '0 1 0'
fxDTSBrickData::Preload - unknown texID 'NORMALS:'
fxDTSBrickData::Preload - unknown texID '0.02  1.09'
fxDTSBrickData::Preload - unknown texID '0.98 -0.09'
fxDTSBrickData::Preload - unknown texID ''
fxDTSBrickData::Preload - unknown texID ''
fxDTSBrickData::Preload - unknown texID ''
--- End code ---

Here is a picture of it's ghost brick (kinda laggy but no crash)
WARNING: LARGE PICTURES!


Here is a picture of when it's placed and the crash error (i had to use print screen and center it on blockland)


Here is a picture of it in blb editor (just fine)


EDIT: I think I have found the problem:

--- Code: --------------------- Top Quads:
33
         //T grass far
--- End code ---
I counted only 20 groups of textures and stuff in Top Quads:

--- Code: --------------------- Top Quads:
20
         //T grass far
--- End code ---
Now to test.

EDIT2: I got it to work!
Navigation
Message Index

Go to full version