OBD:TXAN

From OniGalore
ONI BINARY DATA
TURR << Other file types >> TXCA
TXAN : Texture Map Animation
switch to XML:TXAN page
Overview @ Oni Stuff
OBD.png

TXANs are arrays for storing the frames of an animated texture and specifying how fast it loops. However they are subordinate to the initial TXMP in the animation; when geometry uses an animated texture, it links to a named TXMP, and this TXMP links to the TXAN which contains data about the animation. The TXAN then links to the rest of the frames in the animation. This is why element 0 in the TXAN is unused: frame 0 came from the initial TXMP.


Txan a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 07 02 00 519 00519-.TXAN
0x04 lev_id 01 00 00 06 3 level 3
0x08 char[12] AD DE dead unused
0x14 uint16 05 00 5 loop speed
0x16 uint16 05 00 5 unused; always equal to loop speed
0x18 uint16 00 00 0 unused; always 0
0x1A char[2] AD DE dead unused
0x1C uint32 0F 00 00 00 15 array size
First element (black outline)
0x00 link 00 00 00 00 unused link to a TXMP file; not used, because 00518-GOO.TXMP initiates this animation


ONI BINARY DATA
TURR << Other file types >> TXCA
TXAN : Texture Map Animation
General file