Author Topic: Brick UI Replacing  (Read 601 times)

I need help with replacing the pictures on the bricks, someone please help me with this, the add-on works, but it does not replace the Brick UI's...
Code: [Select]
package NewBrickIcon
{
   function NewIcons(%image)
   {
      if(getSubStr(%image,0,7) $= "brickBOTTOMEDGE")
         %image = brickBOTTOMEDGEImage;
      if(getSubStr(%image,0,7) $= "brickBOTTOMLOOP")
         %image = brickBOTTOMLOOPImage;
      if(getSubStr(%image,0,7) $= "brickRAMP")
         %image = brickRAMPImage;
      if(getSubStr(%image,0,7) $= "brickSIDE")
         %image = brickSIDEImage;
      if(getSubStr(%image,0,7) $= "brickTOP")
         %image = brickTOPImage;
   }
};
activatePackage(NewBrickIcon);

« Last Edit: October 17, 2012, 07:32:13 PM by Advanced Bot »

What on earth are you trying to do.
"the brick icons on the bricks" makes no sense, unless you mean in the brick selector.

I mean like the pictures on the bricks

I mean like the pictures on the bricks
The brick textures?
In that case there is no scripting involved.

I cant replace the brick pictures because the patcher will patch it..

Set the files to read only.

I also want everyone else to see the same pictures on the bricks im seeing..

EDIT: On my server

They will, it's how it works.