[Mod] NonCubic Blocks Mod [1.4] [noncubic]

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

[Mod] NonCubic Blocks Mod [1.4] [noncubic]

by yves_de_beck » Post

Okay the votig is finished:

The most of you like the milling machine menu transparent (original).
So i have uploaded a version with transparency as default.

-------------------------------------------------------------------

Hi all,

Since I have somehow never seen a pure mod with irregulars blocks, I now have even tinkered one. =)

Over 200 new blocks you can craft by a few recipes!!!!

The NonCubic Mod contains Crafting Recipes and a Milling Machine for :
- Slopes, Lying Slopes, Slope-Edge Parts, Slope/Edge Upside Down
- Cylinderblocks (Horizontal / Vertical), Spikes, Pyramids, Spheres
- different half height / normal height blocks (straight, edge, t-piece, cross)
- one / two side curved blocks
- sticks
- and the Milling Machine Block
- craft or mill it from many regular materials (tree, wood, dirt, stone, cobble, sandstone, bricks and iron)


More NonCubics and Materials coming soon...


Screenshot: (Smoother garden)
Image

Screenshot: (Cobblestone example)
Image

Screenshot:
Image

Screenshot: (Milling Machine)
Image

Screenshot:
Image

Screenshot:
Image

Screenshot:
Image

Screenshot:
Image



Recipes:

for Milling Machine Block:
Image

Craft NonCubics without Milling Machine:

Code: Select all

----------------------------------------
(o=nothing) 
(x=regular stairblock of wood/stone/sandstone/cobble/brick, 
 Normal Block of leaves, tree ,steel or
 dirt (only slope, slope edge, slope inner edge, pyramid, half sized elements))

Slope:
xoo   oox
xxo   oxx
xxx   xxx

Slope Lying:
(o=nothing)
(x=slope)
ooo
oxo
ooo

Slope Upside Down:
xxx   xxx
oxx   xxo
oox   xoo

Slope Edge:
ooo   ooo
xoo   oox
xxo   oxx

Slope Inner Edge:
oox   xoo
xoo   oox
xxo   oxx

Slope Edge Upside Down:
oxx   xxo
oox   xoo
ooo   ooo

Slope Inner Edge Upside Down:
oxx   xxo
oox   xoo
xoo   oox

Pyramid:
ooo
oxo
xox

Spike:
oxo
xox
xox

Block one curved edge:
oxx
xxx
xxx

Block two curved edge:
(o=nothing)
(x=block one curved edge)
ooo
xoo
xxo

Cylinder Vertical: 
xxo
xxo
xxo
(You can also craft one cylinder vertical 
 in a cylinder horizontal)

Cylinder Horizontal: 
ooo
xxx
xxx
(You can also craft one cylinder horizontal 
 in a cylinder vertical)

Sphere:
oxo
xox
oxo

Element Straight:
oxo
oxo
oxo

Element Edge:
xxx
oox
oox

Element T:
ooo
xxx
oxo

Element Cross:
oxo
xxx
oxo

Element End:
ooo
oxo
oxo

----------------------------------------

For double height Elements simply craft:
(o=nothing)
(x=element Straight, Edge, T, Cross or Element End)
ooo
xoo
xoo

----------------------------------------

Sticks: 
(o=nothing) 
(x=regular wood, stone, sandstone, cobble, brick, 
 Block of leaves, tree or steel) 
(y=regular wooden stick)
yoo
ooo
xoo

----------------------------------------

Dependencies:
Default
Stairs (If you want to craft NonCubic Blocks directly, without the Milling Machine Block)


Downloadlink: (Mod testet in Minetest v0.4.4)
http://www.stedefreun.de/download/noncubic.7z
or:
http://www.stedefreun.de/download/noncubic.zip


Options:

For faster high end PC's:
You can change the Detaillevel in the init.lua by your self:
At example change "detail_level = 16" from 16 to 32 or less
('The Default detail_level = 16' works very well for older PC's and looks good. =D)

Milling Machine Menu Background on / off (Default off):
Simply change value "allow_menu_background = true" in lua (true / false)


License:
GPLv2/later, textures: Default

Thnks to Jeija for code of slopes and cylinders =)
http://minetest.net/forum/viewtopic.php?id=2153

In the Screenshots are other mods used too, like the 3D Torches, Plantlife and X-Panes MOD.


Status (v1.4):
Working on:
done - add spike pyramid und sphere shape
done - user can change detail-level in init.lua
done - add element blocks (straight/edge/T/cross/end)
done - optimize code and recipes
done - upside down blocks
done - add 'slope inne edge' and 'slope inner edge upside down' shapes
done - support steel block to make noncubics
done - milling machine
done - one / two curved side shapes.
done - lying slope shapes.
to do - half height slope shapes.
removed - support wole (still not working correctly)
done - Milling Machine menu skin option (default, new style)
done - support tree block to make noncubics
done - making the mod a bit more realistic -> in the reality you can't make sticks or spheres from dirt
removed - Glass removed (but it comes back with new textures!!!)
done - fix Upside Down Slopes (one detail unit to small on z-axis)
to do - Inverted upside down slopes (like a bow for doors, windows etc.)
Last edited by yves_de_beck on Tue Jan 29, 2013 15:40, edited 1 time in total.

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

Error:
/home/xxx/yyy/irregular.zip: Can not open file as archive
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

Hello kaeza,

I can open the archive...

try this link to 7z file:
http://www.stedefreun.de/download/noncubic.7z
Last edited by yves_de_beck on Wed Jan 02, 2013 19:33, edited 1 time in total.

User avatar
Dopium
Member
Posts: 233
Joined: Sat Jun 09, 2012 15:43
Location: Australia

by Dopium » Post

Interesting mod, i actually like it as you could have cobble round pillars for building. This gives me alot more building ideas, good job
Running @1.19 MHz, 128 bytes of RAM and interchangeable 4kb ROM carts!

User avatar
JoeyXtreme
Member
Posts: 35
Joined: Sat Dec 15, 2012 09:49

by JoeyXtreme » Post

it's really weird to see shapes other than cubes in mineteset :P
Hi i'm a signature :D

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

That looks nice, but doesn't it make lag with so much blocks ?
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
kaeza
Moderator
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza
Location: Montevideo, Uruguay
Contact:

by kaeza » Post

yves_de_beck wrote:Hello kaeza,

I can open the archive...

try this link to 7z file:
http://www.stedefreun.de/download/irregular.7z
Ok, now it's working. Now testing...
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

Zeg9 wrote:That looks nice, but doesn't it make lag with so much blocks ?
Hello Zeg9,

My PC ist not very fast, and it runs very well for me.
(Intel Atom 1,6 Ghz / 1Gb Ram)
Framerate between 20-30 Frames. I think it's OK. =)

Also you can change the detail level in the init.lua. Instructions in the description =)
Last edited by yves_de_beck on Tue Jan 08, 2013 20:40, edited 1 time in total.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

And I thought Minetest is about a voxel world...

User avatar
Jeija
Member
Posts: 686
Joined: Fri Dec 23, 2011 21:46
Location: Nürtingen, Germany

by Jeija » Post

*cough*
The code seems somewhat "borrowed" from me:
http://minetest.net/forum/viewtopic.php?id=2153

Nice mod, but why don't you give credit but just license other people's code?

Would have been nicer if you had asked me, but I grant you permission for it.
Last edited by Jeija on Wed Jan 02, 2013 16:05, edited 1 time in total.
Redstone for minetest: Mesecons (mesecons.net)

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

For the round pillars, would the shape of an octagon be a better choice? There would be less polygons that way. The other blocks look quite nice.

User avatar
Jeija
Member
Posts: 686
Joined: Fri Dec 23, 2011 21:46
Location: Nürtingen, Germany

by Jeija » Post

An Octagon wouldn't actually be less polygons because the modding api only lets you create cuboids.
Last edited by Jeija on Wed Jan 02, 2013 17:05, edited 1 time in total.
Redstone for minetest: Mesecons (mesecons.net)

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

Jeija wrote:*cough*
The code seems somewhat "borrowed" from me:
http://minetest.net/forum/viewtopic.php?id=2153

Nice mod, but why don't you give credit but just license other people's code?

Would have been nicer if you had asked me, but I grant you permission for it.
Hello Jeija,

Sorry!! I don't wan't to steal anything from your fantastic work.
Thank you for permission to use this in the mod. =)
Last edited by yves_de_beck on Wed Jan 02, 2013 19:08, edited 1 time in total.

User avatar
Bas080
Member
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080
Location: Netherlands

by Bas080 » Post

Really nice mod.

I checked the code. Stairs mod made a function which looks like this... (easier for adding new nodes and less lines of code)

Code: Select all

function stairs.register_stair_and_slab(subname, recipeitem, groups, images, desc_stair, desc_slab)

stairs.register_stair_and_slab("wood", "default:wood",
        {snappy=2,choppy=2,oddly_breakable_by_hand=2},
        {"default_wood.png"},
        "Wooden stair",
        "Wooden slab")
Check out the stairs mod if you wanna know more. http://minetest.net/forum/viewtopic.php?id=2092

Also, i played with the detail. i find to get the best looking noncubic shapes at detail 16.

May i request two more shapes. A square with one curved edge on the side and a square with two curved edges. Example:http://www.w3.org/TR/2009/CR-css3-backg ... radius.png

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

Bas080 wrote:Really nice mod.

I checked the code. Stairs mod made a function which looks like this... (easier for adding new nodes and less lines of code)

Code: Select all

function stairs.register_stair_and_slab(subname, recipeitem, groups, images, desc_stair, desc_slab)

stairs.register_stair_and_slab("wood", "default:wood",
        {snappy=2,choppy=2,oddly_breakable_by_hand=2},
        {"default_wood.png"},
        "Wooden stair",
        "Wooden slab")
Check out the stairs mod if you wanna know more. http://minetest.net/forum/viewtopic.php?id=2092

Also, i played with the detail. i find to get the best looking noncubic shapes at detail 16.

May i request two more shapes. A square with one curved edge on the side and a square with two curved edges. Example:http://www.w3.org/TR/2009/CR-css3-backg ... radius.png

Hello Bas080,

that with the method about code compressing it's a good idea. I will try it to make the code slim with it.

The Cruved Edges Square is a bit Tricky, but I think its possible. I make it. =)

Whats about Leaves??? Think you, it should added to as noncubic material??
With that you can make Parks or Garden Elements.

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

Hello everyone,

The source code is revised, by the proposition from Bas080.

I think it's a little bit faster now and
the detail level you can change by one step in the head of the init.lua.

At next to do:
- "Curved Edges Square Blocks" and
- "Gardenblocks" (at first with the default leaves texture)
Last edited by yves_de_beck on Fri Jan 04, 2013 12:25, edited 1 time in total.

User avatar
Bas080
Member
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080
Location: Netherlands

by Bas080 » Post

Bravo +2

EDIT:
I would like upside down slopes too.

I noticed that stair+ mod has really nice small blocks. Combined with your non cubic blocks. Now when building I don't just ask myself what material I should use, but also what shape.
Last edited by Bas080 on Fri Jan 04, 2013 20:08, edited 1 time in total.

Shadowmang
Member
Posts: 10
Joined: Mon Oct 22, 2012 17:05

by Shadowmang » Post

Very interesting idea!

This removes a lot of the design limitations, allowing round shapes on a small scale

Well done!

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

Bas080 wrote:Bravo +2

EDIT:
I would like upside down slopes too.

I noticed that stair+ mod has really nice small blocks. Combined with your non cubic blocks. Now when building I don't just ask myself what material I should use, but also what shape.

Hi Bas080,

Upside Down Slopes and Slope Edges added =)

Simple Example for Upside Down Slopes:
Image
Last edited by yves_de_beck on Sat Jan 05, 2013 19:03, edited 1 time in total.

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Though simple in its nature, this mod provides an additional level of aesthetics to minetest. The grasshills mod would do well to see how the slopes in this mod work.

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

wow! realy nice
i love it!!!!!

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

Hi all,

What do you think about this:

I think its time to create a 'cnc milling machine' block.

by right click on the cnc block open an furnance like menu.
Then you put in the material and by clicking on different shape buttons you get the noncubic material you want.

Example:
Image



I hope that is possible to modding. I will try it... =D
Last edited by yves_de_beck on Sun Jan 06, 2013 15:42, edited 1 time in total.

Nore
Developer
Posts: 501
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

by Nore » Post

Wow, that's crazy...
I hope it is possible without registering 2^(16^3) nodes, which would crash minetest... and your computer too.

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

Nore wrote:Wow, that's crazy...
I hope it is possible without registering 2^(16^3) nodes, which would crash minetest... and your computer too.

I hope it too xD

Okay they are not so many ^^

14 Shapes
8 Materials
= 112 new blocks

Until now it runs very well. =)

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

I didn't try your mod yet. The screenshots however really look good.

14 Shapes and 8 Materials --> You'll be asked to make more shapes and use a lot more materials :-)

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests