Difference between revisions of "Sims 3:0xD3044521"

From SimsWiki
Jump to: navigation, search
(Format)
m (Format: Document assumption regarding boolean nature of DWORD after transform matrix)
Line 33: Line 33:
 
  FLOAT[12] // (4x3 transform matrix)
 
  FLOAT[12] // (4x3 transform matrix)
 
  --if Count1 > 0:
 
  --if Count1 > 0:
  DWORD 0
+
  DWORD hasFloats // assumed boolean, 0 or 1
--if DWORD == 1
+
--if hasFloats:
        FLOAT[7]        // or some 28 bytes of data
+
        FLOAT[7]        // or some 28 bytes of data
 
   
 
   
 
  // Part 2 - Container
 
  // Part 2 - Container
Line 47: Line 47:
 
  FLOAT[12] // (4x3 transform matrix)
 
  FLOAT[12] // (4x3 transform matrix)
 
  --if Count2 > 0:
 
  --if Count2 > 0:
  DWORD 0
+
  DWORD hasFloats // assumed boolean, 0 or 1
--if DWORD == 1
+
--if hasFloats:
        FLOAT[7]        // or some 28 bytes of data
+
        FLOAT[7]        // or some 28 bytes of data
 
   
 
   
 
  // Part 3 - Effect
 
  // Part 3 - Effect
Line 59: Line 59:
 
  FLOAT[12] // (4x3 transform matrix)
 
  FLOAT[12] // (4x3 transform matrix)
 
  --if Count3 > 0:
 
  --if Count3 > 0:
  DWORD 0
+
  DWORD hasFloats // assumed boolean, 0 or 1
--if DWORD == 1
+
--if hasFloats:
        FLOAT[7]        // or some 28 bytes of data
+
        FLOAT[7]        // or some 28 bytes of data
 
   
 
   
 
  // Part 4 - Inverse Kinetics targets
 
  // Part 4 - Inverse Kinetics targets
Line 71: Line 71:
 
  FLOAT[12] // (4x3 transform matrix)
 
  FLOAT[12] // (4x3 transform matrix)
 
  --if Count4 > 0:
 
  --if Count4 > 0:
  DWORD 0
+
  DWORD hasFloats // assumed boolean, 0 or 1
--if DWORD == 1
+
--if hasFloats:
        FLOAT[7]        // or some 28 bytes of data
+
        FLOAT[7]        // or some 28 bytes of data
  
 
{{TS3AdvancedModdingHeader}}
 
{{TS3AdvancedModdingHeader}}

Revision as of 12:54, 25 May 2010

Modding Reference by Category

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

Routing Slot - RSLT
TypeID:0xD3044521
Game Version:The Sims 3



Overview

This is a Sims 3:RCOL chunk.

The format seems to fail for the following from EP1:

  • 0xE6D5D4DD058CC19E
  • 0xE5B7D0AF413CAAF9
  • 0x4A9E801AE0730F98
  • 0x82BD7012ECC41B0A

Format

DWORD 'RSLT'
DWORD Version
DWORD Count1	// route
DWORD Count2	// container
DWORD Count3	// effect
DWORD Count4	// Inverse Kinetics targets
DWORD 0	// (Count 5? only encountered 0)

// Part 1 - Route
--repeat Count1:
	DWORD slot name	// fnv32
--repeat Count1:
	DWORD bone name	// fnv32 (From rig)
--repeat Count1:
	FLOAT[12]	// (4x3 transform matrix)
--if Count1 > 0:
	DWORD hasFloats	// assumed boolean, 0 or 1
	--if hasFloats:
	        FLOAT[7]        // or some 28 bytes of data

// Part 2 - Container
--repeat Count2:
	DWORD slot name	// fnv32
--repeat Count2:
	DWORD bone name	// fnv32 (From rig)
--repeat Count2:
	DWORD flags	// Slot placement flags (seem to work...)
--repeat Count2:
	FLOAT[12]	// (4x3 transform matrix)
--if Count2 > 0:
	DWORD hasFloats	// assumed boolean, 0 or 1
	--if hasFloats:
	        FLOAT[7]        // or some 28 bytes of data

// Part 3 - Effect
--repeat Count3:
	DWORD slot name	// fnv32
--repeat Count3:
	DWORD bone name	// fnv32 (From rig)
--repeat Count3:
	FLOAT[12]	// (4x3 transform matrix)
--if Count3 > 0:
	DWORD hasFloats	// assumed boolean, 0 or 1
	--if hasFloats:
	        FLOAT[7]        // or some 28 bytes of data

// Part 4 - Inverse Kinetics targets
--repeat Count4:
	DWORD slot name	// fnv32
--repeat Count4:
	DWORD bone name	// fnv32 (From rig)
--repeat Count4:
	FLOAT[12]	// (4x3 transform matrix)
--if Count4 > 0:
	DWORD hasFloats	// assumed boolean, 0 or 1
	--if hasFloats:
	        FLOAT[7]        // or some 28 bytes of 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