Difference between revisions of "UV Animation Dictionary (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 11: Line 11:
 
'''UV Animation Dictionary''' is a container for the definition of UV Animations in a model file. The animations defined in the block can be referenced to in the [[UV Animation PLG (RW Section)|UV Animation PLG]] chunk in a material's extensions.
 
'''UV Animation Dictionary''' is a container for the definition of UV Animations in a model file. The animations defined in the block can be referenced to in the [[UV Animation PLG (RW Section)|UV Animation PLG]] chunk in a material's extensions.
  
== Stream Format ==
+
== Structure ==
  
The UV Animation Dictionary has child chunks, [[Struct (RW Section)|Struct]] (described below) and [[Anim Animation (RW Section)|Anim Animation]].
+
The UV Animation Dictionary has child chunks, one [[Struct (RW Section)|Struct]] (described below) and a list of [[Anim Animation (RW Section)|Anim Animation]] sections. The struct contains the size of the list:
  
The UV Animation Dictionary struct has the following format:
+
   4b - DWORD - Number of UV Animations (n)
 
 
   int32 - Number of UV Animations (n)
 
  
 
The maximum number of UV Animations that can be defined in this block is hardcoded, and is 8.
 
The maximum number of UV Animations that can be defined in this block is hardcoded, and is 8.

Latest revision as of 08:08, 14 September 2020

UV Animation Dictionary
RenderWare Stream Section
Vendor Criterion Games
Module Core
Module ID 0x000000
Identifier 0x2B
Chunk ID 0x0000002B
Versions All
Hierarchy
Parents:
Material (?)
Children:
Struct, Anim Animation
Extensions:
None
File Format

UV Animation Dictionary is a container for the definition of UV Animations in a model file. The animations defined in the block can be referenced to in the UV Animation PLG chunk in a material's extensions.

Structure

The UV Animation Dictionary has child chunks, one Struct (described below) and a list of Anim Animation sections. The struct contains the size of the list:

  4b - DWORD - Number of UV Animations (n)

The maximum number of UV Animations that can be defined in this block is hardcoded, and is 8.

The Struct is followed by n Anim Animation chunks, each defining an animation.

See Also