[Mod] Clothing [WIP] [clothing]

User avatar
stu
Member
 
Posts: 737
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11

[Mod] Clothing [WIP] [clothing]

by stu » Sun Mar 01, 2015 21:33

Adds coloured clothing to Minetest Game.

Image
Image

Depends: multiskin (available as part of the minetest-3d_armor 0.5.0-dev branch)

Recommends: inventory_plus or unified_inventory (use only one), the wool mod is required for craft registration.

Download: ZIP archive

Browse Code: GitHub

This is a work in progress and something of an experiment, you will need to install the development branch of the minetest-3d_armor modpack to satisfy the dependency, although you can now disable the 3d_armor and/or wieldview mods if don't wish to use those.

Other mods can register additional clothing by simply adding a clothing=1 group element, the craftitem definition should also include an invertory_image, and a uv_image. (see init.lua)

Updated: 10 May, 2015

Add loom machine by Don (Batman)

Simple clothing can be made from coloured wools using the loom.

TODO:

While I do like the simplicity of the current crafting system, I would eventually like to add a few more levels (and machines) to the process.

Spinning Machine

Produces white yarn from a number of possible substrates. (cotton, wool, etc.)

Loom

Produces white fabric from the white yarn.

Dye Machine (possibly)
Otherwise, white fabric can simply be mixed with dye to produce coloured fabric.

Sewing Machine

Produces clothing from the coloured fabric in much the same way as the loom does currently.

It would also be nice if the machines could be automated using mesecons, for example.

Opinions and models are welcomed ;-)
Last edited by stu on Wed May 11, 2016 20:14, edited 19 times in total.
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: Wool Clothing - Wool Clothing [WIP] [clothing]

by philipbenr » Sun Mar 01, 2015 22:20

Looks pretty good. If there were to be better textures, then it would be similar to others, but this so far looks like the best of all (doesn't switch skins)
 

User avatar
stu
Member
 
Posts: 737
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11

Re: Wool Clothing - Wool Clothing [WIP] [clothing]

by stu » Sun Mar 01, 2015 22:42

philipbenr wrote:Looks pretty good. If there were to be better textures, then it would be similar to others, but this so far looks like the best of all (doesn't switch skins)


As I hinted at in the top post, i am already thinking it might be better to just add a sh*t load of textures that would allow for a much greater level of detail.

The problem for me the is drawing them all, but then this is on github and pull requests are always welcomed :-)
 

User avatar
TG-MyinaWD
Member
 
Posts: 355
Joined: Thu May 08, 2014 21:22
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .

Re: Wool Clothing - Wool Clothing [WIP] [clothing]

by TG-MyinaWD » Mon Mar 02, 2015 04:44

Wow neat. I just got a idea for this be used as. Or remix to be used for long ok with you. Don't worry everyone mod I plan add into the whole thing is credit for. even if say didn't need credit but I do.

Anyway, so is it cool i use this mod and try turn it into a Robe kinda thing for The first ever maybe Team Made Subgame HarryPotterTest?

Just might need make the right colors etc. And if can make it so turn play invisible as if wearing the invisible cloak be cool to.

Anyway, I hope can somehow make an Witch/Wizard Hat.

But I Hope it work the robe idea.

Now I think maybe crafting can be maybe like so for the wool part. Idk change to for HPT.

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
>Crafting Blueprints<

Hat:
CCC
CDC
XXX

Shirt:
CCC
CDC
CXC

Pants:
XDX
CCC
CXC

C: Cotton
X: Nothing
D: Dye (Whatever color use will get you that color like red be red etc)
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Wool Clothing - Wool Clothing [WIP] [clothing]

by Don » Mon Mar 02, 2015 05:01

Awesome! +1
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: [Mod] Clothing [WIP] [clothing]

by Sokomine » Tue Mar 17, 2015 23:29

Very nice! Finally something to wear that's not armor! As for crafting: A loom would be nice. It could turn wool and dye into clothes.
A list of my mods can be found here.
 

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

Re: [Mod] Clothing [WIP] [clothing]

by ExeterDad » Wed Mar 18, 2015 03:09

Sokomine wrote:Very nice! Finally something to wear that's not armor! As for crafting: A loom would be nice. It could turn wool and dye into clothes.

Clever idea!
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] Clothing [WIP] [clothing]

by Minetestforfun » Wed Mar 18, 2015 11:12

Really great idea, it gives many more clothing possibilities !
 

User avatar
stu
Member
 
Posts: 737
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11

Re: [Mod] Clothing [WIP] [clothing]

by stu » Wed Mar 18, 2015 19:33

Alt. Tester wrote:Anyway, so is it cool i use this mod and try turn it into a Robe kinda thing for The first ever maybe Team Made Subgame HarryPotterTest?

Sorry for the late reply, you are welcome to use the mod under the terms of LGPL v2.1 (so yes)
Thank you for the crafting suggestions, I have now incorporated them in the mod (with a few minor changes)

Sokomine wrote:A loom would be nice. It could turn wool and dye into clothes.

Yes, that is the sort of thing I was thinking about, just not quite sure how it should work.

There has been some updates made to ths mod since I first posted and to 3d_armor multiskin.
If you are updating from an earlier version you will also need to use the updated multiskin mod.

Thank you to all for the kind and encouraging comments.
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] Clothing [WIP] [clothing]

by Don » Wed Mar 18, 2015 20:16

Did you need help making a loom?
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
stu
Member
 
Posts: 737
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11

Re: [Mod] Clothing [WIP] [clothing]

by stu » Wed Mar 18, 2015 20:21

Don wrote:Did you need help making a loom?

If you have some idea (better still some code) I would be very happy to include it ;-)
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] Clothing [WIP] [clothing]

