Difference between revisions of "Sims 3:0xCF84EC98"

From SimsWiki
Jump to: navigation, search
m
Line 1: Line 1:
[[Sims 3:Main Page]] -> [[Sims 3:PackedFileTypes]]
+
{{TS3ModdingHeader}}
 +
{{TS3Resource
 +
|name=State Machine
 +
|typeid= 0xCF84EC98
 +
|expansion=The Sims 3
 +
}}
 +
<br clear="all">
  
 +
==Overview==
 
Researched by Tiger
 
Researched by Tiger
  
 +
 +
==Format==
 
Contains three distinct sections
 
Contains three distinct sections
==Header==
+
===Header===
 
  DWORD version 1
 
  DWORD version 1
 
  DWORD offset to 'NOBJ' (Measured from after this dword)
 
  DWORD offset to 'NOBJ' (Measured from after this dword)
 
  DWORD
 
  DWORD
==Components==
+
===Components===
 
Components IDs are fnv32 hash of the compoentn name (See [[Sims_3:0x02DC343F#Components|OBJK components IDs]]).
 
Components IDs are fnv32 hash of the compoentn name (See [[Sims_3:0x02DC343F#Components|OBJK components IDs]]).
 
  DWORD component id
 
  DWORD component id
Line 15: Line 24:
 
     DWORD version?
 
     DWORD version?
 
     [component specific data]
 
     [component specific data]
==NOBJ==
+
===NOBJ===
 
All header offsets are from the start of the NOBJ section.  Even if the count is 0, the offset points to where the data would be.  Offset to entries are from the offset pointed to by dataoffset.
 
All header offsets are from the start of the NOBJ section.  Even if the count is 0, the offset points to where the data would be.  Offset to entries are from the offset pointed to by dataoffset.
 
  STRING 'NOBJ'
 
  STRING 'NOBJ'

Revision as of 22:01, 4 May 2010

Tutorials by Category

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

State Machine
TypeID:0xCF84EC98
Game Version:The Sims 3



Contents

Overview

Researched by Tiger


Format

Contains three distinct sections

Header

DWORD version 1
DWORD offset to 'NOBJ' (Measured from after this dword)
DWORD

Components

Components IDs are fnv32 hash of the compoentn name (See OBJK components IDs).

DWORD component id
DWORD length
[length bytes]
    DWORD version?
    [component specific data]

NOBJ

All header offsets are from the start of the NOBJ section. Even if the count is 0, the offset points to where the data would be. Offset to entries are from the offset pointed to by dataoffset.

STRING 'NOBJ'
DWORD
DWORD count1
DWORD offset1
DWORD count2
DWORD offset2
DWORD dataoffset
(offset1) REP count1
    DWORD type
    DWORD entryoffset
(offset2) REP count2
    [unknown data - never seen used]
(dataoffset)
    [type dependant entry data]

Type = 0x2860b6d5: SACS state save

Index in the NOBJ table corresponds with the state machine client handle wrapper in OBJS data

DWORD 0x2d5df13?
DWORD 0?
QWORD hash fnv64 state machine name
WORD 0?
BYTE 0?
BYTE count1
DWORD 0?
DWORD animation priority
REP count1
    DWORD hash fnv32 actor parameter name
    DWORD 0x10000?
    QWORD guid assigned actor
    DWORD
    DWORD hash fnv32 state name
    DWORD hash fnv32 state name
    DWORD hash fnv32 state name
    DWORD hash fnv32 state name
    DWORD hash fnv32 state name
    DWORD unk (0x40/0x45)
    DWORD hash fnv32 state name
    IF unk = 0x45
        DWORD 0?
        DWORD hash fnv32 state name
    DWORD
    WORD
    BYTE
    BYTE count2? (May just be a flag, seen 1 or 0)
    REP count2
        QWORD guid actor (Same as above?)
        DWORD
        WORD
        BYTE
        BYTE count3
        REP count3
            DWORD hash fnv32 s3clip actor name
            DWORD hash fnv32 jazz actor name
    DWORD
DWORD
WORD
BYTE count4
BYTE count5
REP count4
    DWORD hash fnv32 jazz parameter name
    DWORD hash fnv32 value
REP count5
    DWORD hash fnv32 jazz parameter name
    DWORD length
    BYTE[length*2] string value

Type = 0x53596fb

WORD 6
DWORD 2
DWORD count1
REP count1
    DWORD subtype
    [various amounts of floats/dwords by subtype]
DWORD count2 (Only seen 2)
REP count2
    QWORD guid
DWORD count3
REP count3
    DWORD (Only seen 0)

Type = 0x535970a

160 BYTES
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox