Difference between revisions of "Riven MLST resources"
From A look inside The Link @ wiki
m (TOC) |
(explained the record structure) |
||
| 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" | ||
Revision as of 19:33, 8 February 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 | 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.