by Don » Wed Mar 18, 2015 20:40

stu wrote:
Don wrote:Did you need help making a loom?

If you have some idea (better still some code) I would be very happy to include it ;-)

I will put something together for a loom.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
stu
Member
 
Posts: 737
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11

Re: [Mod] Clothing [WIP] [clothing]

by stu » Sun May 10, 2015 15:36

Don wrote:
stu wrote:
Don wrote:Did you need help making a loom?

If you have some idea (better still some code) I would be very happy to include it ;-)

I will put something together for a loom.

I finally got a chance to add this, awesome job with the loom model, btw.
See updated screenshot in the top post.

Note that the multiskin branch of 3d_armor has recently been re-based and updated, you will need to install the most recent version to avoid problems.
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: [Mod] Clothing [WIP] [clothing]

by Sokomine » Mon May 18, 2015 21:17

The loom looks very nice. Hopefully the mod will be available on servers soon.
A list of my mods can be found here.
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

Re: [Mod] Clothing [WIP] [clothing]

by tinoesroho » Wed May 20, 2015 15:47

This is what we've all been waiting for. You're awesome, stu! ;-)
 

User avatar
oleastre
Member
 
Posts: 81
Joined: Wed Aug 13, 2014 21:39
GitHub: oleastre
In-game: oleastre

Re: [Mod] Clothing [WIP] [clothing]

by oleastre » Wed May 20, 2015 16:15

First, I really like this mod... creating your clothes in game is a lot more fun than just changing a skin.

I just have a simple question about the current loom machine recipe: would you consider a pull request that replace the current default:pinewood with group:wood to simplify the use of your mod in old worlds ?
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: [Mod] Clothing [WIP] [clothing]

by Sokomine » Sat May 23, 2015 04:34

MirceaKitsune just showed in his Creatures mod that skins can now be composed of diffrent textures, with color just beeing a modifier string added to the texture name. That could be very helpful for this mod as well and allow for even more diverse clothing with a minimum of textures.

The clothing mod is now supported by my colormachine as well.
A list of my mods can be found here.
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

Re: [Mod] Clothing [WIP] [clothing]

by tinoesroho » Sat May 23, 2015 05:07

Sokomine wrote:MirceaKitsune just showed in his Creatures mod that skins can now be composed of diffrent textures, with color just beeing a modifier string added to the texture name.


That's awesome. No, seriously: that is awesome.
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod] Clothing [WIP] [clothing]

by Nathan.S » Wed Dec 02, 2015 16:29

Multiskin doesn't seem to be a part of the 3d_armor, even in the multiskin branch. Am I just missing something, I'd really like to give this mod a try, it looks pretty nice.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

User avatar
stu
Member
 
Posts: 737
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11

Re: [Mod] Clothing [WIP] [clothing]

by stu » Wed Dec 02, 2015 18:04

Nathan.S wrote:Multiskin doesn't seem to be a part of the 3d_armor, even in the multiskin branch. Am I just missing something, I'd really like to give this mod a try, it looks pretty nice.

Funny enough I just noticed this myself barely 30 mins ago, obviously a borked rebase :/
I have since force pushed a backup copy I made prior the rebase but thanks for reporting it all the same.
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod] Clothing [WIP] [clothing]

by Nathan.S » Wed Dec 02, 2015 21:12

Sweetsauce, I'll probably be doing a mod review video on this next week. Wanted to today but couldn't get it to work.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod] Clothing [WIP] [clothing]

by amadin » Thu Dec 24, 2015 13:36

Multiskin branch last edited on 8 August but 3d_armor mod which i use now updated 5 days ago. If i replace 3d_armor mod by multiskin branch I'm afraid the other mods which using 3d_armor will work incorrect (for example enchantment table from xdecor mod).
 

User avatar
stu
Member
 
Posts: 737
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11

Re: [Mod] Clothing [WIP] [clothing]

by stu » Thu Dec 24, 2015 13:52

amadin wrote:Multiskin branch last edited on 8 August but 3d_armor mod which i use now updated 5 days ago. If i replace 3d_armor mod by multiskin branch I'm afraid the other mods which using 3d_armor will work incorrect (for example enchantment table from xdecor mod).

You are right, the multiskin branch is a little bit out of date and needs to be rebased against current master. Unfortunately there are now a large number of merge conflicts so it is no longer a straightforward exercise. You could try to cherry-pick any specific features you require, for example the xdecor support is just a one liner after all ;-)
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod] Clothing [WIP] [clothing]

by amadin » Thu Dec 24, 2015 14:33

I don't know lua so i don't undestand how to do this for xdecor or other mod
 

User avatar
stu
Member
 
Posts: 737
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11

Re: [Mod] Clothing [WIP] [clothing]

by stu » Thu Dec 24, 2015 15:02

amadin wrote:I don't know lua so i don't undestand how to do this for xdecor or other mod

For xdecor simply find this line in armor.lua
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
local texture = item:gsub("%:", "_")

and replace it with
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
local texture = def.texture or item:gsub("%:", "_")

The rest of the changes should not cause any real problems for now. I will rebase the multiskin branch when I get time.
 

sofar
Member
 
Posts: 781
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [Mod] Clothing [WIP] [clothing]

by sofar » Wed May 11, 2016 00:18

The link to multiskin is broken, is it still needed?
 

User avatar
stu
Member
 
Posts: 737
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11

Re: [Mod] Clothing [WIP] [clothing]

by stu » Wed May 11, 2016 16:28

sofar wrote:The link to multiskin is broken, is it still needed?

Sorry about that, multiskin is now available as part of the 3d_armor 0.5.0-dev branch which will become master following the release of minetest 0.4.14. Thank you for pointing out the broken link, the first post has now been updated.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 12 guests

cron