Page 1 of 1

[MOD] better mesecons [mesecons_3d]

PostPosted: Mon Mar 23, 2015 12:48
by 12Me21
Most default mesecons can conduct to the blocks next to them (at the same height) and the ones above and below this.
Image
This is really inconvenient, and can lead to situations where 2 wires look like they connect, but actually don't. Image
This mod fixes this by allowing most mesecon devices to only conduct to the nodes touching them (not diagonally)


Nodes:
Microcontroller with 6 ports --64 nodes
Lightstone --2 nodes
Toggle Switch (acts like normal mesecon switch) --2 nodes
"Button" Switch (acts like a button, but connects better) --2 nodes
improved Wire (connects like tubes from pipeworks) --128 nodes


Licenses:
Textures: CC BY-SA
Code: LGPL

Download: no one cares, so what's the point

There was instructions for building something cool here, but i removed it.

Re: [MOD] better mesecons [mesecons_3d]

PostPosted: Wed Mar 25, 2015 11:44
by 12Me21
wow the topics are still in the same order...

Re: [MOD] better mesecons [mesecons_3d]

PostPosted: Thu Mar 26, 2015 16:17
by 12Me21
Lol, I accidentally added an abm that makes chests "grow"... I was testing something I was going to post in the modding questions forum...

Re: [MOD] better mesecons [mesecons_3d]

PostPosted: Thu Mar 26, 2015 18:41
by Hybrid Dog
Do your mesecons wires have different nodes for enabled and disabled wires or do you use the meta or param1 or something similar?

Re: [MOD] better mesecons [mesecons_3d]

PostPosted: Thu Mar 26, 2015 21:03
by 12Me21
Hybrid Dog wrote:Do your mesecons wires have different nodes for enabled and disabled wires or do you use the meta or param1 or something similar?


there are different nodes (128, to be exact. but that's nothing compared to default mesecons with 512 (minus a few impossible states))

Re: [MOD] better mesecons [mesecons_3d]

PostPosted: Fri Mar 27, 2015 12:59
by Hybrid Dog
BTW: Jeija worked on different mesecons wires:
Image

Re: [MOD] better mesecons [mesecons_3d]

PostPosted: Fri Mar 27, 2015 14:12
by 12Me21
Hybrid Dog wrote:BTW: Jeija worked on different mesecons wires:
-image-


How do they connect? are those the ones that can be placed on any side of a block?? I head that it uses a huge number of different nodes, and that's why it wasn't used.

Re: [MOD] better mesecons [mesecons_3d]

PostPosted: Fri Mar 27, 2015 16:29
by Hybrid Dog
12Me21 wrote:
Hybrid Dog wrote:BTW: Jeija worked on different mesecons wires:
-image-


How do they connect? are those the ones that can be placed on any side of a block?? I head that it uses a huge number of different nodes, and that's why it wasn't used.

idk, as far as l know Jeija didn't publish the code

Re: [MOD] better mesecons [mesecons_3d]

PostPosted: Sat Mar 28, 2015 08:33
by Nore
The code for these is here: https://github.com/Ekdohibs/wires.
There was a discussion about it, it is still there https://github.com/Jeija/minetest-mod-mesecons/issues/128.