Author Topic: New Brick Creation?  (Read 747 times)

Ok guy's Im fairly new to the BL community and very new to the forum's so don't be so Mean But I am trying to create another brick but using one of BL's .blb I just want to rename it basically so I can make a Woodcutting mod for it. I need to make it so that there is 2 Pinetree's in the special menu but I want one under a category named RPG and be named RPGtree but when I spawn it the brick doesn't have collision you see it but with no collision.

Note: I used this link for help. http://www.blockland.us/smf/index.php?topic=13329.0

Code: [Select]
datablock fxDTSBrickData (brickRPGpinetreeData){
brickFile = "./bricks/pinetree.blb";
category = "Special";
subCategory = "RPG";
uiName = "RPGtree";
iconName = "add-ons/brickIcons/pinetree";
};

Special-shaped bricks like the pine tree use DTS files for collision. You need to include this parameter in the datablock:
Code: [Select]
collisionShapeName = "base/data/shapes/bricks/pinetree.dts";
Good luck with your mod ;)

Whould I still leave the brickFile to the .blb?


Thank's but can you check my other post please?

« Last Edit: June 08, 2008, 06:53:41 PM by Eonz »