Difference between revisions of "Sims 3:0xCF84EC98"

From SimsWiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{TS3AdvancedModdingHeader}}
 +
{{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 13: 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'
Line 94: Line 105:
 
===Type = 0x535970a===
 
===Type = 0x535970a===
 
  160 BYTES
 
  160 BYTES
 +
 +
{{TS3AdvancedModdingHeader}}

Latest revision as of 01:25, 5 May 2010

Modding Reference by Category

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

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



Contents

[edit] Overview

Researched by Tiger


[edit] Format

Contains three distinct sections

[edit] Header

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

[edit] 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]

[edit] 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]

[edit] 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

[edit] 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)

[edit] Type = 0x535970a

160 BYTES
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