Difference between revisions of "Sims 3:CAS Part Flags"

From SimsWiki
Jump to: navigation, search
(Clothing Category)
m (Clothing Category)
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{TS3AdvancedModdingHeader}}
 +
 +
==Overview==
 
By Atavera (additions by Delphy & simsmx)
 
By Atavera (additions by Delphy & simsmx)
  
Flags for the CAS parts:
+
Flags for the CAS parts.  Used by:
 +
[[Sims 3:0x034AEECB]] - CAS Part Data - CASP
 +
[[Sims 3:0x0358B08A]] - Face Part - FACE
 +
[[Sims 3:0x062C8204]] - Clothing Part - BBLN
  
 
==Type==
 
==Type==
Line 12: Line 18:
 
</pre>
 
</pre>
  
==Age/gender==
+
==Age, Species, Gender and Handedness==
<pre>
+
===Age Flags===
//Age
+
One byte:
[0x00000000] = None
+
[0x01] = Baby
[0x00000001] = Baby
+
[0x02] = Toddler
[0x00000002] = Toddler
+
[0x04] = Child
[0x00000004] = Child
+
[0x08] = Teen
[0x00000008] = Teen
+
[0x10] = Young Adult
[0x00000010] = Young Adult
+
[0x20] = Adult
[0x00000020] = Adult
+
[0x40] = Elder
[0x00000040] = Elder
+
[0x80] = -
  
//Species
+
===Species / Gender===
[0x00000100] = Human
+
One byte, split into two.
[0x00000200] = Horse
+
====Species Value====
[0x00000300] = Cat
+
Low four bits:
[0x00000400] = Dog
+
[0x1] = Human
[0x00000500] = LittleDog
+
[0x2] = Horse
[0x00000600] = Deer
+
[0x3] = Cat
[0x00000700] = Raccoon
+
[0x4] = Dog
 
+
[0x5] = LittleDog
//Gender
+
[0x6] = Deer
[0x00001000] = Male
+
[0x7] = Raccoon
[0x00002000] = Female
+
====Gender Flags====
 
+
High four bits:
//Handedness
+
[0x1] = Male
[0x00100000] = LeftHanded
+
[0x2] = Female
[0x00200000] = RightHanded
+
[0x4] = -
</pre>
+
[0x8] = -
 +
===Handedness Flags===
 +
Not clear... currently deemed two bytes... also seems to be 0x0000 or 0x0001...
 +
[0x0010] = LeftHanded
 +
[0x0020] = RightHanded
 +
[0x0040] = -
 +
[0x0080] = -
  
 
==Clothing Category==
 
==Clothing Category==
<pre>
+
{| class="wikitable" border="1"
[0x00000000] = None
+
! Value !! Description
[0x00000001] = Naked
+
|-
[0x00000002] = Everyday
+
| 0x00000000 || None
[0x00000004] = Formalwear
+
|-
[0x00000008] = Sleepwear
+
| 0x00000001 || Naked
[0x00000010] = Swimwear
+
|-
[0x00000020] = Athletic
+
| 0x00000002 || Everyday
[0x00000040] = Singed
+
|-
[0x00000080] = MartialArts
+
| 0x00000004 || Formalwear
[0x00000100] = Career
+
|-
[0x00000200] = FireFighting
+
| 0x00000008 || Sleepwear
[0x00000400] = Makeover
+
|-
[0x00000800] = SkinnyDippingTowel
+
| 0x00000010 || Swimwear
[0x00001000] = Racing
+
|-
[0x00002000] = Jumping
+
| 0x00000020 || Athletic
[0x00004000] = Bridle
+
|-
[0x0007FFFF] = CategoryMask
+
| 0x00000040 || Singed
[0xFFFFFFFF] = All
+
|-
 
+
| 0x00000080 || MartialArts
//Extended flags
+
|-
[0x00100000] = ValidForMaternity
+
| 0x00000100 || Career
[0x00200000] = ValidForRandom
+
|-
[0x00400000] = IsHat
+
| 0x00000200 || FireFighting
[0x00800000] = IsRevealing
+
|-
[0x01000000] = IsHiddenInCAS
+
| 0x00000400 || Makeover
</pre>
+
|-
 +
| 0x00000800 || SkinnyDippingTowel
 +
|-
 +
| 0x00001000 || Racing
 +
|-
 +
| 0x00002000 || Jumping
 +
|-
 +
| 0x00004000 || Bridle
 +
|-
 +
| 0x00007000 || Markings (non-Horse)
 +
|-
 +
| 0x00010000 || Child Imagination
 +
|-
 +
| 0x00020000 || Special
 +
|-
 +
| 0x00040000 || Outerwear
 +
|-
 +
| 0x00080000 || Supernatural
 +
|-
 +
| 0x0007FFFF || CategoryMask
 +
|-
 +
| 0x00100000 || ValidForMaternity
 +
|-
 +
| 0x00200000 || ValidForRandom
 +
|-
 +
| 0x00400000 || IsHat
 +
|-
 +
| 0x00800000 || IsRevealing
 +
|-
 +
| 0x01000000 || IsHiddenInCAS
 +
|-
 +
| 0x02000000 || RegionHead       
 +
|-
 +
| 0x04000000 || RegionChest       
 +
|-
 +
| 0x06000000 || RegionBelly       
 +
|-
 +
| 0x08000000 || RegionBack       
 +
|-
 +
| 0x0A000000 || RegionTail       
 +
|-
 +
| 0x0C000000 || RegionFrontLeftLeg
 +
|-
 +
| 0x0E000000 || RegionFrontRightLeg
 +
|-
 +
| 0x10000000 || RegionRearLeftLeg 
 +
|-
 +
| 0x12000000 || RegionRearRightLeg
 +
|-
 +
| 0x14000000 || RegionAll         
 +
|-
 +
| 0x1E000000 || RegionMask
 +
|-
 +
| 0xFFFFFFFF || All
 +
|-
 +
|}

