Use both hands! :)

Post Reply
User avatar
spongie
Member
Posts: 19
Joined: Thu Jun 16, 2011 14:38

Use both hands! :)

by spongie » Post

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!

User avatar
Florby
New member
Posts: 3
Joined: Fri Jun 17, 2011 17:21

by Florby » Post

This is awesome!

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

User avatar
O'Hara
Member
Posts: 22
Joined: Wed Jun 15, 2011 02:51
Location: Boston MA
Contact:

by O'Hara » Post

Oh wow this could be great against enemies. Attack them while building a wall!
People can fly.

User avatar
Fishkilleur
Member
Posts: 29
Joined: Wed Apr 20, 2011 11:57
Location: France

by Fishkilleur » Post

I like it. :)

User avatar
mstoykov
Member
Posts: 22
Joined: Mon Jun 13, 2011 20:11

by mstoykov » Post

+1
change the interactive things to e - it will be more ... consistent

User avatar
spongie
Member
Posts: 19
Joined: Thu Jun 16, 2011 14:38

by spongie » Post

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.

User avatar
benajamin
Member
Posts: 48
Joined: Sat May 14, 2011 16:14

by benajamin » Post

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.

User avatar
spongie
Member
Posts: 19
Joined: Thu Jun 16, 2011 14:38

by spongie » Post

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.

wilkgr76
Member
Posts: 833
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: Use both hands! :)

by wilkgr76 » Post

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

User avatar
Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: Use both hands! :)

by Minetestforfun » Post

I like the idea :)
+1

User avatar
TenPlus1
Member
Posts: 2839
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Use both hands! :)

by TenPlus1 » Post

Yay! now I can mine for ores while picking my nose...

User avatar
Morn76
Member
Posts: 659
Joined: Sun Feb 16, 2014 19:45

Re: Use both hands! :)

by Morn76 » Post

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! :-)

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Use both hands! :)

by kaadmy » Post

Reviving an old thread here? It's 4 years old.
Never paint white stripes on roads near Zebra crossings.

Pixture

User avatar
Napiophelios
Member
Posts: 1018
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: Use both hands! :)

by Napiophelios » Post

kaadmy wrote:Reviving an old thread here? It's 4 years old.
The repo has a cool 404 message though :)

Image

atlassian404.png
(15.15 KiB) Not downloaded yet

4aiman
Member
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

Re: Use both hands! :)

by 4aiman » Post

Hey!..
That's not a dead Link!

Here, have one:
Image

User avatar
benrob0329
Member
Posts: 1321
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: Use both hands! :)

by benrob0329 » Post

I must say, that's the funniest thing I've seen today!
Lol, 4aiman.
Social: YouTube Peertube Matrix Room: #minetest:matrix.org | Games: The Infinite IKEA

wilkgr76
Member
Posts: 833
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76

Re: Use both hands! :)

by wilkgr76 » Post

benrob0329 wrote:I must say, that's the funniest thing I've seen today!
Lol, 4aiman.
I can tell by your avatar!
N/A

User avatar
Sylvertech
Member
Posts: 14
Joined: Sat Mar 02, 2013 20:09

Re: Use both hands! :)

by Sylvertech » Post

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

User avatar
benrob0329
Member
Posts: 1321
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: Use both hands! :)

by benrob0329 » Post

I know everyone hates bringing back old discussions, but viewtopic.php?p=213983#p213983
Social: YouTube Peertube Matrix Room: #minetest:matrix.org | Games: The Infinite IKEA

User avatar
MineYoshi
Member
Posts: 5373
Joined: Wed Jul 08, 2015 13:20
Contact:

Re: Use both hands! :)

by MineYoshi » Post

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!
Oi

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests