Difference between revisions of "Sims 3:0x01D0E75D"

From SimsWiki
Jump to: navigation, search
(Material Definition)
Line 43: Line 43:
 
| Diffuse
 
| Diffuse
 
| 0x637daa05
 
| 0x637daa05
 +
|-
 +
| DiffuseMap
 +
| 0x6cc0fd85
 +
|-
 +
| NormalMap
 +
| 0x6e56548a
 +
|-
 +
| Emission
 +
| 3bd441a0
 
|-
 
|-
 
| Specular
 
| Specular
 
| 0x2ce11842
 
| 0x2ce11842
 +
|-
 +
| SpecularMap
 +
| 0xad528a60
 +
|-
 +
| Ambient
 +
| 0x04a5daa3
 
|-
 
|-
 
| Transparency
 
| Transparency
 
| 0x05d22fd3
 
| 0x05d22fd3
 +
|-
 +
| Transparent
 +
| 0x988403f9
 
|-
 
|-
 
| Shininess
 
| Shininess
 
| 0xf755f7ff
 
| 0xf755f7ff
 +
|-
 +
| Reflective
 +
| 0x73c9923e
 
|-
 
|-
 
| ImposterTexture
 
| ImposterTexture

Revision as of 09:08, 22 August 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
DiffuseMap 0x6cc0fd85
NormalMap 0x6e56548a
Emission 3bd441a0
Specular 0x2ce11842
SpecularMap 0xad528a60
Ambient 0x04a5daa3
Transparency 0x05d22fd3
Transparent 0x988403f9
Shininess 0xf755f7ff
Reflective 0x73c9923e
ImposterTexture 0xbdcf71c5
ImposterDetailTexture 0x56e1c6b2
ImposterTextureAOandSI 0x15c9d298
ImposterTextureWater 0xbf3fb9fa



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

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox