Author Topic: BLB Brick Format Reference  (Read 77205 times)

Thanks.

Also I can't figure out the POSITION part for the life of me; what the heck are these numbers relative to?

The center of the box you defined on the first line.

This might help some: http://wiki.returntoblockland.com/index.php?title=Special_Bricks but I'm still working on it.

Ah, the brick's origin! Thanks!

Argh ok I figured out the problem; I was thinking in terms of units, not plates. I saw z-values for the bottom quads on a 3-plate-high brick of -1.5 and thought, "what the :iceCream:? 7.5 plates down?"

Getting a buncha garbage errors:
Code: [Select]
fxDTSBrickData::Preload - unknown texID '1 : 30'
fxDTSBrickData::Preload - unknown texID 'POSITION:'
fxDTSBrickData::Preload - unknown texID 'POSITION:'
fxDTSBrickData::Preload - unknown texID 'POSITION:'

Anyone have any tips for working with .blbs? As far as I can tell everything is perfect and there's no pattern to where or why these 4 errors and only these 4 errors occur.
« Last Edit: January 26, 2010, 05:56:40 PM by Mr. Wallet »

You should paste your blb.

Haven't done the omni faces yet, but the overall goal is a single brick that looks like simple stairs made from fifteen 2x16x1 plates.

Code: [Select]
16 16 15
SPECIAL

----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
bbbbbbbbbbbbbbbb

----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd

----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------

----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------

----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------
----------------

----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------
----------------
----------------

----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------
----------------
----------------
----------------

----------------
----------------
----------------
----------------
----------------
----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------
----------------
----------------
----------------
----------------

----------------
----------------
----------------
----------------
----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------
----------------
----------------
----------------
----------------
----------------

----------------
----------------
----------------
----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------

----------------
----------------
----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------

----------------
----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------

----------------
----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------

----------------
uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------

uuuuuuuuuuuuuuuu
dddddddddddddddd
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------

bbbbbbbbbbbbbbbb
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------
----------------

15

-7 0 -7
2 16 1

-6 0 -6
2 16 1

-5 0 -5
2 16 1

-4 0 -4
2 16 1

-3 0 -3
2 16 1

-2 0 -2
2 16 1

-1 0 -1
2 16 1

0 0 0
2 16 1

1 0 1
2 16 1

2 0 2
2 16 1

3 0 3
2 16 1

4 0 4
2 16 1

5 0 5
2 16 1

6 0 6
2 16 1

7 0 7
2 16 1

COVERAGE: //TBNESW
1 : 32
1 : 32
1 : 16
1 : 30
1 : 16
1 : 30

----------------top quads:
1

TEX:TOP
POSITION:
-8 6 7.5
-8 8 7.5
8 8 7.5
8 6 7.5
UV COORDS:
0 -2
0 0
-16 0
-16 -2
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1

----------------bottom quads:
4

TEX:BOTTOMEDGE
POSITION:
-8 -8 -7.5
 8 -8 -7.5
 7.5   -7.5   -7.5
 -7.5   -7.5   -7.5
UV COORDS:
-1.5 0
1.5 0
1 0.5
-1 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-7.5  -7.5   -7.5
7.5  -7.5   -7.5
8 -7 -7.5
-8 -7 -7.5
UV COORDS:
-1 0.5
1 0.5
1.5 0
-1.5 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-7.5 -7.5 -7.5
-7.5 -7.5 -7.5
-8  -8   -7.5
-8 -7   -7.5
UV COORDS:
-1 0.5
1 0.5
1.5 0
-1.5 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
7.5 -7.5 -7.5
7.5 -7.5 -7.5
8  -8   -7.5
8 -7   -7.5
UV COORDS:
-1.5 0
1.5 0
1 0.5
-1 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

----------------north quads:
1

TEX:SIDE
POSITION:
-8 8 -6.5
-8 8 -7.5
8 8 -7.5
8 8 -6.5
UV COORDS:
0.994 -0.09
0.994 1.09
0.006 1.09
0.006 -0.09
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0

----------------east quads:
15

