Sims 3:0x034AEECB

From SimsWiki
Revision as of 16:10, 4 May 2010 by HugeLunatic (Talk | contribs)

Jump to: navigation, search
Tutorials by Category

CAS | Patterns | Objects | Building | Worlds | Modding | Modding Reference 

CAS Part Data
TypeID:0x034AEECB
Game Version:The Sims 3



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

DWORD version
DWORD offset // to resource reference table from end of header (ie offset + 8)

DWORD count1
--repeat(count1)
	DWORD length
	char16[length] // Embedded XML
	DWORD

BYTE len
char16[len] // Little endian

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
--repeat(count2)
	BYTE repeatNum // One based (NOT zero!)
	DWORD
	BYTE repeatInnerCount
	--repeat(repeatInnerCount) 
		DWORD
		DWORD
		DWORD

BYTE hasDiffuse
--if hasDiffuse not zero:
	BYTE index // of 0x033A1435 - PROP (diffuse) reference
BYTE hasSpecular
--if hasSpecular not zero:
	BYTE index // of 0x033A1435 - PROP (specular) reference

BYTE count3
--repeat(count3)
	BYTE index // of 0x033A1435 - PROP (diffuse) reference
BYTE count4
--repeat(count4)
	BYTE index // of 0x033A1435 - PROP (specular) reference
BYTE count5
--repeat(count5)
	BYTE index // of 0x0355E0A6 - Bone Deltas reference

BYTE len
string[len]

// 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
1 Hair
2 Scalp
3 Face
4 Body
5 Top
6 Bottom
7 Shoes
11 Earrings
12 Glasses (F)
13 Bracelets
14 Ring (Lt)
15 Ring (Rt)
16 Beard
17 Lipstick
18 Eyeshadow
19 Eyeliner
20 Blush
21 Makeup
22 Eyebrow
24 Glove
25 Socks
26 Mascara
29 Weathering
30 Earring (Lt)
31 Earring (Rt)
Tutorials by Category

CAS | Patterns | Objects | Building | Worlds | Modding | Modding Reference 

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox