Install: Unzip the distribution archive, rename the resultant VanessaE-homedecor-blahblah folder to just "homedecor", and move it into Minetest's mods directory.
(Sorry if that comes off badly - I'm quite insistent that people read the instructions)
Install: Unzip the distribution archive, rename the resultant VanessaE-homedecor-blahblah folder to just "homedecor", and move it into Minetest's mods directory.
slopeboxedge[i+1]={-0.5, -0.5+(4/detail), (i/detail)-0.5, 0.5, (i/detail)-0.5+(5/detail), 0.5}
slopeboxedge[i+1]={-0.5, (i/detail)-0.5, (i/detail)-0.5, 0.5, (i/detail)-0.5+(1/detail), 0.5}
homedecor_register_outer_corner = function(modname, subname, groups, images, description)
local slopeboxedge = {}
local detail = homedecor_detail_level
for i = 0, detail-1 do
slopeboxedge[i+1]={-0.5, -0.5+(i/detail), (i/detail)-0.5, 0.5-(i/detail), (i/detail)-0.5+(1/detail), 0.5}
end
homedecor_register_inner_corner = function(modname, subname, groups, images, description)
local slopeboxedge = {}
local detail = homedecor_detail_level
for i = 0, detail-1 do
slopeboxedge[i+1]={-0.5, -0.5+(4/detail), -0.5, 0.5-(i/detail), (i/detail)-0.5+(5/detail), 0.5}
slopeboxedge[i+detail+1]={-0.5, -0.5+(i/detail), (i/detail)-0.5, 0.5, (i/detail)-0.5+(1/detail), 0.5}
end
homedecor_register_slope = function(modname, subname, recipeitem, groups, images, description)
local slopeboxedge = {}
local detail = homedecor_detail_level
for i = 0, detail-1 do
slopeboxedge[i+1]={-0.5, (i/detail)-0.5, (i/detail)-0.5, 0.5, (i/detail)-0.5+(1/detail), 0.5}
end
VanessaE wrote:As requested, I've lowered the resolution of those roof slopes, to 16 in this case (though not by using the above code).
VanessaE wrote:I might consider doing that. Or perhaps making them interact with the inductive power idea that's been advanced for Technic.
VanessaE wrote:Now that's a good idea, if it can be implemented in a CPU-friendly-but-functional fashion.
Users browsing this forum: No registered users and 14 guests