Difference between revisions of "Sims 3:0x034AEECB"
From SimsWiki
HugeLunatic (Talk | contribs) (→Clothing Types) |
|||
Line 18: | Line 18: | ||
DWORD offset // to resource reference table from end of header (ie offset + 8) | DWORD offset // to resource reference table from end of header (ie offset + 8) | ||
− | DWORD | + | //Presets |
− | --repeat( | + | DWORD presetCount |
+ | --repeat(presetCount) | ||
DWORD length | DWORD length | ||
− | char16[length] // Embedded XML Unicode (LE) | + | char16[length] // Embedded XML Preset (Unicode (LE)) |
DWORD | DWORD | ||
Line 46: | Line 47: | ||
BYTE index // of [[Sims 3:0x736884F1|0x736884F1 - VPXY]] reference | BYTE index // of [[Sims 3:0x736884F1|0x736884F1 - VPXY]] reference | ||
− | BYTE count2 | + | BYTE count2 //LOD Info count |
--repeat(count2) | --repeat(count2) | ||
− | + | //CAS LOD Info | |
− | DWORD | + | BYTE Level |
− | BYTE | + | DWORD [[Sims_3:CAS_Part_Flags#Type|DestTexture]] |
− | --repeat( | + | BYTE assetCount |
− | DWORD | + | --repeat(assetCount) |
− | DWORD | + | //CAS LOD Asset |
− | DWORD | + | DWORD [[#CAS_Geom_Flags|Sorting]] |
+ | DWORD [[#CAS_Geom_Flags|SpecLevel]] | ||
+ | DWORD [[#CAS_Geom_Flags|CastShadow]] | ||
BYTE hasDiffuse | BYTE hasDiffuse | ||
--if ''hasDiffuse'' not zero: | --if ''hasDiffuse'' not zero: | ||
− | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - | + | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - TXTC (diffuse)]] reference |
BYTE hasSpecular | BYTE hasSpecular | ||
--if ''hasSpecular'' not zero: | --if ''hasSpecular'' not zero: | ||
− | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - | + | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - TXTC (specular)]] reference |
BYTE count3 | BYTE count3 | ||
--repeat(count3) | --repeat(count3) | ||
− | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - | + | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - TXTC (diffuse)]] reference |
BYTE count4 | BYTE count4 | ||
--repeat(count4) | --repeat(count4) | ||
− | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - | + | BYTE index // of [[Sims 3:0x033A1435|0x033A1435 - TXTC (specular)]] reference |
BYTE count5 | BYTE count5 | ||
--repeat(count5) | --repeat(count5) | ||
Line 170: | Line 173: | ||
|} | |} | ||
+ | |||
+ | ===CAS Geom Flags=== | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Flag | ||
+ | ! Description | ||
+ | |- | ||
+ | |0x00000001|| Mergable | ||
+ | |- | ||
+ | |0x00000002|| IncludeMorphs | ||
+ | |- | ||
+ | |0x00000004|| IncludeTweaks | ||
+ | |- | ||
+ | |0x00000008|| IncludeTangents | ||
+ | |- | ||
+ | |0x00000010|| FourBoneSkinning | ||
+ | |- | ||
+ | |0x00000020|| TwoBoneSkinning | ||
+ | |- | ||
+ | |0x00000040|| TwoQuatSkinning | ||
+ | |- | ||
+ | |0x00000080|| OneQuatSkinning | ||
+ | |- | ||
+ | |0x00000100|| SpecLevel0 | ||
+ | |- | ||
+ | |0x00000200|| SpecLevel1 | ||
+ | |- | ||
+ | |0x00000400|| SpecLevel2 | ||
+ | |- | ||
+ | |0x00000800|| SpecLevel3 | ||
+ | |- | ||
+ | |0x00001000|| SpecLevel4 | ||
+ | |- | ||
+ | |0x00002000|| SpecLevel5 | ||
+ | |- | ||
+ | |0x00004000|| Sorted | ||
+ | |- | ||
+ | |0x00008000|| ShadowCaster | ||
+ | |} | ||
{{TS3AdvancedModdingHeader}} | {{TS3AdvancedModdingHeader}} |
Revision as of 01:24, 18 December 2010
Modding Reference by Category | |
---|---|
Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference |
CAS Part Data - CASP | ||
---|---|---|
TypeID: | 0x034AEECB | |
Game Version: | The Sims 3 |
Contents |
Overview
CAS Part Data: clothes, hair, accessories
(Original information by Karybdis, Additions and Clarifications by Delphy, Additions by LBeefus)
These use a similar format to 0x025ED6F4.
Format
DWORD version DWORD offset // to resource reference table from end of header (ie offset + 8) //Presets DWORD presetCount --repeat(presetCount) DWORD length char16[length] // Embedded XML Preset (Unicode (LE)) DWORD 7STRING // UnicodeBE FLOAT sortPriority // CAS sorts on this value, from largest to smallest BYTE DWORD clothingType (see below) DWORD Type flags DWORD Age/Gender flags DWORD Clothing category BYTE index // of 0x034AEECB - CAS Part Data reference BYTE index // of 0x034AEECB - CAS Part Data reference BYTE index // of 0x062C8204 - Blend Info (fat) reference BYTE index // of 0x062C8204 - Blend Info (fit) reference BYTE index // of 0x062C8204 - Blend Info (thin) reference BYTE index // of 0x062C8204 - Blend Info (special) reference DWORD BYTE hasVPXY --if hasVPXY not zero: BYTE index // of 0x736884F1 - VPXY reference BYTE count2 //LOD Info count --repeat(count2) //CAS LOD Info BYTE Level DWORD DestTexture BYTE assetCount --repeat(assetCount) //CAS LOD Asset DWORD Sorting DWORD SpecLevel DWORD CastShadow BYTE hasDiffuse --if hasDiffuse not zero: BYTE index // of 0x033A1435 - TXTC (diffuse) reference BYTE hasSpecular --if hasSpecular not zero: BYTE index // of 0x033A1435 - TXTC (specular) reference BYTE count3 --repeat(count3) BYTE index // of 0x033A1435 - TXTC (diffuse) reference BYTE count4 --repeat(count4) BYTE index // of 0x033A1435 - TXTC (specular) reference BYTE count5 --repeat(count5) BYTE index // of 0x0355E0A6 - Bone Deltas reference 7STRING // UnicodeBE // Resource reference table in I64GT format (not TGI64) BYTE count6 --repeat(count6) QWORD instance DWORD group DWORD type
Clothing Types
The Clothing Type is usually one of the following:
Clothing Type ID | Description |
---|---|
0x00000000 | None |
0x00000001 | Hair |
0x00000002 | Scalp |
0x00000003 | Face |
0x00000004 | Body |
0x00000005 | Top |
0x00000006 | Bottom |
0x00000007 | Shoes |
0x00000008 | FirstAccessory |
0x00000009 | Necklace |
0x0000000A | NoseRing |
0x0000000B | Earrings |
0x0000000C | Glasses (F) |
0x0000000D | Bracelets |
0x0000000E | Ring (Lt) |
0x0000000F | Ring (Rt) |
0x00000010 | Beard |
0x00000011 | Lipstick |
0x00000012 | Eyeshadow |
0x00000013 | Eyeliner |
0x00000014 | Blush |
0x00000015 | Makeup |
0x00000016 | Eyebrow |
0x00000017 | EyeColor |
0x00000018 | Glove |
0x00000019 | Socks |
0x0000001A | Mascara |
0x0000001B | Moles |
0x0000001C | Freckles |
0x0000001D | Weathering |
0x0000001E | EarringL |
0x0000001F | EarringR |
0x00000020 | ArmBand |
0x00000021 | Tattoo |
0x00000022 | TattooTemplate |
0x00000023 | Dental |
0x00000024 | LeftGarter |
0x00000025 | RightGarter |
0x00000026 | BirthMark |
0x00000027 | Last |
CAS Geom Flags
Flag | Description |
---|---|
0x00000001 | Mergable |
0x00000002 | IncludeMorphs |
0x00000004 | IncludeTweaks |
0x00000008 | IncludeTangents |
0x00000010 | FourBoneSkinning |
0x00000020 | TwoBoneSkinning |
0x00000040 | TwoQuatSkinning |
0x00000080 | OneQuatSkinning |
0x00000100 | SpecLevel0 |
0x00000200 | SpecLevel1 |
0x00000400 | SpecLevel2 |
0x00000800 | SpecLevel3 |
0x00001000 | SpecLevel4 |
0x00002000 | SpecLevel5 |
0x00004000 | Sorted |
0x00008000 | ShadowCaster |
Modding Reference by Category | |
---|---|
Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference |