Difference between revisions of "Sims 3:0x0355E0A6"

From SimsWiki
Jump to: navigation, search
m
m (Reformat)
Line 1: Line 1:
[[Sims 3:Main Page]] -> [[Sims 3:RCOL]]
+
[[Tutorials:TS3 Advanced Coding Tutorials]] -> [[Sims 3:PackedFileTypes]]
 +
<br/>[[Tutorials:TS3 Advanced Coding Tutorials]] -> [[Sims 3:RCOL]]
 
<hr/>
 
<hr/>
=Slot Adjust=
+
==Description==
This is a [[Sims 3:RCOL]] chunk. It has no magic tag - the format below follows immediately after the RCOL Header.
+
This is a [[Sims 3:RCOL]] chunk.
 +
 
 +
Unusually, there is no four-byte "tag" at the start of the chunk.  The resource is known as "Slot Adjust" or "BOND".
  
==Overview==
 
 
Tweaks the position, scale, and orientation of slots/bones per outfit.
 
Tweaks the position, scale, and orientation of slots/bones per outfit.
 
==Format==
 
==Format==
<pre>
+
DWORD Version
--RCOL Header
+
DWORD Count
 
+
---Count repeats of
DWORD Version
+
DWORD hashed slot/bone name
DWORD Count
+
FLOAT X offset
- repeat
+
FLOAT Y offset
    DWORD hashed slot/bone name
+
FLOAT Z offset
    FLOAT X offset
+
    FLOAT Y offset
+
FLOAT X scale
    FLOAT Z offset
+
FLOAT Y scale
 
+
FLOAT Z scale
    FLOAT X scale
+
    FLOAT Y scale
+
FLOAT X (quat)
    FLOAT Z scale
+
FLOAT Y (quat)
 
+
FLOAT Z (quat)
    FLOAT X (quat)
+
FLOAT W (quat)
    FLOAT Y (quat)
+
<hr/>
    FLOAT Z (quat)
+
[[Tutorials:TS3 Advanced Coding Tutorials]] -> [[Sims 3:PackedFileTypes]]
    FLOAT W (quat)
+
<br/>[[Tutorials:TS3 Advanced Coding Tutorials]] -> [[Sims 3:RCOL]]
</pre>
+

Revision as of 20:54, 5 April 2010

Tutorials:TS3 Advanced Coding Tutorials -> Sims 3:PackedFileTypes
Tutorials:TS3 Advanced Coding Tutorials -> Sims 3:RCOL


Description

This is a Sims 3:RCOL chunk.

Unusually, there is no four-byte "tag" at the start of the chunk. The resource is known as "Slot Adjust" or "BOND".

Tweaks the position, scale, and orientation of slots/bones per outfit.

Format

DWORD Version
DWORD Count
---Count repeats of
	DWORD hashed slot/bone name
	FLOAT X offset
	FLOAT Y offset
	FLOAT Z offset

	FLOAT X scale
	FLOAT Y scale
	FLOAT Z scale

	FLOAT X (quat)
	FLOAT Y (quat)
	FLOAT Z (quat)
	FLOAT W (quat)

Tutorials:TS3 Advanced Coding Tutorials -> Sims 3:PackedFileTypes
Tutorials:TS3 Advanced Coding Tutorials -> Sims 3:RCOL

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox