Difference between revisions of "Sims 3:0xD3044521"

From SimsWiki
Jump to: navigation, search
(Cones Slots)
m (minor formatting fixups)
 
Line 10: Line 10:
 
This is a [[Sims 3:RCOL]] chunk.
 
This is a [[Sims 3:RCOL]] chunk.
  
==Header==
+
==Format==
 +
--header
 
  DWORD 'RSLT'
 
  DWORD 'RSLT'
 
  DWORD Version
 
  DWORD Version
Line 18: Line 19:
 
  DWORD Count4 // Inverse Kinetics targets
 
  DWORD Count4 // Inverse Kinetics targets
 
  DWORD Count5 // Cone slots
 
  DWORD Count5 // Cone slots
 
+
== Route Slots ==
+
--Route Slots
 
  --repeat Count1:
 
  --repeat Count1:
 
  DWORD slot name // fnv32
 
  DWORD slot name // fnv32
Line 30: Line 31:
 
  --repeat numSlotsWithOffsets:
 
  --repeat numSlotsWithOffsets:
 
  DWORD index // index of the slot the offset is for
 
  DWORD index // index of the slot the offset is for
                FLOAT[3] position // position offset
+
FLOAT[3] position // position offset
                FLOAT[3] rotation // rotation offset (euler angles, in radians)
+
FLOAT[3] rotation // rotation offset (euler angles, in radians)
 
+
== Containment Slots ==
+
--Containment Slots
 
  --repeat Count2:
 
  --repeat Count2:
  DWORD slot name // fnv32
+
  DWORD slot name // fnv32
 
  --repeat Count2:
 
  --repeat Count2:
  DWORD bone name // fnv32 (From rig)
+
  DWORD bone name // fnv32 (From rig)
 
  --repeat Count2:
 
  --repeat Count2:
  DWORD flags // [[Sims_3:0x319E4F1D#Slot_Placement_Flags|Slot placement flags]] (seem to work...)
+
  DWORD flags // [[Sims_3:0x319E4F1D#Slot_Flags|Slot placement flags]] (seem to work...)
 
  --repeat Count2:
 
  --repeat Count2:
  FLOAT[12] // (4x3 transform matrix)
+
  FLOAT[12] // (4x3 transform matrix)
 
  --if Count2 > 0:
 
  --if Count2 > 0:
 
  DWORD numSlotsWithOffsets
 
  DWORD numSlotsWithOffsets
 
  --repeat numSlotsWithOffsets:
 
  --repeat numSlotsWithOffsets:
 
  DWORD index // index of the slot the offset is for
 
  DWORD index // index of the slot the offset is for
                FLOAT[3] position // position offset
+
FLOAT[3] position // position offset
                FLOAT[3] rotation // rotation offset (euler angles, in radians)
+
FLOAT[3] rotation // rotation offset (euler angles, in radians)
 
   
 
   
== Effect Slots ==
+
--Effect Slots
 
  --repeat Count3:
 
  --repeat Count3:
  DWORD slot name // fnv32
+
  DWORD slot name // fnv32
 
  --repeat Count3:
 
  --repeat Count3:
  DWORD bone name // fnv32 (From rig)
+
  DWORD bone name // fnv32 (From rig)
 
  --repeat Count3:
 
  --repeat Count3:
  FLOAT[12] // (4x3 transform matrix)
+
  FLOAT[12] // (4x3 transform matrix)
 
  --if Count3 > 0:
 
  --if Count3 > 0:
 
  DWORD numSlotsWithOffsets
 
  DWORD numSlotsWithOffsets
 
  --repeat numSlotsWithOffsets:
 
  --repeat numSlotsWithOffsets:
 
  DWORD index // index of the slot the offset is for
 
  DWORD index // index of the slot the offset is for
                FLOAT[3] position // position offset
+
FLOAT[3] position // position offset
                FLOAT[3] rotation // rotation offset (euler angles, in radians)
+
FLOAT[3] rotation // rotation offset (euler angles, in radians)
 
   
 
   
== IK Targets ==
+
--IK Targets
 
  --repeat Count4:
 
  --repeat Count4:
  DWORD slot name // fnv32
+
  DWORD slot name // fnv32
 
  --repeat Count4:
 
  --repeat Count4:
  DWORD bone name // fnv32 (From rig)
+
  DWORD bone name // fnv32 (From rig)
 
  --repeat Count4:
 
  --repeat Count4:
  FLOAT[12] // (4x3 transform matrix)
+
  FLOAT[12] // (4x3 transform matrix)
 
  --if Count4 > 0:
 
  --if Count4 > 0:
 
  DWORD numSlotsWithOffsets
 
  DWORD numSlotsWithOffsets
 
  --repeat numSlotsWithOffsets:
 
  --repeat numSlotsWithOffsets:
 
  DWORD index // index of the slot the offset is for
 
  DWORD index // index of the slot the offset is for
                FLOAT[3] position // position offset
+
FLOAT[3] position // position offset
                FLOAT[3] rotation // rotation offset (euler angles, in radians)
+
FLOAT[3] rotation // rotation offset (euler angles, in radians)
 
+
== Cones Slots ==
+
--Cones Slots
 
  --repeat Count5:
 
  --repeat Count5:
  DWORD slot name // fnv32
+
  DWORD slot name // fnv32
 
  --repeat Count5:
 
  --repeat Count5:
  DWORD bone name // fnv32 (From rig)
+
  DWORD bone name // fnv32 (From rig)
 
  --repeat Count5:
 
  --repeat Count5:
  FLOAT[12] // (4x3 transform matrix)
+
  FLOAT[12] // (4x3 transform matrix)
 
  --repeat Count5:
 
  --repeat Count5:
  FLOAT cone radius // radius of the cone
+
  FLOAT cone radius // radius of the cone
  FLOAT cone angle       // angle of the cone (radians)
+
  FLOAT cone angle // angle of the cone (radians)
 
  --if Count5 > 0:
 
  --if Count5 > 0:
 
  DWORD numSlotsWithOffsets
 
  DWORD numSlotsWithOffsets
 
  --repeat numSlotsWithOffsets:
 
  --repeat numSlotsWithOffsets:
 
  DWORD index // index of the slot the offset is for
 
  DWORD index // index of the slot the offset is for
                FLOAT[3] position // position offset
+
FLOAT[3] position // position offset
                FLOAT[3] rotation // rotation offset (euler angles, in radians)
+
FLOAT[3] rotation // rotation offset (euler angles, in radians)
  
 
{{TS3AdvancedModdingHeader}}
 
{{TS3AdvancedModdingHeader}}

Latest revision as of 06:14, 1 November 2011

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



[edit] Overview

This is a Sims 3:RCOL chunk.

[edit] Format

--header
DWORD 'RSLT'
DWORD Version
DWORD Count1	// route
DWORD Count2	// container
DWORD Count3	// effect
DWORD Count4	// Inverse Kinetics targets
DWORD Count5	// Cone slots

--Route Slots
--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 numSlotsWithOffsets
	--repeat numSlotsWithOffsets:
		DWORD index		// index of the slot the offset is for
		FLOAT[3] position	// position offset
		FLOAT[3] rotation	// rotation offset (euler angles, in radians)

--Containment Slots
--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 numSlotsWithOffsets
	--repeat numSlotsWithOffsets:
		DWORD index		// index of the slot the offset is for
		FLOAT[3] position	// position offset
		FLOAT[3] rotation	// rotation offset (euler angles, in radians)

--Effect Slots
--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 numSlotsWithOffsets
	--repeat numSlotsWithOffsets:
		DWORD index		// index of the slot the offset is for
		FLOAT[3] position	// position offset
		FLOAT[3] rotation	// rotation offset (euler angles, in radians)

--IK 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 numSlotsWithOffsets
	--repeat numSlotsWithOffsets:
		DWORD index		// index of the slot the offset is for
		FLOAT[3] position	// position offset
		FLOAT[3] rotation	// rotation offset (euler angles, in radians)

--Cones Slots
--repeat Count5:
	DWORD slot name			// fnv32
--repeat Count5:
	DWORD bone name			// fnv32 (From rig)
--repeat Count5:
	FLOAT[12]			// (4x3 transform matrix)
--repeat Count5:
	FLOAT cone radius		// radius of the cone
	FLOAT cone angle		// angle of the cone (radians)
--if Count5 > 0:
	DWORD numSlotsWithOffsets
	--repeat numSlotsWithOffsets:
		DWORD index		// index of the slot the offset is for
		FLOAT[3] position	// position offset
		FLOAT[3] rotation	// rotation offset (euler angles, in radians)
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