Use both hands! :)

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

Use both hands! :)

by spongie » Sat Jun 18, 2011 07:41

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!
 

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

by Florby » Sat Jun 18, 2011 07:45

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

by O'Hara » Sat Jun 18, 2011 08:19

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

by Fishkilleur » Sat Jun 18, 2011 19:16

I like it. :)
 

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

by mstoykov » Sat Jun 18, 2011 19:35

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

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

by spongie » Sun Jun 19, 2011 07:29

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 » Sun Jun 19, 2011 08:03

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.
 

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

by spongie » Sun Jun 19, 2011 09:52

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.
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

Re: Use both hands! :)

by wilkgr76 » Thu Sep 17, 2015 02:55


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

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: Use both hands! :)

by Minetestforfun » Thu Sep 17, 2015 07:32

I like the idea :)
+1
 

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

Re: Use both hands! :)

by TenPlus1 » Thu Sep 17, 2015 08:39

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

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: Use both hands! :)

by Morn76 » Thu Sep 17, 2015 11:01

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: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Use both hands! :)

by kaadmy » Thu Sep 17, 2015 22:06

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

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

Re: Use both hands! :)

by Napiophelios » Fri Sep 18, 2015 10:35

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 4571 times
 

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

Re: Use both hands! :)

by 4aiman » Mon Sep 21, 2015 06:40

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

Here, have one:
Image
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: Use both hands! :)

by benrob0329 » Mon Sep 21, 2015 13:08

I must say, that's the funniest thing I've seen today!
Lol, 4aiman.
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

Re: Use both hands! :)

by wilkgr76 » Sun Oct 25, 2015 06:37

benrob0329 wrote:I must say, that's the funniest thing I've seen today!
Lol, 4aiman.

I can tell by your avatar!
I do not care.
 

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

Re: Use both hands! :)

by Sylvertech » Sat Nov 28, 2015 14:03

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: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: Use both hands! :)

by benrob0329 » Wed Apr 13, 2016 14:50

I know everyone hates bringing back old discussions, but viewtopic.php?p=213983#p213983
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: Use both hands! :)

by MineYoshi » Wed Apr 13, 2016 18:47

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!
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 6 guests

cron