User Tools

Site Tools


cobjects:ctexture_bin

CTexture_bin

This structure is almost identical to CSequence_bin, with handful of new fields. It's commonly found in MDL16 files.

Offset Size Type Description
0x00 4 CID 0x41d80000 - Class ID 1
0x04 4 CID 0x443fc000 - Class ID 2
0x08 DynamicProperties
4 Int Num frames
4 Int Playback speed - some magic constant
String Blit type
4 Int Unknown 1
4 Int Unknown 2
1 Bool Unknown 3
1 Bool Unknown 4
1 Bool Unknown 5
1 Bool Unknown 6
1 Bool Unknown 7
1 Bool Unknown 8
1 Bool Unknown 9
4 Int Unknown 10
4 Int Unknown 11
4 Int Unknown 12
4 Int Unknown 13
4 Int Unknown 14
4 Int Unknown 15
4 Int Unknown 16
4 Int Unknown 17
4 Int Unknown 18
4 Int Unknown 19
4 Int X1
4 Int Y1
4 Int X2
4 Int Y2

X1, Y1, X2, Y2 create a bounding box relative to animation origin.

Frames

Frames immediately follow the header. Each frame consists of a bool (1) and a complete FRM16 file. Many textures contain just one frame, but e.g. doors have textures with several frames for door animations.

Offset Size Type Description
0x00 1 Bool Unknown, always? 1
0x01 FRM16 Complete FRM16 file
cobjects/ctexture_bin.txt · Last modified: 2011-07-20 23:46 by edheldil