November 14, 2024, 10:09:11 AM

Author Topic: How to make clothes for Sex Sim  (Read 84752 times)

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
How to make clothes for Sex Sim
« on: July 31, 2010, 01:47:41 AM »
This tutorial will show you how to make your own custom outfits from scratch for use in Sex Sim.

You will need:

  • GIMP (FREE image editing program from http://www.gimp.org/)
  • Photoshop (not required but VERY useful)
  • Notepad or a good text editor like TextPad.
Aside from being able to use graphic editing programs you will need to know how to open Windows Explorer and work with files and folders.

Ok, let's do it...

Clothing Shells:

Sex Sim uses what we call a "shell" for outfits.  Basically it's a 3D model with a texture applied to it.  That shell is what you see in the game as clothing, even though it doesn't look like it.

Below are two renders of Robyn.  In the first one, you can see what the shell looks like behind the scenes.  In the second, you can see what it looks like when the 3D wireframe is turned off.


Clothing shell wireframe (click for larger)

Clothing shell rendered (click for larger)

There are two types of shell we use in Sex Sim.  One is called "regular" and it's used for things like t-shirts, suspenders, and basically anything that hangs down loosely over the breasts.  The other is called "tight" and it's for things like bras, bikinis, and other types that cling and cup under the breasts.  The shell shown in the shots above is the "regular" one, and if you look closely under Robyn's right breast you can see that the shell doesn't cling too tightly.

Textures:

Every outfit in Sex Sim is made up of three textures.  A typical set of outfit textures would be set up like the following:


Metal-Maiden_r-t.png (click for larger)

Metal-Maiden_r-b.png (click for larger)

z_Metal-Maiden_r-b.png (click for larger)

The file names follow this convention:

1. Each outfit has a name, such as "Metal-Maiden".  Anywhere there would be a space in the name you should use a hyphen (-).

2. Directly after the name you should use an underscore followed by the type, which is either an "r" or a "t".  The "r" is if you are making a "regular" style outfit (see the notes on shells) and the "t" is for if you are making a "tight"style.

3. Following the type designation is a hyphen and a the letter "t" for "top" or "b" for "bottom".  I'm pretty sure you can figure out what those mean.

4. The third texture is a special one.  It's a "bottom" texture but it has a "z_" in front of the name.  This tells Sex Sim that this is the "pulled" texture for the bottom.  What's "pulled"?  It's for when you leave the bottom on the girl while she's in action, and it appears as if the cloth is pulled over to allow access.  In our example the cloth is pulled over but you can do anything with this texture like have it zippered all the way down, a hole cut out, whatever.  It's up to your imagination.

Wherever you see the checkerboard pattern in those images the texture is "transparent".  Sex Sim allows for a full range of transparency so you can do everything from barely see-through to fully transparent, with multiple types on each texture.

If you look closely on the images you'll also see a slight shadow around the clothes.  This is good to do as it can make things look even more real by appearing to cast a shadow on the body around where the edges of the outfit are.

I'll cover the textures in more detail a little further down, but the point is that pretty much anything you can think of to paint in Photoshop or Gimp can be used on an outfit.

Other Files:

There are two other files that every outfit needs.

1. A thumbnail image.  This is the picture that shows in the main menu for picking out the outfit, like this:


tn_o_Metal-Maiden.png (actual size)

2. An info file.  This is a text file with an XML extension.  Here's an example:

Code: [Select]
<?xml version="1.0" encoding="UTF-8" ?>
<Unit>
<Outfit>
<Name>Metal Maiden</Name>
<Description>NA</Description>
<Category>Misc</Category>
<Type>R</Type>
<Order>0</Order>
<Shader>0</Shader>
<Author>Jayme</Author>
</Outfit>
</Unit>

The info file has what are called "tags" and each tag has a purpose.  To use a tag you just put whatever info it needs in between the > and the <.  The breakdown of what each tag is for is:

  • <Name> : Be creative!
  • <Description> : Not currently used but might be at some point.  Feel free to fill it in if you want.
  • <Category> : This is the category the outfit appears in in the main menu.  Misc, Intimates, or Swimwear.
  • <Type> : This is the type we talked about above; R for "regular" and T for "tight".  Make sure to capitalize!
  • <Order> : Not currently used but may be in the future.
  • <Shader> : Not currently used but may be in the future.
  • <ExtraLimbs> : You can specify stockings (or anything else that's an extra layer) that will load when this outfit loads. Just use the filename of the stockings, minus the extension... for example: 000_Stripey-Socks
  • <Author> : This is you.

Painting the Textures:

You can paint your textures in any suitable graphics editing program like Photoshop, Painter, GIMP, whatever you like, as long as it can save out PNG files with transparency.

The wireframe shell models use what's called a UVW map in order to properly place the painted textures on them.  Here is what those look like:


Clothing shell UVW : REGULAR (click for larger)

Clothing shell UVW : TIGHT (click for larger)

Clothing shell UVW : REGULAR EXAMPLE (click for larger)

You probably want to download the larger versions of the first two images as they will make texture painting much easier.  You can load them into a layer in your paint program and use them as a template to work with.  The third image shows how the texture looks when overlayed with the shell UVW map.

In the images I showed in the "Textures" section, please note that anywhere you see the checkerboard pattern is transparent in the texture file.  When you save your textures as PNG you will need to save them with the background layer turned off so that only the outfit part is showing and everything that needs to be transparent isn't.

Where to put stuff:

Ok, so you've got your textures painted and you want to see them in the sim.

Here's where it all goes:

The info XML file: Runtime\user_created\clothes\info\
The top texture: Runtime\user_created\clothes\
The bottom texture: Runtime\user_created\clothes\
The "pulled over" bottom texture: Runtime\user_created\clothes\
The thumbnail image: Runtime\user_created\clothes\thumbs\

Make sure those files are in those folders and then start the sim.  Log in and go to the clothes tab.  You should be able to find your outfit in there.  Click it and check it out!

You most likely will have to keep checking your progress as you go, and there's no need to keep logging in and out of Sex Sim to do it.  Just hit Go to see the outfit on the girl, do some work in your graphics editing program, save the textures, then hit ESCAPE to go back to the main menu.  Your new textures will load up when you choose your outfit again (you might have to click on another outfit then yours to reset it).  Once we come out with the clothing tools it will be easier to check progress but that's how to do it for now.

Wrapping Up...

I'll cover how to make a good thumbnail image and other tips tomorrow.  Right now it's late and I'm tired so I'll call it a night.  Until then, have fun. :)
« Last Edit: January 12, 2014, 04:42:29 PM by Giselle »

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Re: How to make clothes for Sex Sim
« Reply #1 on: July 31, 2010, 01:48:18 AM »
Hints, Tips, etc.

I'll keep this section updated with various ways to make things easier or more fun.

Color Coded UVW Maps

First off is a set of UVW maps that are color coded for the sections each part represents.


Color-coded shell UVW : REGULAR (click for larger)

Color-coded shell UVW : TIGHT (click for larger)

Each color along a seam (with the exception of brown, green, and blue) matches up to the same color on the other part of the UVW map. 

  • The red outlined holes on the top section of the map match up to the red seems on the bottom sections.
  • The blue and green outlines show where the bottom of the legs section ends (blue) and where the sleeves end at the wrists (green).
  • Purple runs along the back side of the arms.
  • Orange runs up along the back seam.
  • Teal runs up the front center.
  • Brown marks the neckline.


more to come...



« Last Edit: August 01, 2010, 08:07:25 PM by Jak (ripened peach) »

baddy

  • Newbie
  • *
  • Posts: 4
  • 101001101
    • View Profile
Re: How to make clothes for Sex Sim
« Reply #2 on: July 31, 2010, 05:55:58 AM »
iam working on some textures but i have to redo them a lot of time 'cause UVW are very inaccurate it would be great if some one could provide UVW like where ends shoulders and starts hand (its kinda hard to determinate where is hand in uwv), neck line and etc.

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Re: How to make clothes for Sex Sim
« Reply #3 on: August 26, 2010, 05:28:01 PM »
Here is a link to a zip file which contains both clothing shells in OBJ format, for those of you who would like to work with them in 3D..  The colored UVW map images are included and mapped onto the shells already.

http://www.sexsim.com/files/tools/SexSim-Clothing-Shells.zip

yulgrinner

  • Newbie
  • *
  • Posts: 8
  • I love Sex Sim!
    • View Profile
Re: How to make clothes for Sex Sim
« Reply #4 on: September 09, 2010, 09:49:49 PM »
Hi There,

Great to see we have forum, pages.

To Jak :- excellent sim many thanks.

My question?

Looking at the wire-frame grid, will there be an opportunity at some stage to add stockings and shoes?

Yul

martin24

  • Newbie
  • *
  • Posts: 2
  • I love Sex Sim!
    • View Profile
Re: How to make clothes for Sex Sim
« Reply #5 on: October 03, 2010, 09:53:31 AM »
Hi iam new  sorry for my english

but is it possible to make stockings for this game or not

pleas help me

Isotemod

  • Jr. Member
  • **
  • Posts: 18
  • I love Sex Sim!
    • View Profile
Re: How to make clothes for Sex Sim
« Reply #6 on: October 03, 2010, 10:47:54 AM »
Hi iam new  sorry for my english

but is it possible to make stockings for this game or not

pleas help me

At the moment we can't make stockings.

Once were given the info on making body textures we can add permanent stockings to a texture untill real stockings are implemented.

So very soon you will be able to make your girls look like they have stockings.

mandolphin

  • Newbie
  • *
  • Posts: 5
  • I love Sex Sim!
    • View Profile
Re: How to make clothes for Sex Sim
« Reply #7 on: October 08, 2010, 01:52:08 PM »
Attached are the templates I use for creating clothing.  I overlaid guidelines on top of the shell, which is very helpful when trying to map the clothes onto the character.  The .xcf file is a GIMP file.

Color key:
light green - nipples, vagina, belly button
blue - breasts, pelvis, butt, elbow
purple - division between front and back of body
red - general guidelines for creating clothes, helpful around shoulders
dark green - guideline for creating "pulled" bottoms
indigo - top of wrist (ie. location of a watch face)

Hope you find these helpful.

mandolphin

  • Newbie
  • *
  • Posts: 5
  • I love Sex Sim!
    • View Profile
Re: How to make clothes for Sex Sim
« Reply #8 on: October 08, 2010, 01:53:06 PM »
And for the tight clothing...

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Re: How to make clothes for Sex Sim
« Reply #9 on: October 08, 2010, 02:51:42 PM »
Awesome, thanks mandolphin!

Mythandariel

  • Jr. Member
  • **
  • Posts: 10
  • I love Sex Sim!
    • View Profile
Re: How to make clothes for Sex Sim
« Reply #10 on: November 11, 2010, 09:11:15 PM »
Can I get the 'pulled' effect for tops as well? Like for the Workout and Slumberparty tops to be pushed up over the breasts while she is in action or does that only work for bottoms?

Nevermind. I figured it out. :)

smCCOY

  • Newbie
  • *
  • Posts: 3
  • I love Sex Sim!
    • View Profile
Re: How to make clothes for Sex Sim
« Reply #11 on: February 24, 2011, 12:50:33 AM »
Just put the opened top  on the base  upper body texture

Laurin

  • Newbie
  • *
  • Posts: 2
  • I love Sex Sim!
    • View Profile
Re: How to make clothes for Sex Sim
« Reply #12 on: March 19, 2012, 05:58:51 AM »
Hi Jack,

Why can not I make some clothes for the 'nude'.? For example, without slip or topless?
The preview is all right. The space is then 'missing texture' as body paint.

I found.... topless  if i need for example.  z_Marine3_r-b.png

Then this girl is topp less.  If i use z_Marine3_r-t.png Message in Room 'missing clothes texture'


Thank you for this simulation ... great work..

Jak (ripened peach)

  • Administrator
  • Hero Member
  • *****
  • Posts: 1236
  • I codes the codes
    • View Profile
    • Ripened Peach Entertainment
Re: How to make clothes for Sex Sim
« Reply #13 on: March 19, 2012, 10:26:29 AM »
Hi Jack,

Why can not I make some clothes for the 'nude'.? For example, without slip or topless?
The preview is all right. The space is then 'missing texture' as body paint.

I found.... topless  if i need for example.  z_Marine3_r-b.png

Then this girl is topp less.  If i use z_Marine3_r-t.png Message in Room 'missing clothes texture'


Thank you for this simulation ... great work..

Can you please send me the files that you're working with?  I'll need the textures and the xml file.

Laurin

  • Newbie
  • *
  • Posts: 2
  • I love Sex Sim!
    • View Profile
Re: How to make clothes for Sex Sim
« Reply #14 on: March 20, 2012, 01:36:18 PM »
How I can send you this texture and XML-Files??

excuse my bad english.

 

SMF spam blocked by CleanTalk