Difference between revisions of "Material List (RW Section)"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{RW Section|Material List|0x0008}} | {{RW Section|Material List|0x0008}} | ||
− | '''Material List''' is a container section used in [[model file|DFF files]] as child of a [[Geometry (RW Section)| | + | '''Material List''' is a container section used in [[model file|DFF files]] as child of a [[Geometry (RW Section)|geometry section]]. The section itself does not store any data at all. All additional information get stored inside a [[Struct (RW Section)|struct section]] which directly follows this one as a child. ''Material List'' stores the different materials used by the ''geometry'' section it is appendet to. |
+ | |||
+ | == Structure == | ||
+ | |||
+ | The structure simply stores the number of materials and some reserved values for each material | ||
+ | |||
+ | 4b - DWORD - Number of materials | ||
+ | Xb - DWORD[] - Array of reserved values (-1 by default), one entry for each material | ||
+ | |||
+ | == Child sections == | ||
+ | |||
+ | The number of child sections is defined inside the structure of this section. | ||
+ | |||
+ | * [[Material (RW Section)|Material]] | ||
+ | |||
+ | == See also == | ||
+ | * [[Geometry (RW Section)|Geometry]] | ||
+ | * [[RenderWare_binary_stream_file|RW file format specification]] | ||
+ | |||
+ | {{N|SA|VC}} | ||
+ | [[Category:GTA_3]] |
Revision as of 10:04, 30 October 2010
{{{NAME}}} | |
---|---|
RenderWare Stream Section | |
Vendor | {{{VENDORNAME}}} |
Module | {{{MODULENAME}}} |
Module ID | 0x{{{MODULEID}}}
|
Identifier | 0x{{{IDENTIFIER}}}
|
Chunk ID | 0x{{{MODULEID}}}{{{IDENTIFIER}}}
|
Versions | All |
Hierarchy | |
Parents: None | |
Children: None | |
Extensions: None | |
File Format |
Material List is a container section used in DFF files as child of a geometry section. The section itself does not store any data at all. All additional information get stored inside a struct section which directly follows this one as a child. Material List stores the different materials used by the geometry section it is appendet to.
Structure
The structure simply stores the number of materials and some reserved values for each material
4b - DWORD - Number of materials Xb - DWORD[] - Array of reserved values (-1 by default), one entry for each material
Child sections
The number of child sections is defined inside the structure of this section.