XTOL

From SimsWiki
Revision as of 19:32, 15 November 2012 by HugeLunatic (Talk | contribs)

Jump to: navigation, search
Sims 2 Logo transparent.png This article is written for The Sims 2. For the equivalent Sims 3 article, click here.


2C1FD8A1
Short name: XTOL
Long name: Texture Overlay XML

Contents

Introduction

This resource is formatted as either XML or CPF, but usually as a CPF. This resource is used in many types of CAS Items that can be added to a Sim without using a mesh, such as blush, lipstick, eye colors, face paint, eyeliner, etc.

Listed below are some of the different fields included in the XTOL resource, and their use.

Version

This seems to identify the version of Bodyshop that the content was made from. Does not appear until University, and, oddly enough, items created with the Nightlife version of Bodyshop also have version 2. It would seem, however, that these have no bearing on whether or not the item will show up in the game if the expansion is not installed, given the fact that things created with the Pets version of Bodyshop do show up when a person does not have Pets installed and, as a result of some of the missing elements, cause the strange thumbnails and other problems. This may be useful for tool makers, however, to quickly identify items based on what version of the game they were created with.

Version Game
0x00000002 University or Nightlife
0x00000003 Open for Business(One could infer that Family Fun Stuff and Glamour Life Stuff would also have a version number of 3.)
0x00000004 Pets
0x00000005 Seasons
0x00000006 Bon Voyage

product

  • 0x01 - Base Game
  • 0x02 - University
  • 0x03 - Nightlife
  • 0x04 - Open for Business
  • 0x05 - Family Fun Stuff
  • 0x06 - Glamour Life Stuff
  • 0x07 - Pets
  • 0x08 - Seasons
  • 0x09 - Celebration! Stuff
  • 0x0A - H&M Fashion Stuff
  • 0x0B - Bon Voyage
  • 0x0C - Teen Style Stuff
  • 0x0D - Store Edition
  • 0x0E - FreeTime
  • 0x0F - Kitchen & Bath Interior Design Stuff
  • 0x10 - IKEA Home Stuff
  • 0x11 - Apartment Life

category

This controls what categories the item will show up on. For example, you could have an item with a value of 0x0327 which would show up on a Sim while they are wearing Casual, Formal, Pregnant, and Activewear clothing.

  • Casual1 = 0x01,
  • Casual2 = 0x02,
  • Casual3 = 0x04,
  • Everyday = Casual1 | Casual2 | Casual3
  • Swimwear = 0x08,
  • PJ = 0x10,
  • Formal = 0x20,
  • Undies = 0x40,
  • Skintone = 0x80,
  • Pregnant = 0x100,
  • Activewear = 0x200,
  • TryOn = 0x400,
  • NakedOverlay = 0x800
  • Outerwear = 0x1000
  • All (except naked) = 0xFF7F

All others are unknown.

age

  • 0x01 - Toddler
  • 0x02 - Child
  • 0x04 - Teen
  • 0x08 - Adult
  • 0x10 - Elder
  • 0x20 - Baby
  • 0x40 - Young Adult

gender

  • 0x01 - Female
  • 0x02 - Male
  • 0x03 - Both

species

  • 0x01 - Human
  • 0x02 - Unknown
  • 0x03 - Unknown
  • 0x04 - Unknown
  • 0x05 - Unknown
  • 0x06 - Dog
  • 0x07 - Unknown
  • 0x08 - Cat

type

  • "textureoverlay" - Always set to this for the XTOL resource.

outfit

This field is critical for skins, and the Bodyshop of the Pets EP didn't include it.

  • Face = 0x0002 - Always set to this for the XTOL resource.

Subtype

Tells you what category this particular item falls into.

  • 0x00: Facial Hair (Stubble and mustaches/beards), Pets Body Parts
  • 0x01: Eyebrows
  • 0x02: Lipstick
  • 0x03: Eye Colors
  • 0x04: Face Paint
  • 0x05: Accessory (Pet collars, glasses, other custom accessories)
  • 0x06: Blush
  • 0x07: Eyeshadow, Eyeliner
  • 0x08: Accessory (All Maxis Jewelery added with Bon Voyage)
  • 0x09: Unknown
  • 0x0A: Tails, Faces - Found in cat related resources for the Pet's coat (known because of an entry about coats that subtype 0x0C does not have and the abbreviation c. Example resource name: fufacefl_cbeige)
  • 0x0B: Faces, Tails - Found in cat related resources that controls fur texture(?) (Example resource names: fufaceaccflowingfurcards_mflowing, dubodyaccfurcards_mflowing)
  • 0x0C: Tails, Faces - Found in cat and dog related resources for something abbreviated with the letter m. (Example resource name: fubodysm_munderbelly)

skintone

Can be used to limit which skin tones the item can be used with.

hairtone

Can be used to limit which hair colors the item can be used with.

layer

Likely controls what order the items are layered on, though what difference something with a higher layer versus a lower layer has is still unknown as of this writing.

bin

This entry is very important. This controls what the item is grouped with so that the game knows if you can have more than one of this particular item on the Sim at the same time or not. For example, you could have a sim wearing lipstick (0x0A) and eye shadow (0x07) simultaneously, but not two different shades of lipstick simultaneously. This can be beneficial in giving the ability to layer two different kinds of face paint, for example, but can be very easily abused, and has been recently by some creators. For example, with the XMOL resource, which is formatted similarly, creators have binned custom accessories differently so that a Sim can wear a pair of glasses and necklace at the same time. However, some have also been abusing it by randomly making up numbers or by not following Maxis standards when it would make sense to. For example, one creator had their pair of custom glasses binned differently than the normal Maxis bin of 0x0F for glasses, allowing a user to layer on two pairs of glasses at a time. This is clearly not the proper thing to do, and some convention with regards to the bin numbers of accessories needs to be made.

Standard Maxis Bins:

  • 0x00: Special Skintone Overlay - Used to add some (gross) details to the zombie skin from Uni.
  • 0x01: Stubble, Collars from Pets
  • 0x02: Beards/Mustaches
  • 0x03: Eyebrows
  • 0x04: Unknown
  • 0x05: Face Paint - Used for certain special kinds of face paint, like the burn marks.
  • 0x06: Eye Liner
  • 0x07: Eye Shadow
  • 0x08: Blush
  • 0x09: Unknown
  • 0x0A: Lipstick
  • 0x0B: Eye Colors
  • 0x0C: Pets Body Parts
  • 0x0D: Pets Body Parts
  • 0x0E: Unknown
  • 0x0F: Eye Glasses
  • 0x10: Accessory - Used only on a hidden nose ring accessory.
  • 0x11: Unknown
  • 0x12: Unknown
  • 0x13: Teeth - Used for the vampire teeth from NL as well as werewolf teeth from Pets.
  • 0x14: Face Paint - Used for the majority of Maxis face paints.
  • 0x15: Unknown
  • 0x16: Unknown
  • 0x17: Unknown
  • 0x18: Unknown
  • 0x19: Unknown
  • 0x1A: Unknown
  • 0x1B: Unknown
  • 0x1C: Unknown
  • 0x1D: Unknown
  • 0x1E: Zits - Used only for Maxis zits.
  • 0x1F: Unknown
  • 0x20: Unknown
  • 0x21: Unknown
  • 0x22: Unknown
  • 0x23: Special Skintone Overlay - Used for the pale vampire face from NL.
  • 0x24: Unknown
  • 0x25: Special Skintone Overlay - Used for the Big Foot from BV.
  • 0x26: Unknown
  • 0x27: Unknown
  • 0x28: Special Skintone Overlay - Used for the werewolf face from Pets.
  • 0x29: Unknown
  • 0x2A: Unknown
  • 0x2B: Unknown
  • 0x2C: Unknown
  • 0x2D: Unknown
  • 0x2E: Unknown
  • 0x2F: Unknown
  • 0x30: Unknown
  • 0x31: Unknown
  • 0x32: Left Earring
  • 0x33: Right Earring
  • 0x34: Necklace
  • 0x35: Left Bracelet
  • 0x36: Right Bracelet
  • 0x37: Nose Ring
  • 0x38: Lip Ring
  • 0x39: Eyebrow Ring
  • 0x3A: Left Index Finger Ring
  • 0x3B: Another Right Index Finger Ring of Some Type (Plumeria)
  • 0x3C: Right Index Finger Ring (Stone)
  • 0x3D: Left Pinky Ring
  • 0x3E: Right Pinky Ring
  • 0x3F: Left Thumb Ring
  • 0x40: Right Thumb Ring
  • 0x41: Unknown
  • 0x42: Unknown
  • 0x43: Unknown
  • 0x44: Unknown
  • 0x45: Unknown
  • 0x46: Special Skintone Overlay - Tans/Burns from BV/Seasons
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox