Author Topic: [Solved] Replacing a brick's texture.  (Read 3230 times)

Let's say I have a custom brick, specifically a 1x2F, without a .dts model, only .blb. How would I replace the default texture for the top of the brick, like a print brick for instance.
« Last Edit: January 30, 2016, 01:43:30 AM by Dr.Tyler O. »

The texture used for that is shared across all bricks actually, and you can find the files for these textures in Blockland\base\data\shapes.

The texture used for that is shared across all bricks actually, and you can find the files for these textures in Blockland\base\data\shapes.

Thank you for your input but I believe you misunderstood what I'm asking here. I have a custom brick and I would like to apply a custom texture to the top of the brick, not replace all brick textures in general.

Thank you for your input but I believe you misunderstood what I'm asking here. I have a custom brick and I would like to apply a custom texture to the top of the brick, not replace all brick textures in general.

Then make it a print brick. It involves settings a UV coords with TEX name PRINT

example
Code: [Select]
TEX:PRINT
POSITION:
0.554116 -0.236744 1.368515
0.610200 -0.600363 -1.922513
-0.610200 -0.600363 -1.922513
-0.554116 -0.236744 1.368515
UV COORDS:
1 0
1 1
0 1
0 0
COLORS:
1.000000 1.000000 1.000000 1.000000
1.000000 1.000000 1.000000 1.000000
1.000000 1.000000 1.000000 1.000000
1.000000 1.000000 1.000000 1.000000
NORMALS:
-1 0 0
-1 0 0
-1 0 0
-1 0 0
« Last Edit: January 29, 2016, 01:24:24 AM by Goth77 »

Then make it a print brick.

That would be fine but I don't want the texture to be changeable.

can the texture be a solid color?


No, it's a number.
could you model the number as a very small extrusion on top of the brick?

could you model the number as a very small extrusion on top of the brick?

I'm confused here because I have never made bricks before this. I could be completely misunderstanding what you're proposing but, as I said, there is no model for this brick.
I'm sorry if I'm just being dumb here Swollow.  :cookieMonster:

From everything I've ever tried, it is impossible to have a custom texture defined to a blb face, other than using PRINT (unless you replace the texture for all bricks...)

blb is very limited in what it can do.
Basically it can be a rectangle brick and have prints.
But that is about it.
With what you want, you'll need to make a dts.

blb is very limited in what it can do.
Basically it can be a rectangle brick and have prints.
But that is about it.
With what you want, you'll need to make a dts.
not true at all




these are all bricks I have modelled blbs are not super powerful but you can do a lot

From everything I've ever tried, it is impossible to have a custom texture defined to a blb face, other than using PRINT (unless you replace the texture for all bricks...)
correct

the most effective way to texture a brick as you have describes would be to make a very thinly extruded number model on a side of the brick




this is how you would put a number on top of a brick

this is how you would put a number on top of a brick

Well, if I'm going to have to resort to modeling, why not just actually apply a texture to the model instead of using all of those extra faces to make the number?

Well, if I'm going to have to resort to modeling, why not just actually apply a texture to the model instead of using all of those extra faces to make the number?
didn't we just go over the fact that you can't put textures on a brick?
« Last Edit: January 29, 2016, 01:29:56 PM by Swollow »