AVP
Structure Header (36 bytes) Repeating Chunk (8 bytes)
-Header DWORD - TypeID for AVPF DWORD - Viewpoint Count DWORD - Major Revision DWORD - Minor Revision DWORD[4] - User Data (reserved data for later) DWORD - Repeating Chunk Count (for the parser as opposed to header data) - -CHUNK REPEATING +00 BYTE : Bitmap Plane # in the FSH +01 BYTE : Frame Data Storage Type (Only type 08 is used currently) -- Type 8 -- +02 WORD : X,Y Position of the Start point on FSH for frame (in pixels into the image) +04 BYTE : Pixel width for the animation FSH crop +05 BYTE : Height width for the animation FSH crop +06 BYTE : Pixel offset from right of Sprite Bounding Box. +07 BYTE : Pixel offset from bottom of Sprite Bounding box.
Frame Data Storage Types 1-7, 9+ (VERY PRELIMINARY) Value -- Result 00 - pixels spaced - Unknown 01 - pixels spaced - Unknown 02 - animated pixels more coordinated - Unknown 03 - animated pixels even more coordinated - Unknown 04 - animated pixels with deffinite pattern - Unknown 05 - white with flash (alpha only? good for seeing sprite bounding box) - Unknown 06 - white with flash - Unknown 07 - Rapid Picture changing. - Frame based by instance ID. 08 - Normal. - Frame based on coordinate in FSH (Only one used in SC4) 09 - walking type animation - Unknown 10 -- invisible (off viewing area but shadow is shown) - Unknown