Page 1 of 1

Use both hands! :)

PostPosted: Sat Jun 18, 2011 07:41
by spongie
Hi!

I'm starting out by saying: I never played Minecraft. Since Perttu (celeron55) is hinting that he's looking for a different direction, I took my experience with gaming the older RPG's (ultima underworld series, daggerfall, etc) and tried to apply it.

One thing that annoyed me from the start with minetest was switching back and forth between building rocks and using a pickeaxe. I present to you: dual wielding.

Controls:
Left mouse button: use item in left hand
Right mouse button: use item in right hand.
Left hand: selectable through keys 1-4
Right hand: selectable through keys 5-8 and mouse wheel.
Drop item in left hand: Z
Drop item in right hand: X

To use bare hands, use an empty slot. Interactive items still work by right clicking.

Here's a video showcasing a prototype:

http://www.youtube.com/watch?v=l8nn24ZuOUI

This opens up efficient combos for left/right mouse buttons. For instance, left hand pick axe, right hand block or maybe a shield/sword combo in the future.
It is just a client-side UI and control change, it does not affect game rules. Using a simple config setting you can disable it to get default (minecraft) behavior.

I've made all the changes to my repos clone, I have nowhere to put a tarball or a patch, please let me know (you in particular, Perttu) if you want the sources to test, etc. Maybe we can add a sandbox repos to the bitbucket project?

I'm also eager to help fix bugs and add some other features as suggested in this forum by other users.

Cheers!

PostPosted: Sat Jun 18, 2011 07:45
by Florby
This is awesome!

I agree, it would be nice with a sandbox to play around in.

PostPosted: Sat Jun 18, 2011 08:19
by O'Hara
Oh wow this could be great against enemies. Attack them while building a wall!

PostPosted: Sat Jun 18, 2011 19:16
by Fishkilleur
I like it. :)

PostPosted: Sat Jun 18, 2011 19:35
by mstoykov
+1
change the interactive things to e - it will be more ... consistent

PostPosted: Sun Jun 19, 2011 07:29
by spongie
mstoykov: you want the e key? Consistent with what? I think you can bind the keys you want in the config, but I'll change the defaults if you don't like them.

I'm also thinking of expanding the hot bar to include ten items instead of just 8. Is that a good idea?

My repos is at http://bitbucket.org/spongie/minetest-sponge
(see http://celeron.55.lt/~celeron55/minetest/download.php for build instructions)

I've found only one bug, I'll try to fix it today. It might also be in Perttu's repos so I might need to send patch upstream also.

PostPosted: Sun Jun 19, 2011 08:03
by benajamin
Can you think of a way to enable support for two-handed items, like a really BIG sword? Someone is bound to ask for it sooner or later.

PostPosted: Sun Jun 19, 2011 09:52
by spongie
Yes, there's always the option of having an a range in the middle of the hotbar where you need to select both hands to use the item, as an example. It's rather easy to do.
The items don't support it yet and it would require an additional flag, breaking compatibility with old serialization of objects.

Re: Use both hands! :)

PostPosted: Thu Sep 17, 2015 02:55
by wilkgr76

"Video not available :-/"
Sounds amazing though! Your repository also gives a 404.

Re: Use both hands! :)

PostPosted: Thu Sep 17, 2015 07:32
by Minetestforfun
I like the idea :)
+1

Re: Use both hands! :)

PostPosted: Thu Sep 17, 2015 08:39
by TenPlus1
Yay! now I can mine for ores while picking my nose...

Re: Use both hands! :)

PostPosted: Thu Sep 17, 2015 11:01
by Morn76
MC is getting this in 1.9. You just press F to swap items between both hands. There's also a new slot next to the hotbar that shows the item in the non-dominant hand. Works pretty well with e.g. a torch or a shield in the other hand.

MT modders, start your photocopiers! :-)

Re: Use both hands! :)

PostPosted: Thu Sep 17, 2015 22:06
by kaadmy
Reviving an old thread here? It's 4 years old.

Re: Use both hands! :)

PostPosted: Fri Sep 18, 2015 10:35
by Napiophelios
kaadmy wrote:Reviving an old thread here? It's 4 years old.


The repo has a cool 404 message though :)

Image


atlassian404.png
atlassian404.png (15.15 KiB) Viewed 5193 times

Re: Use both hands! :)

PostPosted: Mon Sep 21, 2015 06:40
by 4aiman
Hey!..
That's not a dead Link!

Here, have one:
Image

Re: Use both hands! :)

PostPosted: Mon Sep 21, 2015 13:08
by benrob0329
I must say, that's the funniest thing I've seen today!
Lol, 4aiman.

Re: Use both hands! :)

PostPosted: Sun Oct 25, 2015 06:37
by wilkgr76
benrob0329 wrote:I must say, that's the funniest thing I've seen today!
Lol, 4aiman.

I can tell by your avatar!

Re: Use both hands! :)

PostPosted: Sat Nov 28, 2015 14:03
by Sylvertech
Does anyone know where I can continue working on the dual wielding?

I'd rather not start from scratch.

I found this repo from the same user but it doesn't seem to be relevant.
https://bitbucket.org/spongie/minetest- ... /wiki/Home

Re: Use both hands! :)

PostPosted: Wed Apr 13, 2016 14:50
by benrob0329
I know everyone hates bringing back old discussions, but viewtopic.php?p=213983#p213983

Re: Use both hands! :)

PostPosted: Wed Apr 13, 2016 18:47
by MineYoshi
benrob0329 wrote:I know everyone hates bringing back old discussions, but viewtopic.php?p=213983#p213983


I was thinking about that when i see this, the little fact is that BlockLife is based in the 0.4.7 version of Minetest, so is very outdated, but i will see what happen with that little project!