[Mod] Tower Crane [0.12] [towercrane]

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

[Mod] Tower Crane [0.12] [towercrane]

by joe7575 » Mon Jun 05, 2017 18:54

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.
The owner of the crane gets automatically area protection over the complete construction area (therefore the area Mod is required).

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 switch to 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
Last edited by joe7575 on Thu Jan 04, 2018 21:09, edited 8 times in total.
Sent from my Commodore 64. My Mods: TechPack, Hyperloop, Tower Crane, Lumberjack, Iron Age, Entrance.
 

User avatar
gpcf
Member
 
Posts: 266
Joined: Fri May 27, 2016 10:48
In-game: gabriel
 

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

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

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

by cx384 » Tue Jun 06, 2017 08:13

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: 2157
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

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

by Andrey01 » Tue Jun 06, 2017 08:34

Nice! Now we can builld realisticly!
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

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

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

by texmex » Tue Jun 06, 2017 10:39

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


2. The player looks stuck inside the hook block. (disregard my texture customization)
+ Spoiler
 

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

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

by joe7575 » Tue Jun 06, 2017 19:16

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. My Mods: TechPack, Hyperloop, Tower Crane, Lumberjack, Iron Age, Entrance.
 

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

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

by TumeniNodes » Tue Jun 06, 2017 19:45

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.
I'm not your buddy, guy...
 

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

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

by texmex » Tue Jun 06, 2017 20:16

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
DS-minetest
Member
 
Posts: 1015
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

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

by DS-minetest » Wed Jun 07, 2017 08:49

texmex wrote:2. The player looks stuck inside the hook block. (disregard my texture customization)
+ Spoiler

I suggest using set_properties on player object and eg. set visual_size to {x=0,y=0}.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

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

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

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

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

by texmex » Wed Jun 07, 2017 19:16

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

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

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

by joe7575 » Wed Jun 07, 2017 20:56

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. My Mods: TechPack, Hyperloop, Tower Crane, Lumberjack, Iron Age, Entrance.
 

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

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

by texmex » Thu Jun 08, 2017 05:05

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: 242
Joined: Mon Apr 24, 2017 20:38
Location: Germany, in the deep south
GitHub: joe7575
In-game: JoSto

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

by joe7575 » Thu Jun 08, 2017 10:25

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. My Mods: TechPack, Hyperloop, Tower Crane, Lumberjack, Iron Age, Entrance.
 

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

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

by joe7575 » Thu Jun 08, 2017 18:53

joe7575 wrote:Yes, you are right. I will add a config parameter for the maximum rope length.


Done.
Sent from my Commodore 64. My Mods: TechPack, Hyperloop, Tower Crane, Lumberjack, Iron Age, Entrance.
 

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

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

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

by joe7575 » Sat Jun 10, 2017 19:09

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. My Mods: TechPack, Hyperloop, Tower Crane, Lumberjack, Iron Age, Entrance.
 

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

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

by Nathan.S » Sun Jun 11, 2017 20:52

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: 242
Joined: Mon Apr 24, 2017 20:38
Location: Germany, in the deep south
GitHub: joe7575
In-game: JoSto

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

by joe7575 » Sun Jun 11, 2017 22:46

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. My Mods: TechPack, Hyperloop, Tower Crane, Lumberjack, Iron Age, Entrance.
 

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

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

by TumeniNodes » Sun Jun 11, 2017 23:18

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? ; )
I'm not your buddy, guy...
 

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

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

by Nathan.S » Mon Jun 12, 2017 02:29

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: 804
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

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

by Nathan.S » Sun Jul 09, 2017 21:34

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 » Sun Jul 09, 2017 22:29

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
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 8 guests