Page 2 of 78

Posted: Tue Dec 27, 2011 07:32
by jordan4ibanez
okay man

Posted: Tue Dec 27, 2011 09:17
by sfan5
Please make a Piston Thing that moves Blocks forth, but itself back when it's done

Posted: Tue Dec 27, 2011 09:45
by Jeija
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.

Posted: Tue Dec 27, 2011 09:48
by sfan5
Jeija wrote:For now, sticky mesecons are also very powerful.
But they don't move back

Posted: Tue Dec 27, 2011 11:34
by sfan5

Posted: Tue Dec 27, 2011 11:57
by franky97
Cool mod

Posted: Wed Dec 28, 2011 01:50
by Gatharoth
Question, what is a drawtype?

Posted: Wed Dec 28, 2011 05:40
by Jeija
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

Posted: Wed Dec 28, 2011 05:55
by Melkor
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

Posted: Wed Dec 28, 2011 07:09
by Daraku
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.

Posted: Wed Dec 28, 2011 08:23
by neko259
Please change the version to 0.2 in the topic title.

Posted: Wed Dec 28, 2011 14:54
by Staffs
Lol this is getting too complicated for me :D

Posted: Wed Dec 28, 2011 18:12
by Melkor
Tutorials please! :)

Posted: Wed Dec 28, 2011 19:43
by Jeija
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

Posted: Wed Dec 28, 2011 19:48
by sfan5
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

Posted: Wed Dec 28, 2011 20:07
by Melkor
Wow

Posted: Thu Dec 29, 2011 17:30
by Jeija
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!

Posted: Thu Dec 29, 2011 17:56
by Staffs
Jeija could you make pressure-cons?

Posted: Thu Dec 29, 2011 18:20
by Jeija
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!

Posted: Thu Dec 29, 2011 20:16
by neko259
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

Posted: Thu Dec 29, 2011 20:22
by Jeija
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

Posted: Thu Dec 29, 2011 20:22
by neko259
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!

Posted: Fri Dec 30, 2011 05:05
by Melkor
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

Posted: Fri Dec 30, 2011 05:11
by Jeija
@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

Posted: Fri Dec 30, 2011 05:52
by Melkor
upss, im not using the latest minetest version, my mistake! Sorry.