Merge pull request #9 from beyondlimits/master

Add new "inner cut" slopes
This commit is contained in:
Calinou 2015-06-20 18:29:03 +02:00
commit 6c9550e2c5
5 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1,23 @@
v 0.500000 0.500000 0.500000
v -0.500000 0.000000 0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 0.000000 -0.500000
v 0.500000 -0.500000 -0.500000
v -0.500000 -0.500000 -0.500000
vt 0.000000 0.000000
vt 0.500000 0.000000
vt 1.000000 0.000000
vt 0.000000 0.500000
vt 1.000000 0.500000
vt 0.000000 1.000000
vt 0.500000 1.000000
vt 1.000000 1.000000
vt 0.500000 2.000000
s off
f 4/1 3/3 1/8 2/4
f 3/1 6/3 5/5 1/6
f 7/1 6/3 3/8 4/6
f 7/2 2/8 1/9 5/6
f 6/1 7/3 5/4
f 7/1 4/3 2/5

View File

@ -0,0 +1,20 @@
v 0.500000 0.500000 0.500000
v -0.500000 0.500000 0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 0.500000 -0.500000
v 0.500000 -0.500000 -0.500000
v -0.500000 -0.500000 -0.500000
vt 0.000000 0.000000
vt 0.500000 0.000000
vt 1.000000 0.000000
vt 0.000000 1.000000
vt 1.000000 1.000000
s off
f 3/1 6/3 5/5 1/4
f 4/1 3/3 1/5 2/4
f 6/1 3/3 4/5 7/4
f 2/1 1/3 5/5
f 7/1 4/3 2/5
f 6/1 7/3 5/4
f 7/2 2/5 5/4

View File

@ -0,0 +1,22 @@
v 0.500000 0.000000 0.500000
v -0.500000 0.000000 0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 0.000000 -0.500000
v 0.500000 -0.500000 -0.500000
v -0.500000 -0.500000 -0.500000
vt 0.000000 0.000000
vt 0.500000 0.000000
vt 1.000000 0.000000
vt 0.000000 0.500000
vt 1.000000 0.500000
vt 0.000000 1.000000
vt 1.000000 1.000000
s off
f 3/1 6/3 5/5 1/4
f 4/1 3/3 1/5 2/4
f 6/1 3/3 4/7 7/6
f 2/1 1/3 5/7
f 7/1 4/3 2/5
f 6/1 7/3 5/4
f 7/2 2/7 5/6

View File

@ -0,0 +1,23 @@
v 0.500000 0.500000 0.500000
v -0.500000 0.500000 0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 -0.500000 0.500000
v 0.500000 0.500000 -0.500000
v -0.500000 0.000000 -0.500000
v 0.500000 -0.500000 -0.500000
v -0.500000 -0.500000 -0.500000
vt 0.000000 0.000000
vt 0.500000 0.000000
vt 1.000000 0.000000
vt 0.000000 0.500000
vt 1.000000 0.500000
vt 0.000000 1.000000
vt 1.000000 1.000000
s off
f 3/1 7/3 5/7 1/6
f 4/1 3/3 1/7 2/6
f 7/1 3/3 4/7 8/6
f 2/1 1/3 5/7
f 8/1 4/3 2/7 6/4
f 7/1 8/3 6/5 5/6
f 6/2 2/7 5/6

View File

@ -162,6 +162,24 @@ function stairsplus:register_slope(modname, subname, recipeitem, fields)
--==============================================================
["_inner_cut"] = {
mesh = "moreblocks_slope_inner_cut.obj",
collision_box = box_slope_inner,
selection_box = box_slope_inner,
},
["_inner_cut_half"] = {
mesh = "moreblocks_slope_inner_cut_half.obj",
collision_box = box_slope_inner_half,
selection_box = box_slope_inner_half,
},
["_inner_cut_half_raised"] = {
mesh = "moreblocks_slope_inner_cut_half_raised.obj",
collision_box = box_slope_inner_half_raised,
selection_box = box_slope_inner_half_raised,
},
--==============================================================
["_outer"] = {
mesh = "moreblocks_slope_outer.obj",
collision_box = box_slope_outer,
@ -195,6 +213,11 @@ function stairsplus:register_slope(modname, subname, recipeitem, fields)
collision_box = box_slope_outer_half_raised,
selection_box = box_slope_outer_half_raised,
},
["_cut"] = {
mesh = "moreblocks_slope_cut.obj",
collision_box = box_slope_outer,
selection_box = box_slope_outer,
},
}
local desc = S("%s Slope"):format(fields.description)