TEX:SIDE
POSITION:
8 -8 -6.5
8 -6 -6.5
8 -6 -7.5
8 -8 -7.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 -7 -5.5
8 -5 -5.5
8 -5 -6.5
8 -7 -6.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 -6 -4.5
8 -4 -4.5
8 -4 -5.5
8 -6 -5.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 -5 -3.5
8 -3 -3.5
8 -3 -4.5
8 -5 -4.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 -4 -2.5
8 -2 -2.5
8 -2 -3.5
8 -4 -3.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 -3 -1.5
8 -1 -1.5
8 -1 -2.5
8 -3 -2.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 -2 -0.5
8 0 -0.5
8 0 -1.5
8 -2 -1.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 -1 0.5
8 1 0.5
8 1 -0.5
8 -1 -0.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 0 1.5
8 2 1.5
8 2 0.5
8 0 0.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 1 2.5
8 3 2.5
8 3 1.5
8 1 1.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 2 3.5
8 4 3.5
8 4 2.5
8 2 2.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 3 4.5
8 5 4.5
8 5 3.5
8 3 3.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 4 5.5
8 6 5.5
8 6 4.5
8 4 4.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 5 6.5
8 7 6.5
8 7 5.5
8 5 5.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

TEX:SIDE
POSITION:
8 6 7.5
8 8 7.5
8 8 6.5
8 6 6.5
UV COORDS:
0.006 -0.09
0.994 -0.09
0.994 1.09
0.006 1.09
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0

----------------south quads:
1

TEX:SIDE
POSITION:
8 -8 -6.5
8 -8 -7.5
-8 -8 -7.5
-8 -8 -6.5
UV COORDS:
0.994 -0.09
0.994 1.09
0.006 1.09
0.006 -0.09
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0

----------------west quads:
15

TEX:SIDE
POSITION:
-8 -8 -6.5
-8 -6 -6.5
-8 -6 -7.5
-8 -8 -7.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 -7 -5.5
-8 -5 -5.5
-8 -5 -6.5
-8 -7 -6.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 -6 -4.5
-8 -4 -4.5
-8 -4 -5.5
-8 -6 -5.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 -5 -3.5
-8 -3 -3.5
-8 -3 -4.5
-8 -5 -4.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 -4 -2.5
-8 -2 -2.5
-8 -2 -3.5
-8 -4 -3.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 -3 -1.5
-8 -1 -1.5
-8 -1 -2.5
-8 -3 -2.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 -2 -0.5
-8 0 -0.5
-8 0 -1.5
-8 -2 -1.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 -1 0.5
-8 1 0.5
-8 1 -0.5
-8 -1 -0.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 0 1.5
-8 2 1.5
-8 2 0.5
-8 0 0.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 1 2.5
-8 3 2.5
-8 3 1.5
-8 1 1.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 2 3.5
-8 4 3.5
-8 4 2.5
-8 2 2.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 3 4.5
-8 5 4.5
-8 5 3.5
-8 3 3.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 4 5.5
-8 6 5.5
-8 6 4.5
-8 4 4.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 5 6.5
-8 7 6.5
-8 7 5.5
-8 5 5.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

TEX:SIDE
POSITION:
-8 6 7.5
-8 8 7.5
-8 8 6.5
-8 6 6.5
UV COORDS:
0.994 1.09
0.006 1.09
0.006 -0.09
0.994 -0.09
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0

----------------omni quads:
0
« Last Edit: January 26, 2010, 10:26:14 PM by Mr. Wallet »

rofl zor pointed out I have a tilde in there... don't think that'll fix it based on the above errors but don't worry about that.

any reason I can't just take the 4x4f print brick and change its top face to RAMP? And how hard it is it to change that to say a 6x6 or a 64x64 for that matter? I have to adjust first line and the position information?

Could you make one of these for print bricks?


TEX:

2x2ramp.blb
Code: [Select]
TEX:TOPThis defines the texture that the particular quad has.

TOP = Brick studs
BOTTOMLOOP = Brick underside texture
BOTTOMEDGE = Brick underside edge texture
SIDE = Brick side texture with shading on each edge
RAMP = Rough 'ramp' surface
PRINT = Print texture, when the brick is 'printed'. Extra fields in the datablock will probably need to be added to let the print brick function.

i understood that part, I don't understand the "Position" ...

Good guide Space ma boi.

I thought that the "Brick" word indicated that the brick should go under the tab labeled "Bricks" in the brick menu. So the word "Special" would indicate that that special brick should go under the "Special" tab.