[Mod] Characters Hand [1.0] [hand]

User avatar
BlockMen
Member
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen

[Mod] Characters Hand [1.0] [hand]

by BlockMen » Tue Sep 24, 2013 19:20

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: 850
Joined: Thu Oct 25, 2012 15:19

by Ragnar » Wed Sep 25, 2013 07:43

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

by jojoa1997 » Wed Sep 25, 2013 10:53

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

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Sep 25, 2013 11:41

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.
 

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

by TenPlus1 » Wed Sep 25, 2013 15:00

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

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

by jojoa1997 » Wed Sep 25, 2013 15:10

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: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Wed Sep 25, 2013 15:28

TenPlus1 wrote:the Better HUD mod does the same thing ?!?!
....
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

by Ragnar » Wed Sep 25, 2013 17:27

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
Member
 
Posts: 768
Joined: Fri Mar 01, 2013 17:24
GitHub: BlockMen

by BlockMen » Thu Sep 26, 2013 08:14

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 » Thu Sep 26, 2013 12:54

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: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

by philipbenr » Thu Sep 26, 2013 14:44

very very nice. :) I will use
"The Foot is down!"
 

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

by Ragnar » Thu Sep 26, 2013 17:08

[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

by Johnyknowhow » Sun Nov 17, 2013 07:13

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.
I lost interest in Minetest for a couple of years and... I am still not really paying much attention. I rarely browse these forums anymore but it's nice to see old faces.

obligatory fancy signature goes here
 

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

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

by mahmutelmas06 » Mon Mar 02, 2015 15:33

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
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

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

by Hybrid Dog » Fri Mar 06, 2015 20:40

Here's my version of your mod code:
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
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)
 


Return to WIP Mods

Who is online

Users browsing this forum: Majestic-12 [Bot] and 3 guests

cron