Sims 3:0x034AEECB

From SimsWiki
Jump to: navigation, search
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	// 0x12 is current?
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, Species, Gender and Handedness
DWORD Clothing category

BYTE index // of 0x034AEECB - CAS Part Data (naked) reference 
BYTE index // of 0x034AEECB - CAS Part Data (parent) 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 vpxyCount
--repeat vpxyCount
	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 diffuseCount
--repeat diffuseCount
	BYTE index // of 0x033A1435 - TXTC (diffuse) reference
BYTE specularCount
--repeat specularCount
	BYTE index // of 0x033A1435 - TXTC (specular) reference
BYTE diffuse2Count
--repeat(diffuse2Count)
	BYTE index // of 0x033A1435 - TXTC (diffuse) reference
BYTE specular2Count
--repeat(specular2Count)
	BYTE index // of 0x033A1435 - TXTC (specular) reference
BYTE boneDeltaCount
--repeat(boneDeltaCount)
	BYTE index // of 0x0355E0A6 - Bone Deltas reference

7STRING	// UnicodeBE shoe material

// 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 BodyHairChestUpper
0x00000028 BodyHairChestStomach
0x00000029 BodyHairBackLower
0x0000002A BodyHairBackUpper
0x0000002B BodyHairBackFull
0x0000002C BodyHairForearms
0x0000002D BodyHairLegsCalves
0x0000002E BodyHairLegsFeet
0x0000002F PetBody
0x00000030 PetTail
0x00000031 PetEars
0x00000032 PetMane
0x00000033 PetCollar/Bridle
0x00000034 PetSaddle
0x00000035 PeltLayer
0x00000036 BasePeltLayer
0x00000037 PetHooves
0x00000038 PetHorn
0x00000039 PetBlanket
0x0000003A PetBreastCollar
0x0000003B PetBeard
0x0000003C 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 

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox