Author Topic: Debugging.  (Read 4319 times)

DataBlock FxDTSBrickData(##b##rick1x1Data)
{
BrickFile = "Add-Ons/Client/Brickx/1x1.blb";
Category = "Flat";
SubCategory = "1x";
UiName = "1x";
IconName = "";
};

Won't work?
« Last Edit: February 26, 2007, 10:52:17 PM by Jookia »

Had a very bad problem.

Try using this..



datablock fxDTSBrickData (brick1x5Data){
   brickFile = "./bricks/1x5.blb";
   category = "Bricks";
   subCategory = "1x";
   uiName = "1x5";
   iconName = "add-ons/brickIcons/1x14F";
};


Change for brick name; Should be same name.
General Category (on the tabs of the Brick Menu
Sub-Category; Says above category of bricks.
Just make it one that exists; Picture won't show until Badspot fixes the bug



Make sure you save as .BLB, and make sure that when you start a server, you open the add-ons GUI [it's in the "Start a Game menu"].

Problem, now I get an unknown TexID

Problem, now I get an unknown TexID
You have the .BLB in blockland/add-ons/bricks and the script [.cs] in blockland/add-ons.  If it's a rectangle [the ONLY kind of brick you can make at the moment], then it should just say something like

1 1 5
BRICK

That'd make a brick that is 2.666666 units high.

That'd make a brick that is 2.666666 units high.
My bad,

1 1 3
BRICK


Did you get it working btw?  If not, download my bricks and take a look at that.