All pastes #98768 Raw Edit

Untitled

public text v1 · immutable
#98768 ·published 2006-07-24 20:08 UTC
rendered paste body
//window4x4x3roof.cs


//Item
datablock ItemData(window4x4x3roof : brick2x2)
{
	shapeFile = "~/data/shapes/bricks/GBP/window4x4x3roof.dts";
	pickUpName = 'sloped window 4x4x3';
	invName = '4x4x3';
	image = window4x4x3roofImage;
};

//Static Shape
datablock StaticShapeData(staticwindow4x4x3roof : staticBrick2x2)
{
	item = window4x4x3roof;
	ghost = ghostwindow4x4x3roof;
	shapeFile = "~/data/shapes/bricks/CBP/window4x4x3roof.dts";

	//lego scale dimensions
	x = 4;
	y = 3;
	z = 4;	//3 plates = 1 brick

	//boxX = 0.25;
	//boxY = 1.0;
	//boxZ = 0.3;
};



//Image
datablock ShapeBaseImageData(window4x4x3roofImage : brick2x2Image)
{
	staticShape = staticwindow4x4x3roof;
	ghost = ghostwindow4x4x3roof;
	PreviewFileName = "rtb/data/shapes/bricks/Previews/window4x4x3roof.png";
	item = window4x4x3roof;
};