Difference between revisions of "Frame List Struct (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
''This article is about the [[Struct (RW Section)|Struct]] section accompanied by a [[Frame List (RW Section)|Frame List]] parent section.''
 
''This article is about the [[Struct (RW Section)|Struct]] section accompanied by a [[Frame List (RW Section)|Frame List]] parent section.''
  
The '''Frame List Struct''' section can usually be found in [[model file]]s used by the GTA III game trilogy. It provides information about the transfomations of the geometry parts. he typical location in the file's section hierarchy is ''[[Clump (RW Section)|Clump]] > [[Frame List (RW Section)|Frame List]] > Struct''.
+
The '''Frame List Struct''' section can usually be found in [[model file]]s used by the GTA III game trilogy. It provides information about the transfomations of the geometry parts. The typical location in the file's section hierarchy is ''[[Clump (RW Section)|Clump]] > [[Frame List (RW Section)|Frame List]] > Struct''.
  
 
==Header==
 
==Header==

Revision as of 23:08, 1 August 2008

{{{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

This article is about the Struct section accompanied by a Frame List parent section.

The Frame List Struct section can usually be found in model files used by the GTA III game trilogy. It provides information about the transfomations of the geometry parts. The typical location in the file's section hierarchy is Clump > Frame List > Struct.

Header

There is a 4 byte header which contains number of frames:

 4b - DWORD    - Number of frames

Frame Data

The header is followed with the specified number of frame descriptors (56 bytes each):

36b - FLOAT[3][3] - Rotation matrix
12b - FLOAT[3]    - Translation vector (X, Y, Z)
 4b - DWORD       - Index of the parent frame (0xFFFFFFFF means this frame has no parent)
 4b - DWORD       - Flags (undiscovered)