Author Topic: client side  (Read 1791 times)

This is what the brickdata looks like on the client side.
Code: [Select]
   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";
   };
So I assume he wants a script that will automatically generate the brick icon, replace the current brick icon that the server provides with the client-sided generated one.
I'm not even sure if you can generate a brick icon in Blockland, maybe using a third-party program you could, but not in Blockland...

new fxDTSBrickData() {
      brickFile = "Add-Ons/Brick_RRTrack/3x6x8Straight.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 = "RR Track";
      subCategory = "Straight";
      uiName = "3 x 6 x 8";
      iconName = "Add-Ons/Brick_RRTrack/3x6x8Straight";
      brickSizeX = "2";
      brickSizeY = "2";
      brickSizeZ = "1";
      indestructable = "0";
      alwaysShowWireFrame = "0";
      isWaterBrick = "0";
   };
LIke that?

Bold text = That what I want.

new fxDTSBrickData() {
      brickFile = "Add-Ons/Brick_RRTrack/3x6x8Straight.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 = "RR Track";
      subCategory = "Straight";
      uiName = "3 x 6 x 8";
      iconName = "Add-Ons/Brick_RRTrack/3x6x8Straight";
      brickSizeX = "2";
      brickSizeY = "2";
      brickSizeZ = "1";
      indestructable = "0";
      alwaysShowWireFrame = "0";
      isWaterBrick = "0";
   };
LIke that?

Bold text = That what I want.

The client side code is identical to the server side code because the client downloads all this stuff when they join the server.  Compare that brick data to the client sided brick data I posted earlier.  They are structured in the same way.