Difference between revisions of "Sims 3:0x736884F1"

From SimsWiki
Jump to: navigation, search
 
m (Added note on entry data)
 
(42 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Format==
+
{{TS3AdvancedModdingHeader}}
Uses [[RCOL]] format.
+
{{TS3Resource
<pre>
+
|name=Visual Proxy - VPXY
DWORD 'RSLT'
+
|typeid= 0x736884F1
DWORD Version
+
|expansion=The Sims 3
DWORD Count1 //route
+
}}
DWORD Count2 //container
+
<br clear="all">
DWORD Count3 //effect
+
DWORD Count4
+
DWORD (Count 5? only encountered 0)
+
  
//Part 1
 
repeat Count1
 
  2 DWORD
 
repeat Count1
 
  12 FLOAT(4x3 transform matrix)
 
DWORD 0(if Count1 > 0)
 
  
//Part 2
+
==Overview==
repeat Count2
+
This is a [[Sims 3:RCOL]] chunk tagged "VPXY".
  2 WORD
+
repeat Count2
+
  2 DWORD
+
repeat Count2
+
  12 FLOAT(4x3 transform matrix)
+
end
+
DWORD 0(if Count2 > 0)
+
  
//Part 3
+
The purpose of these files is to show which parts of an object are linked together, and what all the parts of the object are
repeat Count3
+
  2 DWORD
+
repeat Count3
+
  12 FLOAT(4x3 transform matrix)
+
DWORD 0(if Count3 > 0)
+
  
//Part 4
+
A Typecase table starts the file, which has case 01's that index separate parts of the model and case 00's that index linked parts of the model, such as GEOMs (blends and pieces of the same model), and presumably MODL and MLOD (though I haven't tested this)
repeat Count4
+
 
  2 DWORD
+
This is followed by what I think is a bounding box of floats
repeat Count4
+
 
  12 FLOAT(4x3 transform matrix)
+
This is followed by an optional index for modulars, probably the corner (index of its FTPT)
DWORD 0(if Count4 > 0)
+
 
</pre>
+
This is followed by a TGI list containing
 +
[[Sims 3:0x015A1849|GEOM]],
 +
[[Sims 3:0x01661233|MODL]],
 +
[[Sims 3:0x01D10F34|MLOD]],
 +
[[Sims 3:0x03B4C61D|LITE]],
 +
[[Sims 3:0xD3044521|RSLT]] and
 +
[[Sims 3:0xD382BF57|FTPT]] references.
 +
 
 +
===File Format===
 +
DWORD // 'VPXY'
 +
DWORD // version (4)
 +
DWORD tgi offset // see [[Sims 3:Key table]]
 +
DWORD tgi size // see [[Sims 3:Key table]]
 +
 +
BYTE count1 // Entry Count (same as TGI index Count)
 +
    --repetition count1 Entries (see [[#Entry Types|below]])
 +
    BYTE type
 +
    {data}
 +
 +
BYTE // 0x02 (? type code for bounding box)
 +
FLOAT[6] // ? bounding box (xyz1, xyz2)
 +
 +
BYTE[4] // (probably redundant from earlier version)
 +
 +
BYTE flag // Modular flag?
 +
-- if flag == 0x01
 +
    DWORD ftptIndex // TGI Block List entry for [[Sims 3:0xD382BF57|FTPT]]
 +
 +
--insert TGI Block List // see [[Sims 3:Key table]]
 +
 
 +
===Entry Types===
 +
{| class="wikitable" border="1"
 +
!type!!data
 +
|-
 +
|00
 +
|
 +
BYTE msIndex // Incremental count of type=00 entries / for GEOMS this is the lod number
 +
BYTE Count
 +
DWORD[Count] // Indexes into TGI Block List
 +
|-
 +
|01
 +
|
 +
DWORD iD // Index into TGI Block List
 +
|}
 +
 
 +
{{TS3AdvancedModdingHeader}}

Latest revision as of 09:46, 7 October 2012

Modding Reference by Category

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

Visual Proxy - VPXY
TypeID:0x736884F1
Game Version:The Sims 3




[edit] Overview

This is a Sims 3:RCOL chunk tagged "VPXY".

The purpose of these files is to show which parts of an object are linked together, and what all the parts of the object are

A Typecase table starts the file, which has case 01's that index separate parts of the model and case 00's that index linked parts of the model, such as GEOMs (blends and pieces of the same model), and presumably MODL and MLOD (though I haven't tested this)

This is followed by what I think is a bounding box of floats

This is followed by an optional index for modulars, probably the corner (index of its FTPT)

This is followed by a TGI list containing GEOM, MODL, MLOD, LITE, RSLT and FTPT references.

[edit] File Format

DWORD 				// 'VPXY'
DWORD 				// version (4)
DWORD tgi offset		// see Sims 3:Key table
DWORD tgi size			// see Sims 3:Key table

BYTE count1			// Entry Count (same as TGI index Count)
   --repetition count1 Entries (see below)
   BYTE type
   {data}

BYTE				// 0x02 (? type code for bounding box)
FLOAT[6]			// ? bounding box (xyz1, xyz2)

BYTE[4]			// (probably redundant from earlier version)

BYTE flag			// Modular flag?
-- if flag == 0x01
   DWORD ftptIndex		// TGI Block List entry for FTPT

--insert TGI Block List	// see Sims 3:Key table

[edit] Entry Types

type data
00
BYTE msIndex // Incremental count of type=00 entries / for GEOMS this is the lod number
BYTE Count
DWORD[Count] // Indexes into TGI Block List
01
DWORD iD // Index into TGI Block List
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