Page 1 of 2

[Mod] mymineshaft [mymineshaft]

PostPosted: Sun Mar 22, 2015 22:11
by Don
Update - Nodes are now mesh nodes. If you are using an older version of minetest that does not handle mesh nodes then please update minetest or download version 1.0

Max Cohen made the models.

This mod lets you make a mine shaft straight down. There are 3 nodes that you make using the mine Shaft machine.
The top is a closed node. You punch it to open it.
The shaft is lit and is climable.
The bottom is 2 nodes high and does not cause damage if you go fast down the shaft.

You can make the nodes from these blocks.
Clay, Cobble, Desert Cobble, Desert Stone, Dirt, Jungle Tree, Jungle Wood, Mossy Cobble, Sandstone, Stone, Tree, and Wood.



Depends - default

Download - Version 3.0 -https://github.com/DonBatman/mymineshaft/archive/3.0.zip - Meshnodes
Download - Version 2.0 -https://github.com/DonBatman/mymineshaft/archive/2.0.zip - Meshnodes
Download - Version 1.0 -https://github.com/DonBatman/mymineshaft/archive/1.0.zip - Node Boxes
Github - https://github.com/DonBatman/mymineshaft
Licence - WTFPL

Craft
S B S
B SI B
S B S
S = Sand
B = Brick
SI = Steel Ingot
+ Screenshots

Re: [Mod}mymineshaft[mymineshaft]

PostPosted: Mon Mar 23, 2015 18:18
by Krock
The idea is great but I can't dig those nodes.

Re: [Mod}mymineshaft[mymineshaft]

PostPosted: Mon Mar 23, 2015 18:31
by Don
Krock wrote:The idea is great but I can't dig those nodes.

I added cracky = 1
Sorry about that.

Re: [Mod}mymineshaft[mymineshaft]

PostPosted: Wed May 13, 2015 19:55
by Don
Update - The nodes are now mesh nodes.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Sat Sep 12, 2015 22:46
by Don
I added horizontal mineshafts that spawn on mapgen(kind of). They start at -100. This is a work in progress.
Please test on a new world so it does not wreak anything.

I am looking for comments and suggestions.

https://github.com/DonBatman/mymineshaft/archive/master.zip

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Tue Sep 15, 2015 01:48
by Sokomine
Don wrote:I am looking for comments and suggestions.

I've started my own mines_with_shafts mod some time ago but never developed it far enough to be of actual use. It creates nice mines but does not create sufficiently reproducable and random mine entrances/"seeds" yet. I'm going to develop it further eventually. Perhaps it might help you as well.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Tue Sep 15, 2015 03:18
by Don
Can you send me a link to the code? Maybe pm me. I would love to see what you have.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Tue Sep 15, 2015 03:52
by Sokomine
Don wrote:Can you send me a link to the code? Maybe pm me. I would love to see what you have.

I've linked the github repro in the previous posting. Just take a look :-) You may also test it in a new test world.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Thu Sep 24, 2015 18:54
by mark_wr
This sounds like a very interesting mod. You mention the various blocks that can be used to make the nodes, and that nodes can be made using the mine Shaft machine. Is there a recipe to craft the mine Shaft machine? I'm a new user of Minetest. I hope I'm not questioning something that should have been obvious to me. Thanks.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Thu Sep 24, 2015 19:45
by Don
mark_wr wrote:This sounds like a very interesting mod. You mention the various blocks that can be used to make the nodes, and that nodes can be made using the mine Shaft machine. Is there a recipe to craft the mine Shaft machine? I'm a new user of Minetest. I hope I'm not questioning something that should have been obvious to me. Thanks.

Sorry about that mark_wr. I added the craft to the original post. I am adding it below as well.
I hope you enjoy the mineshafts.

Craft

S B S
B SI B
S B S

S = Sand
B = Brick
SI = Steel Ingot

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Fri Sep 25, 2015 13:52
by mark_wr
Thanks. Do I place "Middle" nodes most of the time, and can I mine sideways from them. Do I place "Shaft" when I reach an area of Lava or Water, to keep those elements out of my shaft? Is that what you had in mind? I like that it generates light as well. I have not yet figured out how to implement the horizontal shaft that you mentioned. I really like your mod. Thanks again.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Fri Sep 25, 2015 14:53
by Don
mark_wr wrote:Thanks. Do I place "Middle" nodes most of the time, and can I mine sideways from them. Do I place "Shaft" when I reach an area of Lava or Water, to keep those elements out of my shaft? Is that what you had in mind? I like that it generates light as well. I have not yet figured out how to implement the horizontal shaft that you mentioned. I really like your mod. Thanks again.

I use the shaft because I think it looks better and then in a place I want to mine I use the middle. At the very bottom of the shaft use bottom. It will make it so you do not get hurt if you go fast. The top one opens and closes on punch.

The horizontal shafts generate in the ground. You will find them when you mine.
I am not sure which version you have. You need the latest one to get the horizontal shafts.

https://github.com/DonBatman/mymineshaft/archive/master.zip

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Fri Sep 25, 2015 19:40
by mark_wr
You say "do not get hurt if you go fast". I am descending with the Shift key, as if it were a ladder. Is there a faster way to descend? And, is there a faster way to ascend than the space bar?
Your mod is in my top two favorite mods.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Fri Sep 25, 2015 19:58
by Don
If you are playing in single player mode then you have to grant yourself privileges. To do this you press T to open the chat window. In the window type /grant singleplayer fast
You must include the /
You can grant yourself other privs like fly, giveme and teleport.
You can learn more about this here.http://wiki.minetest.com/wiki/Server_commands

Once you have the fast priv then you turn it on and off with the J key. Fly is the K key.
Then you use shift to go down the shaft. While going down (or up with space bar) press the E key to go fast.

I am glad you like the mod

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Fri Sep 25, 2015 21:22
by mark_wr
Thanks for taking the time to explain that to me. It works great.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Sat Sep 26, 2015 04:40
by Don
No problem. Ask anything you want to. There is a lot to the game. Anytime you feel confused or uncertain just ask.the community is here to help.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Mon Sep 28, 2015 18:11
by mark_wr
Hi Don,

Upon loading my world, the first two lines displayed in the Minetest (DOS?) window are:

WARNING: Undeclared global variable "a" accessed at ...amefree\Minetest0413\bin\..\mods\mymineshaft/machine.lua:1
WARNING: Undeclared global variable "a" accessed at ...amefree\Minetest0413\bin\..\mods\mymineshaft/machine.lua:2

These are warnings, not errors, and everything seems to work, so maybe declaring is optional.
Just thought I'd let you know, in case it matters to you how clean that message screen looks.
Thanks for your past help, and have a great day.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Mon Sep 28, 2015 18:33
by Don
Thanks for letting me know. I will fix this right away.

EDIT - Fixed

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Mon Sep 28, 2015 21:41
by mark_wr
Quick.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Tue Nov 24, 2015 07:26
by tbillion
this is a very cool mod. very low tech and beautiful way to solve a basic problem.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Tue Nov 24, 2015 14:26
by Don
tbillion wrote:this is a very cool mod. very low tech and beautiful way to solve a basic problem.

Glad you like it!

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Wed Nov 25, 2015 13:03
by tbillion
im working on something right now that may be a cool way to use it... but its top secret.. lmao ill let you peep it when its done ;)

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Wed Nov 25, 2015 17:56
by Napiophelios
tbillion wrote:im working on something right now that may be a cool way to use it... but its top secret.. lmao ill let you peep it when its done ;)


I hope its a TBM that digs up while laying in the mineshafts nodes in place

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Wed Nov 25, 2015 17:58
by tbillion
man Napiophelios why you gotta let all the cats outta their bags .. lmao

really for test purposes its done but i want it better and this formspec CRAP is killing me. im trying to just use a text box to set the depth and verify that there is enough fuel and cobble for the operation and i have crashed the server probably 50 times in the last hour. plus the documentation for formspec is awful, not enough simple examples or tutorials

Image
Image
Image

once i figure out these stupid formspecs i will be able to make the first block laid one of the ones with the man hole cover and the last one onf of the little catcher blocks, then i will replace the torches with water and that way you can use it to extinguish lava. may see about integrating or depending on liquiclean because that is an awsome mod gets rid of water and lava.

another thing i am looking at is how to load chunks of the map that dont exist. right now it will tunnel on forever all by it self as long as it has the resources, but when it hits an unloaded or new chuck the mapgen just copies over the lain blocks with what ever it thinks up. i was reading somewhere that if you place a block in a certain place randomly on the map a mapgen wont touch it so im thinking lay a default cobble in front of the machin then blast it move forward and lay down these awesome mineshaft blocks, if that works you could load it with 100000 coal and go to 500000 depth , lmao the center of minetest. ;)

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Wed Nov 25, 2015 18:09
by Don
That is going to be cool.

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Wed Nov 25, 2015 18:14
by Napiophelios
Don wrote:That is going to be cool.


I agree. Right now my mines are loaded with ladders and ropes and scaffolds.
A quick way to place mineshafts will be nice....and a cart to haul everything away would be good too :)

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Wed Nov 25, 2015 18:24
by tbillion
i said i was working on something cool ..lmao... dont suppose i could get some support by way of a like cone shaped sprite lol. i have one that someone node-blocked pretty decent i just dont know how to change the orientation from horizontal to vertical... ill put up the code for the horizontal one and a screen shot.

Image
Image
Image

this file is 7 megs has all the multimedis stuff. this spriting/nodeblock has always been my favorite version. I liked the node blocks of 0.5 but in realith that thing was a pain in the but to use, plus smaller is better. out of the three distinct versions i have seen they all had something i liked so now im going to take those things (the abm from version 0.4, the spriteing from 0.5 and the inventory and input resources from 0.6) and i am going to add formspec control direction control, size control, wall/cieling/floor material selection and very very hopefully pipeworks integration. and that will be the best TBM in minetest. plus the fuctionality to go on forever unsupervised :)
https://sites.google.com/site/tjportfolio1942/pix/tbm0.52.tar.gz?attredirects=0&d=1

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Wed Nov 25, 2015 18:27
by tbillion
like i say not carts ... pipeworks, like the HV Quarrys from Technic, put a teleport tube down, put tbm in front of it and you are off. maybe even make it compatible with the injectors from pipe works like you lay an injector next to it and it empties your tbm to wherever...

although now that i think about it i could make it work with carts probably too. modify the cart to take input from pipe works and inject the inventory to a super sized cart... make it work with all of it bring on the challenge!

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Wed Nov 25, 2015 19:17
by Napiophelios
Here is a quickie using the nodebox editor;
had to enlarge just a bit cuz of my ocd :)

tbm_vertical.zip
nodebox vertical orientation
(189.28 KiB) Downloaded 151 times


Image
tbm_vert.png
tbm_vert.png (73.85 KiB) Viewed 6191 times

Re: [Mod] mymineshaft [mymineshaft]

PostPosted: Wed Nov 25, 2015 19:29
by tbillion
nah man bigger is better.. lol as long as we stay in the one block size.. lmao. i suppose another thing i should teach this thing is the new bits of screw driver where it can face it up and down, in the original code you got 4 directions the screw driver can now do 6, then i wouldnt need form spec for the direction... :) lemme add this up date bbiaj