Latest revision as of 07:55, 3 February 2013

Modding Reference by Category

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

Contents

[edit] Overview

By Atavera (additions by Delphy & simsmx)

Flags for the CAS parts. Used by:

Sims 3:0x034AEECB - CAS Part Data - CASP
Sims 3:0x0358B08A - Face Part - FACE
Sims 3:0x062C8204 - Clothing Part - BBLN

[edit] Type

[0x00000001] = Hair
[0x00000002] = Scalp
[0x00000004] = Face Overlay
[0x00000008] = Body
[0x00000010] = Accessory

[edit] Age, Species, Gender and Handedness

[edit] Age Flags

One byte:

[0x01] = Baby
[0x02] = Toddler
[0x04] = Child
[0x08] = Teen
[0x10] = Young Adult
[0x20] = Adult
[0x40] = Elder
[0x80] = -

[edit] Species / Gender

One byte, split into two.

[edit] Species Value

Low four bits:

[0x1] = Human
[0x2] = Horse
[0x3] = Cat
[0x4] = Dog
[0x5] = LittleDog
[0x6] = Deer
[0x7] = Raccoon

[edit] Gender Flags

High four bits:

[0x1] = Male
[0x2] = Female
[0x4] = -
[0x8] = -

[edit] Handedness Flags

Not clear... currently deemed two bytes... also seems to be 0x0000 or 0x0001...

[0x0010] = LeftHanded
[0x0020] = RightHanded
[0x0040] = -
[0x0080] = -

[edit] Clothing Category

Value Description
0x00000000 None
0x00000001 Naked
0x00000002 Everyday
0x00000004 Formalwear
0x00000008 Sleepwear
0x00000010 Swimwear
0x00000020 Athletic
0x00000040 Singed
0x00000080 MartialArts
0x00000100 Career
0x00000200 FireFighting
0x00000400 Makeover
0x00000800 SkinnyDippingTowel
0x00001000 Racing
0x00002000 Jumping
0x00004000 Bridle
0x00007000 Markings (non-Horse)
0x00010000 Child Imagination
0x00020000 Special
0x00040000 Outerwear
0x00080000 Supernatural
0x0007FFFF CategoryMask
0x00100000 ValidForMaternity
0x00200000 ValidForRandom
0x00400000 IsHat
0x00800000 IsRevealing
0x01000000 IsHiddenInCAS
0x02000000 RegionHead
0x04000000 RegionChest
0x06000000 RegionBelly
0x08000000 RegionBack
0x0A000000 RegionTail
0x0C000000 RegionFrontLeftLeg
0x0E000000 RegionFrontRightLeg
0x10000000 RegionRearLeftLeg
0x12000000 RegionRearRightLeg
0x14000000 RegionAll
0x1E000000 RegionMask
0xFFFFFFFF All
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox