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

From GTAMods Wiki
Jump to navigation Jump to search
m
(Redirected page to Frame List (RW Section)#Structure)
 
Line 1: Line 1:
{{RW Section|Struct|0x0001}}
+
#REDIRECT [[Frame List (RW Section)#Structure]]
 
 
''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. The typical location in the file's section hierarchy is ''[[Clump (RW Section)|Clump]] > [[Frame List (RW Section)|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)
 

Latest revision as of 10:48, 30 October 2010