Author Topic: Requesting a Brick making Tutorial  (Read 1387 times)

Well, after downloading a few of the Brick Add-on's I've realized I'd rather make my own. I've searched around the forums a little, but can't seem to find anything on this (Unless it's the same thing as making weapons).

So what I'm asking is, could someone make a detailed tutorial on how to model new bricks and make them work with Blockland? Aswell as how to make working icons for them (Yes I like to have the images). Also if someone could name the best program to use that'd also be appreciated.

Thanks.

i dont know how to do it,but for the model,use milkshape,if its not compatible with your computor,use blender.

You don't model bricks, you use math to figure out their dimensions, but I have never made a brick so I wouldn't know exactly how to make them, here is the code for a 4X4 cube:
Code: [Select]
8 8 20
BRICK
OOOHHH COMPLICATED! I don't know what is what up there so someone who makes bricks, Quick, now is your chance!

You don't model bricks, you use math to figure out their dimensions, but I have never made a brick so I wouldn't know exactly how to make them, here is the code for a 4X4 cube:
Code: [Select]
8 8 20
BRICK
OOOHHH COMPLICATED! I don't know what is what up there so someone who makes bricks, Quick, now is your chance!
That seems way too easy, if it really is that simple I guess I won't have much troubles. Still if I could get a reply from someone who actually has experience it would be helpful. I understand this community has something against helping people make their own add-on's and of course I can understand the reasoning for that, but from what you can hopefully see I am not an idiot I also have scripting experience when I ran my own server on another game. If someone could actually help me figure out how to do this stuff it would be really nice.

You could try making one with some random numbers if you want. I'm not exactly sure but, I think that like 2 units = 1 stud so 8X8 would = 4StudsX4Studs but I don't know what the 20 would be. Just mess around with it. Remember to include in your zip file: A description that should look like this:
Code: [Select]
Title: BRICKS!!!
Author: MY NAME HERE
BLAH BLAH BLAH BLAH DEY R BRIKS!!!
And then a server.cs that says this:
Code: [Select]
datablock fxDTSBrickData (brick4xCubeData) <<< that is the datablock name that you create
{
brickFile = "./4x Cube.blb"; << this is the blb file you create
category = "Baseplates";       <<<This is the tab it will be under
subCategory = "Cube";      <<<Obvious
uiName = "4x Cube";   <<< this is the name of the brick in the menu
iconName = "Add-Ons/Brick_Large_Cubes/4x Cube";      <<< This is the icon to represent the brick in the brick get menu, put it here if you have one
};
and then a .blb file (just name it in notepad blah.blb, it should work) that looks like that code above:
Code: [Select]
4 4 10?
BRICK
And name the .zip file Bricks_Mahbricks or whatever. I'm just guessing on this, but no one else is helping, why not me?
« Last Edit: April 19, 2009, 08:40:49 PM by AGlass0fMilk »

I've figured it out, thanks for the help. It is pretty damn easy actually.
From what I see when dealing with Length and Width 1 = 1 stud, but when dealing with height 3 = 1 stud. 1 for height would be the height of a plate brick.

Well going to start on my own brick pack right now. Going to make tons of useful bricks and make icons for all of them.

Edit:
Well I'm having trouble with the icons. I can't seem to figure out how people make the transparent background behind the bricks. Everytime I make it, it shows a white background.
« Last Edit: April 18, 2009, 02:00:21 AM by Jimmambob »

There is an icon making tutorial somewhere but... I'll never do it....

You could try making one with some random numbers if you want. I'm not exactly sure but, I think that like 2 units = 1 stud so 8X8 would = 4StudsX4Studs but I don't know what the 20 would be. Just mess around with it. Remember to include in your zip file: A description that should look like this:
Code: [Select]
Title: BRICKS!!!
Author: MY NAME HERE
BLAH BLAH BLAH BLAH DEY R BRIKS!!!
And then a server.cs that says this:
Code: [Select]
exec("./mybrickfilename.blb");
and then a .blb file (just name it in notepad blah.blb, it should work) that looks like that code above:
Code: [Select]
4 4 10?
BRICK
And name the .zip file Bricks_Mahbricks or whatever. I'm just guessing on this, but no one else is helping, why not me?

A blb file is not a script and therefore you can't execute it. Really you shouldn't be trying to help if you don't know the answer yourself.

I figured it out anyway, I should have just looked at other brick packs from the start. It's really easy to do, the only problem is the brick pack I'm making has a load of brick in it, also contains bricks that most of the other brick packs that are out now have and more.

I don't want people thinking I stole from their brick pack so I'm debating if I should release it or not.

Oh and I found a guide for making item icons, I suppose it'd be the exact same thing for bricks.

@ Ephialtes, I already said I didn't exactly know how to do it, no one else was helping, so why not me? Don't respond...Please?Here, I'll edit my thing up there as for people to not get confused, I read the server.cs, you use the .blb file as the brickfile, hey, at least I gave him some idea of how to do it and now he figured it out Ephi.
« Last Edit: April 19, 2009, 08:37:50 PM by AGlass0fMilk »