| Blockland Forums > Modification Help |
| client side |
| << < (4/4) |
| Daenth:
--- Quote from: Nexus on July 12, 2011, 11:48:35 PM ---This is what the brickdata looks like on the client side. --- Code: --- 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"; }; --- End code --- --- End quote --- 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... |
| Furling:
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. |
| Nexus:
--- Quote from: Furling on July 13, 2011, 06:01:37 AM ---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. --- End quote --- 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. |
| Navigation |
| Message Index |
| Previous page |