[Mod] More Blocks [moreblocks]

Re: [Mod] More Blocks [moreblocks]

Postby Onyx » Sun Feb 10, 2019 12:24 pm

Hi,

I agree with your previous message.
I also noticed that cuts were missing in the circular saw interface and I realized that this was related to the fact that the remaining section is that of a panel.
Over time, I learned that it was necessary to make more open angles to obtain an acceptable shape.

Have a good day and good build,

Onyx
Onyx
Member
 
Posts: 107
Joined: Fri Sep 25, 2015 8:36 am
In-game: onyx58

Re: [Mod] More Blocks [moreblocks]

Postby SteveGer » Mon Feb 25, 2019 4:58 am

It is a pity that the developer does not take a look inside this Thread or leaves something for us...
SteveGer
New member
 
Posts: 9
Joined: Tue Oct 09, 2018 2:17 pm
In-game: onePlayer SteveG

Re: [Mod] More Blocks [moreblocks]

Postby jas » Mon Feb 25, 2019 6:22 am

Two hundred fourty-four thousand, five hundred fifty-nine views later:

It is a pity that the developer does not take a look inside this Thread or leaves something for us...


I think it is - or will be - moved to minetest-mods repository on GitHub, where it can be maintained by a larger group.
jas
Member
 
Posts: 346
Joined: Mon Jul 24, 2017 6:15 pm
GitHub: jastevenson303
In-game: jas

Re: [Mod] More Blocks [moreblocks]

Postby Calinou » Mon Feb 25, 2019 9:53 am

It's already in the minetest-mods organization :)

I've been fixing many issues in More Ores recently and am doing the same on many other repositories of mine; I just committed a fix for the Stairs+ node placement rotation issue. I'm sorry it took so long, I was busy working on other projects and was involved in a full-time internship at the same time (and I wanted to make sure the fix worked well on both 0.4.17 and 5.0.0-dev).

SteveGer wrote:In the Main i need the 4 Slabs i showed in the last both Photos. None of the existing Tiles out of the Saw can fit the empty Edges correctly, no matter in what Rotation. So 4 more Slabs are needed to do that.


I'm not sure about adding more Stairs+ nodes, we have a lot of nodes to display in the circular saw already.
Calinou
Moderator
 
Posts: 3153
Joined: Mon Aug 01, 2011 2:26 pm
GitHub: Calinou
In-game: Calinou

Re: [Mod] More Blocks [moreblocks]

Postby BirgitLachner » Sun Mar 10, 2019 4:59 pm

Hey ...
I'd like to use moreblocks on a Marssurvive-Server. I use SciFi-Nodes, too, and will add other material from an own Mod.

How can I add more types of Blocks to be useable in the circular-saw? And what are the needed steps?

Thanks ... Birgit
BirgitLachner
Member
 
Posts: 389
Joined: Thu May 05, 2016 10:18 am
In-game: Bibs

Re: [Mod] More Blocks [moreblocks]

Postby BuckarooBanzay » Sun Mar 10, 2019 7:12 pm

BirgitLachner wrote:Hey ...
I'd like to use moreblocks on a Marssurvive-Server. I use SciFi-Nodes, too, and will add other material from an own Mod.

How can I add more types of Blocks to be useable in the circular-saw? And what are the needed steps?

Thanks ... Birgit


The newest scifi-nodes mod (https://github.com/D00Med/scifi_nodes) registers all (!) nodes on the circular saw, so if you are on the latest version, you don't have to do anything... :)

For your own nodes, you can use
Code: Select all
stairsplus:register_all()
like in the scifi-nodes mod: https://github.com/D00Med/scifi_nodes/b ... s.lua#L167 (i think thats an alias to the moreblocks circularsaw...)
BuckarooBanzay
Member
 
Posts: 208
Joined: Tue Apr 24, 2018 5:58 am
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: [Mod] More Blocks [moreblocks]

Postby BirgitLachner » Sun Mar 17, 2019 12:20 pm

Thanks for the (first) hints. The block I wanted to use in the circular saw was not from SciFi-Nodes.

But now ... I tried to understand the example-code in SciFi-Nodes and tried to register a block in an own mod to use it in the circular saw of "moreblocks".

In the mod the block is defined as ...

minetest.register_node("startest_decorative:floor_blue", {
description = "Floor blue",
tiles = {"spaceship_floor_blue.png","spaceship_wall_basic.png","spaceship_wall_basic.png","spaceship_wall_basic.png","spaceship_wall_basic.png","spaceship_wall_basic.png"},
groups = {cracky = 1, wood = 1},
paramtype2 = "facedir",
})


Follwing the instruction in the API documentation for Stairs+ I have this code in init.lua.

if minetest.global_exists("stairplus") then
stairplus:register_all("startest_decorative", "floor_blue", "startest_decorative:floor_blue", {
description = "Floor blue",
tiles = {"spaceship_floor_blue.png","spaceship_wall_basic.png","spaceship_wall_basic.png","spaceship_wall_basic.png","spaceship_wall_basic.png","spaceship_wall_basic.png"},
paramtype = "light",
groups = {cracky = 1, wood = 1},
light_source = 0,
paramtype2 = "facedir",
})
end


There is no error and the games starts, but the block is not accepted.

What needs to be changed.
Birgit
BirgitLachner
Member
 
Posts: 389
Joined: Thu May 05, 2016 10:18 am
In-game: Bibs

Re: [Mod] More Blocks [moreblocks]

Postby Calinou » Sun Mar 17, 2019 1:06 pm

BirgitLachner wrote:Thanks for the (first) hints. The block I wanted to use in the circular saw was not from SciFi-Nodes.

But now ... I tried to understand the example-code in SciFi-Nodes and tried to register a block in an own mod to use it in the circular saw of "moreblocks".

In the mod the block is defined as ...

-snip-


Follwing the instruction in the API documentation for Stairs+ I have this code in init.lua.

-snip-


There is no error and the games starts, but the block is not accepted.

What needs to be changed.
Birgit


Could you try running a More Blocks version prior to commit e622c692e (e.g. with this ZIP archive)? I'm wondering if making some functions local broke external mods calling it (but it still seems to work within More Blocks).
Calinou
Moderator
 
Posts: 3153
Joined: Mon Aug 01, 2011 2:26 pm
GitHub: Calinou
In-game: Calinou

Re: [Mod] More Blocks [moreblocks]

Postby BirgitLachner » Sun Mar 17, 2019 2:33 pm

Hi ...
I tried that, in Minetest 5 and Minetest 0.4.17. Both same thing.
Birgit
BirgitLachner
Member
 
Posts: 389
Joined: Thu May 05, 2016 10:18 am
In-game: Bibs

Re: [Mod] More Blocks [moreblocks]

Postby Festus1965 » Sun Mar 17, 2019 9:33 pm

moreblocks is running at me on both versions, just updated last week for 5.0.0
in the code parts 3 posts up i count 3 open { but only 2 } closing ...
Festus1965
Member
 
Posts: 912
Joined: Sun Jan 03, 2016 11:58 am
GitHub: Minetest-One
In-game: Thomas Explorer

Re: [Mod] More Blocks [moreblocks]

Postby BirgitLachner » Mon Mar 18, 2019 12:48 pm

There is no error. The line with the tiles is not shown completly.
BirgitLachner
Member
 
Posts: 389
Joined: Thu May 05, 2016 10:18 am
In-game: Bibs

Re: [Mod] More Blocks [moreblocks]

Postby BuckarooBanzay » Mon Mar 18, 2019 3:48 pm

BirgitLachner wrote:There is no error. The line with the tiles is not shown completly.


Do you have a public repo with the code?
BuckarooBanzay
Member
 
Posts: 208
Joined: Tue Apr 24, 2018 5:58 am
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: [Mod] More Blocks [moreblocks]

Postby BirgitLachner » Mon Mar 18, 2019 8:16 pm

Not yet ... II do not have so much experience to publish the program to Github or Gitlab. It will take some time. But I can do it.
BirgitLachner
Member
 
Posts: 389
Joined: Thu May 05, 2016 10:18 am
In-game: Bibs

Re: [Mod] More Blocks [moreblocks]

Postby Linuxdirk » Fri Mar 29, 2019 6:41 pm

Linuxdirk
Member
 
Posts: 1907
Joined: Wed Sep 17, 2014 11:21 am
In-game: Linuxdirk



Return to Mod Releases



Who is online

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