diff --git a/ballance_blender_plugin/json/BasicBlock.json b/ballance_blender_plugin/json/BasicBlock.json index 4e7d817..025355e 100644 --- a/ballance_blender_plugin/json/BasicBlock.json +++ b/ballance_blender_plugin/json/BasicBlock.json @@ -190,5 +190,197 @@ } ] } + }, + { + "Type": "NormalBorder", + "BindingDisplayTexture": "NormalBorder.png", + "UnitSize": "Small", + "ExpandType": "Column", + "InitColumnDirection": "PositiveX", + "DefaultSideConfig": { + "UseTwoDTop": false, + "UseTwoDRight": false, + "UseTwoDBottom": false, + "UseTwoDLeft": true, + "UseThreeDTop": true, + "UseThreeDBottom": false + }, + "ThreeDTopFace": { + "Vertices": [ + "0,0,0;;;", + "2.5,0,0;+d1;;", + "2.5,2.5,0;+d1;;", + "0,2.5,0;;;" + ], + "UVs": [ + "0,0.5;;", + "0,0;;-d1", + "0.5,0;;-d1", + "0.5,0.5;;" + ], + "Faces": [ + { + "P1": 0, + "P2": 1, + "P3": 2, + "P4": 3, + "Textures": "FloorTopFlat" + } + ] + }, + "ThreeDBottomFace": { + "Vertices": [ + "2.5,0,-5;+d1;;-d3", + "2.5,2.5,-5;+d1;;-d3", + "0,2.5,-5;;;-d3", + "0,0,-5;;;-d3" + ], + "UVs": [ + "0,0.5;;", + "0.5,0.5;;", + "0.5,0;;-d1", + "0,0;;-d1" + ], + "Faces": [ + { + "P1": 3, + "P2": 2, + "P3": 1, + "P4": 0, + "Textures": "FloorTopBorderless" + } + ] + }, + "TwoDTopSide": { + "Vertices": [ + "0,0,-5;;;-d3", + "0,2.5,-5;;;-d3", + "0,2.5,0;;;", + "0,0,0;;;" + ], + "UVs": [ + "0,0.5;;", + "0,0;;", + "1,0;+d3;", + "1,0.5;+d3;" + ], + "Faces": [ + { + "P1": 3, + "P2": 2, + "P3": 1, + "P4": 0, + "Textures": "FloorTopBorderless" + } + ] + }, + "TwoDRightSide": { + "Vertices": [ + "2.5,2.5,0;+d1;;", + "2.5,2.5,-5;+d1;;-d3", + "0,2.5,-5;;;-d3", + "0,2.5,0;;;" + ], + "UVs": [ + "0,0;;-d1", + "1,0;+d3;-d1", + "1,0.5;+d3;", + "0,0.5;;" + ], + "Faces": [ + { + "P1": 0, + "P2": 1, + "P3": 2, + "P4": 3, + "Textures": "FloorTopBorderless" + } + ] + }, + "TwoDBottomSide": { + "Vertices": [ + "2.5,0,-5;+d1;;-d3", + "2.5,2.5,-5;+d1;;-d3", + "2.5,2.5,0;+d1;;", + "2.5,0,0;+d1;;" + ], + "UVs": [ + "1,0.5;+d3;", + "1,0;+d3;", + "0,0;;", + "0,0.5;;" + ], + "Faces": [ + { + "P1": 0, + "P2": 1, + "P3": 2, + "P4": 3, + "Textures": "FloorTopBorderless" + } + ] + }, + "TwoDLeftSide": { + "Vertices": [ + "2.5,0,0;+d1;;", + "2.5,0,-5;+d1;;-d3", + "0,0,-5;;;-d3", + "0,0,0;;;" + ], + "UVs": [ + "0,0.5;;", + "1,0.5;+d3;", + "1,0;+d3;-d1", + "0,0;;-d1" + ], + "Faces": [ + { + "P1": 3, + "P2": 2, + "P3": 1, + "P4": 0, + "Textures": "FloorSide" + } + ] + }, + "TwoDTopSideExpand": null, + "TwoDRightSideExpand": null, + "TwoDBottomSideExpand": null, + "TwoDLeftSideExpand": { + "Vertices": [ + "2.5,0,-5;+d1;;-d3", + "0,0,-5;;;-d3", + "0,0,-2.5;;;", + "2.5,0,-2.5;+d1;;", + "2.5,0,0;+d1;;", + "0,0,0;;;" + ], + "UVs": [ + "0.5,0.5;;", + "0.5,0;;-d1", + "0,0;;-d1", + "0,0.5;;", + "0,0;;-d1", + "0,0.5;;", + "0.5,0.5;+d3;", + "0.5,0;+d3;-d1" + ], + "Faces": [ + { + "P1": 2, + "P2": 3, + "P3": 4, + "P4": 5, + "Textures": "FloorTopBorder" + }, + { + "P1": 3, + "P2": 2, + "P3": 1, + "P4": 0, + "Textures": "FloorTopBorderless" + } + ] + } } ] \ No newline at end of file diff --git a/ballance_blender_plugin/json/DerivedBlock.json b/ballance_blender_plugin/json/DerivedBlock.json index 56fbffa..1cfd3be 100644 --- a/ballance_blender_plugin/json/DerivedBlock.json +++ b/ballance_blender_plugin/json/DerivedBlock.json @@ -29,5 +29,36 @@ "SideSync": "2dBottom;False;2dTop;2dRight;3dTop;3dBottom" } ] + }, + { + "Type": "NormalFloor", + "BindingDisplayTexture": "NormalFloor.png", + "UnitSize": "Small", + "ExpandType": "Column", + "InitColumnDirection": "PositiveX", + "DefaultSideConfig": { + "UseTwoDTop": false, + "UseTwoDRight": true, + "UseTwoDBottom": false, + "UseTwoDLeft": true, + "UseThreeDTop": true, + "UseThreeDBottom": false + }, + "SmashedBlocks": [ + { + "Type": "NormalBorder", + "StartPosition": "0,0;,,,", + "ExpandPosition": "0,0;,d1,,", + "Rotation": "R0", + "SideSync": "2dTop;False;2dBottom;2dLeft;3dTop;3dBottom" + }, + { + "Type": "NormalBorder", + "StartPosition": "0,1;,d1,,", + "ExpandPosition": "0,0;,d1,,", + "Rotation": "R180", + "SideSync": "2dBottom;False;2dTop;2dRight;3dTop;3dBottom" + } + ] } ] \ No newline at end of file