Difference between revisions of "Sims 3:0x0358B08A"

From SimsWiki
Jump to: navigation, search
(Format)
m (Link to Age/Gender Flags)
Line 37: Line 37:
 
  DWORD useGeom
 
  DWORD useGeom
 
  --if mayHaveBone is non-zero or useGeom is non-zero:
 
  --if mayHaveBone is non-zero or useGeom is non-zero:
  DWORD Geom [[#Age / Gender Flags|Age / Gender Flags]]
+
  DWORD Geom [[Sims 3:CAS Part Flags#Age/gender|Age / Gender Flags]]
 
  FLOAT Geom Amount
 
  FLOAT Geom Amount
 
  DWORD Geom Index // ?always zero
 
  DWORD Geom Index // ?always zero
Line 43: Line 43:
 
  DWORD useBone
 
  DWORD useBone
 
  --if useBone is non-zero:
 
  --if useBone is non-zero:
  DWORD Bone [[#Age / Gender Flags|Age / Gender Flags]]
+
  DWORD Bone [[Sims 3:CAS Part Flags#Age/gender|Age / Gender Flags]]
 
  FLOAT Bone Amount
 
  FLOAT Bone Amount
 
  DWORD Bone Index
 
  DWORD Bone Index
Line 77: Line 77:
 
| 11 || 0x800 || Eyelashes
 
| 11 || 0x800 || Eyelashes
 
|}
 
|}
===Age / Gender Flags===
 
TBC or someone update with a link to the page they're on, please.
 
 
{{TS3AdvancedModdingHeader}}
 
{{TS3AdvancedModdingHeader}}

Revision as of 12:17, 1 July 2010

Modding Reference by Category

Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference 

Face Part - FACE
TypeID:0x0358B08A
Game Version:The Sims 3



Overview

(Also applies to Clothing Parts (0x062C8204))

I've not worked out the entry format exactly, but it's more a matter of checking to make sure data style doesn't change across files. I need independent confirmation that this works please!

-Karybdis

Format

DWORD - Version

// Key table:
DWORD TGI_offset	// from after this DWORD
DWORD TGI_size		// (4 + tgiCount * 16) PLUS EIGHT (for no readily apparent reason)

7STRING Part name	// UnicodeBE

DWORD

// The Blend Geometry (0x067CAA11) file:
DWORD bgType
DWORD bgGroup
QWORD bgInstance

DWORD Entry count
--Repeat Entry count times:
	DWORD Facial Region Flags	// (For Clothing) (?)
	DWORD mayHaveBone
	--if mayHaveBone is zero:
		DWORD useGeom
	--if mayHaveBone is non-zero or useGeom is non-zero:
		DWORD Geom Age / Gender Flags
		FLOAT Geom Amount
		DWORD Geom Index		// ?always zero
	--if mayHaveBone is non-zero:
		DWORD useBone
		--if useBone is non-zero:
			DWORD Bone Age / Gender Flags
			FLOAT Bone Amount
			DWORD Bone Index

--Insert resource references here

Facial Region Flags

Bit Value Part
0 0x001 Eyes
1 0x002 Nose
2 0x004 Mouth
3 0x008 TranslateMouth
4 0x010 Ears
5 0x020 TranslateEyes
6 0x040 Face
7 0x080 Head
8 0x100 Brow
9 0x200 Jaw
10 0x400 Body
11 0x800 Eyelashes
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