What language are you speaking?I see brick selection, and for that you usecommandtoserver('instantusebrick', ###);what image are you talking about?I am confused what you want to do with .blb brick files.
datablock fxDTSBrickData(brick4x4roundData){ brickFile = "./4x4round.blb"; category = "Rounds"; subCategory = "Bricks"; uiName = "4x4 Round"; iconName = "Add-Ons/Brick_4x4Round/4x4round.png"; //Icon path collisionShapeName = "./4x4round.dts";};
I think you mean the brick icon?Well in a standard brick the datablock for the brick has an iconName variable.Code: [Select]datablock fxDTSBrickData(brick4x4roundData){ brickFile = "./4x4round.blb"; category = "Rounds"; subCategory = "Bricks"; uiName = "4x4 Round"; iconName = "Add-Ons/Brick_4x4Round/4x4round.png"; //Icon path collisionShapeName = "./4x4round.dts";};I hope this helps.
Not that. I want use client side script. Because other player can't see my add on. Only I has one, They not have has my add on. When they join my server, they will not see my brick icon without client side allow show image to them same for blb format.
Brick icons are server sided, not client sided.
BLBs are downloaded as of v18.
I think he wants something that automatically generates the brick icon from the .blb file, with the plus of being client-sided so it works on every server.
client-sided so it works on every server.
new fxDTSBrickData() { brickFile = "Add-Ons/Brick_1RandomPack/2x2OctoPlate.blb"; topArea = "4"; bottomArea = "4"; northArea = "99"; eastArea = "99"; southArea = "99"; westArea = "99"; canCoverTop = "0"; canCoverBottom = "0"; canCoverNorth = "0"; canCoverEast = "0"; canCoverSouth = "0"; canCoverWest = "0"; hasPrint = "0"; category = "Rounds"; subCategory = "Octagonal"; uiName = "2x2 Octo Plate"; iconName = "Add-Ons/Brick_1RandomPack/2x2OctoPlate"; brickSizeX = "2"; brickSizeY = "2"; brickSizeZ = "1"; indestructable = "0"; alwaysShowWireFrame = "0"; isWaterBrick = "0"; };