[Mod] More Hands [Hands]

User avatar
Likwid H-Craft
Member
 
Posts: 1113
Joined: Sun Jan 06, 2013 14:20

[Mod] More Hands [Hands]

by Likwid H-Craft » Wed Jan 09, 2013 01:42

Well since It going be a long time, before I get mine two games working well, I will make this mod that will give you more hands like mesehand and minecraft like hand and, a hand with a, pickaxe.

If you have any request, to see a hand name it since I will make it so.
And note that you don't need go puting this in the mod area you can, just put it in the Game File.

Testers:jojoa1997
Last edited by Likwid H-Craft on Thu Jan 10, 2013 14:17, edited 1 time in total.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Jan 09, 2013 01:51

is this txtures or a mod with recipes
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Jan 09, 2013 01:52

wgat would be better is making the default hand be shown with the items bing held
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Wed Jan 09, 2013 03:13

jojoa1997 wrote:wgat would be better is making the default hand be shown with the items bing held


Wow. It just hit me. We can do that, would just need to change the wield image of each item to show the item in the hand.

For the record, I neither endorse nor oppose this idea. Just telling how to make it happen if you want it to.

Keep in mind that this doesn't allow you to see what is in OTHER people's hands, as some people want, it only shows you your own hand holding the item.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Jan 09, 2013 03:16

0gb.us wrote:
jojoa1997 wrote:wgat would be better is making the default hand be shown with the items bing held


Wow. It just hit me. We can do that, would just need to change the wield image of each item to show the item in the hand.

For the record, I neither endorse nor oppose this idea. Just telling how to make it happen if you want it to.

Keep in mind that this doesn't allow you to see what is in OTHER people's hands, as some people want, it only shows you your own hand holding the item.

how would i do that i dont know that level of lua. Is it a simple couple line edit or is it an entire mod?
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

ashenk69
Member
 
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Wed Jan 09, 2013 03:46

To make it easier to add a hand you can define two images to use and minetest will overlay them on top of each other. For example wield_image = "default_tool_steelaxe.png^hand.png".
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Wed Jan 09, 2013 03:49

jojoa1997 wrote:how would i do that i dont know that level of lua. Is it a simple couple line edit or is it an entire mod?


It's not really a plugin of it's own, it's more like redoing all the default plugins, and any others that you use. A big project, but only add (or changes) one line for EACH item definition.

The hard part though would be drawing all the new images.
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Jan 09, 2013 15:38

you can do it easier by making your mod depend on the mods it wants to support, and modify the item definition in-place:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
# depends.txt
default


Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
-- init.lua
minetest.registered_items["default:pick_wood"].wield_image = "default_tool_steelaxe.png^hand.png";


That way you avoid editing or redoing all the stuff.

inb4 you can't edit the nodes after they are registered:
The engine actually creates the nodes *after* it has loaded *all* the mods. The minetest.register_* functions just add the definitions to a list; they do not actually create the nodes/items/etc.
Last edited by kaeza on Wed Jan 09, 2013 15:43, edited 1 time in total.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
Likwid H-Craft
Member
 
Posts: 1113
Joined: Sun Jan 06, 2013 14:20

by Likwid H-Craft » Wed Jan 09, 2013 20:04

It will be, a mod that well be, needing loads of work here the mese hand need to redo the size.
Image
It breacks everything(But lava and, water) in one hit so I think this will be nice as a, creative hand.

No craft imgs yet since I am trying make a way you can craft it.
Maybe like this.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
mese mese mese
mese heart mese
mese heart mese
Last edited by Likwid H-Craft on Wed Jan 09, 2013 20:07, edited 1 time in total.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Jan 09, 2013 20:17

Likwid H-Craft wrote:It will be, a mod that well be, needing loads of work here the mese hand need to redo the size.
Image
It breacks everything(But lava and, water) in one hit so I think this will be nice as a, creative hand.

No craft imgs yet since I am trying make a way you can craft it.
Maybe like this.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
mese mese mese
mese heart mese
mese heart mese

What is heart? It is not in the default.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Likwid H-Craft
Member
 
Posts: 1113
Joined: Sun Jan 06, 2013 14:20

by Likwid H-Craft » Wed Jan 09, 2013 20:34

Well, I was thinking why not make a way, you craft a rat with, hmm. a sword and make a heart? unless you have any better ideas.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Jan 09, 2013 20:41

how about when you die you get one heart
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Jan 09, 2013 20:41

and the heart is like a super apple
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Likwid H-Craft
Member
 
Posts: 1113
Joined: Sun Jan 06, 2013 14:20

by Likwid H-Craft » Wed Jan 09, 2013 20:42

jojoa1997 wrote:how about when you die you get one heart

Well, how we do that?

and, do you think I should we skin the hand look like mese? or is a Golden Hand Fine.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Jan 09, 2013 21:15

add a M to it
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Likwid H-Craft
Member
 
Posts: 1113
Joined: Sun Jan 06, 2013 14:20

by Likwid H-Craft » Wed Jan 09, 2013 21:22

K.
Hmm. I thinking why not make maybe, you use 1 apple gives players a 2 hearts and, 8 mese and, 1 apple make a super heart how about that well, for beta though.

Edit so I don't be banned:So 8 mese make a Golden apple and 1 Golden Apple = Super Heart.
Last edited by Likwid H-Craft on Wed Jan 09, 2013 21:25, edited 1 time in total.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Jan 09, 2013 21:23

make the apple golden
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Likwid H-Craft
Member
 
Posts: 1113
Joined: Sun Jan 06, 2013 14:20

by Likwid H-Craft » Thu Jan 10, 2013 14:18

Made Apple Golden Check the file to see. yeah IDK what happen to that, little Blown spot on the Apple, but it maybe fine.
My Domain's/others:
http://likwidtest.hj.cx/ (Not Done)
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 13 guests