[Mod] Interchangeable Hands [hands]

User avatar
octacian
Member
 
Posts: 408
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian

[Mod] Interchangeable Hands [hands]

by octacian » Mon Jan 02, 2017 18:55

Image

Interchangeable Hands [hands]


This mod uses the function introduced in this pull request by TeTpaAka. Hands is mostly for demostration purposes for the reference of other modders or for players to mess around with. Keep in mind that the mod does not work on Minetest 0.4.14, as the feature was not introduced until Minetest 0.4.15.

The mod registers a single chatcommand (`/sethand`) and privilege (`sethand`), allowing the player to set their own hand to any node or item. Hands also has a simple API with which two example hands are registered as listed below.

Alternate Hands
  • hands:grey
  • hands:space

The textures aren't very good, but it allows you to get a basic and functional overview of the new feature.

Chatcommand

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
/sethand hands:grey
/sethand default:stick


The above example shows that the /sethand command works both with the hands introduced by the mod or with any other node or item already in the game. Remember to grant yourself the sethand privilege before attempting to use the chatcommand.

+ API
Last edited by octacian on Tue Jan 03, 2017 05:00, edited 2 times in total.
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 

User avatar
ExeterDad
Member
 
Posts: 1121
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad

Re: [Mod] Interchangeable Hands [hands]

by ExeterDad » Mon Jan 02, 2017 19:08

Ohhh!
So in theory... One can register a new node (meshnode or nodebox) and map the player skin texture to it so the player can see a hand that matches their skin?

OMG! OMG! *runs in circles
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

User avatar
octacian
Member
 
Posts: 408
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Interchangeable Hands [hands]

by octacian » Mon Jan 02, 2017 19:13

ExeterDad wrote:So in theory... One can register a new node (meshnode or nodebox) and map the player skin texture to it so the player can see a hand that matches their skin?


Simply, yes. In fact, I think you can, not just in theory.
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

Re: [Mod] Interchangeable Hands [hands]

by Fixerol » Mon Jan 02, 2017 19:37

Finally!
 

User avatar
whitephoenix
Member
 
Posts: 18
Joined: Sun Jun 26, 2016 22:43
GitHub: whitephoenix0
IRC: whitephoenix
In-game: whitephoenix

Re: [Mod] Interchangeable Hands [hands]

by whitephoenix » Mon Jan 02, 2017 23:00

Powersuits minetest port anyone?
 

User avatar
octacian
Member
 
Posts: 408
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Interchangeable Hands [hands]

by octacian » Tue Jan 03, 2017 00:58

whitephoenix wrote:Powersuits minetest port anyone?


Somebody requested this a while ago, once I finish MicroExpansion, I'll be on it if no one does before me :D
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Interchangeable Hands [hands]

by Wuzzy » Sat Jan 07, 2017 22:40

Nice demo!

Try this in Minetest Game:
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
/sethand default:pick_diamond


:D
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

ABJ
Member
 
Posts: 2344
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] Interchangeable Hands [hands]

by ABJ » Mon Mar 27, 2017 15:55

Cool-looking mod.
Why a priv, tho?
 

User avatar
octacian
Member
 
Posts: 408
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Interchangeable Hands [hands]

by octacian » Mon Mar 27, 2017 16:13

ABJ wrote:Why a priv, tho?


A player could do /sethand default:pick_diamond and their hand would immediately have the same power as a diamond pickaxe.
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 

ABJ
Member
 
Posts: 2344
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ

Re: [Mod] Interchangeable Hands [hands]

by ABJ » Mon Mar 27, 2017 16:36

Wait...really? I thought it just changed the mesh........
 

User avatar
octacian
Member
 
Posts: 408
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian

Re: [Mod] Interchangeable Hands [hands]

by octacian » Mon Mar 27, 2017 19:03

Nope. It does more than just change the mesh. If it were possible I'd make it so that it only changes the mesh without the privilege and the tool capabilities if the player had the privilege.
God isn't dead!

My Coolest Mods:
MicroExpansion, Working Computers, Interchangeable Hands

Check out my YouTube channel! (octacian)
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 27 guests

cron