Difference between revisions of "FF8/FileFormat INF"
Jump to navigation
Jump to search
Qhimm>Myst6re |
Qhimm>Myst6re |
||
Line 18: | Line 18: | ||
|style="background:rgb(255,255,204)" | Unknown | |style="background:rgb(255,255,204)" | Unknown | ||
|- | |- | ||
| 20 | |||
| 8*8 | |||
| | | Camera Ranges | ||
|- | |- | ||
| 84 | |||
| | | 2*8 | ||
| | | Screen Ranges | ||
|- | |- | ||
| 100 | | 100 | ||
Line 34: | Line 34: | ||
| Triggers | | Triggers | ||
|} | |} | ||
== Range data == | |||
Gives the limits of the camera when moving. | |||
typedef struct { | |||
qint16 top; | |||
qint16 bottom; | |||
qint16 right; | |||
qint16 left; | |||
} Range; | |||
== Gateways data == | == Gateways data == | ||
Passage between fields.<br/> | |||
For each gateway: | For each gateway: | ||
Line 59: | Line 71: | ||
| 18 | | 18 | ||
| 2 | | 2 | ||
| Field ID | | Field ID (or 0x7FFF if unused gate) | ||
|- | |- | ||
|style="background:rgb(255,255,204)" | 20 | |style="background:rgb(255,255,204)" | 20 | ||
|style="background:rgb(255,255,204)" | 4 * 2 | |style="background:rgb(255,255,204)" | 4 * 2 | ||
|style="background:rgb(255,255,204)" | Unknown (or | |style="background:rgb(255,255,204)" | Unknown (or 0x7FFF) | ||
|- | |- | ||
|style="background:rgb(255,255,204)" | 28 | |style="background:rgb(255,255,204)" | 28 | ||
Line 72: | Line 84: | ||
== Triggers data == | == Triggers data == | ||
Doors interactions.<br/> | |||
For each trigger: | For each trigger: | ||
Line 89: | Line 102: | ||
| 12 | | 12 | ||
| 1 | | 1 | ||
| Door ID (or | | Door ID (or 0xFF) | ||
|- | |- | ||
| 13 | | 13 |
Revision as of 14:12, 26 July 2012
Gateways/Triggers
Offset | Size | Data |
---|---|---|
0 | 9 | Name of field (\0 terminated) |
9 | 1 | Control Direction |
10 | 10 | Unknown |
20 | 8*8 | Camera Ranges |
84 | 2*8 | Screen Ranges |
100 | 32 * 12 | Gateways |
384 | 16 * 12 | Triggers |
Range data
Gives the limits of the camera when moving.
typedef struct { qint16 top; qint16 bottom; qint16 right; qint16 left; } Range;
Gateways data
Passage between fields.
For each gateway:
Offset | Size | Data |
---|---|---|
0 | 6 | Vertex 1 of exit line (maybe x,z,y) |
6 | 6 | Vertex 2 of exit line (maybe x,z,y) |
12 | 6 | Destination vertex |
18 | 2 | Field ID (or 0x7FFF if unused gate) |
20 | 4 * 2 | Unknown (or 0x7FFF) |
28 | 4 | Unknown (four equal bytes) |
Triggers data
Doors interactions.
For each trigger:
Offset | Size | Data |
---|---|---|
0 | 6 | Vertex of corner1 |
6 | 6 | Vertex of corner2 |
12 | 1 | Door ID (or 0xFF) |
13 | 3 | Blank |