Anim Animation (RW Section)
|RW Stream Section|
Anim Animation is a container defining animation of a certain type defined in its structure.
An Anim Animation block contains no children; All the data is stored in the chunk itself.
int32 - version - animation's version format (in all GTAs - 1.0 (0x100)) int32 - type id - defines the frame format int32 - frame count - number of frames defined in the container int32 - flags - flags for this animation float - duration - complete duration of the animation
The header is followed by a frame block. The structure of them depends on the
type id defined in the Header.
Known Type ID's
UV Animation - 0x1C1
This structure defines a frame for a UV animation.
int32 - unknown char - name for the animation float - node to uv channel
The header is followed by
frame count defined in the Anim Animation header.
float - time - duration of this frame int - scale - defines size for this frame (?, width, height) int - position - defines the location for this frame (?, x, y) int32 - prev - previous frame index (-1 for the first frame)