[Mod] Characters Hand [1.0] [hand]

Post Reply
User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

[Mod] Characters Hand [1.0] [hand]

by BlockMen » Post

Hello everyone,

this small mod is more prove of concept than something else. It actually grabs the hand part of the player texture and uses it for the hand.

Image

Notice: This only works for singleplayer, because you cant change the hand for each player...

Download Version 1.0

Works with Minetest 0.4.7 and newer

License: WTFPL

Ragnar
Member
Posts: 849
Joined: Thu Oct 25, 2012 15:19
Location: Estonia
Contact:

by Ragnar » Post

nice :D
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?

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

by jojoa1997 » Post

If only this would work with the player textures mod.
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

Nice!

Have you tried seeing if it does not?
Last edited by rubenwardy on Wed Sep 25, 2013 11:43, edited 1 time in total.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
TenPlus1
Member
Posts: 3722
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

by TenPlus1 » Post

the Better HUD mod does the same thing ?!?!

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

by jojoa1997 » Post

rubenwardy wrote:Nice!

Have you tried seeing if it does not?
Can't because i am too busy.
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

TenPlus1 wrote:the Better HUD mod does the same thing ?!?!
....
Back from the dead!

Ragnar
Member
Posts: 849
Joined: Thu Oct 25, 2012 15:19
Location: Estonia
Contact:

by Ragnar » Post

btw, good rendering :D
i lag when:
the textures are dummies
the render distance is 10 blocks
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?

User avatar
BlockMen
Developer
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen
Location: Germany

by BlockMen » Post

TenPlus1 wrote:the Better HUD mod does the same thing ?!?!
No, the Better Hud mod uses an static image that wouldnt change if the players texture is changed.

ElectricSolstice
Member
Posts: 90
Joined: Tue Aug 20, 2013 02:00

by ElectricSolstice » Post

What keeps you from doing it for each player? Isn't there a function that is called when a player joins a game?

EDIT: oh, you register it as an item. I see why now.
Last edited by ElectricSolstice on Thu Sep 26, 2013 13:07, edited 1 time in total.

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

very very nice. :) I will use

Ragnar
Member
Posts: 849
Joined: Thu Oct 25, 2012 15:19
Location: Estonia
Contact:

by Ragnar » Post

[idea]
1. Mod is installed
2. player_*.png textures are processed
3. Creating new player_hand_UserName.png for each one
how about that?
EDIT: Doesnt work.... i thought it would work like the multi-skins, but no... :/
Last edited by Ragnar on Thu Sep 26, 2013 17:32, edited 1 time in total.
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?

User avatar
Johnyknowhow
Member
Posts: 358
Joined: Fri Sep 21, 2012 15:17
In-game: Minetestian
Location: Washington, USA

by Johnyknowhow » Post

how do i get latest builds?
I WANT MINETEST+ NEWEST VERSION!!!!!!!!!!!!


great, it doesn't do ANYTHING.
It just shows my regular hand,
RRRRAAAAAAGGGGGEEEEE!!!!



EDIT: it works now for 0.4.8!
Wooooo!

but can you make it support PilzAdam's Different textures for Players mod?
Last edited by Johnyknowhow on Thu Dec 05, 2013 23:31, edited 1 time in total.
It's weird looking back on my old posts as an adult. Miss some of the old times though. Johnyknowhow#5272

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Characters Hand [1.0] [hand]

by mahmutelmas06 » Post

Somehow we could use it with Visible wielded items and uskinsdb ?

viewtopic.php?f=9&t=6407
viewtopic.php?p=162689#p162689
My Mods:

Beverage

User avatar
Hybrid Dog
Member
Posts: 2835
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] Characters Hand [1.0] [hand]

by Hybrid Dog » Post

Here's my version of your mod code:

Code: Select all

minetest.after(0, function()
	minetest.override_item("", {
		wield_image = "wield_dummy.png^[combine:16x16:2,2=wield_dummy.png:-52,-23=character.png^[transformfy",
		wield_scale = {x=1.8,y=1,z=2.8},
	})
end)

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests