Difference between revisions of "Riven MLST resources"
From A look inside The Link @ wiki
m (TOC) |
AleshSlovak (Talk | contribs) (added index to record structure) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>{{Riven}}</noinclude> | <noinclude>{{Riven}}</noinclude> | ||
| − | + | 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: | ||
{| 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 16: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.