Difference between revisions of "Sims 3:0x0563919E"

From SimsWiki
Jump to: navigation, search
m (Fixed link)
 
Line 56: Line 56:
 
         DWORD property ID (See [[Sims_3:0x033A1435#Properties]])
 
         DWORD property ID (See [[Sims_3:0x033A1435#Properties]])
 
         BYTE 0
 
         BYTE 0
         BYTE Data type (See [[Sims_3:0x033A1435#Data_types]])
+
         BYTE Data type (See [[Sims_3:0x033A1435#Data_Types]])
 
         [Type dependent data]
 
         [Type dependent data]
While the data types are identical to [[Sims_3:0x033A1435#Data_types]], there is a slight difference with type 12 (Resource index).  Rather than one byte, it is a word and refers to the external resource index rather than resources indexed in this resource data.
+
While the data types are identical to [[Sims_3:0x033A1435#Data_Types]], there is a slight difference with type 12 (Resource index).  Rather than one byte, it is a word and refers to the external resource index rather than resources indexed in this resource data.
  
 
{{TS3AdvancedModdingHeader}}
 
{{TS3AdvancedModdingHeader}}

Latest revision as of 16:59, 15 December 2012

Modding Reference by Category

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

Wall/Floor Compositor
TypeID:0x0563919E
Game Version:The Sims 3



[edit] Overview

This resource provides the compositor rules for all the walls and floors on a lot. The format shares parts in common with texture compositors and catalog resources.

[edit] Overall Structure

DWORD version 5
DWORD compositor entry offset (From start of the resource - points to dword 2 below)
-- section 1 data
-- section 2 data
DWORD 2
-- section 3 data

[edit] Section 1

DWORD s1count
REP s1count
    WORD compositor resource index
    DWORD 8
    DWORD entry size (From after this DWORD to before final 0 byte)
    DWORD 0
    6 BYTES (Second sometimes 4)
    DWORD subentrycount
    BYTE 1
    REP subentrycount
        DWORD compositor rule (Refers to section 3)
    BYTE 0

[edit] Section 2

DWORD s2count
REP s2count
    WORD complate preset resource index
    DWORD 2
    DWORD 2
    DWORD entry size (Size of following block of data)
    IF entry size > 0
        WORD 66
        DWORD TGI offset (See Sims 3:Key table)
        DWORD TGI size   (See Sims 3:Key table - always 4)
        --insert Sims_3:Catalog_Resource#Material_Block
        --insert (empty) TGI Block List (See Sims 3:Key table)
    BYTE tgicount
    REP tgicount
        WORD tgi index

[edit] Section 3

DWORD s3size (Size of the rest of the S3 data)
DWORD s3entries
DWORD s3count
REP s3count
    DWORD compositor rule (Definition for pointers from S1 data)
    REP until property id is 0
        DWORD property ID (See Sims_3:0x033A1435#Properties)
        BYTE 0
        BYTE Data type (See Sims_3:0x033A1435#Data_Types)
        [Type dependent data]

While the data types are identical to Sims_3:0x033A1435#Data_Types, there is a slight difference with type 12 (Resource index). Rather than one byte, it is a word and refers to the external resource index rather than resources indexed in this resource data.

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