Page 1 of 8

[Mod] In-game skin switching [skins]

Posted: Thu Dec 20, 2012 08:04
by Zeg9
Image
This adds a menu in the inventory that allows to switch player textures in-game.
You can use 3D skins (from 0.4.4 and higher) or 2D skins (from earlier versions)

Comes with 30 3D skins and 12 2D skins, feel free to submit your own, providing the license.
Depends on default ! else 3d players won't work correctly.
Depends also on Inventory++ (recommended), inventory_plus or mod menu
If you choose inventory++ or inventory_plus, the craft guide will be inside the inventory, else it will be in the mod menu (/m)
License code is WTFPL
See the README from the mod for individual textures licenses.

Thanks to all who helped with this !
New textures are still welcome huh ;)

Download

Original branch
Latest as .zip
Github: https://github.com/Zeg9/minetest-skins/

SkinDB branch
This version gets the skins from addi's skindb.
See the README for instructions about setting it up.
Latest as .zip
Github: https://github.com/Zeg9/minetest-skins/tree/skindb

Screenshot
Image

Posted: Thu Dec 20, 2012 08:19
by Aqua
Nice!

Posted: Thu Dec 20, 2012 17:43
by rubenwardy
http://minetest.net/forum/viewtopic.php?id=3590 is a platform for sync-ing textures.

If you give me a http based API, i can do it for you

Posted: Thu Dec 20, 2012 17:47
by Zeg9
rubenwardy wrote:http://minetest.net/forum/viewtopic.php?id=3590 is a platform for sync-ing textures.

If you give me a http based API, i can do it for you
I'd love to use this but there is no license information :(

Posted: Thu Dec 20, 2012 18:12
by rubenwardy
Zeg9 wrote:
rubenwardy wrote:http://minetest.net/forum/viewtopic.php?id=3590 is a platform for sync-ing textures.

If you give me a http based API, i can do it for you
I'd love to use this but there is no license information :(
There is no need for license information.

Your mod would not contain the textures, it will download each player's individual texture and use that.

Posted: Thu Dec 20, 2012 18:33
by Zeg9
rubenwardy wrote:
Zeg9 wrote:
rubenwardy wrote:http://minetest.net/forum/viewtopic.php?id=3590 is a platform for sync-ing textures.

If you give me a http based API, i can do it for you
I'd love to use this but there is no license information :(
There is no need for license information.

Your mod would not contain the textures, it will download each player's individual texture and use that.
I may make a version for your repo, then... Can you give me the archive name to download all skins ?
Also, I'm not sure lua can make http requests...

Posted: Thu Dec 20, 2012 18:35
by rubenwardy
Zeg9 wrote:
rubenwardy wrote:
Zeg9 wrote:
I'd love to use this but there is no license information :(
There is no need for license information.

Your mod would not contain the textures, it will download each player's individual texture and use that.
I may make a version for your repo, then... Can you give me the archive name to download all skins ?
Also, I'm not sure lua can make http requests...
No, it can not in Minetest. I need to get someone to write a program to do so

Posted: Thu Dec 20, 2012 19:09
by 0gb.us
This is really nice! I have some users using old 2D skins, so I couldn't upgrade to the 3D version, and had to disable 3D players. This will let 2D people keep their skins while allowing others to use 3D skins. Thanks!

Posted: Thu Dec 20, 2012 20:36
by kaeza
Zeg9 wrote:I'm not sure lua can make http requests...
Not directly, but you can take a look at my IRC mod for some ideas. I may be able to help with this. It does not use a separate program per-se. Lua allows loading native libraries, and luasocket (an extension library for Lua) has modules to use HTTP and FTP protocols.

I'm on #minetest most of the time, so catch me.

Posted: Thu Dec 20, 2012 21:26
by Obiewan1111
It would be nice for this to become a solid feature, and for players to choose their skin in the client, which will be available on all servers.

+1

Posted: Thu Dec 20, 2012 21:50
by jmf
several textures done (6 atm), more will follow soon.

Posted: Thu Dec 20, 2012 21:53
by jojoa1997
can we set our own textures

Posted: Fri Dec 21, 2012 01:52
by cornellius
Nice Maybe U Should Make Mirror

,Thankyou

Posted: Fri Dec 21, 2012 02:07
by Josh
Nifty + Nice!
:):):)

Posted: Fri Dec 21, 2012 06:17
by Zeg9
jojoa1997 wrote:can we set our own textures
It needs the textures to be on the server, but you may ask the admin for that...
And if you have textures under WTFPL, please post them here so I can include them in the mod :D

Posted: Fri Dec 21, 2012 11:50
by Zeg9
Updated !
Fixed page scrolling and added 8 more skins by john (jmf)

Posted: Thu Dec 27, 2012 07:04
by Dopium
I really like the mod but i have noticed its dependent on the inventory_plus mod is it possible to change the dependency to unified_inventory? Am i able to do that in the lua?

Posted: Thu Dec 27, 2012 07:06
by Chinchow
You can use my player textures if you want

Posted: Thu Dec 27, 2012 07:07
by jojoa1997
mine too i have like 19

Posted: Thu Dec 27, 2012 10:39
by Zeg9
Dopium wrote:I really like the mod but i have noticed its dependent on the inventory_plus mod is it possible to change the dependency to unified_inventory? Am i able to do that in the lua?
I think unified inventory doesn't have an API to register more tabs yet...
But ask RealBadAngel about that.
Chinchow wrote:You can use my player textures if you want
Ok, I see it's WTFPL
Thanks ! They will be added to next update.
jojoa1997 wrote:mine too i have like 19
Please give a link, and license
I'd enjoy to add them too.

Now the mod has enough 3d skins, anyone has 2d skins to submit ? :D

Posted: Thu Dec 27, 2012 11:34
by Iqualfragile

Posted: Thu Dec 27, 2012 14:37
by Zeg9
This is a link to 3d mobs model...

Posted: Thu Dec 27, 2012 19:10
by Iqualfragile
jojoa1997 wrote:They are all WTFPL as long as they are not used to gain money. I got them from here http://www.minecraftskins.com/
you know, i dont think you have understood the concept of wtfpl, have you?

Posted: Thu Dec 27, 2012 19:17
by Chinchow
Jojoa1997 you can't give those a license if you didnt make them I hope that you made some of them

Posted: Thu Dec 27, 2012 19:35
by jojoa1997
you can use them but not for commercial puposes i changed my post also