[Mod] Tower Crane [2.2] [towercrane]

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

[Mod] Tower Crane [2.2] [towercrane]

by joe7575 » Post

In order to simplify the construction of buildings, the crane forms a working area in which the player gets fly privs.

The crane can be completely assembled by setting only the base block.
The size of the crane (which is the construction area) can be configured.

Image

Introduction
* Place the crane base block.
The crane arm will later be build in the same direction you are currently looking

* Right-click the crane base block and set the crane dimensions in height and width (between 8 and 24 by default).
The crane will be build according to this settings.
If there is not enough free space for the crane mast/arm or the potential construction area of the
crane intersects a protected area from another player, the crane will not be build.

* Right-click the crane switch block to turn on the crane (to get fly privs). The player will be placed in front of the crane.

* To remove the crane, destroy the base block.
Hint: The protection area of the crane will also be removed.
In order to protect your building again, you have to use the normal chat commands.


Code: LGPLv2.1+, textures: CC0
Dependencies: default, areas (optional)

Browse on: GitHub
Download: zip

Edit: Updated for v0.09
Edit2: Updated for v0.12
Edit3: repository moved to minetest-mods
Edit4: Updated for v2.2
Last edited by joe7575 on Fri Jan 03, 2020 11:08, edited 9 times in total.
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

gpcf
Member
Posts: 382
Joined: Fri May 27, 2016 10:48
GitHub: gpcf
In-game: gabriel

Re: [Mod] Tower Crane [0.01] [towercrane]

by gpcf » Post

Looks awesome! I'm going to test it soon!

User avatar
maikerumine
Member
Posts: 1420
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: [Mod] Tower Crane [0.01] [towercrane]

by maikerumine » Post

So while you are in the crane zone you can fly? This rocks!
Talamh Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
cx384
Member
Posts: 655
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] Tower Crane [0.01] [towercrane]

by cx384 » Post

I always want to have a mod which is more realistic than that.
viewtopic.php?t=16661
Can your read this?

User avatar
Andrey01
Member
Posts: 2577
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Tower Crane [0.01] [towercrane]

by Andrey01 » Post

Nice! Now we can builld realisticly!

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Tower Crane [0.01] [towercrane]

by texmex » Post

This is great! Thank you for making this. It's much better than just fly privs. The only thing I can think of to add is
• a discrete humming sound when the hook is moved
• a string looking thing between crane and hook, connecting the two. Perhaps made with particles for lack of better method.

Caught two bugs:
1. The hook doesn't get removed with the crane and is still usable.
Spoiler
Image
2. The player looks stuck inside the hook block. (disregard my texture customization)
Spoiler
Image

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Tower Crane [0.02] [towercrane]

by joe7575 » Post

Thanks everybody for the feedback.
I am very interested in your opinion.

@texmax: Thanks for your hints
- the humming sound is a very good idea, I will look what I can find
- the string will be difficult, especially because the crane itself is not moving around like the hook
- bug 1 is fixed => v0.02 is on GitHub
- bug 2 is more difficult. I used the Minetest vehicles feature. Normally you sit in the vehicle. I can't find a possibility to change that.

I am thinking about a XL version of the crane for very large building projects… :-)
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [Mod] Tower Crane [0.01] [towercrane]

by TumeniNodes » Post

joe, maybe reduce the visual size for the hook?
I do not think this will impact the ability of the player to attach to it.
A Wonderful World

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Tower Crane [0.01] [towercrane]

by texmex » Post

I relation to bug 2 I noticed that the player is sized down to half with the hook. Perhaps that's intended, to get the player out of the way?

As for crane sizes: What if the base node was a sort of inventory where crane building material could be stashed? Then when the crane gets constructed, it checks if it has enough material to build the given size. When the crane is deconstructed the material returns to the base node. This way there wouldn't have to be different cranes, but larger ones would demand more material. Much dynamic, one recipe. :)

One more bug, pretty critical, is that the crane construction doesn't check for free space before it's built.

What recipe are you thinking of? How about:

steel block, steel block, mese block
steel block, —, steel block
—, —, mese block
Last edited by texmex on Wed Jun 07, 2017 12:47, edited 2 times in total.

User avatar
Desour
Member
Posts: 1472
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] Tower Crane [0.01] [towercrane]

by Desour » Post

texmex wrote:2. The player looks stuck inside the hook block. (disregard my texture customization)
Spoiler
Image
I suggest using set_properties on player object and eg. set visual_size to {x=0,y=0}.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
ForgiveAndromedalol
Member
Posts: 225
Joined: Tue Apr 11, 2017 12:34
GitHub: ForgiveAndromedalol
IRC: Andromeda
In-game: Yam

Re: [Mod] Tower Crane [0.01] [towercrane]

by ForgiveAndromedalol » Post

Amazing mod n_n 10/10
My MODS: Water Colors - viewtopic.php?f=9&t=18241
BTW BLOCKS - viewtopic.php?f=9&t=17654

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Tower Crane [0.01] [towercrane]

by azekill_DIABLO » Post

that pretty well thought!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Tower Crane [0.01] [towercrane]

by texmex » Post

I added support for this mod in the Good Morning Craft texture pack, hope you approve. :)

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Tower Crane [0.03] [towercrane]

by joe7575 » Post

Thanks for your feedback everybody.

I fixed the two bugs:
- stuck in the hook
- check for free space

And I added the following features:
- crane sound
- config file for maximum crane dimensions
- a "low hanging fruits" recipe

Code: Select all

steel block, steel block, steel block,
steel block,    —,         —, 
steel block, yellow dye,  —, 

- possible downward hook movement (crane can now be placed on a tower to reach more height)

@textmex: Yes, of cource. I like that :)


v0.03 is on GitHub
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Tower Crane [0.03] [towercrane]

by texmex » Post

joe7575 wrote:- possible downward hook movement (crane can now be placed on a tower to reach more height)
Please make it optional as it easily can turn into an overpowered mine climbing tool.

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Tower Crane [0.03] [towercrane]

by joe7575 » Post

texmex wrote:
joe7575 wrote:- possible downward hook movement (crane can now be placed on a tower to reach more height)
Please make it optional as it easily can turn into an overpowered mine climbing tool.
Yes, you are right. I will add a config parameter for the maximum rope length.
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Tower Crane [0.03] [towercrane]

by joe7575 » Post

joe7575 wrote:Yes, you are right. I will add a config parameter for the maximum rope length.
Done.
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Tower Crane [0.04] [towercrane]

by azekill_DIABLO » Post

great work.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Tower Crane [0.05] [towercrane]

by joe7575 » Post

V0.05 is on GitHub

- Resizing bug fixed
- Area protection for the crane itself and the construction area added (if area mod is available)
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] Tower Crane [0.05] [towercrane]

by Nathan.S » Post

Really cool mod, this makes building so much easier, no longer do I need to make temporary scaffolding out of dirt or leaves.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
joe7575
Member
Posts: 851
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Mod] Tower Crane [0.05] [towercrane]

by joe7575 » Post

Thanks Nathan,
that's exactly the reason why I made this mod. I hate the dirt scaffolding with the risk to get "boned".
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [Mod] Tower Crane [0.05] [towercrane]

by TumeniNodes » Post

Nathan.S wrote:Really cool mod, this makes building so much easier, no longer do I need to make temporary scaffolding out of dirt or leaves.
Maybe a contender for a mod review vid Nathan? ; )
A Wonderful World

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] Tower Crane [0.05] [towercrane]

by Nathan.S » Post

It most certainly is. Was playing around with it today getting familiar with it. Will probably record one soon.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Mod] Tower Crane [0.05] [towercrane]

by Nathan.S » Post

As promised here is a mod review, hot off the press.
http://nathansalapat.com/minetest/tower-crane
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
ForgiveAndromedalol
Member
Posts: 225
Joined: Tue Apr 11, 2017 12:34
GitHub: ForgiveAndromedalol
IRC: Andromeda
In-game: Yam

Re: [Mod] Tower Crane [0.05] [towercrane]

by ForgiveAndromedalol » Post

Nathan.S wrote:As promised here is a mod review, hot off the press.
http://nathansalapat.com/minetest/tower-crane
It's excellent for a client with no fly privs.
My MODS: Water Colors - viewtopic.php?f=9&t=18241
BTW BLOCKS - viewtopic.php?f=9&t=17654

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests