Blockland Forums > Modification Help
Print Brick not Acknowledging Printer
Chrono:
--- Quote from: White Tiger (6224) on August 30, 2011, 11:21:20 AM ---You mean like the brick in its physical state? So like your asking for pics?
If so I can do that. If not, pretty much everythings there. What else would you need? Thanks!
--- End quote ---
It's not the whole thing because the code you posted is missing the end bracket.
White Tiger (6224):
--- Quote from: Chrono on August 30, 2011, 03:44:20 PM ---It's not the whole thing because the code you posted is missing the end bracket.
--- End quote ---
Very Sorry, didn't even notice. I didn't hilight the whole thing. Thanks!
--- Code: ---datablock fxDTSBrickData(brick2x32FPData)
{
brickFile = "./2X32FP.blb";
category = "RP";
subCategory = "Miscellaneous";
uiName = "2X32F Print";
iconName = "Add-Ons/Brick_WTs_Special/WTicon";
};
--- End code ---
Chrono:
There's couple of values on the datablock that need to be set to make it a print brick.
hasPrint = 1;
printAspectRatio = ###;
An example of printAspectRatio, for 2x2 plate print brick, it would show as:
printAspectRatio = "2x2f";
And for the 2x2 ramp print brick:
printAspectRatio = "2x2r";
And for the 1x4x4 print brick:
printAspectRatio = "1x1";
1x1 without the f is actually 0.5x0.6, so a quality 1x1 print would be 512x614
Where if you add the f, it's 0.5x0.5, so it would be a square, 512x512
Ramps seem to be a 1:1 ratio as well.
Seeing how you have a 2x32 flat print brick, you would put :
printAspectRatio = "2x32f";