Difference between revisions of "Sims 3:0x01661233"

From SimsWiki
Jump to: navigation, search
Line 1: Line 1:
{{TS3ModdingHeader}}
+
{{TS3AdvancedModdingHeader}}
 
{{TS3Resource
 
{{TS3Resource
 
|name=ObjectModel - MODL
 
|name=ObjectModel - MODL
Line 32: Line 32:
 
Based on contributions from karybdis and atavera
 
Based on contributions from karybdis and atavera
  
{{TS3ModdingHeader}}
+
{{TS3AdvancedModdingHeader}}

Revision as of 01:21, 5 May 2010

Modding Reference by Category

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

ObjectModel - MODL
TypeID:0x01661233
Game Version:The Sims 3



Overview

This is a Sims 3:RCOL chunk. The .model files that it is found in are essentially object mesh files, with this chunk included. A few meshes have two MODL chunks, purpose unknown.

DWORD		// 'MODL'
DWORD version	// 256 or 258 seen
DWORD count	// of MLOD references, see below
FLOAT[6]	// bounding box for entire object (MinX/MinY/MinZ/MaxX/MaxY/MaxZ)

--if 'version' >=258
	// these extra boundingboxes have been seen on City Hall and School community objects (pommes)
	DWORD NumExtraBoundingBoxes
	--repeat NumExtraBoundingBoxes
		FLOAT[6] Boundingbox	// (MinX/MinY/MinZ/MaxX/MaxY/MaxZ)
		DWORD[2]

//MLOD References:
--repeat 'count':
	WORD MLOD_Index	// into TGI Index of the MODL RCOL
	WORD Index Type	// 0x0000 = Internal resources, 0x3000 = External resources
	DWORD
	DWORD LOD	// 0x00000000, 0x00000001, 0x00010000, 0x00010001
	DWORD		// appears to be a compressed 3D vector
	DWORD		// appears to be a compressed 3D vector

Based on contributions from karybdis and atavera

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