Skin

A skin is a graphic file in The Sims,The Sims 2, and The Sims 3 which are used to represent the head, body and clothing of a Sim, but how they work in the three games is somewhat different. The term "skin" arose because, in The Sims, they included the Sim's skin as well as clothing or a hairstyle. The wide availability of third-party skins has unquestionably contributed to the high visibility of the series.

The Sims
Skins in The Sims are comprised of two parts per Sim: a head and a body. Both are simple 256 color (8-bit) bitmap images, numbered to correspond with the mesh file which gives them the desired shape on the Sim. Each image file is that Sim's entire body or head, including skin (there are 3 skin tones - light, medium and dark - and it is common for the same outfit to be made in all 3 tones) and hair. However, a Sim's hands are separate, and hands are not part of a body skin, though it is possible for a skin to have custom hands. For example, a skin might have white hands so a Sim using it will appear to be wearing white gloves. Some skins have accessories such as hats and glasses, which have separate BMP and mesh files.

True custom skin tones aren't possible, but variations of the basic skin tones are, as long as they're named so that the game engine "sees" them as light, medium, or dark tones. Some creators made "pale" versions of the light skin tone and made them available for use by others.

Skins are available for different modes of dressing: Everyday, Pajamas, Swimwear and Formal. Some jobs also have "uniform" skins. There are also nude skins for when a Sim is using a toilet, using the Vibrate interaction on another Sim or is taking a bath or shower. (a censor blur appears on top of a naked Sim).

The basic body types are "fit", "fat", "skn" (skinny), and "chd" (child). Custom body types are possible, and they can have their own three-letter identifiers. However, if Hot Date or later is installed, clothing racks will see adult Sims with custom body types as "fit". Therefore, buyable pajamas, swimwear, etc., for adult Sims with custom body types must be labeled as being for the "fit" body type, or those Sims will not be able to access it. Likewise, buyable pajamas, swimwear, etc., for children with custom body types must be labeled as being for the "chd" body type.

In The Sims, all information about a skin file is carried in its filename. The first letter identifies the type of skin. Heads are identified with "C" (for Cranium). Everyday skins are identified with "B" (for Body). Pajamas are identified with "L" (for Lingerie). Formal, Swimwear, Winterwear and High Fashion skins are identified by their initial letters, though players should note that hand files also begin with "H". The next three characters are an identifier for the mesh. Maxis always used numbers, but creators could, and often did, use letters. The next two letters identify gender and age, respectively. Gender is identified with "f" (female) or "m" (male), while age is identified with "a" (adult) or "c" (child). Technically, child skins could be identified as "uc" (unisex child), but this was rarely done in practice. For body skins (but not heads), the next three letters identify the body type. Next, there are three letters which identify the skin tone as either light (lgt), medium (med), or dark (drk). This is followed by an underscore and the actual name of the skin. Mesh files do not have skin tone information, but otherwise follow this convention, though there are some naming conventions that only apply to mesh files.

Unlike The Sims 2, The Sims does not distinguish between custom skins and those included with the game. All head skins and Everyday skins are available when aging a baby to a child, aging a child to an adult with the Age of Instant charm, or generating a townie.

Once created, a Sim's appearance is not editable from within the game, except for their clothes, which can be changed by using a dresser. Some third-party utilities let players change a Sim's appearance.

In Unleashed, skins for cats and dogs use a single bitmap image, though there are still separate meshes for pets' heads and bodies. Pet skins use a somewhat different naming system. All pet skins and meshes start with "B" or "xskin-B", which is followed by the three-character identifier and either "cat" or "dog". Pet meshes are identified as body or head by a "tag" on the end of the "xskin-" file's name. For a dog, those are -PELVIS-DOGBODY for the body and -HEAD-DOGBODY-HEAD for the head. Cat meshes use CATBODY instead of DOGBODY.

Meshes
Meshes in The Sims are ASCII text files that can be edited with an ASCII text editor such as Notepad, though caution should be used when doing this. These files use the same naming conventions as the BMP files, but do not have skin tone information. They consist of two parts. One contains the information about the shape of the mesh. These files are identified by the prefix "xskin-" and the file ending ".skn"; and there are some naming conventions which only apply to them. The other part, identified by the file ending ".cmx", "points" BMP files to an "xskin-" file, and can be used to attach accessories. These ".cmx" files point to BMP files which have the same skin-type label and mesh identifier as they do. However, the "xskin-" file they point to is determined by a line in the file, so they can point to an "xskin-" with a different identifier, though they usually do not.

Crossmeshing
The way skins and meshes work in The Sims means that some skins will work correctly with more than one mesh; a feature known as "crossmeshing". Of course, each mesh needs to have an appropriately named copy of the BMP file, so crossmeshing involves manually copying and renaming BMP files.

Crossmeshing can be available for several different reasons. Some Maxis meshes were made so that two, or even all three, body types could use the same BMP files. Sometimes, two meshes are the same, but have different filenames. For example, the F100 and S100 meshes from Hot Date are the same as the B300 meshes that were included in a skin pack, and later in The Sims Deluxe Edition, and the B401 female adult mesh from Hot Date is the B004 female adult mesh from the base game. Also, each Maxis child mesh is the same for boys and girls. On occasion, meshes that have rather different styles can use the same BMP files, either coincidentally or by design. One well-known example was a C700 series of adult female heads that could not only be crossmeshed with one another, but with the Maxis C001 adult female head.

The Sims 2
With the advent of the full 3D environment in The Sims 2 (See Comparison between The Sims and The Sims 2), skins become more complex. Skins are still in BMP format but are now contained in a ".package" file, which can be extracted (and compiled) with the included Body Shop tool.

A Sim's body is now separate from their clothing, and there are now 4 basic skin tones (light, medium-light, medium-dark and dark) with each skin tone's graphic files being divided by age and gender. In addition, custom skin tones are now possible, and many are available as custom content. That Sims' bodies and clothing are separate makes all outfits available to all Sims of the appropriate age and gender, regardless of their skin tone or body shape. It also means it is now possible to create distinguishing marks such as tattoos that are unique to a Sim, although in practice this is not an economical use of drive space.

Hair is also separate, with different colours and styles, and eye colour can also be set. These traits are carried in a Sim's genetics, and passed on to their children. While The Sims 2 generally distinguishes between custom skins and those included with the game, hair is a partial exception. Some hair creators place their creations in their appropriate color bins. Hair that has been "binned" will still be marked as custom content, but it will not be treated as custom hair, and the game may use it when assigning hair to a newly generated Sim.

Sims can change their appearance through a mirror. Hair colour, hairstyle, facial hair (male teens and older only) make-up, glasses/head accessories, and face paint can be changed.

Clothing has also undergone changes. Not only is there far more detail, but when wearing their Everyday clothes the top half of a Sim's outfit can be made separate from the bottom half, or simply be one piece. The modes of dressing are Everyday, PJs, Underwear, Swimwear, Formal, and Gym Clothes/Workout Gear. Seasons added Outerwear, which will usually be worn in cold weather. Unlike The Sims, which used file-naming conventions to identify skins as Everyday, Formal, etc., The Sims 2 uses internal flags. While separate tops and bottoms can only be Everyday, whole outfits can placed in multiple categories. For example, an outfit can be flagged as both Everyday and Gym Clothes.

The Sims 2 also uses internal flags to show which life stages can wear an article of clothing, and which gender it is for. SimPE can be used to set these flags, but it is not recommended to have an article of clothing available to more than one life stage unless the stages are young adult and adult. Likewise, an article of clothing can be flagged as being for both genders. This can be, and sometimes is, done with clothing for toddlers and children, as their bodies do not have gender differences. However, it is not recommended to have clothing for older Sims flagged as being for both genders.

There is now an internal flag which controls which sounds are made when the Sim walks while wearing an outfit. This flag is often left unchanged when custom clothes use a mesh that has been changed from one type to another. For example, clothes that use swimsuit meshes that have been remeshed to have shoes will often be flagged as barefoot. The known values are:


 * 0x00: None - This is for Everyday tops, and should not be used for Everyday bottoms or whole-body outfits.
 * 0x01: Barefoot - This outfit has no shoes.
 * 0x02: Heavy Boot.
 * 0x03: Heeled - Heels, of whatever height. This produces the heel-click when walking.
 * 0x04: Normal shoe: Generic ordinary shoe that lacks noteworthy characteristics.
 * 0x05: Sandal: Some manner of floppy sandal. This is used on Maxis sandal skins.
 * 0x07: Armored: Found on the Open for Business knight armor.

Pregnant Sims will wear maternity clothes, although this can't be assigned by players. However, there is at least one mod which allows players to use custom outfits as maternity wear, provided that those outfits were created with that in mind.

The Sims 3
In The Sims 3, all clothing types can have separate tops and bottoms, or can be one-piece items. Shoes are now separate items, rather than being part of the overall body mesh.

There are now 6 basic skin colors, though three of them are orange, red, and blue. Players can use sliders to create to lighten or darken the skin. patch 38 or Supernatural add Orange, Purple, Turquoise, and Black, as well as Light and Dark Color spectra. Custom skins are also available. The base game does not include life stages such as aliens and vampires, but it is possible to create Sims which resemble them by using pale green tones and pale blue tones.