|
|
(20 intermediate revisions by 5 users not shown) |
Line 1: |
Line 1: |
− | {{Resource tgi
| + | #REDIRECT [[XTOL]] |
− | |short = XTOL
| + | |
− | |long = Texture Overlay XML
| + | |
− | }}
| + | |
− | | + | |
− | This resouce 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 pain, 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.
| + | |
− | *0x04 = Pets
| + | |
− | *0x03 = Open for Business (One could infer that Family Fun Stuff and Glamour Life Stuff would also have a version number of 3.)
| + | |
− | *0x02 = University or Nightlife
| + | |
− | | + | |
− | === 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
| + | |
− | *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
| + | |
− | | + | |
− | === 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)
| + | |
− | *0x01: Eyebrows
| + | |
− | *0x02: Lipstick
| + | |
− | *0x03: Eye Colors
| + | |
− | *0x04: Face Paint
| + | |
− | *0x05: Unknown as of this writing.
| + | |
− | *0x06: Blush
| + | |
− | *0x07: Eyeshadow, Eyeliner
| + | |
− | | + | |
− | === 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: Unknown
| + | |
− | *0x01: Stubble
| + | |
− | *0x02: Beards/Mustaches
| + | |
− | *0x03: Eyebrows
| + | |
− | *0x04: Unknown
| + | |
− | *0x05: Face Paint
| + | |
− | *0x06: Eye Liner
| + | |
− | *0x07: Eye Shadow
| + | |
− | *0x08: Blush
| + | |
− | *0x09: Unknown
| + | |
− | *0x0A: Lipstick
| + | |
− | *0x0B: Eye Colors
| + | |
− | *0x0C: Unknown
| + | |
− | *0x0D: Unknown
| + | |
− | *0x0E: Unknown
| + | |
− | *0x0F: Eye Glasses
| + | |
− | | + | |
− | | + | |
− | [[Category:Modding]]
| + | |
− | [[Category:InternalFormats]]
| + | |
− | [[Category:FormatsByTGI]]
| + | |