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

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

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

by yves_de_beck » Wed Jan 02, 2013 12:36

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:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Jan 02, 2013 12:41

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

by yves_de_beck » Wed Jan 02, 2013 12:52

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

by Dopium » Wed Jan 02, 2013 13:21

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 » Wed Jan 02, 2013 14:30

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

by Zeg9 » Wed Jan 02, 2013 14:38

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
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Jan 02, 2013 14:46

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 | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

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

by yves_de_beck » Wed Jan 02, 2013 15:22

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

by PilzAdam » Wed Jan 02, 2013 15:53

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

User avatar
Jeija
Member
 
Posts: 686
Joined: Fri Dec 23, 2011 21:46

by Jeija » Wed Jan 02, 2013 16:04

*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: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Wed Jan 02, 2013 16:54

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

by Jeija » Wed Jan 02, 2013 17:04

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

by yves_de_beck » Wed Jan 02, 2013 18:58

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

by Bas080 » Thu Jan 03, 2013 01:07

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)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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-background-20091217/smooth-radius.png
 

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

by yves_de_beck » Thu Jan 03, 2013 10:06

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)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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-background-20091217/smooth-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

by yves_de_beck » Thu Jan 03, 2013 15:28

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

by Bas080 » Thu Jan 03, 2013 16:05

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 » Sat Jan 05, 2013 14:51

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

by yves_de_beck » Sat Jan 05, 2013 15:49

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: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sat Jan 05, 2013 17:53

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: 605
Joined: Thu Sep 20, 2012 03:16

by addi » Sat Jan 05, 2013 18:09

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

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

by yves_de_beck » Sun Jan 06, 2013 15:31

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
Member
 
Posts: 468
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

by Nore » Sun Jan 06, 2013 15:36

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

by yves_de_beck » Sun Jan 06, 2013 15:45

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: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Sun Jan 06, 2013 17:30

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 :-)
 

Nore
Member
 
Posts: 468
Joined: Wed Nov 28, 2012 11:35
GitHub: Ekdohibs

by Nore » Sun Jan 06, 2013 17:36

So you can't do any shape, just a shape in a list. I understand better...
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Sun Jan 06, 2013 17:50

yves_de_beck wrote: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.

That sounds like an excellent idea. Not only for those shapes in your mod but for stairs+ as well. Especially for creative mode but also for normal operations. stairs+ fill up craft guide and creative inventory and make it difficult and slow to find the needed things. Yet they are very useful for building.

A machine (=node with a formspec) where you put x nodes in the input form and can draw a fitting amount of stairs, slabs etc. from the selection formspec would be fine. It doesn't require a seperate output form (all available shapes would be output forms). If you provide several input fields, mixed unused blocks (e.g. 3 stairs, 5 slabs, 4 microblocks)) could be recycled more easily than with normal crafting receipes. They just have to be the same material.
A list of my mods can be found here.
 

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

by yves_de_beck » Mon Jan 07, 2013 15:55

Status:

- Normal height elements (straight, cross, edge, t, end ) added.
- Sticks of many default materials
- code cleaned and some recipes optimized.
 

kazzam
 

by kazzam » Mon Jan 07, 2013 17:47

I downloaded the zip and put it in the mod folder but it would only allow me to craft the new objects with glass.
 

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

by yves_de_beck » Mon Jan 07, 2013 22:10

kazzam wrote:I downloaded the zip and put it in the mod folder but it would only allow me to craft the new objects with glass.


Hello kazzam,

Which recipe dosn't work in detail?

When you craft from Stone / Cobblestone / Brick / Sandstone or Wood you need first to craft stairs. With these stairs you can craft the shapes in this mod.

When you craft with leaves, dirt or glass, then you can use the normal blocks to craft the shapes.

Sticks you can craft from all normal blocks.
Last edited by yves_de_beck on Mon Jan 07, 2013 22:16, edited 1 time in total.
 

Next

Return to Mod Releases

Who is online

Users browsing this forum: Bing [Bot] and 9 guests

cron