Author Topic: client side  (Read 1792 times)

How I can write script cliet side for brick selection images and notepad.blb allow show player can see image and blb format without force them download. While test on my server for my rail road track. I hopefully this will help.

What language are you speaking?

I see brick selection, and for that you use
commandtoserver('instantusebrick', ###);

what image are you talking about?
I am confused what you want to do with .blb brick files.

What language are you speaking?

I see brick selection, and for that you use
commandtoserver('instantusebrick', ###);

what image are you talking about?
I am confused what you want to do with .blb brick files.
Custom image.png at selection brick.



I want player can see brick form shape from .blb brick file. While I test blb brick, when player join my server and they can see image at brick selection aslo ghost brick after plant brick. They can see shape brick from .blb brick file, because I has not release my rail road track brick yet.

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.

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.

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.

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.
I know. I not want server sided, I asked for client side script, please.


GOD! I not want them force download from my add-on and what about blb format? they will not see it until I release it, they will see it. but I not plan release it anyway. I still work on my RR tracks. If I has add-on then you guys can't see my brick add on anything unless. make client side script allowed you see my brick blb format shape and image.png (blb SPECIAL format)

BLBs are downloaded as of v18.

BLBs are downloaded as of v18.

I knew you would not understand what I am try explain to you understand.

It's very difficult to understand you.

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.

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.
Not sure if that's possible.

client-sided so it works on every server.
He is correct. That client-sided sent information to master server sent out to my server by player allowed see it. I think, I am not sure, I had read this forum somewhere...

All I want is client side script
Brick Icon = RRTrack.png
BLB Brick Format Reference = RRTrack.blb

If player can't see my both of my add-on while in my server beta test. Unless I add client-sided script. If I want release it, I will remove client side and upload RTB add-on.

EDIT: my thread at: http://forum.blockland.us/index.php?topic=141666.0
« Last Edit: July 12, 2011, 10:29:38 PM by Furling »

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";
   };