Author Topic: .blb help  (Read 1936 times)

Hello, I was working on making some doors but I am having trouble sizing my blb file. First of all, I have no clue what to do. I know you open it as a text like document in notepad but I don't know what to change I want a 1x10x15 sized brick for my door. Does anyone know what to change. If you do, can you tell me how to make it that size so I know how to make bricks? here is the code.

Code: [Select]
1 6 15
SPECIAL

u
X
X
X
X
X
X
X
X
X
X
X
X
X
d

u
X
X
X
X
X
X
X
X
X
X
X
X
X
d

u
X
X
X
X
X
X
X
X
X
X
X
X
X
d

u
X
X
X
X
X
X
X
X
X
X
X
X
X
d

u
X
X
X
X
X
X
X
X
X
X
X
X
X
d

u
X
X
X
X
X
X
X
X
X
X
X
X
X
d

1

0 0 0
1 6 15
----------------top quads:
1

TEX:TOP
POSITION:
-0.5 -3 7.5
-0.5 3 7.5
0.5 3 7.5
0.5 -3 7.5
UV COORDS:
1 0
1 6
0 6
0 0
NORMALS:
0 0 1
0 0 1
0 0 1
0 0 1
----------------bottom quads:
5

TEX:BOTTOMLOOP
POSITION:
0 -2.5 -7.5
0 -2.5 -7.5
0 2.5 -7.5
0 2.5 -7.5
UV COORDS:
0 0
0 5
0 5
0 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
-0.5 -3 -7.5
0.5 -3 -7.5
0 -2.5 -7.5
0 -2.5 -7.5
UV COORDS:
0 0
1 0
0.5 0.5
0.5 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
0 2.5 -7.5
0 2.5 -7.5
0.5 3 -7.5
-0.5 3 -7.5
UV COORDS:
0.5 0.5
0.5 0.5
1 0
0 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
0 -2.5 -7.5
0 2.5 -7.5
-0.5 3 -7.5
-0.5 -3 -7.5
UV COORDS:
0.5 0.5
0.5 0.5
1 0
0 0
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1

TEX:BOTTOMEDGE
POSITION:
0.5 -3 -7.5
0.5 3 -7.5
0 2.5 -7.5
0 -2.5 -7.5
UV COORDS:
0 0
1 0
0.5 0.5
0.5 0.5
NORMALS:
0 0 -1
0 0 -1
0 0 -1
0 0 -1
----------------north quads:
1

TEX:SIDE
POSITION:
-0.5 3 7.5
-0.5 3 -7.5
0.5 3 -7.5
0.5 3 7.5
UV COORDS:
1.02148 0.0171875
1.02148 0.982813
-0.0214844 0.982813
-0.0214844 0.0171875
NORMALS:
0 1 0
0 1 0
0 1 0
0 1 0
----------------east quads:
1

TEX:SIDE
POSITION:
0.5 -3 7.5
0.5 3 7.5
0.5 3 -7.5
0.5 -3 -7.5
UV COORDS:
0.0143229 0.0171875
0.985677 0.0171875
0.985677 0.982813
0.0143229 0.982813
NORMALS:
1 0 0
1 0 0
1 0 0
1 0 0
----------------south quads:
1

TEX:SIDE
POSITION:
0.5 -3 7.5
0.5 -3 -7.5
-0.5 -3 -7.5
-0.5 -3 7.5
UV COORDS:
1.02148 0.0171875
1.02148 0.982813
-0.0214844 0.982813
-0.0214844 0.0171875
NORMALS:
0 -1 0
0 -1 0
0 -1 0
0 -1 0
----------------west quads:
1

TEX:SIDE
POSITION:
-0.5 -3 -7.5
-0.5 3 -7.5
-0.5 3 7.5
-0.5 -3 7.5
UV COORDS:
0.985677 0.982813
0.0143229 0.982813
0.0143229 0.0171875
0.985677 0.0171875
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
----------------omni quads:
0

...
Code: [Select]
1 6 15
SPECIAL
...
I think you just change those numbers to 1 10 15, but I'm not sure, I've never messed with blb files.

I suggest you look on other simple door bricks.

Jaydee = really bad at correctly utilising prepositions.

I suggest you look on other simple door bricks.
Either way, I still need to know how to resize bricks.

Change the position parts so instead of being -3 to +3 on the Y axis, it's from -5 to +5 for 10 width.

Change the position parts so instead of being -3 to +3 on the Y axis, it's from -5 to +5 for 10 width.
All -3s to 3 and all -5s to 5?

All -3s to 3 and all -5s to 5?
From what I know, you don't have to change all of them. It is not that easy, you have to experiment.

You'll also have to change the +/-2.5 parts so they are +/-4.5, and perhaps edit some parts with the looping textures so the brick texture isn't stretched across the bottom.

You'll also have to change the +/-2.5 parts so they are +/-4.5, and perhaps edit some parts with the looping textures so the brick texture isn't stretched across the bottom.
Ok, the problem is that I am not understanding what this is saying at all. I could willy nilly start changing things but I wouldn't know what I am changing. What I want to know here is what all of the stuff is saying. all I know is
Code: [Select]
u
X
X
X
X
X
X
X
X
X
X
X
X
X
d
Determines where you can build.

That part determines where you can place bricks, yes. It's currently defining a cuboid 1 wide (1 row each) by six long (repeated six times, you'll need ten) and 5 bricks tall (15 plates/letters in each).

You will need to edit the numbers in the parts related to quads to edit how the brick itself displays, otherwise you get a brick that looks like a 1x6x5 but is actually ten wide and blocks things.

Ok, I will mess with that. Does anyone know a scale to go by in Blender because I am making a door and I don't know how to get it to the size of the brick.

I believe it's one Blender unit (half the width of the initial cube) to two horizontal studs in-game.

What about upwards like on the Z axis?

0.2 Blender units is one plate height, I think. A brick is 5/6ths as wide as it is tall.