[Mod] Different textures for players [player_textures]

User avatar
moli
New member
 
Posts: 2
Joined: Fri Dec 06, 2013 21:35

by moli » Fri Dec 06, 2013 22:24

Dear all. I can not fine any guide for the layout of the texture in the player_<name>.png bitmap. Please help me by pointing me to some guide or documentation. Thanks!
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Dec 06, 2013 22:28

moli wrote:Dear all. I can not fine any guide for the layout of the texture in the player_<name>.png bitmap. Please help me by pointing me to some guide or documentation. Thanks!

Its the same as Minecraft's format, Im sure youll find information about that.
 

User avatar
moli
New member
 
Posts: 2
Joined: Fri Dec 06, 2013 21:35

by moli » Sat Dec 07, 2013 15:39

PilzAdam wrote:
moli wrote:Dear all. I can not fine any guide for the layout of the texture in the player_<name>.png bitmap. Please help me by pointing me to some guide or documentation. Thanks!

Its the same as Minecraft's format, Im sure youll find information about that.


Thank you! Sorry that it did not occur to me to check that out. Thanks for the reply and for the mod.
 

User avatar
ZachyGames
Member
 
Posts: 144
Joined: Sat Mar 22, 2014 12:14
Location: Youtube

by ZachyGames » Thu Mar 27, 2014 01:50

I cant load the mod!!!!!!!!!!!
 

User avatar
CraigyDavi
Member
 
Posts: 582
Joined: Sat Aug 10, 2013 13:08
Location: Hampshire, UK
GitHub: davisonio
IRC: davisonio
In-game: CraigyDavi

by CraigyDavi » Thu Mar 27, 2014 07:53

ZachyGames wrote:I cant load the mod!!!!!!!!!!!

What is the error? In debug.txt.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Thu Mar 27, 2014 09:27

I suggest using skins mod instead of this one. That one is up-to-date for 0.4.8 -> now at least.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Mar 27, 2014 13:40

4aiman wrote:I suggest using skins mod instead of this one. That one is up-to-date for 0.4.8 -> now at least.

Eh, my mod is totally up to date.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Thu Mar 27, 2014 16:58

Eh.. your mod has no GUI ;p
Last edited by 4aiman on Thu Mar 27, 2014 18:13, edited 1 time in total.
 

xcrow
New member
 
Posts: 6
Joined: Sat Apr 12, 2014 14:43

by xcrow » Tue Apr 15, 2014 02:07

The mod works fine!
Is exactly what I want to show for playing with my kids, they will love it!

Only an observation: there are certain entities of "MobF" that don´t show a texture ("Unknown"), you know what I can do for solve this? ('LuaEntity name: "mob_archer:archer" not defined' says one of the messages)

But... obviusly, my kids will choose the skins over the entities!!
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Apr 15, 2014 12:10

xcrow wrote:Only an observation: there are certain entities of "MobF" that don´t show a texture ("Unknown"), you know what I can do for solve this? ('LuaEntity name: "mob_archer:archer" not defined' says one of the messages)

This is completly unrelated to this mod. Maybe ask in the mobf topic how to fix that.
 

rommiekerova
Member
 
Posts: 93
Joined: Thu Nov 21, 2013 10:59
Location: United Kingdom
In-game: Andromeda

by rommiekerova » Tue Apr 15, 2014 14:05

4aiman wrote:I suggest using skins mod instead of this one. That one is up-to-date for 0.4.8 -> now at least.


This mod works for 4.8 and should work for anything higher so long as the character model and mapping stays constant.

If either of those changes, I'm sure PilzAdam will create a new version which works for it.

4aiman wrote:Eh.. your mod has no GUI ;p

It doesn't need one. Its not the skins mod. This one adds custom textures for each player. Not a database of them.
Last edited by rommiekerova on Tue Apr 15, 2014 15:50, edited 1 time in total.
My Mods: Kerova - https://forum.minetest.net/viewtopic.php?id=8054
My Server: Kalisae - https://forum.minetest.net/viewtopic.php?id=9040 <--CLOSED UNTIL FURTHER NOTICE!
 

User avatar
ak399g
Member
 
Posts: 160
Joined: Tue Jul 30, 2013 02:36
In-game: SAFR

Re: [Mod] Different textures for players [player_textures]

by ak399g » Sat May 31, 2014 18:52

Could this be rewritten as a chat command (perhaps "/personal_texture") that applies the skin later?
I'm trying to allow specific skins for certain players while incorporating Zeg9's database.
 

gumangel
Member
 
Posts: 23
Joined: Thu Jan 01, 2015 21:44
In-game: LaA

Re: [Mod] Different textures for players [player_textures]

by gumangel » Sat Jan 03, 2015 21:15

23:02:09: ERROR[main]: ServerError: ...test\minetest-0.4.10-64bit\bin\..\mods\textures\init.lua:2: attempt to concatenate a nil value
23:02:09: ERROR[main]: stack traceback:
23:02:09: ERROR[main]: ...test\minetest-0.4.10-64bit\bin\..\mods\textures\init.lua:2: in function <...test\minetest-0.4.10-64bit\bin\..\mods\textures\init.lua:1>
23:02:09: ERROR[main]: ...t\minetest-0.4.10-64bit\bin\..\builtin\game\register.lua:348: in function <...t\minetest-0.4.10-64bit\bin\..\builtin\game\register.lua:336>
can anyone help me?
 

User avatar
Napiophelios
Member
 
Posts: 988
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi
 

gumangel
Member
 
Posts: 23
Joined: Thu Jan 01, 2015 21:44
In-game: LaA

Re: [Mod] Different textures for players [player_textures]

by gumangel » Sun Jan 04, 2015 10:40

Napiophelios wrote:rename the mod's folder to: player_textures

thank you really much!
 

User avatar
pinkysnow
Member
 
Posts: 91
Joined: Sat Sep 26, 2015 01:58
GitHub: pinkysnowman
 

User avatar
Samson1
Member
 
Posts: 94
Joined: Wed Apr 01, 2015 19:41
IRC: Samson1
In-game: Samson1

Re: [Mod] Different textures for players [player_textures]

by Samson1 » Thu Feb 18, 2016 13:57

This mod works a treat!


It's just a pity Minetest does not support MC version 1.8+ skins :\
 

rgh
Member
 
Posts: 46
Joined: Fri Oct 07, 2016 13:32

Re: [Mod] Different textures for players [player_textures]

by rgh » Tue Oct 11, 2016 18:23

Could anyone direct me to some image files I could try out for this mod? The example
player_PilzAdam.png
doesn't correctly display for me. I've also tried taking a copy of
minetest\games\minetest_game\mods\default\models\character.png
changing it slightly & suitably renaming. That doesn't work either.

I'm using minetest 0.4.14. Is the image file that version uses still compatible with this mod?

In fact, the server is giving an error:
ERROR[Main]: generateImage(): Could not load image "player_personX.png" while building texture.
 

rgh
Member
 
Posts: 46
Joined: Fri Oct 07, 2016 13:32
 

User avatar
Lone_Wolf
Member
 
Posts: 2274
Joined: Sun Apr 09, 2017 05:50
Location: Not there, THERE!
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
 

holli
Member
 
Posts: 15
Joined: Sat Mar 31, 2018 20:04
Location: Lower Saxony, Germany
In-game: holli

Re: [Mod] Different textures for players [player_textures]

by holli » Sat Mar 31, 2018 20:43

Hi there,

this is my first post in this forum, yay! \o/ ...and I'm starting with a boon question: >.>

I read that somewhere exists a database for custom user skins for minetest in the internet. Mentioned here:
https://forum.minetest.net/viewtopic.php?id=4497

The thread talks about this site: http://minetest.fensta.bplaced.net. I wonder that I cannot find any line in the "init.lua" script of this mod, that shows me that this mod search a player skin file on this site. It only search the local folder. Is it possible to provide all these player skins on a ftp site, maybe like "ftp://ftp.minetest.net/player_textures/player_<player name>.png" so the script can easily find them and cache this file in the local dir of this mod?
On the other hand, there are many minecraft skin/wallpaper editor websites witch are able to load all the player skins from the minecraft database. Could it be possible that this lua script also search the minecraft database, so someone, who usually plays minecraft (eg my son *hehe*) gets his skin in minetest. That would blow his mind! XD

It's easy for you to see that I'm a boon in lua programming, because I don't know if it's possible to access (and download) some internet content. But if it's possible, why do not use the database mentioned above to automatically search, download and store the custom skins?

Sorry for my poor english.

Greetz,

Holli
 

dawgdoc
Member
 
Posts: 247
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

Re: [Mod] Different textures for players [player_textures]

by dawgdoc » Mon Apr 02, 2018 23:16

holli wrote:...so someone, who usually plays minecraft (eg my son *hehe*) gets his skin in minetest. That would blow his mind! XD

You can use the converter tool at The Pixel Shadow to make a Minecraft skin usable in Minetest.

EDIT: You can use this in singleplayer worlds. Rename the skin to character.png and place it in
Code: Select all
/usr/share/minetest/games/minetest_game/mods/default/models
At least that is where you place the file in LinuxMint along with Ubuntu and other distros based on it.
To use it in servers you would need to contact the server admin.
Give a man a fish, feed him for a day. Give a kid a fish, it's going to die.
 

holli
Member
 
Posts: 15
Joined: Sat Mar 31, 2018 20:04
Location: Lower Saxony, Germany
In-game: holli

Re: [Mod] Different textures for players [player_textures]

by holli » Tue Apr 03, 2018 20:54

Hi dawgdoc,

thanks for your answer. I am using already a tool to convert MC skins to MT skins called "the gimp" and I am the admin of my own server. ;-) And yes, it runs on lubuntu 16.04.4 amdx64 LTS. :-D

But my question is, it is possible to extend the mod so that it automatically search the database on the site mentioned above (http://minetest.fensta.bplaced.net), download the skin file automatically and use it as custom player skin.
The thing with the ftp server was only an idea for easy file access...

Greetz,

Holli

EDIT: Using a MC2MT cmdline skin converter tool is a fine Idea to access and use MC skins in MT! ;-D
 

User avatar
Lone_Wolf
Member
 
Posts: 2274
Joined: Sun Apr 09, 2017 05:50
Location: Not there, THERE!
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
 

holli
Member
 
Posts: 15
Joined: Sat Mar 31, 2018 20:04
Location: Lower Saxony, Germany
In-game: holli

Re: [Mod] Different textures for players [player_textures]

by holli » Wed Apr 04, 2018 22:29

Hi Lone_Wolf,

the online skin converter works fine. Many thanks for that. Do you know any cmd line program or script ([ba]sh/python/whatever) to this job in a "mc2mt_convrt -i mc_player_xyz.png -o player_xyz.png" way?

Thanks,

Holli
 

PreviousNext

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 4 guests