Difference between revisions of "RpClump"

From GTAMods Wiki
Jump to navigation Jump to search
m (whoops ^^)
m
Line 1: Line 1:
 
{{RW Section|Clump|0x0010}}
 
{{RW Section|Clump|0x0010}}
  
'''Clump''' is usually the root section of [[model file|DFF files]]. It only contains child sections and no data. All additional data is stored inside a [[Struct_(RW_Section)#Clump|struct section]].
+
'''Clump''' is usually the root section of [[model file|DFF files]]. It only contains child sections and no data. All additional data is stored inside a [[Struct_(RW_Section)|struct section]]. A clump section may appear multiple times inside one <code>.dff</code> files. There is no counting variable stored inside the file defining how many clumps are stored inside it.
 +
 
 +
 
 +
 
 +
== Structure ==
 +
 
 +
All additional information for the clump section is stored in a ''struct section'' which is the first child section of the clump. It stores the following information:
 +
 
 +
4b - DWORD  - Number of atomically linked objects, representing the number of [[Atomic_(RW_Section)|atomic sections]].
 +
4b - DWORD  - Number of lights *
 +
4b - DWORD  - Number of cameras *
 +
 
 +
''* GTA does not support dynamic lights and multiple cameras so those values are zero by default.
 +
 
 +
== Child sections ==
 +
 
 +
* [[Frame List (RW Section)|Frame List]]
 +
* [[Geometry List (RW Section)|Geometry List]]
 +
* [[Atomic (RW Section)|Frame List]] &ndash; Can be present multiple times depending on the number of objects (see ''Structure''.)
  
 
== See also ==
 
== See also ==
 
* [[RenderWare_binary_stream_file|RW File format specification (.dff)]]
 
* [[RenderWare_binary_stream_file|RW File format specification (.dff)]]
 
* [[Texture Dictionary (RW Section)]]
 
* [[Texture Dictionary (RW Section)]]
 +
 +
{{N|SA|VC}}

Revision as of 16:21, 29 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

Clump is usually the root section of DFF files. It only contains child sections and no data. All additional data is stored inside a struct section. A clump section may appear multiple times inside one .dff files. There is no counting variable stored inside the file defining how many clumps are stored inside it.


Structure

All additional information for the clump section is stored in a struct section which is the first child section of the clump. It stores the following information:

4b - DWORD  - Number of atomically linked objects, representing the number of atomic sections.
4b - DWORD  - Number of lights *
4b - DWORD  - Number of cameras *

* GTA does not support dynamic lights and multiple cameras so those values are zero by default.

Child sections

See also