[Mod] In-game skin switching [skins]

User avatar
WEEGEEMAN5678
New member
Posts: 7
Joined: Sun May 12, 2013 11:10

by WEEGEEMAN5678 » Post

Jordach wrote:
WEEGEEMAN5678 wrote:
Jordach wrote:If you wanted REAL skins, ask me next time!
Okay, then what is a REAL skin?
Do you think your skins should be mounted on a wall?
People want to join the Project too.
Skins are skins.
True, but I've seen better smooth skins...
true story, bro

User avatar
BrunoMine
Member
Posts: 1073
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

by BrunoMine » Post

how could I use a different skin of all players? An exclusive my skin
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com

User avatar
smckay8864
New member
Posts: 1
Joined: Wed Aug 07, 2013 00:49

by smckay8864 » Post

sweet

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

by jojoa1997 » Post

That would be cool cause I always have to manually add my skin.
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
Inocudom
Member
Posts: 3096
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

I hope that the feature discussed in the topic below will be added to Minetest one day:
viewtopic.php?id=5397
The feature could be tested in a mod first.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

Hybrid Dog wrote:What about adding an ability to load skins from the minetest skin database?
viewtopic.php?id=4497
Good idea; I wasn't aware of that website. Does it have an API yet?
Inocudom wrote:I hope that the feature discussed in the topic below will be added to Minetest one day:
viewtopic.php?id=5397
The feature could be tested in a mod first.
This can't really be tested in a mod... But I don't get why it wasn't merged yet.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
addi
Member
Posts: 665
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

since 5 minutes it have a api :)
the documentation to access it is here:
https://bitbucket.org/kingarthursteam/m ... ?at=master

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

Here's what I've done so far.
https://github.com/Zeg9/minetest-skins/tree/skindb
It seems that the "page" argument is ignored, so I can only get the first 10 skins.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

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

by jojoa1997 » Post

Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
addi
Member
Posts: 665
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

by addi » Post

Zeg9 wrote:Here's what I've done so far.
https://github.com/Zeg9/minetest-skins/tree/skindb
It seems that the "page" argument is ignored, so I can only get the first 10 skins.
sorry just forgott to change $_POST[page] to $_GET[page] :/ also you can get now up to 100 skins per page with the param per_page =100

User avatar
Zeg9
Member
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Post

addi wrote:
Zeg9 wrote:Here's what I've done so far.
https://github.com/Zeg9/minetest-skins/tree/skindb
It seems that the "page" argument is ignored, so I can only get the first 10 skins.
sorry just forgott to change $_POST[page] to $_GET[page] :/ also you can get now up to 100 skins per page with the param per_page =100
I'll stick to 10 per page, as the problem mentioned above is fixed.

I'll add a link to this branch in the first post.

@jojoa1997: done.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).

User avatar
ritchie
Member
Posts: 15
Joined: Sat Jul 13, 2013 11:57
IRC: Ritchie
In-game: Ritchie
Location: Czech Republic

by ritchie » Post

Hi, I had several problems with this mod, I solved them and I would like to share my solutions with you. Thanks VanessaE and Pitriss to help and advices.
  • Script install_skin.sh didn't work for me, i had an error on line 38:
    install_skin.sh: 38: install_skin.sh: Syntax error: "(" unexpected (expecting ")")
    https://github.com/Zeg9/minetest-skins/ ... kin.sh#L38
    This line should be changed to: nextid=$((nextid+1))
  • Why do you have different shebang in scripts?
    install_skin.sh has #!/bin/sh
    generate_previews.sh has #!/bin/sh
    set_meta.sh has #!/bin/bash
    I set install_skin.sh and generate_previews.sh to #!/bin/bash.
  • I had a problem with script generate_previews.sh - blender failed with Illegal instruction error. I have Debian Wheezy, architecture i386 and I installed blender, pngcrush and imagemagick from repository. I tried blender downloaded from their website also but this version failed too (SIGILL). It happened because I run it on old server with CPU Pentium 3. Blender from repository and from website is compiled with support of instruction set SSE2, Pentium 3 doesn't support it.
    So I had to compile Blender from sources. Newest version of Blender requies Python version 3.3 or newer, so I had to compile Python 3.3 too. I followed these instructions:
    http://wiki.blender.org/index.php/Dev:2 ... untu/CMake
    http://wiki.blender.org/index.php/Dev:2 ... leshooting
    Don't forget to set paths to compiled python into CMake. http://wiki.blender.org/index.php/Dev:2 ... s_in_CMake but they forgot to mention one variable. PYTHON_INCLUDE_CONFIG_DIR should be something like this: /opt/py33/lib/pkgconfig
    I successfully compiled blender, wrote right path to binary in generate_previews.sh and it works :).
  • Script set_meta.sh is unusable for me because I maintain my server over SSH console and yad can't be used in terminal. Editing metafiles can be done with curses forms in terminal or readline. There are many ways how to do but I don't have many skills in scripting and programming.
  • I tried set_meta.sh on my laptop, yad forms works well, including preview images of edited skin. But no metadata files were saved.
Thank you for this great mod :).
Last edited by ritchie on Wed Nov 06, 2013 23:34, edited 1 time in total.

User avatar
LuxAtheris
Member
Posts: 169
Joined: Fri Oct 25, 2013 00:54
Location: Aether

by LuxAtheris » Post

How to create your own skins?
Believe you can and you’re halfway there.

User avatar
Pitriss
Member
Posts: 254
Joined: Mon Aug 05, 2013 17:09
GitHub: Pitriss
IRC: pitriss
In-game: pitriss
Location: Czech republic, Bohumin

by Pitriss » Post

Use any MC skin creator.
I reject your reality and substitute my own. (A. Savage, Mythbusters)
I'm not modding and/or playing minetest anymore. All my mods were released under WTFPL. You can fix/modify them yourself. Don't ask me for support. Thanks.

User avatar
LuxAtheris
Member
Posts: 169
Joined: Fri Oct 25, 2013 00:54
Location: Aether

by LuxAtheris » Post

Pitriss wrote:Use any MC skin creator.
What I mean is changing the skins in this mod with mine
Believe you can and you’re halfway there.

Jordach
Member
Posts: 4526
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

LuxAtheris wrote:
Pitriss wrote:Use any MC skin creator.
What I mean is changing the skins in this mod with mine
You have to upload it here:
http://minetest.fensta.bplaced.net/

IF YOU ARE USING THE SKINDB branch!
viewtopic.php?f=10&t=19056 Solar Plains Dev Server

User avatar
Silent-Hunter
Member
Posts: 30
Joined: Wed Nov 06, 2013 20:06

by Silent-Hunter » Post

Is there a way to use a skin without anyone else being able to use it? I'm worried about impersonation, plus the skin I have I did not create, I bought it for $2.50, and I can use it anywhere, but I have no right to change the license, which basically says only I'm allowed to use it, and I can't give it away.

Jordach
Member
Posts: 4526
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

Silent-Hunter wrote:Is there a way to use a skin without anyone else being able to use it? I'm worried about impersonation, plus the skin I have I did not create, I bought it for $2.50, and I can use it anywhere, but I have no right to change the license, which basically says only I'm allowed to use it, and I can't give it away.
If you are using VanessaE's Survival or Creative, she can give you a skin just for your player (if you give it to her via PM)
viewtopic.php?f=10&t=19056 Solar Plains Dev Server

User avatar
Silent-Hunter
Member
Posts: 30
Joined: Wed Nov 06, 2013 20:06

by Silent-Hunter » Post

I'm not. I was wondering if this could have local skins, that aren't online anywhere? I'm thinking of hosting a private server for me and my boyfriend to play on, and would like us to be able to use our skins. I was hoping we'd be able to just stick them in the mod's folder.

Jordach
Member
Posts: 4526
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

Silent-Hunter wrote:I'm not. I was wondering if this could have local skins, that aren't online anywhere? I'm thinking of hosting a private server for me and my boyfriend to play on, and would like us to be able to use our skins. I was hoping we'd be able to just stick them in the mod's folder.
Silent Hunter: Player Textures might be for you:

https://github.com/sdzen/player_textures

Put two textures into that folder, eg, player_Silent-Hunter.png or player_Silent_Hunter.png

(Install it like every other mod.)
viewtopic.php?f=10&t=19056 Solar Plains Dev Server

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

by PilzAdam » Post

Jordach wrote:
Silent-Hunter wrote:I'm not. I was wondering if this could have local skins, that aren't online anywhere? I'm thinking of hosting a private server for me and my boyfriend to play on, and would like us to be able to use our skins. I was hoping we'd be able to just stick them in the mod's folder.
Silent Hunter: Player Textures might be for you:

https://github.com/sdzen/player_textures

Put two textures into that folder, eg, player_Silent-Hunter.png or player_Silent_Hunter.png

(Install it like every other mod.)
Note that for Minetest 0.4.8 (also current dev version) a new version for player_textures is recommended, see viewtopic.php?id=3587.

User avatar
Silent-Hunter
Member
Posts: 30
Joined: Wed Nov 06, 2013 20:06

by Silent-Hunter » Post

Ooh! Thank you very much!

Does it support 3D ones?
Last edited by Silent-Hunter on Sat Nov 09, 2013 20:23, edited 1 time in total.

Jordach
Member
Posts: 4526
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

Silent-Hunter wrote:Ooh! Thank you very much!

Does it support 3D ones?
The one I linked you is known to.

I'm currently not sure of PilzAdam's however.
viewtopic.php?f=10&t=19056 Solar Plains Dev Server

User avatar
Silent-Hunter
Member
Posts: 30
Joined: Wed Nov 06, 2013 20:06

by Silent-Hunter » Post

Thanks Jordach!

User avatar
tux_peng
Member
Posts: 99
Joined: Thu Dec 06, 2012 18:21

by tux_peng » Post

Code: Select all

[@linux mods]$ ./update_from_db.py
Traceback (most recent call last):
  File "./update_from_db.py", line 36, in <module>
    addpage(1)
  File "./update_from_db.py", line 33, in addpage
    f.write('comment = "'+s["license"]+'",\n')
TypeError: Can't convert 'int' object to str implicitly
[@linux mods]$ uname -a
Linux linux.lan 3.12.3-1-ARCH #1 SMP PREEMPT Wed Dec 4 21:45:42 CET 2013 x86_64 GNU/Linux
Servers now up (Economy, no PvP) Forum up already! http://tuxcraft.info

Post Reply

Who is online

Users browsing this forum: JavierCantu and 3 guests