Page 1 of 1

minetest tools/tutorials.

PostPosted: Tue Jun 25, 2013 18:36
by angjminer
hello all,
my name is angelo miner, I created the cryblend exporter for blender/cryengine3,

my boys liked playing minecraft, but they also want to modify things.
so looking for tools, the first thing i did was fire up synaptic and typed in minecraft, guess what poped up?
i installed it and let my kids play it.
This is awesome. and my boys love playing this.
This is the reason i am going to do what i am about to do.

1) anything i figure out i will post here

eg:Creating a chair node by hand.

from the position of just placing the block directly in front of you.
the 6 numbers represent face positions :
{left, bottom, back(closest to you), right, top, front(farthest from you)},

the coords for each face start from 0 in the exact middle of the node, and work out as such:

+
-0+
-
as viewed from back and right hand side.
knowing this these coords for the stairs now make sense:
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0, 0.5},--bottom step
{-0.5, 0, 0, 0.5, 0.5, 0.5},--top step
},
},
collision however is only detected in a +- 0.5 around 0, of course if building something that is purely for aesthetics, well then no prob.

a simple chair:
node_box = {
type = "fixed",
fixed = {
{0.3, -0.1, 0.3, -0.3, 0, -0.3},--seat
{0.3, -0.5, -0.2, 0.2, -0.1, -0.3},--rear leg
{-0.2, -0.5, -0.2, -0.3, -0.1, -0.3},--rear leg
{0.3, -0.5, 0.3, 0.2, -0.1, 0.2},--front leg
{-0.2, -0.5, 0.3, -0.3, -0.1, 0.2},--front leg
{0.3, 0, -0.2, 0.2, 0.4, -0.3},--seat back
{-0.2, 0, -0.2, -0.3, 0.4, -0.3},--seat back
{0.1, 0, -0.2, -0.1, 0.4, -0.3},--seat back
{0.3, 0.4, -0.2, -0.3, 0.5, -0.4},--seat back },
},

2)any tools i make will be posted with full source
eg: i am about to start on an addon for blender(so nixers dont have to build it before they try it) that will allow you to export
said chair in above example.
it will write out a lua script for you.

3)modular ai/ animated model framework
eg: export model, add simple init.lua with a few key settings

$) more to come.

PostPosted: Tue Jun 25, 2013 19:03
by Topywo
Welcome!

A question:

You used synaptic to find minetest. That's version 0.3.1 . But I see you made a nodebox chair. You did install a newer minetest version (0.4.7 or Github-version)?

A remark:

There's a lot of info and there are a lot of mods available on the forum. You can use search to find something if you need. Some members use google to find minetest mods/info. But you can also ask if you're looking for something (also on irc)

Edit: Style/typo.

PostPosted: Tue Jun 25, 2013 20:35
by angjminer
yep built it from source, kids were asking me how to do things so i figuered the best way to figure it outwas to get the source. :)

PostPosted: Wed Jun 26, 2013 12:44
by vv221
Topywo wrote:You used synaptic to find minetest. That's version 0.3.1 . But I see you made a nodebox chair. You did install a newer minetest version (0.4.7 or Github-version)?

If Synaptics means Debian here, Minetest is in 0.4.7 in the Sid repositories.

PostPosted: Wed Jun 26, 2013 16:51
by angjminer
vv221 wrote:
Topywo wrote:You used synaptic to find minetest. That's version 0.3.1 . But I see you made a nodebox chair. You did install a newer minetest version (0.4.7 or Github-version)?

If Synaptics means Debian here, Minetest is in 0.4.7 in the Sid repositories.

i use mint :)