Page 1 of 1

I can't resize the hand

PostPosted: Sun Jun 05, 2016 16:42
by azekill_DIABLO
Why i can't resize the hand??i can resize pickaxe but not the hand.......

Re: I can't resize the hand

PostPosted: Sun Jun 05, 2016 18:49
by TumeniNodes
azekill_DIABLO wrote:Why i can't resize the hand??i can resize pickaxe but not the hand.......


Did you try experimenting with...

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
-- mods/default/tools.lua

-- The hand
minetest.register_item(":", {
   type = "none",
   wield_image = "wieldhand.png",
   wield_scale = {x=1,y=1,z=2.5}  *<this setting here to change weild hand size
   tool_capabilities = {
      full_punch_interval = 0.9,
      max_drop_level = 0,
      groupcaps = {
         crumbly = {times={[2]=3.00, [3]=0.70}, uses=0, maxlevel=1},
         snappy = {times={[3]=0.40}, uses=0, maxlevel=1},
         oddly_breakable_by_hand = {times={[1]=3.50,[2]=2.00,[3]=0.70}, uses=0}
      },
      damage_groups = {fleshy=1},
   }
})

Re: I can't resize the hand

PostPosted: Mon Jun 06, 2016 11:27
by azekill_DIABLO
still doesn't work, try yourself....

Re: I can't resize the hand

PostPosted: Mon Jun 06, 2016 12:51
by TumeniNodes
azekill_DIABLO wrote:still doesn't work, try yourself....


no no..., I like my hands just as they are, thank you :P

Re: I can't resize the hand

PostPosted: Mon Jun 06, 2016 14:43
by azekill_DIABLO
talking of minetest hands!!really try it!i wanna know if this is reproducible

Re: I can't resize the hand

PostPosted: Mon Jun 06, 2016 18:53
by TumeniNodes
I'll mess around with it later tonight and let you know...

Re: I can't resize the hand

PostPosted: Mon Jun 06, 2016 21:24
by kaeza
azekill_DIABLO wrote:still doesn't work, try yourself....

Explain what "doesn't work". Does it crash? Not doing what's expected? ...something?

Other than a fairly obvious missing comma after the `wield_scale` line, it should work.

Re: I can't resize the hand

PostPosted: Mon Jun 06, 2016 22:45
by TumeniNodes
kaeza wrote:Other than a fairly obvious missing comma after the `wield_scale` line, it should work.


haha, woops... I must have deleted the comma by accident when typing on the line to point to where to try making adjustments... ma bad :P

Re: I can't resize the hand

PostPosted: Tue Jun 07, 2016 10:28
by azekill_DIABLO
i doesn't changes the hand.... the textures and the values can be changed but not the size.....

Re: I can't resize the hand

PostPosted: Tue Jun 07, 2016 15:04
by TumeniNodes
azekill_DIABLO wrote:i doesn't changes the hand.... the textures and the values can be changed but not the size.....

Correct, it did not work for me either. And I made alterations in usr/share/.minetest/minetest_game/default/tools.lua, as well as trying to make changes in the creative mod, etc..., (basically anywhere the weildhand properties are listed..., and no change, regardless of where changes were made, root folders, home folders, etc. puzzling.
I also tried by simply scaling the weildhand.png up to 32px, and no change.
I think you might try altering the weildhand.png, but creating a whole new weildhand image
Create the size you wish, and then set it onto a 16x16px tansparent image. Give that a try, and if it does not work..., well, we'll just go from there haha.
Unless the weildhand has parts which are hard-coded, I cannot figure out what it is hanging onto

Re: I can't resize the hand

PostPosted: Tue Jun 07, 2016 15:31
by azekill_DIABLO
it's strange because in 4.13 i done this many time... i will try the hud mod it's redifining the hand....

Re: I can't resize the hand

PostPosted: Tue Jun 07, 2016 15:43
by azekill_DIABLO
no hud_hunger does not tuch to this but changes the texture....
even if i can make the hand texture, i can't make it thinner or larger :(

HHHEEELLLPP!

Re: I can't resize the hand

PostPosted: Mon Jun 13, 2016 16:22
by amadin
I need change hand size too and tools.lua don't change this.

Re: I can't resize the hand

PostPosted: Mon Jun 13, 2016 17:19
by azekill_DIABLO
i should be corrected...maybe the hand this is hard-coded

Re: I can't resize the hand

PostPosted: Sun Jul 03, 2016 09:50
by azekill_DIABLO
Problem solved! in creative the hand is resized and redifined by the creative mode! easy to change!

Re: I can't resize the hand

PostPosted: Sun Jul 03, 2016 23:28
by TumeniNodes
azekill_DIABLO wrote:Problem solved! in creative the hand is resized and redifined by the creative mode! easy to change!

Nice, that has been bugging you for a while.
It would be nice if you shared the "how-to" and added "solved" to this, that way others in the future with the same desire might be able to find it? (just a suggestion)

Re: I can't resize the hand

PostPosted: Mon Jul 04, 2016 12:41
by azekill_DIABLO
i will share the how to :)