Material List (RW Section)

From GTAMods Wiki
Revision as of 10:04, 30 October 2010 by Aschratt (talk | contribs)
Jump to navigation Jump to search
{{{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.

See also