LBA1:Animation for point model: Difference between revisions
Jump to navigation
Jump to search
| [checked revision] | [checked revision] |
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
| text = | | text = | ||
This entry contains animation for [[ | This entry contains trajectory information for the lba1 holomap | ||
There are n entries like these: | |||
data.locationIdx = readSint16LE(); | |||
data.trajLocationIdx = readSint16LE(); | |||
data.vehicleIdx = readSint16LE(); // pointer to the vehicle model in the ress.hqr - the related animation is vehicleIdx + 1 | |||
data.x = readSint16LE(); | |||
data.y = readSint16LE(); | |||
data.z = readSint16LE(); | |||
data.numAnimFrames = readSint16LE(); | |||
for (i = 0; i < data.numAnimFrames; ++i) { | |||
data.positions[i].x = readSint16LE(); | |||
data.positions[i].y = readSint16LE(); | |||
} | |||
}} | }} | ||
Latest revision as of 12:15, 27 January 2021
| Animation for point model | ||
|---|---|---|
| Entry type |
Normal |
|
| File type |
|
|
| Index |
30 |
|
| Programs supporting the format | ||
| HQR files > LBA 1 > Ress.hqr > entry 31 |
| Jump to: |
| 11 |
| 21 |
| 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |
| 41 |
| 51 |
This entry contains trajectory information for the lba1 holomap
There are n entries like these:
data.locationIdx = readSint16LE();
data.trajLocationIdx = readSint16LE();
data.vehicleIdx = readSint16LE(); // pointer to the vehicle model in the ress.hqr - the related animation is vehicleIdx + 1
data.x = readSint16LE();
data.y = readSint16LE();
data.z = readSint16LE();
data.numAnimFrames = readSint16LE();
for (i = 0; i < data.numAnimFrames; ++i) {
data.positions[i].x = readSint16LE();
data.positions[i].y = readSint16LE();
}