Difference between revisions of "Riven MLST resources"
From A look inside The Link @ wiki
(explained the record structure) |
AleshSlovak (Talk | contribs) (added index to record structure) |
||
Line 5: | Line 5: | ||
{| class="structure" | {| class="structure" | ||
+ | |unsigned short||index||class="comment"|index of the record (starting at 1) | ||
+ | |- | ||
|unsigned short||movie_id||class="comment"|Resource ID of the corresponding tMOV movie | |unsigned short||movie_id||class="comment"|Resource ID of the corresponding tMOV movie | ||
|- | |- |
Latest revision as of 15:33, 18 September 2008
Riven | |||
Mohawk | Overview | ||
BLST | CARD | FLST | HSPT |
MLST | NAME | PLST | RMAP |
SFXE | SLST | tBMP | tMOV |
tWAV | VARS | VERS | ZIPS |
Scripts | Variables | ||
External commands |
Movie lists: they specify the movies to be used in the card and their placement.
Each MLST resource is a list of records; it starts with an unsigned short record count, followed by that many records. This is the record structure:
unsigned short | index | index of the record (starting at 1) |
unsigned short | movie_id | Resource ID of the corresponding tMOV movie |
unsigned short | code | Used by script commands to reference the movie record |
unsigned short | left | Movie position within the game window (pixels) |
unsigned short | top | |
unsigned short | u0[3] | |
unsigned short | loop | 0 or 1, 1 means the movie must loop forever |
unsigned short | volume | Volume of the movie sound track (details still unknown) |
unsigned short | u1 |
As for unknown fields: u0 seems always 0000 0000 ffff and u1 seems always 1. Changing them produces no observable effects.