[Mod] Mesecons (= redstone) [GitHub] [minetest-mod-mesecons]

User avatar
jordan4ibanez
Member
Posts: 1926
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

okay man
gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble gobble

sfan5
Moderator
Posts: 4124
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Please make a Piston Thing that moves Blocks forth, but itself back when it's done
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

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

by Jeija » Post

I'm gonna make pistons as soon as i can get the orientation of a block from the lua api.
For now, sticky movestones are also very powerful.
Last edited by Jeija on Fri Dec 30, 2011 05:12, edited 1 time in total.
Redstone for minetest: Mesecons (mesecons.net)

sfan5
Moderator
Posts: 4124
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Jeija wrote:For now, sticky mesecons are also very powerful.
But they don't move back
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

sfan5
Moderator
Posts: 4124
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

franky97
New member
Posts: 3
Joined: Tue Dec 27, 2011 10:36

by franky97 » Post

Cool mod

Gatharoth
Member
Posts: 196
Joined: Thu Dec 22, 2011 02:54

by Gatharoth » Post

Question, what is a drawtype?

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

by Jeija » Post

A drawtype is the way how nodes (blocks/items...) are rendered by the client. Let me explain:
Stone is normal, it is a normal block. So its the standard drawtype.
Rails aren't, they dont look like a block, but like something that is put on the ground,
so they have their own drawtype: "raillike"
Other drawtypes are "plantlike", "torchlike" or "fencelike".


Cheers,
Jeija
Redstone for minetest: Mesecons (mesecons.net)

User avatar
Melkor
Member
Posts: 427
Joined: Sat Sep 24, 2011 01:03
Location: Underground

by Melkor » Post

Jeija wrote:A drawtype is the way how nodes (blocks/items...) are rendered by the client. Let me explain:
Stone is normal, it is a normal block. So its the standard drawtype.
Rails aren't, they dont look like a block, but like something that is put on the ground,
so they have their own drawtype: "raillike"
Other drawtypes are "plantlike", "torchlike" or "fencelike".


Cheers,
Jeija
You know, here we are really 'hunger' of tutorials :D

Daraku
Member
Posts: 34
Joined: Sun Dec 25, 2011 14:21

by Daraku » Post

Melkor wrote:You know, here we are really 'hunger' of tutorials :D
Just look at the other mods code, it's a best tutorials that you can have.
Last edited by Daraku on Wed Dec 28, 2011 07:09, edited 1 time in total.

User avatar
neko259
Member
Posts: 805
Joined: Sun Jun 19, 2011 06:51

by neko259 » Post

Please change the version to 0.2 in the topic title.
s3tuPDfUv2IyvXHzPmE31MQvnWULv1zj

User avatar
Staffs
Member
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Post

Lol this is getting too complicated for me :D
I love mods :D

User avatar
Melkor
Member
Posts: 427
Joined: Sat Sep 24, 2011 01:03
Location: Underground

by Melkor » Post

Tutorials please! :)

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

by Jeija » Post

Pistons
Download here
There is no animation for them yet.
You can craft them like pistons in minecraft, you just have to replace redstone by mesecons and slime balls by glue.
They push/pull (only the sticky ones) blocks in the opposite direction the signal comes from.
Sticky pistons need a mesecon conductor (energy sources can't just be placed next to them)
Do you want me to add them to the jeija mod and animate them?
Or is it too minecraft-like?
Tell me your opinion and post your creations!

Cheers,
Jeija
Last edited by Jeija on Wed Dec 28, 2011 19:45, edited 1 time in total.
Redstone for minetest: Mesecons (mesecons.net)

sfan5
Moderator
Posts: 4124
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

Jeija wrote:Pistons
Download here
There is no animation for them yet.
You can craft them like pistons in minecraft, you just have to replace redstone by mesecons and slime balls by glue.
They push/pull (only the sticky ones) blocks in the opposite direction the signal comes from.
Sticky pistons need a mesecon conductor (energy sources can't just be placed next to them)
Do you want me to add them to the jeija mod and animate them?
Or is it too minecraft-like?
Tell me your opinion and post your creations!

Cheers,
Jeija
+2 Please add them to the Jeija Mod
Last edited by sfan5 on Wed Dec 28, 2011 19:48, edited 1 time in total.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Melkor
Member
Posts: 427
Joined: Sat Sep 24, 2011 01:03
Location: Underground

by Melkor » Post

Wow

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

by Jeija » Post

Modified ironzorg's hatches so that you can control them using mesecons (just 2 lines of code).
Download as .tar.gz

Expect to see a new mesecon mod version soon!
Redstone for minetest: Mesecons (mesecons.net)

User avatar
Staffs
Member
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Post

Jeija could you make pressure-cons?
I love mods :D

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

by Jeija » Post

I just realized that pressure plates are possble in the very new minetest version...
(Although CPU would be quite high for them I suppose)
Im not sure if I'm gonna make pressure plates or nearrange-detection-sensors, maybe both.
They will be added in the 0.31 update, because 0.3 is already packaged...
Thanks to remind me!
Redstone for minetest: Mesecons (mesecons.net)

User avatar
neko259
Member
Posts: 805
Joined: Sun Jun 19, 2011 06:51

by neko259 » Post

The main problem of pistons is they pull all the blocks, not one. If I want to make a piston 'door' that looks like:

XOXP
XOXP

(opened)

XXPP
XXPP

(closed)
If will pull the left wall when I try to open and I get:

OXXP
OXXP
s3tuPDfUv2IyvXHzPmE31MQvnWULv1zj

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

by Jeija » Post

ooh, you see, I never played MineCraft before ^^. I didn't know that sticky pistons only pull back 1 block. But that should be a lot easier than the code that the piston uses right now. I'm gonna update this and release the fix in version 0.31.
Cheers, Jeija
Redstone for minetest: Mesecons (mesecons.net)

User avatar
neko259
Member
Posts: 805
Joined: Sun Jun 19, 2011 06:51

by neko259 » Post

Jeija wrote:ooh, you see, I never played MineCraft before ^^. I didn't know that sticky pistons only pull back 1 block. But that should be a lot easier than the code that the piston uses right now. I'm gonna update this and release the fix in version 0.31.
Cheers, Jeija
Thanks!
s3tuPDfUv2IyvXHzPmE31MQvnWULv1zj

User avatar
Melkor
Member
Posts: 427
Joined: Sat Sep 24, 2011 01:03
Location: Underground

by Melkor » Post

Problem in V 0.3 when I try to use or remove a piston :

Code: Select all

01:06:32: ERROR[ServerThread]: ERROR: An unhandled exception occurred: LuaError: error: ...Games\minetest-0.4.d\bin\..\data\mods\jeija\init.lua:895: attempt to call method 'get_objects_inside_radius' (a nil value)
01:06:32: ERROR[ServerThread]: stack traceback:
Minetest crashes

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

by Jeija » Post

@Melkor: You have to install the VERY NEW version of minetest, published at the 28th of December. This version can only be compiled from the sources. With that version, it should work, because it adds a feature that piston uses.
Please tell me, if that was the bug.

Cheers,
Jeija
Redstone for minetest: Mesecons (mesecons.net)

User avatar
Melkor
Member
Posts: 427
Joined: Sat Sep 24, 2011 01:03
Location: Underground

by Melkor » Post

upss, im not using the latest minetest version, my mistake! Sorry.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests