Difference between revisions of "Template:KMP AREA header"
Jump to navigation
Jump to search
m (oops) |
|||
Line 18: | Line 18: | ||
| 0x1C || Float[3] || A '''3D scale vector''' of the area's scale. | | 0x1C || Float[3] || A '''3D scale vector''' of the area's scale. | ||
|- | |- | ||
− | | 0x28 || UInt16 || AREA | + | | 0x28 || UInt16 || AREA setting 1. Used by [[AREA type#AREA type 0x02 (BFG entry swapper)|AREA type 2]], [[AREA type#AREA type 0x03 (moving road)|3]], [[AREA type#AREA type 0x08|8]] and [[AREA type#AREA type 0x09|9]]. |
|- | |- | ||
− | | 0x2A || UInt16 || AREA | + | | 0x2A || UInt16 || AREA setting 2. Used by [[AREA type#AREA type 0x03 (moving road)|AREA type 3]]. |
|- | |- | ||
| 0x2C || Byte || '''Route ID''' used by [[AREA type#AREA type 0x03 (moving road)|AREA type 3]]. | | 0x2C || Byte || '''Route ID''' used by [[AREA type#AREA type 0x03 (moving road)|AREA type 3]]. | ||
|- | |- | ||
− | | 0x2D || Byte || Unknown. | + | | 0x2D || Byte || Unknown. This value is used by [[AREA type#AREA type 0x04 (destination point)|AREA type 4]]. |
|- | |- | ||
| 0x2E || UInt16 || '''Enemy point ID'''. Exact meaning unknown, always 0 in Nintendo tracks. | | 0x2E || UInt16 || '''Enemy point ID'''. Exact meaning unknown, always 0 in Nintendo tracks. | ||
|} | |} |
Revision as of 09:48, 19 November 2017
Offset | Type | Description |
---|---|---|
0x00 | Byte | Area mode. Values 0 or 1, unknown meaning. |
0x01 | Byte | Area type. Values 0–9. |
0x02 | Byte | Index of CAME if type = 0x00, 0xFF else. |
0x03 | Byte | Unknown. |
0x04 | Float[3] | A 3D position vector of the area. |
0x10 | Float[3] | A 3D rotation vector of the area's rotation. |
0x1C | Float[3] | A 3D scale vector of the area's scale. |
0x28 | UInt16 | AREA setting 1. Used by AREA type 2, 3, 8 and 9. |
0x2A | UInt16 | AREA setting 2. Used by AREA type 3. |
0x2C | Byte | Route ID used by AREA type 3. |
0x2D | Byte | Unknown. This value is used by AREA type 4. |
0x2E | UInt16 | Enemy point ID. Exact meaning unknown, always 0 in Nintendo tracks. |