Difference between revisions of "Sims 3:0x01D0E75D"

From SimsWiki
Jump to: navigation, search
(Material Definition)
Line 52: Line 52:
 
| Shininess
 
| Shininess
 
| 0xf755f7ff
 
| 0xf755f7ff
 +
|-
 +
| ImposterTexture
 +
| 0xbdcf71c5
 +
|-
 +
| ImposterDetailTexture
 +
| 0x56e1c6b2
 +
|-
 +
| ImporterTextureAOandSI
 +
| 0x15c9d298
 +
|-
 +
| ImporterTextureWater
 +
| 0xbf3fb9fa
 
|}
 
|}
  

Revision as of 04:36, 31 July 2009

Sims 3:Main Page -> Sims 3:PackedFileTypes
Sims 3:Main Page -> Sims 3:RCOL


Material Definition

This is a Sims_3:RCOL chunk.

DWORD // 'MATD'
DWORD version
DWORD // Either some sort of hash or 0
DWORD // Either some sort of hash or 0
DWORD length // Length of data that follows
IF version >= 0x301
  DWORD
  DWORD
Various data

The various data can be one of the following

if version < 0x103
  DWORD // 'MTRL'
if version >= 0x103
  DWORD // 'MTNF'
DWORD
if version < 0x103
  WORD
  WORD
if version >= 0x103
  DWORD datasize // Size of the following data block
DWORD count
count repeats of
  DWORD field type hash // Not sure of the sources or names
  DWORD data type // 1 = float, 2 = dword, 4 = dword
  DWORD data count
  DWORD offset // From the start of MTRL
count repeats of
  data count repeats of
    type defined data
    padding to DWORD boundry

Field type can be one of the following (Under construction)

Data Hash
Diffuse 0x637daa05
Specular 0x2ce11842
Transparency 0x05d22fd3
Shininess 0xf755f7ff
ImposterTexture 0xbdcf71c5
ImposterDetailTexture 0x56e1c6b2
ImporterTextureAOandSI 0x15c9d298
ImporterTextureWater 0xbf3fb9fa



Sims 3:Main Page -> Sims 3:PackedFileTypes
Sims 3:Main Page -> Sims 3:RCOL

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox